X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fpayment_term%2Fform.html;h=c371c463c9befc6b934f0c9c71344f67de4ff1d3;hb=59274d46487423806bdc4c76ea405c57d9e45c0a;hp=6cd81c89d3dc75d0cdcd57980c57991daa8de835;hpb=9b726ff98e2b78f2b50caa66aa77d51f6a03cf49;p=kivitendo-erp.git diff --git a/templates/webpages/payment_term/form.html b/templates/webpages/payment_term/form.html index 6cd81c89d..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) %]