Revision db0282f1
Von Jan Büren vor mehr als 1 Jahr hinzugefügt
bin/mozilla/do.pl | ||
---|---|---|
1283 | 1283 |
$locale->text('You cannot create an invoice for delivery orders from different vendors.'), |
1284 | 1284 |
'back_button' => 1); |
1285 | 1285 |
} |
1286 |
$form->{form_validity_token} = SL::DB::ValidityToken->create(scope => SL::DB::ValidityToken::SCOPE_SALES_INVOICE_POST())->token; |
|
1287 | 1286 |
|
1288 | 1287 |
my $source_type = $form->{type}; |
1289 | 1288 |
$form->{convert_from_do_ids} = join ' ', @do_ids; |
... | ... | |
1307 | 1306 |
$form->{script} = 'ir.pl'; |
1308 | 1307 |
$script = "ir"; |
1309 | 1308 |
$buysell = 'sell'; |
1309 |
$form->{form_validity_token} = SL::DB::ValidityToken->create(scope => SL::DB::ValidityToken::SCOPE_PURCHASE_INVOICE_POST())->token; |
|
1310 | 1310 |
|
1311 | 1311 |
} else { |
1312 | 1312 |
$form->{title} = $locale->text('Add Sales Invoice'); |
1313 | 1313 |
$form->{script} = 'is.pl'; |
1314 | 1314 |
$script = "is"; |
1315 | 1315 |
$buysell = 'buy'; |
1316 |
$form->{form_validity_token} = SL::DB::ValidityToken->create(scope => SL::DB::ValidityToken::SCOPE_SALES_INVOICE_POST())->token; |
|
1316 | 1317 |
} |
1317 | 1318 |
|
1318 | 1319 |
map { delete $form->{$_} } qw(id subject message cc bcc printed emailed queued); |
Auch abrufbar als: Unified diff
Gültigkeit für EK-Rechnungen aus mehreren LS setzen
Ferner den Code für VK-Rechnungen aus mehreren LS in den richtigen
Fallunterschied verschoben