Revision 078fc372
Von Jan Büren vor etwa 9 Jahren hinzugefügt
SL/IR.pm | ||
---|---|---|
800 | 800 |
|
801 | 801 |
# safety check datev export |
802 | 802 |
if ($::instance_conf->get_datev_check_on_purchase_invoice) { |
803 |
# if we need department for kostenstelle in DATEV check |
|
804 |
$form->{department} = SL::DB::Manager::Department->find_by(id => $form->{department_id})->description if $form->{department_id}; |
|
803 | 805 |
my $transdate = $::form->{invdate} ? DateTime->from_lxoffice($::form->{invdate}) : undef; |
804 | 806 |
$transdate ||= DateTime->today; |
805 | 807 |
|
Auch abrufbar als: Unified diff
Abteilungsname für DATEV-Checks bei Einkaufsrechnungen setzen
If we filter DATEV transaction via department we need also a name for export.
At least if we have DATEV checks activated and force a valid department in
DATEV filter (currently customer extension)