X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fpayment_term%2Fform.html;h=c371c463c9befc6b934f0c9c71344f67de4ff1d3;hb=b4ddf2d433ca367128cdab950d2fcc391657de38;hp=c77e719f17cbf3fd47d772b0a49860675947fca4;hpb=13a71e41767349608b5a6b06770485d691df1340;p=kivitendo-erp.git diff --git a/templates/webpages/payment_term/form.html b/templates/webpages/payment_term/form.html index c77e719f1..c371c463c 100755 --- a/templates/webpages/payment_term/form.html +++ b/templates/webpages/payment_term/form.html @@ -1,34 +1,23 @@ -[% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %] +[% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %][%- USE P -%]

[% FORM.title %]

-
+ [%- INCLUDE 'common/flash.html' %] - - - + + + - + - [%- FOREACH language = SELF.languages %] - - - - - [%- END %] - @@ -54,18 +43,47 @@ % -
[%- 'Description' | $T8 %] - -
[% LxERP.t8("General settings") %]
[%- 'Long Description' | $T8 %][%- 'Description' | $T8 %] - + [% P.input_tag("payment_term.description", SELF.payment_term.description, "data-validate"="required", "data-title"=LxERP.t8("Description")) %]
[%- 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") %]
-

- - - - [%- IF SELF.payment_term.id %] - + [% IF SELF.payment_term.id %] + + [% 'Obsolete' | $T8 %] + [% L.checkbox_tag('payment_term.obsolete', checked = SELF.payment_term.obsolete, for_submit=1) %] + + + [% END %] + + + + [% LxERP.t8("Texts for quotations & orders") %] + [% LxERP.t8("Texts for invoices") %] + + + + [%- 'Long Description' | $T8 %] + + [% P.input_tag("payment_term.description_long", SELF.payment_term.description_long, size="60", "data-validate"="required", "data-title"=LxERP.t8("Long Description for quotations & orders")) %] + + + + [% P.input_tag("payment_term.description_long_invoice", SELF.payment_term.description_long_invoice, size="60", "data-validate"="required", "data-title"=LxERP.t8("Long Description for invoices")) %] + + + + [%- FOREACH language = SELF.languages %] + + [%- HTML.escape(language.description) %] ([%- LxERP.t8('Translation') %]) + + + + + + + + [%- END %] - [%- 'Abort' | $T8 %] -

+ + + [% P.hidden_tag("id", SELF.payment_term.id) %]
@@ -73,8 +91,6 @@ - -
[%- 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") %]