<tr>
<th align="left">[% 'Notes' | $T8 %]</th>
<th align="left">[% 'Internal Notes' | $T8 %]</th>
- <th align="left">[% 'Payment Options' | $T8 %]</th>
+ <th align="right">[% 'Payment / Delivery Options' | $T8 %]</th>
</tr>
<tr valign="top">
<td>
<textarea name="intnotes" rows="[% rows %]" cols="35" wrap="soft">[% intnotes %]</textarea>
</td>
<td>
- [%- L.checkbox_tag('direct_debit', 'checked', direct_debit, 'label', LxERP.t8('direct debit')) %]
+ <table>
+ <tr>
+ <th align="right">[% 'Delivery Terms' | $T8 %] </th>
+ <td>
+ [% L.select_tag('delivery_term_id', ALL_DELIVERY_TERMS, default = delivery_term_id, with_empty = 1, title_key = 'description', style = 'width: 250px') %]
+ </td>
+ </tr>
+ <tr>
+ <th align="right">[% 'direct debit' | $T8 %]</th>
+ <td>
+ [%- L.checkbox_tag('direct_debit', 'checked', direct_debit) %]
+ </td>
+ </tr>
+ </table>
</td>
</tr>
[%- IF id && follow_ups.size %]
[%- END %]
</table>
</td>
+[%- IF show_weight %]
+ <td>
+ <table>
+ <tr>
+ <th align=left>[% 'Total weight' | $T8 %]</th>
+ <td>
+ [% LxERP.format_amount(totalweight) %] [% HTML.escape(weightunit) %]
+ </td>
+ </tr>
+ </table>
+ </td>
+[%- END %]
<td align="right">
[%- IF taxaccounts %]
<input name="taxincluded" class="checkbox" type="checkbox" [% IF taxincluded %]checked[% END %]>
[% IF show_delete %]
<input class="submit" type="submit" name="action" value="[% 'Delete' | $T8 %]">
+ <input class="submit" type="submit" name="action" value="[% 'Post' | $T8 %]">
[% END %]
<input type="button" class="submit" onclick="follow_up_window()" value="[% 'Follow-Up' | $T8 %]">
[% ELSE # no id %]
- [% UNLESS locked %]
<input class="submit" type="submit" name="action" id="update_button" value="[% 'Update' | $T8 %]">
+ [% UNLESS locked %]
<input class="submit" type="submit" name="action" value="[% 'Post' | $T8 %]">
- <input class="submit" type="submit" name="action" value="[% 'Save Draft' | $T8 %]">
[%- END %]
+ <input class="submit" type="submit" name="action" value="[% 'Save Draft' | $T8 %]">
[% END # id %]
[% IF id %]