]> wagnertech.de Git - kivitendo-erp.git/blobdiff - bin/mozilla/is.pl
Quoting
[kivitendo-erp.git] / bin / mozilla / is.pl
index f210457284dd8968db733bbc791aea3e5d22cf2a..2891634f005c312023173d28fedeb389a2fb82a4 100644 (file)
@@ -853,7 +853,8 @@ sub form_footer {
 
         $tax .= qq|
              <tr>
-               <th align=right>$form->{"${item}_description"}</th>
+               <th align=right>$form->{"${item}_description"}&nbsp;|
+               . $form->{"${item}_rate"} * 100 .qq|%</th>
                <td align=right>$form->{"${item}_total"}</td>
              </tr>
 |;
@@ -892,7 +893,8 @@ sub form_footer {
 
         $tax .= qq|
              <tr>
-               <th align=right>Enthaltene $form->{"${item}_description"}</th>
+               <th align=right>Enthaltene $form->{"${item}_description"}&nbsp;|
+                  . $form->{"${item}_rate"} * 100 .qq|%</th>
                <td align=right>$form->{"${item}_total"}</td>
              </tr>
              <tr>
@@ -1155,11 +1157,11 @@ if ($form->{type} eq "credit_note") {
   # button for saving history
   if($form->{id} ne "") {
     print qq|
-         <input type=button class=submit onclick=set_history_window(|
-         . $form->{id} 
-         . qq|); name=history id=history value=|
-         . $locale->text('history') 
-         . qq|>|;
+         <input type="button" class="submit" onclick="set_history_window(|
+         . Q($form->{id})
+         . qq|);" name="history" id="history" value="|
+         . $locale->text('history')
+         . qq|">|;
   }
   # /button for saving history