Autocompletion gegen Injection abgesichert.
[kivitendo-erp.git] / templates / webpages / is / form_footer_master.html
index a3d53fd..1641fb6 100644 (file)
@@ -32,7 +32,7 @@
           </script>
          </td>
         </tr>
-[%- IF id %]
+[%- IF id && follow_ups.size %]
         <tr>
           <td colspan="2">
             [%- LxERP.format_string('<translate>There are #1 unfinished follow-ups of which #2 are due.</translate>',
@@ -66,7 +66,6 @@
   [%- END %]
        <table>
 
-[%#- subtotal %]
 [%- UNLESS taxincluded %]
         <tr>
          <th align="right"><translate>Subtotal</translate></th>
     <input class="submit" type="submit" name="action" value="<translate>Post Payment</translate>">
     <input class="submit" type="submit" name="action" value="<translate>Use As Template</translate>">
 
-[% IF id && is_type_credit_note %]
+[% IF id && !is_type_credit_note %]
     <input class="submit" type="submit" name="action" value="<translate>Credit Note</translate>">
 [% END %]
 [% IF show_delete %]