X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=templates%2Fwebpages%2Fdo%2Fform_footer.html;h=6c8e0c62e2a29e18bd5052c21eae75aa6ed203c6;hb=4a903d6db69a0d5d2083c743af64e2b733bcdc0d;hp=a6a51299e034d3c2fac5533b4bd185792a4e295e;hpb=150db1304ea4e7323a08bc87dbf2e97cd52ca650;p=kivitendo-erp.git diff --git a/templates/webpages/do/form_footer.html b/templates/webpages/do/form_footer.html index a6a51299e..6c8e0c62e 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 -%][%- USE P -%] [%- IF delivered %] [%- SET RO = ' readonly' %] [%- END %] @@ -17,40 +13,56 @@
+
|
+
-
[% 'File name' | $T8 %] | -[% 'WebDAV link' | $T8 %] | -
[% HTML.escape(file.name) %] | -[% HTML.escape(file.type) %] | -
[% PRINT_OPTIONS %]
@@ -63,30 +75,37 @@ [%- END %] [%- END %] - - + + [%- UNLESS delivered %] - + [%- IF vc == 'customer' %] - + + [% IF transfer_default %] + + [%- END %] [%- ELSE %] - + + [% IF transfer_default %] + + [%- END %] [%- END %] [%- END %] [%- IF id %] + [%- UNLESS closed %] - + [%- END %] - + [%- END %] [%- IF id %]
[% '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 %]