[% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %]

[% FORM.title %]

[%- INCLUDE 'common/flash.html' %] [%- FOREACH language = SELF.languages %] [%- END %]
[%- 'Description' | $T8 %]
[%- 'Long Description' | $T8 %]
[%- HTML.escape(language.description) %] ([%- LxERP.t8('Translation') %])
[% LxERP.t8("Calculate due date automatically") %] [% L.yes_no_tag("payment_term.auto_calculation", SELF.payment_term.auto_calculation, "data-auto-calculation-toggle"="1") %]
[%- 'Netto Terms' | $T8 %] [% L.input_tag("payment_term.terms_netto_as_number", SELF.payment_term.terms_netto_as_number, size="6", disabled=(SELF.payment_term.auto_calculation ? '' : 1)) %]
[%- 'Skonto Terms' | $T8 %]
[%- 'Skonto' | $T8 %] %

[%- IF SELF.payment_term.id %] [%- END %] [%- 'Abort' | $T8 %]


[% LxERP.t8("You can use the following strings in the long description and all translations. They will be replaced by their actual values by kivitendo before they're output.") %]

[%- LxERP.t8('Field') %][%- LxERP.t8('Description') %]
<%payment_terms%>[% LxERP.t8("Payment description") %]
<%payment_description%>[% LxERP.t8("Payment description detail") %]
<%netto_date%>[% LxERP.t8("Date the payment is due in full") %]
<%skonto_date%>[% LxERP.t8("Date the payment is due with discount") %]
<%skonto_amount%>[% LxERP.t8("The deductible amount") %]
<%skonto_in_percent%>[% LxERP.t8("The discount in percent") %]
<%total%>[% LxERP.t8("Amount payable") %]
<%total_wo_skonto%>[% LxERP.t8("Amount payable less discount") %]
<%invtotal%>[% LxERP.t8("Invoice total") %]
<%invtotal_wo_skonto%>[% LxERP.t8("Invoice total less discount") %]
<%currency%>[% LxERP.t8("The selected currency") %]
<%terms_netto%>[% LxERP.t8("The number of days for full payment") %]
<%bank%>[% LxERP.t8("Customer's/vendor's bank") %]
<%bic%>[% LxERP.t8("Customer's/vendor's BIC") %]
<%iban%>[% LxERP.t8("Customer's/vendor's IBAN") %]
<%mandator_id%>[% LxERP.t8("Customer's SEPA mandator ID") %]
<%mandate_date_of_signature%>[% LxERP.t8("Customer's Mandate Date of Signature") %]
<%account_number%>[% LxERP.t8("Customer's/vendor's account number") %]
<%bank_code%>[% LxERP.t8("Customer's/vendor's bank code") %]