X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Fis.pl;h=f39ff1368d6150f486b3272dc81220654fd88266;hb=96d3ef850a6170a3cbada36eb7f375ef99efe373;hp=933602fa158f2780b4be0c8d370967f6f4b10f24;hpb=94e11003809e9090514026a733e58e72e636a6bb;p=kivitendo-erp.git diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 933602fa1..f39ff1368 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -69,10 +69,6 @@ sub add { $form{jsscript} = "date"; - if ($myconfig{acs} =~ "AR--Add Sales Invoice" || $myconfig{acs} =~ "AR--AR") - { - $form->error("Access Denied"); - } &invoice_links; &prepare_invoice; &display_form; @@ -89,10 +85,6 @@ sub edit { $form->{javascript} = qq||; #/show hhistory button - if ($myconfig{acs} =~ "AR--Add Sales Invoice" || $myconfig{acs} =~ "AR--AR") - { - $form->error("Access Denied"); - } $edit = 1; if ($form->{print_and_post}) { $form->{action} = "print"; @@ -248,8 +240,6 @@ sub prepare_invoice { if ($form->{id}) { - map { $form->{$_} =~ s/\"/"/g } - qw(invnumber ordnumber quonumber shippingpoint shipvia notes intnotes); # # get pricegroups for parts # IS->get_pricegroups_for_parts(\%myconfig, \%$form); @@ -276,8 +266,6 @@ sub prepare_invoice { $form->{"qty_$i"} = $form->format_amount(\%myconfig, $form->{"qty_$i"}, $dec_qty); - map { $form->{"${_}_$i"} =~ s/\"/"/g } - qw(partnumber description unit partnotes); $form->{rowcount} = $i; } @@ -383,7 +371,7 @@ sub form_header { : (NTI($cgi->popup_menu('-name' => 'customer', '-default' => $form->{oldcustomer}, '-onChange' => 'document.getElementById(\'update_button\').click();', '-values' => \@values, '-labels' => \%labels, '-style' => 'width: 250px')))) . qq| - + |; %labels = (); @@ -540,7 +528,7 @@ sub form_header { $jsscript = ""; if ($form->{type} eq "credit_note") { $button1 = qq| -
| . $locale->text('Shipping Point') . qq| | | . $cgi->textfield("-name" => "shippingpoint", "-size" => 35, "-value" => $form->{shippingpoint}) . - qq| + qq| | +|||||
---|---|---|---|---|---|---|
| . $locale->text('Ship via') . qq| | -+ | | . + $cgi->textfield("-name" => "shipvia", "-size" => 35, "-value" => $form->{shipvia}) . + qq| | ||||
| . $locale->text('Transaction description') . qq| | @@ -703,10 +694,14 @@ print qq|