X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fir.pl;h=d72ca7ed852868aa8f7bbb34edbfeeab35a04d57;hb=644c68bae03521cec693800af0a19b9ab4e0ed9c;hp=6744764c66ffc9d30f69a058b98224816df4e189;hpb=cfc6a60d53597f6a879b28af37f84b4b5fa4cc6b;p=kivitendo-erp.git diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl index 6744764c6..d72ca7ed8 100644 --- a/bin/mozilla/ir.pl +++ b/bin/mozilla/ir.pl @@ -32,11 +32,13 @@ #====================================================================== use SL::IR; +use SL::IS; use SL::PE; require "$form->{path}/io.pl"; require "$form->{path}/arap.pl"; require "$form->{path}/common.pl"; +require "bin/mozilla/drafts.pl"; 1; @@ -45,6 +47,8 @@ require "$form->{path}/common.pl"; sub add { $lxdebug->enter_sub(); + return $lxdebug->leave_sub() if (load_draft_maybe()); + $form->{title} = $locale->text('Add Vendor Invoice'); &invoice_links; @@ -56,7 +60,11 @@ sub add { sub edit { $lxdebug->enter_sub(); - + + # show history button + $form->{javascript} = qq||; + #/show hhistory button + $form->{title} = $locale->text('Edit Vendor Invoice'); &invoice_links; @@ -395,6 +403,8 @@ sub form_header { {storno}> {storno_id}> +| . ($form->{saved_message} ? qq|
$form->{saved_message}
| : "") . qq| +$form->{title} | @@ -549,7 +559,8 @@ sub form_footer { $tax .= qq|||
---|---|---|
$form->{"${item}_description"} | +$form->{"${item}_description"} | + . $form->{"${item}_rate"} * 100 .qq|% | $form->{"${item}_total"} |
Enthaltene $form->{"${item}_description"} | +Enthaltene $form->{"${item}_description"} | + . $form->{"${item}_rate"} * 100 .qq|% | $form->{"${item}_total"} |