[% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %]

[% FORM.title %]

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

[%- 'No delivery term has been created yet.' | $T8 %]

[%- ELSE %] [%- FOREACH delivery_term = DELIVERY_TERMS %] [%- END %]
[%- LxERP.t8('reorder item') %] [%- 'Description' | $T8 %] [%- 'Long Description' | $T8 %]
[%- LxERP.t8('reorder item') %] [%- HTML.escape(delivery_term.description) %] [%- HTML.escape(delivery_term.description_long) %]
[%- END %]
[% L.sortable_element('#delivery_term_list tbody', url => 'controller.pl?action=DeliveryTerm/reorder', with => 'delivery_term_id') %]