Revision 809fbd13
Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt
SL/DB/Helper/Payment.pm | ||
---|---|---|
292 | 292 |
push @new_acc_ids, $arap_booking->acc_trans_id; |
293 | 293 |
|
294 | 294 |
# hook for invoice_for_advance_payment DATEV always pairs, acc_trans_id has to be higher than arap_booking ;-) |
295 |
if ($self->type eq 'invoice_for_advance_payment') { |
|
295 |
if ($self->invoice_type eq 'invoice_for_advance_payment') {
|
|
296 | 296 |
my $clearing_chart = SL::DB::Chart->new(id => $::instance_conf->get_advance_payment_clearing_chart_id)->load; |
297 | 297 |
die "No Clearing Chart for Advance Payment" unless ref $clearing_chart eq 'SL::DB::Chart'; |
298 | 298 |
|
Auch abrufbar als: Unified diff
Anzahlungs-Rg.: Kontoauszug verbuchen: Warnung vermeiden. invoice_type nehmen,
… da type auch undef sein kann