X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/afb85af8ea986cdd46a97b5362423dc2c8b6e8a6..HEAD:/templates/webpages/delivery_term/list.html diff --git a/templates/webpages/delivery_term/list.html b/templates/webpages/delivery_term/list.html index 661e2da57..1f6e37c15 100644 --- a/templates/webpages/delivery_term/list.html +++ b/templates/webpages/delivery_term/list.html @@ -1,10 +1,9 @@ [% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %] - -
[% FORM.title %]
+

[% FORM.title %]

[%- INCLUDE 'common/flash.html' %] -
+ [% IF !DELIVERY_TERMS.size %]

[%- 'No delivery term has been created yet.' | $T8 %] @@ -17,6 +16,7 @@ [%- LxERP.t8('reorder item') %] [%- 'Description' | $T8 %] [%- 'Long Description' | $T8 %] + [%- 'Obsolete' | $T8 %] @@ -30,16 +30,12 @@ [%- HTML.escape(delivery_term.description_long) %] + [% IF delivery_term.obsolete %][% LxERP.t8("yes") %][% ELSE %][% LxERP.t8("no") %][% END %] [%- END %] [%- END %] - -

- [%- 'Create new delivery term' | $T8 %] -

[% L.sortable_element('#delivery_term_list tbody', url => 'controller.pl?action=DeliveryTerm/reorder', with => 'delivery_term_id') %] -