Revision f7cdb6db
Von Kivitendo Admin vor mehr als 8 Jahren hinzugefügt
SL/DB/Invoice.pm | ||
---|---|---|
325 | 325 |
die "not an ar invoice" if $self->invoice and not $self->customer_id; |
326 | 326 |
|
327 | 327 |
die "add_ar_amount_row needs a chart object as chart param" unless $params{chart} && $params{chart}->isa('SL::DB::Chart'); |
328 |
die unless $params{chart}->link =~ /AR_amount/; |
|
328 |
die "chart must be an AR_amount chart" unless $params{chart}->link =~ /AR_amount/;
|
|
329 | 329 |
|
330 | 330 |
my $acc_trans = []; |
331 | 331 |
|
Auch abrufbar als: Unified diff
Invoice - add_ar_amount_row - bessere 'die' Fehlermeldung