X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fdo%2Fform_footer.html;h=1ad546c0af16913c8afafd716a1a3e85e51bffa7;hb=3591b710cbe757a131ff768ed7d6066d8412bc0e;hp=78ad35a4167c0baf29493a4ef587658f8ea23073;hpb=18b1b18015503fb46e8e1201f79e968f097f66e0;p=kivitendo-erp.git diff --git a/templates/webpages/do/form_footer.html b/templates/webpages/do/form_footer.html index 78ad35a41..1ad546c0a 100644 --- a/templates/webpages/do/form_footer.html +++ b/templates/webpages/do/form_footer.html @@ -1,5 +1,5 @@ [%- USE T8 %] -[% USE HTML %][% USE LxERP %] +[% USE HTML %][% USE LxERP %][%- USE L -%][%- USE P -%] [%- IF delivered %] [%- SET RO = ' readonly' %] [%- END %] @@ -13,13 +13,45 @@ - - + + [% 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 %] + + [% L.textarea_tag("intnotes", intnotes, wrap="soft", style="width: 350px; height: 150px") %] + + + + [% '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 %]

@@ -30,67 +62,28 @@ -
- -

[% PRINT_OPTIONS %]

- -

- [% 'Edit the Delivery Order' | $T8 %]
- - - [%- UNLESS delivered %] - [%- IF vc == 'customer' %] - - [%- END %] - [%- END %] - - - [%- UNLESS delivered %] - - [%- IF vc == 'customer' %] - - [%- ELSE %] - - [%- END %] - [%- END %] - [%- IF id %] - - [%- UNLESS closed %] - - [%- END %] - - [%- END %] -

+ + - [%- IF id %] -

- [% 'Workflow Delivery Order' | $T8 %]
- - [% UNLESS delivered || (vc == 'customer' && !INSTANCE_CONF.get_sales_delivery_order_show_delete) || (vc == 'vendor' && !INSTANCE_CONF.get_purchase_delivery_order_show_delete) %] - - [% END %] - -

- [%- END %] + [%- IF !delivered %] + + [%- END %] - - + + + +[%- IF !delivered %] + +[%- END %] +