X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fletter%2Fedit.html;h=cbd331e1a7756f2910e528e578a9c728c6fe3c46;hb=59e3b9a9b52a94beb8b17f38743bc60c4372c401;hp=a43f310af68d0bc537f3bbbec7e5dfe4590b3fc2;hpb=e83604f2c7d6d499d9db8d066cc7f637e6f609de;p=kivitendo-erp.git diff --git a/templates/webpages/letter/edit.html b/templates/webpages/letter/edit.html index a43f310af..cbd331e1a 100644 --- a/templates/webpages/letter/edit.html +++ b/templates/webpages/letter/edit.html @@ -3,31 +3,49 @@ [%- USE L %] [%- USE P %] [%- USE LxERP %] +[%- SET WEBDAV = SELF.webdav_objects %]

[% title | html %]

+ [% L.hidden_tag('is_sales', SELF.is_sales) %] - [%- PROCESS 'common/flash.html' %] + [%- INCLUDE 'common/flash.html' %] + +
+ + +
+[%- IF SELF.is_sales %] - + + +[%- ELSE %] + + + +[%- END %] - + @@ -125,10 +143,18 @@
[% 'Customer' | $T8 %]:[% P.customer_vendor_picker('letter.vc_id', letter.vc_id, type='customer') %] -[%- IF letter.customer_id %] - -[%- END %] - [% P.customer_vendor_picker('letter.customer_id', letter.customer_id, type='customer') %]
[% 'Vendor' | $T8 %]:[% P.customer_vendor_picker('letter.vendor_id', letter.vendor_id, type='vendor') %]
[% 'Contact Person' | $T8 %][% L.select_tag('letter.cp_id', letter.cp_id ? letter.customer.contacts : [], value_key='cp_id', title_key='full_name', default=letter.cp_id) %][% L.select_tag('letter.cp_id', letter.customer_vendor_id ? letter.customer_vendor.contacts : [], value_key='cp_id', title_key='full_name', default=letter.cp_id) %]
[% 'Your Reference' | $T8 %]:
+ + [% PROCESS 'webdav/_list.html' %] +
+ [%- LxERP.t8("Loading...") %] +
+ + [%- IF letter.letternumber %] + [% END %] @@ -141,7 +167,12 @@