Revision 23c9fc97
Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt
bin/mozilla/is.pl | ||
---|---|---|
333 | 333 |
if ($form->{id} && $form->{type} eq "invoice_for_advance_payment") { |
334 | 334 |
my $invoice_obj = SL::DB::Invoice->load_cached($form->{id}); |
335 | 335 |
my $lr = $invoice_obj->linked_records(direction => 'to', to => ['Invoice']); |
336 |
$has_final_invoice = any {'SL::DB::Invoice' eq ref $_ && "invoice" eq $_->invoice_type} @$lr; |
|
336 |
$has_final_invoice = any {'SL::DB::Invoice' eq ref $_ && "final_invoice" eq $_->invoice_type} @$lr;
|
|
337 | 337 |
} |
338 | 338 |
|
339 | 339 |
for my $bar ($::request->layout->get('actionbar')) { |
Auch abrufbar als: Unified diff
Anzhalungs-Rg.: is.pl: neuen, eigenenen Schlussrechnungs-Typ berücksichtigen