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

[% FORM.title %]

-
+ [%- INCLUDE 'common/flash.html' %] @@ -14,7 +14,7 @@ [%- 'Description' | $T8 %] - + [% P.input_tag("payment_term.description", SELF.payment_term.description, "data-validate"="required", "data-title"=LxERP.t8("Description")) %] @@ -44,6 +44,14 @@ + [% 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") %] @@ -53,11 +61,11 @@ [%- '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")) %] @@ -75,16 +83,7 @@ [%- END %] -

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

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