Revision 0a64ac3d
Von Kivitendo Admin vor etwa 7 Jahren hinzugefügt
t/ar/ar.t | ||
---|---|---|
195 | 195 |
|
196 | 196 |
if ($datev_check) { |
197 | 197 |
my $datev = SL::DATEV->new( |
198 |
exporttype => DATEV_ET_BUCHUNGEN, |
|
199 |
format => DATEV_FORMAT_KNE, |
|
200 | 198 |
dbh => $invoice->db->dbh, |
201 | 199 |
trans_id => $invoice->id, |
202 | 200 |
); |
203 | 201 |
|
204 |
$datev->export; |
|
202 |
$datev->generate_datev_data; |
|
203 |
|
|
205 | 204 |
if ($datev->errors) { |
206 | 205 |
$invoice->db->dbh->rollback; |
207 | 206 |
die join "\n", $::locale->text('DATEV check returned errors:'), $datev->errors; |
Auch abrufbar als: Unified diff
DATEV-Checks beim Buchen nutzen nun generate_datev_data