X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fletter%2Fload_drafts.html;h=088defa36df253ba8eaa6afce306f5e2ba17cdac;hb=3c69a99f86cb4c935becf708a9696920387d9172;hp=ceb1d5427de9b8bf04538ed509dc25091b9df12f;hpb=ea5d75b52e043fb3f0d264056df6007049d6a3fd;p=kivitendo-erp.git diff --git a/templates/webpages/letter/load_drafts.html b/templates/webpages/letter/load_drafts.html index ceb1d5427..088defa36 100644 --- a/templates/webpages/letter/load_drafts.html +++ b/templates/webpages/letter/load_drafts.html @@ -1,8 +1,9 @@ [%- USE T8 %] -[%- USE HTML %] +[%- USE HTML %][%- USE L -%]

[% 'Load letter draft' | $T8 %]

-
+ + [% L.hidden_tag('is_sales', SELF.is_sales) %]

[% 'The following drafts have been saved and can be loaded.' | $T8 %]

@@ -14,26 +15,27 @@ +[%- IF SELF.is_sales %] +[%- ELSE %] + +[%- END %] [% FOREACH row = LETTER_DRAFTS %] - - + + - +[%- IF SELF.is_sales %] + +[%- ELSE %] + +[%- END %] [% END %]
  [% 'Date' | $T8 %] [% 'Subject' | $T8 %][% 'Customer' | $T8 %][% 'Vendor' | $T8 %]
[% row.date | html %][% L.checkbox_tag("ids[+]", value=row.id) %][% row.date.to_kivitendo | html %] [% row.subject | html %][% row.customer | html %][% row.customer.displayable_name | html %][% row.vendor.displayable_name | html %]
- - - - - - -