[%- USE L %] [%- USE HTML %] [%- USE T8 %] [%- USE LxERP %]
[% L.hidden_tag('defaultcurrency', defaultcurrency) %] [% L.hidden_tag('closedto', closedto) %] [% L.hidden_tag('vc', vc) %] [% L.hidden_tag('type', type) %] [% L.hidden_tag('formname', type) %] [% L.hidden_tag('queued', queued) %] [% L.hidden_tag('arap', arap) %] [% L.hidden_tag('ARAP', ARAP) %] [% L.hidden_tag('openinvoices', openinvoices) %]

[% is_receipt ? LxERP.t8('Receipt') : LxERP.t8('Payment') %]

[% IF vc == 'customer' %] [% L.hidden_tag('selectcustomer', selectcustomer) %] [% L.hidden_tag('customer_id', customer_id) %] [% L.hidden_tag('oldcustomer', oldcustomer) %] [% ELSE %] [% L.hidden_tag('selectvendor', selectvendor) %] [% L.hidden_tag('vendor_id', vendor_id) %] [% L.hidden_tag('oldvendor', oldvendor) %] [% END %] [% IF vc == 'customer' %] [% END %]
[% is_customer ? LxERP.t8('Customer') : LxERP.t8('Vendor') %] [% vccontent %]
[% 'Customer Number' | $T8 %]
[% 'Invoice Number' | $T8 %]
[% 'Address' | $T8 %]
[% street | html %][% L.hidden_tag('street', street) %]
[% zipcode | html %][% L.hidden_tag('zipcode', zipcode) %]
[% city | html %][% L.hidden_tag('city', city) %]
[% country | html %][% L.hidden_tag('country', country) %]
[% 'Memo' | $T8 %]
[% IF currency != defaultcurrency %] [% IF forex %] [%- ELSE %] [%- END %] [% END %]
[% 'Account' | $T8 %]
[% 'Date' | $T8 %] [% L.date_tag('datepaid', datepaid) %]
[% 'Currency' | $T8 %]
[% 'Exchangerate' | $T8 %][% LxERP.format_amount(exchangerate) %][% L.hidden_tag('exchangerate', LxERP.format_amount(exchangerate)) %][% L.input_tag('exchangerate', LxERP.format_amount(exchangerate), size=10) %]
[% 'Source' | $T8 %]
[% 'Amount' | $T8 %] [% LxERP.format_amount(amount, 2) %]
[% IF openinvoices_other_currencies %] [% 'Note' | $T8 %]: [%- IF is_customer %] [% LxERP.t8('There are #1 more open invoices for this customer with other currencies.', openinvoices_other_currencies) %] [%- ELSE %] [% LxERP.t8('There are #1 more open invoices from this vendor with other currencies.', openinvoices_other_currencies) %] [%- END %] [% END %]