Revision dd33b4ae
Von G. Richardson vor mehr als 7 Jahren hinzugefügt
t/datev/invoices.t | ||
---|---|---|
59 | 59 |
dbh => $invoice->db->dbh, |
60 | 60 |
trans_id => $invoice->id, |
61 | 61 |
); |
62 |
|
|
62 | 63 |
$datev1->generate_datev_data; |
64 |
|
|
63 | 65 |
cmp_bag $datev1->generate_datev_lines, [ |
64 | 66 |
{ |
65 |
'belegfeld1' => "\x{de} sales \x{a5}& inv\x{f6}ice",
|
|
67 |
'belegfeld1' => Encode::decode('utf-8', "Þ sales ¥& invöice"),
|
|
66 | 68 |
'buchungstext' => 'Testcustomer', |
67 | 69 |
'datum' => '01.01.2017', |
68 | 70 |
'gegenkonto' => '8400', |
... | ... | |
74 | 76 |
'soll_haben_kennzeichen' => 'S', |
75 | 77 |
}, |
76 | 78 |
{ |
77 |
'belegfeld1' => "\x{de} sales \x{a5}& inv\x{f6}ice",
|
|
79 |
'belegfeld1' => Encode::decode('utf-8', "Þ sales ¥& invöice"),
|
|
78 | 80 |
'buchungstext' => 'Testcustomer', |
79 | 81 |
'datum' => '01.01.2017', |
80 | 82 |
'gegenkonto' => '8300', |
... | ... | |
86 | 88 |
'soll_haben_kennzeichen' => 'S', |
87 | 89 |
}, |
88 | 90 |
{ |
89 |
'belegfeld1' => "\x{de} sales \x{a5}& inv\x{f6}ice",
|
|
91 |
'belegfeld1' => Encode::decode('utf-8', "Þ sales ¥& invöice"),
|
|
90 | 92 |
'buchungstext' => 'Testcustomer', |
91 | 93 |
'datum' => '05.01.2017', |
92 | 94 |
'gegenkonto' => '1400', |
Auch abrufbar als: Unified diff
DATEV Export: invoices.t generate_datev_lines mit Encode::decode prüfen