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