X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fdo%2Fform_footer.html;h=1ad546c0af16913c8afafd716a1a3e85e51bffa7;hb=d58b1a04c2facd0a4484cf2b801b27b9741cce26;hp=eea92171aa8f12fc06b47883e50b6064b6bc67c3;hpb=efb9a24f2252104ab4af5c25334119d7c5c70a8c;p=kivitendo-erp.git diff --git a/templates/webpages/do/form_footer.html b/templates/webpages/do/form_footer.html index eea92171a..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 L -%] +[% USE HTML %][% USE LxERP %][%- USE L -%][%- USE P -%] [%- IF delivered %] [%- SET RO = ' readonly' %] [%- END %] @@ -13,8 +13,15 @@ - - + + [% 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") %] @@ -55,73 +62,28 @@ -
- -

[% PRINT_OPTIONS %]

+ + -

- [% 'Edit the Delivery Order' | $T8 %]
- - - [%- UNLESS delivered %] - [%- IF vc == 'customer' %] - - [%- 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 !delivered %] + + [%- 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) %] - [% L.submit_tag('action_delete', LxERP.t8('Delete'), confirm=LxERP.t8('Are you sure?')) %] - [% END %] - -

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