Revision 59adfa36
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
470 | 470 |
} |
471 | 471 |
|
472 | 472 |
sub mark_as_paid { |
473 |
$main::lxdebug->enter_sub(); |
|
474 |
|
|
475 |
my $form = $main::form; |
|
476 |
my %myconfig = %main::myconfig; |
|
477 |
|
|
478 |
$main::auth->assert('ap_transactions'); |
|
473 |
$::auth->assert('ap_transactions'); |
|
479 | 474 |
|
480 |
&mark_as_paid_common(\%myconfig,"ap");
|
|
475 |
SL::DB::PurchaseInvoice->new(id => $::form->{id})->load->mark_as_paid;
|
|
481 | 476 |
|
482 |
$main::lxdebug->leave_sub();
|
|
477 |
$::form->redirect($::locale->text("Marked as paid"));
|
|
483 | 478 |
} |
484 | 479 |
|
485 | 480 |
sub show_draft { |
Auch abrufbar als: Unified diff
Alle Rechnungen: »als bezahlt markieren« auf neue Funktionen in SL::DB::(Purchase)Invoice umgestellt