X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fir.pl;h=1515fa450dda1133dbb539fac95b397fc21d04a2;hb=1b3fe156b5ddfd588c1e55af5e21a36e84d9caf8;hp=bb419895642d5cc20fe2c8e43a95061e22bceace;hpb=bde667c235b2347bdd1322f118b032a2f0d93367;p=kivitendo-erp.git
diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl
index bb4198956..1515fa450 100644
--- a/bin/mozilla/ir.pl
+++ b/bin/mozilla/ir.pl
@@ -558,8 +558,7 @@ sub form_footer {
$tax .= qq|
- $form->{"${item}_description"} |
- . $form->{"${item}_rate"} * 100 .qq|% |
+ $form->{"${item}_description"} |
$form->{"${item}_total"} |
|;
@@ -600,8 +599,7 @@ sub form_footer {
$tax .= qq|
- Enthaltene $form->{"${item}_description"} |
- . $form->{"${item}_rate"} * 100 .qq|% |
+ Enthaltene $form->{"${item}_description"} |
$form->{"${item}_total"} |
@@ -1088,7 +1086,7 @@ sub post {
$form->save_history($form->dbconnect(\%myconfig));
}
# /saving the history
- remove_draft();
+ remove_draft() if $form->{remove_draft};
$form->redirect( $locale->text('Invoice')
. " $form->{invnumber} "
. $locale->text('posted!'));