Revision 1522aeb7
Von Johannes Grassler vor etwa 1 Jahr hinzugefügt
SL/XMLInvoice/CrossIndustryInvoice.pm | ||
---|---|---|
1 | 1 |
package SL::XMLInvoice::CrossIndustryInvoice; |
2 |
|
|
3 |
use strict; |
|
4 |
use warnings; |
|
5 |
|
|
2 | 6 |
use parent qw(SL::XMLInvoice); |
3 | 7 |
|
8 |
use constant ITEMS_XPATH => '//ram:IncludedSupplyChainTradeLineItem'; |
|
9 |
|
|
4 | 10 |
=head1 NAME |
5 | 11 |
|
6 | 12 |
SL::XMLInvoice::FakturX - XML parser for UN/CEFACT Cross Industry Invoice |
... | ... | |
48 | 54 |
|
49 | 55 |
=cut |
50 | 56 |
|
51 |
use strict; |
|
52 |
use constant ITEMS_XPATH => '//ram:IncludedSupplyChainTradeLineItem'; |
|
53 |
|
|
54 | 57 |
# XML XPath expressions for global metadata |
55 | 58 |
sub scalar_xpaths { |
56 | 59 |
return { |
... | ... | |
172 | 175 |
push @items, \%line_item; |
173 | 176 |
} |
174 | 177 |
|
175 |
|
|
176 | 178 |
} |
177 | 179 |
|
178 | 180 |
1; |
Auch abrufbar als: Unified diff
Einrueckungen und weitere Stilprobleme repariert