X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fdo%2Fform_footer.html;h=6c8e0c62e2a29e18bd5052c21eae75aa6ed203c6;hb=d735aab3fc2987d555c63ce0dc8e24626ca30654;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..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 @@ - + + [% IF delivered %] + [% L.hidden_tag("notes", notes) %] +
[% P.restricted_html(notes) %]
+ [% ELSE %] + [% L.textarea_tag("notes", notes, wrap="soft", style="width: 350px; height: 150px", class="texteditor") %] + [% END %] + + + + [% 'Delivery Terms' | $T8 %] + [% L.select_tag('delivery_term_id', ALL_DELIVERY_TERMS, default = delivery_term_id, with_empty = 1, title_key = 'description') %] + +[%- IF show_weight %] + + + + + + +
+ + + + + +
[% 'Total weight' | $T8 %] + [% LxERP.format_amount(totalweight, 3) %] [% HTML.escape(weightunit) %] +
+
+ + +[%- END %]

-
- - [%- IF conf_webdav %] -
[% 'Documents in the WebDAV repository' | $T8 %]
+ +[% PROCESS 'webdav/_list.html' %] +
+ [%- LxERP.t8("Loading...") %] +
+ -

- - - - - - - [%- FOREACH file = WEBDAV %] - - - - - [%- END %] - -
[% 'File name' | $T8 %][% 'WebDAV link' | $T8 %]
[% HTML.escape(file.name) %][% HTML.escape(file.type) %]
-

- -
- [%- END %] +

[% 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 %]

@@ -96,6 +115,6 @@ - - - +