<tr>
<th align="right" nowrap>[% 'Vendor' | $T8 %]</th>
<td colspan="3">
- [% P.customer_vendor_picker("vendor_id", vendor_id, type="vendor", style="width: 300px") %]
+ [% P.customer_vendor_picker("vendor_id", vendor_id, type="vendor", style="width: 300px", onchange="\$('#update_button').click()") %]
[% L.button_tag("show_vc_details('vendor')", LxERP.t8('Details (one letter abbreviation)')) %]
[% L.hidden_tag("previous_vendor_id", vendor_id) %]
</td>
<table>
<tr>
<th align="right" nowrap>[% 'Invoice Number' | $T8 %]</th>
- <td><input name="invnumber" size="11" value="[% invnumber | html %]" [% readonly %]></td>
+ <td>[% L.input_tag("invnumber", invnumber, size="11", readonly=readonly) %]</td>
</tr>
<tr>
<th align="right" nowrap>[% 'Order Number' | $T8 %]</th>
- <td><input name="ordnumber" size="11" value="[% ordnumber | html %]" [% readonly %]></td>
+ <td>[% L.input_tag("ordnumber", ordnumber, size="11", readonly=readonly) %]</td>
</tr>
<tr>
<th align="right" nowrap>[% 'Invoice Date' | $T8 %]</th>
</tr>
<tr>
<td>
+ [% UNLESS no_payment_bookings %]
<table width="100%">
<tr class="listheading">
<th class="listheading" colspan="7">[% 'Payments' | $T8 %]</th>
<td align="center">[% LxERP.format_amount(paid_missing, 2) | html %]</td>
</tr>
</table>
+ [% END %]
</td>
</tr>
</table>