is/form_footer: Gutschrift Button richtig anzeigen.
authorSven Schöling <s.schoeling@linet-services.de>
Mon, 16 Nov 2009 14:30:04 +0000 (15:30 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Mon, 16 Nov 2009 14:30:04 +0000 (15:30 +0100)
templates/webpages/is/form_footer_de.html
templates/webpages/is/form_footer_master.html

index bb8ac22..8ba247b 100644 (file)
     <input class="submit" type="submit" name="action" value="Zahlung buchen">
     <input class="submit" type="submit" name="action" value="Als Vorlage verwenden">
 
-[% IF id && is_type_credit_note %]
+[% IF id && !is_type_credit_note %]
     <input class="submit" type="submit" name="action" value="Gutschrift">
 [% END %]
 [% IF show_delete %]
index f780367..1641fb6 100644 (file)
     <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 %]