Revision 078fc372
Von Jan Büren vor etwa 9 Jahren hinzugefügt
SL/IR.pm | ||
---|---|---|
|
||
# safety check datev export
|
||
if ($::instance_conf->get_datev_check_on_purchase_invoice) {
|
||
# if we need department for kostenstelle in DATEV check
|
||
$form->{department} = SL::DB::Manager::Department->find_by(id => $form->{department_id})->description if $form->{department_id};
|
||
my $transdate = $::form->{invdate} ? DateTime->from_lxoffice($::form->{invdate}) : undef;
|
||
$transdate ||= DateTime->today;
|
||
|
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)