Revision 2ecfde54
Von Sven Schöling vor etwa 8 Jahren hinzugefügt
SL/GDPDU.pm | ||
---|---|---|
39 | 39 |
); |
40 | 40 |
|
41 | 41 |
my %datev_column_defs = ( |
42 |
acc_trans_id => { type => 'Rose::DB::Object::Metadata::Column::Integer', text => t8('ID'), },
|
|
42 |
trans_id => { type => 'Rose::DB::Object::Metadata::Column::Integer', text => t8('ID'), },
|
|
43 | 43 |
amount => { type => 'Rose::DB::Object::Metadata::Column::Numeric', text => t8('Amount'), }, |
44 | 44 |
credit_accname => { type => 'Rose::DB::Object::Metadata::Column::Text', text => t8('Credit Account Name'), }, |
45 | 45 |
credit_accno => { type => 'Rose::DB::Object::Metadata::Column::Text', text => t8('Credit Account'), }, |
... | ... | |
61 | 61 |
); |
62 | 62 |
|
63 | 63 |
my @datev_columns = qw( |
64 |
acc_trans_id
|
|
64 |
trans_id |
|
65 | 65 |
customer_id vendor_id |
66 | 66 |
name vcnumber |
67 | 67 |
transdate invnumber amount |
... | ... | |
415 | 415 |
tax => defined $amount->{net_amount} ? $::form->format_amount($myconfig, abs($amount->{amount}) - abs($amount->{net_amount}), 5) : 0, |
416 | 416 |
notes => $haben->{notes}, |
417 | 417 |
(map { ($_ => $tax->{$_}) } qw(taxkey tax_accname tax_accno taxdescription)), |
418 |
(map { ($_ => ($haben->{$_} // $soll->{$_})) } qw(acc_trans_id invnumber name vcnumber transdate itime customer_id vendor_id)),
|
|
418 |
(map { ($_ => ($haben->{$_} // $soll->{$_})) } qw(trans_id invnumber name vcnumber transdate itime customer_id vendor_id)), |
|
419 | 419 |
); |
420 | 420 |
|
421 | 421 |
_normalize_cell($_) for values %row; # see CAVEATS |
Auch abrufbar als: Unified diff
GDPDU: statt acc_trans_id die trans_id exportieren