X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/9e06d0e40cb328336d6e7604ec06387a0e3b1ea7..ea43d77bdaf75a43472261a971b29e732a410321:/bin/mozilla/is.pl diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 8c61d72da..ad90daf7c 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"; @@ -383,7 +375,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 +532,7 @@ sub form_header { $jsscript = ""; if ($form->{type} eq "credit_note") { $button1 = qq| -
$form->{saved_message}
| if $form->{saved_message}; @@ -636,10 +629,10 @@ sub form_header {