X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Fap.pl;h=bf54841661c352fa669caef54072ad9c1d898d53;hb=d4c9b68ec69a5a04d8e185800718c665151b2bbc;hp=24f5f245daa63a438e719da982187f286f89e19c;hpb=797ad4c506d8e96342249155ddde80361b5ff9f9;p=kivitendo-erp.git diff --git a/bin/mozilla/ap.pl b/bin/mozilla/ap.pl index 24f5f245d..bf5484166 100644 --- a/bin/mozilla/ap.pl +++ b/bin/mozilla/ap.pl @@ -1535,6 +1535,40 @@ sub ap_transactions { $lxdebug->leave_sub(); } + +sub vendor_invoice { + $lxdebug->enter_sub(); + + $auth->assert('invoice_edit'); + + + $form->{script} = 'ir.pl'; + $script = "ir"; + $form->{type} = "invoice"; + $locale = new Locale "$myconfig{countrycode}", "$script"; + + require "bin/mozilla/$form->{script}"; + &add; + + $lxdebug->leave_sub(); +} + +sub ap_transaction { + $lxdebug->enter_sub(); + + $auth->assert('general_ledger'); + + + $form->{script} = 'ap.pl'; + $script = "ap"; + $locale = new Locale "$myconfig{countrycode}", "$script"; + + require "bin/mozilla/$form->{script}"; + &add; + + $lxdebug->leave_sub(); +} + sub storno { $lxdebug->enter_sub();