Revision 7a3a0017
Von Moritz Bunkus vor mehr als 2 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
54 | 54 |
use SL::DB::Customer; |
55 | 55 |
use SL::DB::TaxZone; |
56 | 56 |
use SL::DB::PaymentTerm; |
57 |
use SL::DB::ValidityToken; |
|
57 | 58 |
use SL::DB::Vendor; |
58 | 59 |
|
59 | 60 |
require "bin/mozilla/common.pl"; |
... | ... | |
1631 | 1632 |
|
1632 | 1633 |
$main::auth->assert($form->{type} eq 'purchase_order' || $form->{type} eq 'request_quotation' ? 'vendor_invoice_edit' : 'invoice_edit'); |
1633 | 1634 |
|
1635 |
$form->{form_validity_token} = SL::DB::ValidityToken->create(scope => SL::DB::ValidityToken::SCOPE_SALES_INVOICE_POST())->token; |
|
1634 | 1636 |
$form->{old_salesman_id} = $form->{salesman_id}; |
1635 | 1637 |
$form->get_employee(); |
1636 | 1638 |
|
Auch abrufbar als: Unified diff
Fix Formulargültigkeit bei Angbebot/Auftrag → Rechnung