[% 'Vendor' | $T8 %] |
[% 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) %]
|
[% LxERP.t8("Credit Limit") %] |
[% creditlimit | html %];
[% LxERP.t8("Remaining") %]
[% creditremaining | html %]
|
[%- IF invoice_obj.sepa_exports.as_list.size %]
[% LxERP.t8("SEPA exports") %] |
[% FOREACH export = invoice_obj.sepa_exports.as_list %]
[% HTML.escape(export.id) %]
[% UNLESS loop.last %], [% END %]
[% END %]
|
[%- END %]
[% 'Currency' | $T8 %] |
[% L.select_tag("currency", currencies, default=currency, value_key="name", title_key="name") %] |
[% IF ( defaultcurrency && (currency != defaultcurrency) ) %]
[% 'Exchangerate' | $T8 %] |
[% IF ( forex ) %]
[% exchangerate | html %] |
[% ELSE %]
|
[% END %]
[% END %]
[% IF ALL_DEPARTMENTS %]
[% 'Department' | $T8 %] |
[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1) %] |
[% END %]
|
[% 'Tax Included' | $T8 %] |
|
[% 'direct debit' | $T8 %] |
|
[% 'Invoice Number' | $T8 %] |
[% L.input_tag("invnumber", invnumber, size="11", readonly=readonly) %] |
[% 'Order Number' | $T8 %] |
[% L.input_tag("ordnumber", ordnumber, size="11", readonly=readonly) %] |
[% 'Invoice Date' | $T8 %] |
[% L.date_tag('transdate', transdate, onchange='kivi.SalesPurchase.set_duedate_on_reference_date_change("transdate")') %] |
[% 'Due Date' | $T8 %] |
[% L.date_tag('duedate', duedate) %] |
[% LxERP.t8('Tax point') %] |
[% L.date_tag('tax_point', tax_point, id='tax_point') %] |
[% 'Delivery Date' | $T8 %] |
[% L.date_tag('deliverydate', deliverydate) %] |
[% 'Project Number' | $T8 %] |
[% P.project.picker('globalproject_id', globalproject_id, onchange="document.getElementById('update_button').click();") %]
|
|
|
[% 'Account' | $T8 %] |
[% 'Amount' | $T8 %] |
[% 'Tax' | $T8 %] |
[% 'Taxkey' | $T8 %] |
[% 'Project' | $T8 %] |
[% FOREACH i IN [1..rowcount] %]
[% SET selected_chart_id = "AP_amount_chart_id_"_ i %]
[% P.chart.picker("AP_amount_chart_id_" _ i, $selected_chart_id, style="width: 400px", type="AP_amount", class=(initial_focus == 'row_' _ i ? "initial_focus" : "")) %]
[% L.hidden_tag("previous_AP_amount_chart_id_" _ i, $selected_chart_id) %]
|
|
[% temp = "tax_"_ i %][% $temp | html %]
|
[% temp = 'selected_taxchart_'_ i %]
[% taxcharts = 'taxcharts_' _ i %]
[% L.select_tag('taxchart_'_ i, $taxcharts, value_title_sub = \taxchart_value_title_sub, default = $temp, style="width: 250px") %]
|
[% temp = "project_id_"_ i %]
[% P.project.picker(temp, loop.last ? globalproject_id : $temp) %]
|
[% END %]
|
[% P.chart.picker('AP_chart_id', AP_chart_id, style="width: 400px", type="AP") %]
|
[% invtotal | html %] |
|
|
[% 'Notes' | $T8 %] |
[% 'Internal Notes' | $T8 %] |
[% 'Payment Terms' | $T8 %] |
[% L.textarea_tag("notes", notes, wrap="soft", rows=textarea_rows, cols=50, readonly=readonly) %]
|
[% L.textarea_tag("intnotes", intnotes, wrap="soft", rows=textarea_rows, cols=50, readonly=readonly) %]
|
[% L.select_tag('payment_id', payment_terms, default=payment_id, title_key='description', with_empty=1, style="width: 250px", onchange="kivi.SalesPurchase.set_duedate_on_reference_date_change('transdate')") %]
|
|
[% UNLESS no_payment_bookings %]
[% END %]
|