Erste Version Druckqueue.
[kivitendo-erp.git] / bin / mozilla / ir.pl
index bb41989..1515fa4 100644 (file)
@@ -558,8 +558,7 @@ sub form_footer {
 
         $tax .= qq|
                <tr>
-                 <th align=right>$form->{"${item}_description"}&nbsp;|
-                                 . $form->{"${item}_rate"} * 100 .qq|%</th>
+                 <th align=right>$form->{"${item}_description"}</th>
                  <td align=right>$form->{"${item}_total"}</td>
                </tr>
 |;
@@ -600,8 +599,7 @@ sub form_footer {
 
         $tax .= qq|
              <tr>
-               <th align=right>Enthaltene $form->{"${item}_description"}&nbsp;|
-                               . $form->{"${item}_rate"} * 100 .qq|%</th>
+               <th align=right>Enthaltene $form->{"${item}_description"}</th>
                <td align=right>$form->{"${item}_total"}</td>
              </tr>
              <tr>
@@ -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!'));