Revision cb2b558f
Von Jan Büren vor etwa 7 Jahren hinzugefügt
t/datev/datev_format_2018.t | ||
---|---|---|
244 | 244 |
); |
245 | 245 |
|
246 | 246 |
my @data_csv = sort { $a->[0] cmp $b->[0] } @{ $datev_csv3->lines }; |
247 |
cmp_deeply($data_csv[0], [ 100, 'H', 'EUR', '', '', '', '4660', '1000', 9, '1703', 'Reise März 2',
|
|
247 |
cmp_deeply($data_csv[0], [ 100, 'S', 'EUR', '', '', '', '4660', '1000', 9, '1703', 'Reise März 2',
|
|
248 | 248 |
'', '', '', '', '', '', '', '', '', '', '', |
249 | 249 |
'', '', '', '', '', '', '', '', '', '', '', '', '', |
250 | 250 |
'', '', '', '', '', '', '', '', '', '', '', |
t/datev/invoices.t | ||
---|---|---|
75 | 75 |
'kost2' => 'Crowd-Funding September 2017', |
76 | 76 |
'umsatz' => '249.9', |
77 | 77 |
'waehrung' => 'EUR', |
78 |
'soll_haben_kennzeichen' => 'S', |
|
79 | 78 |
}, |
80 | 79 |
{ |
81 | 80 |
'belegfeld1' => "\x{de} sales \x{a5}& inv\x{f6}ice", |
... | ... | |
87 | 86 |
'kost2' => 'Crowd-Funding September 2017', |
88 | 87 |
'umsatz' => 535, |
89 | 88 |
'waehrung' => 'EUR', |
90 |
'soll_haben_kennzeichen' => 'S', |
|
91 | 89 |
}, |
92 | 90 |
{ |
93 | 91 |
'belegfeld1' => "\x{de} sales \x{a5}& inv\x{f6}ice", |
... | ... | |
102 | 100 |
'kost2' => 'Crowd-Funding September 2017', |
103 | 101 |
'umsatz' => '784.9', |
104 | 102 |
'waehrung' => 'EUR', |
105 |
'soll_haben_kennzeichen' => 'S', |
|
106 | 103 |
}, |
107 | 104 |
], "trans_id datev check ok"; |
108 | 105 |
|
... | ... | |
120 | 117 |
'kost2' => 'Crowd-Funding September 2017', |
121 | 118 |
'umsatz' => '249.9', |
122 | 119 |
'waehrung' => 'EUR', |
123 |
'soll_haben_kennzeichen' => 'S', |
|
124 | 120 |
}, |
125 | 121 |
{ |
126 | 122 |
'belegfeld1' => "\x{de} sales \x{a5}& inv\x{f6}ice", |
... | ... | |
132 | 128 |
'kost2' => 'Crowd-Funding September 2017', |
133 | 129 |
'umsatz' => 535, |
134 | 130 |
'waehrung' => 'EUR', |
135 |
'soll_haben_kennzeichen' => 'S', |
|
136 | 131 |
}, |
137 | 132 |
{ |
138 | 133 |
'belegfeld1' => "\x{de} sales \x{a5}& inv\x{f6}ice", |
... | ... | |
144 | 139 |
'kost2' => 'Crowd-Funding September 2017', |
145 | 140 |
'umsatz' => '784.9', |
146 | 141 |
'waehrung' => 'EUR', |
147 |
'soll_haben_kennzeichen' => 'S', |
|
148 | 142 |
}, |
149 | 143 |
], "trans_id datev check use_pk ok"; |
150 | 144 |
|
... | ... | |
265 | 259 |
'konto' => '3400', |
266 | 260 |
'kost1' => undef, |
267 | 261 |
'kost2' => undef, |
268 |
'soll_haben_kennzeichen' => 'H', |
|
269 | 262 |
'umsatz' => 119, |
270 | 263 |
'waehrung' => 'EUR' |
271 | 264 |
}, |
... | ... | |
277 | 270 |
'konto' => '3300', |
278 | 271 |
'kost1' => undef, |
279 | 272 |
'kost2' => undef, |
280 |
'soll_haben_kennzeichen' => 'H', |
|
281 | 273 |
'umsatz' => 107, |
282 | 274 |
'waehrung' => 'EUR' |
283 | 275 |
} |
... | ... | |
293 | 285 |
'konto' => '3400', |
294 | 286 |
'kost1' => undef, |
295 | 287 |
'kost2' => undef, |
296 |
'soll_haben_kennzeichen' => 'H', |
|
297 | 288 |
'umsatz' => 119, |
298 | 289 |
'waehrung' => 'EUR' |
299 | 290 |
}, |
... | ... | |
305 | 296 |
'konto' => '3300', |
306 | 297 |
'kost1' => undef, |
307 | 298 |
'kost2' => undef, |
308 |
'soll_haben_kennzeichen' => 'H', |
|
309 | 299 |
'umsatz' => 107, |
310 | 300 |
'waehrung' => 'EUR' |
311 | 301 |
} |
Auch abrufbar als: Unified diff
Angepasste DATEV-Testfälle für den Commit von gerade