X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/0f0cb3b708f9078b774a07cecd996e5bdc5fac63..HEAD:/templates/webpages/delivery_term/list.html diff --git a/templates/webpages/delivery_term/list.html b/templates/webpages/delivery_term/list.html index b47f9d14e..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 %] @@ -14,32 +13,29 @@ - + + [%- FOREACH delivery_term = DELIVERY_TERMS %] - + + [%- END %]
[ LxERP.t8('reorder item') %][%- LxERP.t8('reorder item') %] [%- 'Description' | $T8 %] [%- 'Long Description' | $T8 %][%- 'Obsolete' | $T8 %]
[ LxERP.t8('reorder item') %][%- LxERP.t8('reorder item') %] [%- HTML.escape(delivery_term.description) %] [%- HTML.escape(delivery_term.description_long) %][% IF delivery_term.obsolete %][% LxERP.t8("yes") %][% ELSE %][% LxERP.t8("no") %][% END %]
[%- END %] - -

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

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