Revision 8378a566
Von Tamino Steinert vor 8 Tagen hinzugefügt
SL/DB/Helper/ZUGFeRD.pm | ||
---|---|---|
228 | 228 |
$params{xml}->startTag("ram:SpecifiedTradeProduct"); |
229 | 229 |
$params{xml}->dataElement("ram:SellerAssignedID", _u8($params{item}->part->partnumber)); |
230 | 230 |
$params{xml}->dataElement("ram:Name", _u8($params{item}->description)); |
231 |
$params{xml}->dataElement("ram:Description", _u8($params{item}->longdescription_as_stripped_html)) |
|
232 |
if $params{item}->longdescription_as_stripped_html; |
|
231 | 233 |
$params{xml}->endTag; |
232 | 234 |
|
233 | 235 |
$params{xml}->startTag("ram:SpecifiedLineTradeAgreement"); |
SL/DB/InvoiceItem.pm | ||
---|---|---|
5 | 5 |
use SL::DB::MetaSetup::InvoiceItem; |
6 | 6 |
use SL::DB::Manager::InvoiceItem; |
7 | 7 |
use SL::DB::Helper::ActsAsList; |
8 |
use SL::DB::Helper::AttrHTML; |
|
8 | 9 |
use SL::DB::Helper::LinkedRecords; |
9 | 10 |
use SL::DB::Helper::RecordItem; |
10 | 11 |
use SL::DB::Helper::CustomVariables ( |
... | ... | |
37 | 38 |
|
38 | 39 |
__PACKAGE__->meta->initialize; |
39 | 40 |
|
41 |
__PACKAGE__->attr_html('longdescription'); |
|
42 |
|
|
40 | 43 |
sub record { |
41 | 44 |
my ($self) = @_; |
42 | 45 |
|
Auch abrufbar als: Unified diff
ZUGFeRD: Artikelbeschreibung (longdescription)