[% 'Customer' | $T8 %] |
[% P.customer_vendor.picker("customer_id", customer_id, type="customer", show_details="1") %]
[% L.hidden_tag("previous_customer_id", customer_id) %]
[% L.hidden_tag('terms', terms) %]
|
[% IF max_dunning_level || invoice_obj.dunning_config_id %]
[% LxERP.t8("Dunning status") %] |
[% IF invoice_obj.dunning_config_id %]
[% LxERP.t8("This invoice's dunning level: #1", invoice_obj.dunning_config.dunning_description) %]
[% IF max_dunning_level %] [% END %]
[% END %]
[% IF max_dunning_level %]
[% LxERP.t8("Customer's current maximum dunning level: #1", max_dunning_level) %]
[% LxERP.t8("Dunned open amount: #1", LxERP.format_amount(dunning_amount, 2)) %]
[% END %]
|
[% END %]
[% LxERP.t8("Credit Limit") %] |
[% LxERP.format_amount(creditlimit, 0) %][% L.hidden_tag('creditlimit', LxERP.format_amount(creditlimit, 0)) %],
[% LxERP.t8("Remaining") %]
[% LxERP.format_amount(creditremaining, 0) %][% L.hidden_tag('creditremaining', LxERP.format_amount(creditremaining, 0)) %]
|
[% 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 %] |
[%- IF readonly %]
[% HTML.escape(currency) %]
[% L.hidden_tag("currency", currency) %]
[%- ELSE %]
[% L.select_tag("currency", currencies, default=currency, value_key="name", title_key="name", class="wi-lightwide") %]
[%- END %]
|
[% L.hidden_tag('defaultcurrency', defaultcurrency) %]
[% L.hidden_tag('fxgain_accno', fxgain_accno) %]
[% L.hidden_tag('fxloss_accno', fxloss_accno) %]
[% L.hidden_tag('forex', forex) %]
[% IF show_exch %]
[% 'Exchangerate' | $T8 %] |
[%- IF readonly %]
[% LxERP.format_amount(exchangerate, 5) %]
[% L.hidden_tag("exchangerate", LxERP.format_amount(exchangerate, 5)) %]
[%- ELSE %]
[% L.input_tag("exchangerate", LxERP.format_amount(exchangerate), class="wi-lightwide") %]
[%- END %]
[% IF record_forex %][% 'record exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- END %]
|
[% END %]
[% IF ALL_DEPARTMENTS %]
[% 'Department' | $T8 %] |
[% L.select_tag('department_id', ALL_DEPARTMENTS, default=department_id, title_key='description', with_empty=1, class="wi-lightwide") %] |
[% END %]
[% 'Transaction description' | $T8 %] |
[% L.input_tag("transaction_description", transaction_description, "data-validate"=INSTANCE_CONF.get_require_transaction_description_ps ? 'required' : '', class="wi-lightwide") %] |
|
[% L.checkbox_tag('taxincluded', checked=taxincluded, label=LxERP.t8('Tax Included')) %] |
|
[% L.checkbox_tag('direct_debit', checked=direct_debit, label=LxERP.t8('direct debit')) %] |