X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fis.pl;h=30d0a072f5b7aa54ac10689162b523434af59421;hb=db68b6fd72b9f0d7d8be953746c0e7d6154f5eaf;hp=b05c8fddd5343343f87cb62a43e16e14c339c3a3;hpb=bde667c235b2347bdd1322f118b032a2f0d93367;p=kivitendo-erp.git
diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl
index b05c8fddd..30d0a072f 100644
--- a/bin/mozilla/is.pl
+++ b/bin/mozilla/is.pl
@@ -856,8 +856,7 @@ sub form_footer {
$tax .= qq|
- $form->{"${item}_description"} |
- . $form->{"${item}_rate"} * 100 .qq|% |
+ $form->{"${item}_description"} |
$form->{"${item}_total"} |
|;
@@ -896,8 +895,7 @@ sub form_footer {
$tax .= qq|
- Enthaltene $form->{"${item}_description"} |
- . $form->{"${item}_rate"} * 100 .qq|% |
+ Enthaltene $form->{"${item}_description"} |
$form->{"${item}_total"} |
@@ -1453,7 +1451,7 @@ sub post {
if (!(IS->post_invoice(\%myconfig, \%$form))) {
$form->error($locale->text('Cannot post invoice!'));
}
- remove_draft();
+ remove_draft() if $form->{remove_draft};
# saving the history
if(!exists $form->{addition}) {
$form->{addition} = "PRINTED AND POSTED";
@@ -1463,7 +1461,7 @@ sub post {
} else {
if (IS->post_invoice(\%myconfig, \%$form)){
- remove_draft();
+ remove_draft() if $form->{remove_draft};
# saving the history
if(!exists $form->{addition}) {
if($form->{storno}) {