From: Moritz Bunkus Date: Wed, 8 Jan 2014 12:05:14 +0000 (+0100) Subject: io.pl: toten Codepfad entfernen X-Git-Tag: release-3.1.0beta1~22^2~22^2~10^2^2~5 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f0bca038e659057fd046358b9201b5a374dc2d25;p=kivitendo-erp.git io.pl: toten Codepfad entfernen --- diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 480de9766..3afcbd1dc 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -1342,31 +1342,7 @@ sub print_form { # $locale->text('Quotation Number missing!') # $locale->text('Quotation Date missing!') - # assign number $form->{what_done} = $form->{formname}; - if (!$form->{"${inv}number"} && !$form->{preview} && !$form->{id}) { - $form->{"${inv}number"} = $form->update_defaults(\%myconfig, $numberfld); - if ($form->{media} ne 'email') { - - # get pricegroups for parts - IS->get_pricegroups_for_parts(\%myconfig, \%$form); - - # build up html code for prices_$i - set_pricegroup($form->{rowcount}); - - $form->{rowcount}--; - - call_sub($display_form); - # saving the history - if(!exists $form->{addition}) { - $form->{snumbers} = "${inv}number" . "_" . $form->{"${inv}number"}; - $form->{addition} = "PRINTED"; - $form->save_history; - } - # /saving the history - ::end_of_request(); - } - } &validate_items;