X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fis.pl;h=9b6da27c60bf5c538ee6ffdbf6ca0f4ccdf40ee0;hb=9fd46de37d7906b7c104c17112b34bae7d534d67;hp=d50d6d0f7d4919777edc1295c3f70259dc47df3f;hpb=15f549fdb43fba2d99817c659533dfa02638bf27;p=kivitendo-erp.git
diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl
index d50d6d0f7..9b6da27c6 100644
--- a/bin/mozilla/is.pl
+++ b/bin/mozilla/is.pl
@@ -856,7 +856,8 @@ sub form_footer {
$tax .= qq|
- $form->{"${item}_description"} |
+ $form->{"${item}_description"} |
+ . $form->{"${item}_rate"} * 100 .qq|% |
$form->{"${item}_total"} |
|;
@@ -895,7 +896,8 @@ sub form_footer {
$tax .= qq|
- Enthaltene $form->{"${item}_description"} |
+ Enthaltene $form->{"${item}_description"} |
+ . $form->{"${item}_rate"} * 100 .qq|% |
$form->{"${item}_total"} |
@@ -1451,7 +1453,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";
@@ -1461,7 +1463,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}) {