X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fletter%2Fedit.html;h=0c4e4e415bfb5a51187ff95d9087e847a7180846;hb=46c6d4ad42ee0f62828e60a8a6875172d84f2cc4;hp=de10fd425e95f75566ef68663620577fe932bd4e;hpb=3675add4feb3acce37e8e9fea1813f94c9a77e18;p=kivitendo-erp.git diff --git a/templates/webpages/letter/edit.html b/templates/webpages/letter/edit.html index de10fd425..0c4e4e415 100644 --- a/templates/webpages/letter/edit.html +++ b/templates/webpages/letter/edit.html @@ -3,12 +3,14 @@ [%- USE L %] [%- USE P %] [%- USE LxERP %] +[%- SET WEBDAV = SELF.webdav_objects %]

[% title | html %]

-
+ - + + [% L.hidden_tag('is_sales', SELF.is_sales) %] [%- INCLUDE 'common/flash.html' %] @@ -16,6 +18,12 @@ @@ -27,17 +35,20 @@ +[%- IF SELF.is_sales %] - + +[%- ELSE %] + + + + +[%- END %] - + @@ -125,43 +136,21 @@ - - - - - -
[% '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.vc_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 %]:

- [% print_options %] -
+ + + + [% PROCESS 'webdav/_list.html' %]
[%- LxERP.t8("Loading...") %]
- - - - -[%- IF letter.letternumber %] - - -[% END %] - - -[% L.submit_tag('action_delete', LxERP.t8('Delete'), confirm=LxERP.t8('Are you sure you want to delete this letter?')) %] - -
- - +