X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fdo%2Fform_footer.html;h=d02a1e52d6eeeb52881602cb7f21eb9f7a3f3005;hb=42ca4b6790baf76f507cc3675f4a171223cfde4c;hp=b81ce8cfe3d071f7aeadc917701b2f2060347f4c;hpb=b61f5c3df68e3a3b4fb6a8a287172b0989215748;p=kivitendo-erp.git diff --git a/templates/webpages/do/form_footer.html b/templates/webpages/do/form_footer.html index b81ce8cfe..d02a1e52d 100644 --- a/templates/webpages/do/form_footer.html +++ b/templates/webpages/do/form_footer.html @@ -1,9 +1,5 @@ [%- USE T8 %] -[% USE HTML %][% USE LxERP %] - - - - +[% USE HTML %][% USE LxERP %][%- USE L -%] [%- IF delivered %] [%- SET RO = ' readonly' %] [%- END %] @@ -24,33 +20,37 @@ +[%- IF show_weight %] +
+
|
+
-
[% 'File name' | $T8 %] | -[% 'WebDAV link' | $T8 %] | -
[% HTML.escape(file.name) %] | -[% HTML.escape(file.type) %] | -
[% PRINT_OPTIONS %]
@@ -68,12 +68,19 @@ [%- UNLESS delivered %] [%- IF vc == 'customer' %] - + + [% IF transfer_default %] + + [%- END %] [%- ELSE %] - + + [% IF transfer_default %] + + [%- END %] [%- END %] [%- END %] [%- IF id %] + [%- UNLESS closed %] [%- END %] @@ -85,8 +92,8 @@
[% 'Workflow Delivery Order' | $T8 %]
- [% UNLESS delivered %]
-
+ [% UNLESS delivered || (vc == 'customer' && !INSTANCE_CONF.get_sales_delivery_order_show_delete) || (vc == 'vendor' && !INSTANCE_CONF.get_purchase_delivery_order_show_delete) %]
+ [% L.submit_tag('action_delete', LxERP.t8('Delete'), confirm=LxERP.t8('Are you sure?')) %]
[% END %]