[%- END %]
</table>
</td>
+ [%- IF show_weight %]
<td>
<table>
<tr>
<th align="left">[% 'Total weight' | $T8 %]</th>
<td align="right">
[% LxERP.format_amount(totalweight, 3) %] [% HTML.escape(weightunit) %]
- <input type=hidden name="totalweight" value="[% totalweight %]">
- <input type="hidden" name="weightunit" value="[% HTML.escape(weightunit) %]">
</td>
</tr>
</table>
</td>
+ [%- END %]
[%- IF is_sales %]
<td>
<table>
<input class="submit" type="submit" name="action_purchase_order" value="[% 'Purchase Order' | $T8 %]">
[%- END %]
- [%- IF is_sales_ord || is_pur_ord && !delivered%]
+ [%- IF is_sales_ord || is_pur_ord %]
<input class="submit" type="submit" name="action_delivery_order" value="[% 'Delivery Order' | $T8 %]">
[%- END %]