<input class="submit" type="submit" name="action" value="Rechnung">
- <br>[% heading %] als neue Vorlage verwenden für<br>
- [%- IF is_sales_ord %]
- <input class="submit" type="submit" name="action" value="Lieferantenauftrag">
- <input class="submit" type="submit" name="action" value="Angebot">
- [%- ELSE %]
- [%- IF is_pur_ord %]
- <input class="submit" type="submit" name="action" value="Kundenauftrag">
- <input class="submit" type="submit" name="action" value="Anfrage">
- [%- ELSE %]
- <input class="submit" type="submit" name="action" value="Auftrag">
- [%- END %]
+ [%- IF is_sales_ord || is_pur_ord %]
+ <br>[% heading %] als neue Vorlage verwenden für<br>
+ [%- IF is_sales_ord %]
+ <input class="submit" type="submit" name="action" value="Lieferantenauftrag">
+ <input class="submit" type="submit" name="action" value="Angebot">
+ [%- ELSE %]
+ [%- IF is_pur_ord %]
+ <input class="submit" type="submit" name="action" value="Kundenauftrag">
+ <input class="submit" type="submit" name="action" value="Anfrage">
+ [%- END %]
+ [%- END %]
[%- END %]
[%- END %]
<input class="submit" type="submit" name="action" value="<translate>Invoice</translate>">
- <br>[% heading %] als neue Vorlage verwenden für<br>
- [%- IF is_sales_ord %]
- <input class="submit" type="submit" name="action" value="<translate>Purchase Order</translate>">
- <input class="submit" type="submit" name="action" value="<translate>Quotation</translate>">
- [%- ELSE %]
- [%- IF is_pur_ord %]
- <input class="submit" type="submit" name="action" value="<translate>Sales Order</translate>">
- <input class="submit" type="submit" name="action" value="<translate>Request for Quotation</translate>">
- [%- ELSE %]
- <input class="submit" type="submit" name="action" value="<translate>Order</translate>">
- [%- END %]
+ [%- IF is_sales_ord || is_pur_ord %]
+ <br>[% heading %] als neue Vorlage verwenden für<br>
+ [%- IF is_sales_ord %]
+ <input class="submit" type="submit" name="action" value="<translate>Purchase Order</translate>">
+ <input class="submit" type="submit" name="action" value="<translate>Quotation</translate>">
+ [%- ELSE %]
+ [%- IF is_pur_ord %]
+ <input class="submit" type="submit" name="action" value="<translate>Sales Order</translate>">
+ <input class="submit" type="submit" name="action" value="<translate>Request for Quotation</translate>">
+ [%- END %]
+ [%- END %]
[%- END %]
[%- END %]