Revision f0bca038
Von Moritz Bunkus vor fast 11 Jahren hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
1342 | 1342 |
# $locale->text('Quotation Number missing!') |
1343 | 1343 |
# $locale->text('Quotation Date missing!') |
1344 | 1344 |
|
1345 |
# assign number |
|
1346 | 1345 |
$form->{what_done} = $form->{formname}; |
1347 |
if (!$form->{"${inv}number"} && !$form->{preview} && !$form->{id}) { |
|
1348 |
$form->{"${inv}number"} = $form->update_defaults(\%myconfig, $numberfld); |
|
1349 |
if ($form->{media} ne 'email') { |
|
1350 |
|
|
1351 |
# get pricegroups for parts |
|
1352 |
IS->get_pricegroups_for_parts(\%myconfig, \%$form); |
|
1353 |
|
|
1354 |
# build up html code for prices_$i |
|
1355 |
set_pricegroup($form->{rowcount}); |
|
1356 |
|
|
1357 |
$form->{rowcount}--; |
|
1358 |
|
|
1359 |
call_sub($display_form); |
|
1360 |
# saving the history |
|
1361 |
if(!exists $form->{addition}) { |
|
1362 |
$form->{snumbers} = "${inv}number" . "_" . $form->{"${inv}number"}; |
|
1363 |
$form->{addition} = "PRINTED"; |
|
1364 |
$form->save_history; |
|
1365 |
} |
|
1366 |
# /saving the history |
|
1367 |
::end_of_request(); |
|
1368 |
} |
|
1369 |
} |
|
1370 | 1346 |
|
1371 | 1347 |
&validate_items; |
1372 | 1348 |
|
Auch abrufbar als: Unified diff
io.pl: toten Codepfad entfernen