X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fletter%2Fload_drafts.html;h=088defa36df253ba8eaa6afce306f5e2ba17cdac;hb=3cf720a8461d2d4c296edb9a4223074929921b5a;hp=78c04cd80ffc7aa8394bd84769ff250bba2d4549;hpb=9ad7c056342885c959c0bbe966531ee40934d2df;p=kivitendo-erp.git diff --git a/templates/webpages/letter/load_drafts.html b/templates/webpages/letter/load_drafts.html index 78c04cd80..088defa36 100644 --- a/templates/webpages/letter/load_drafts.html +++ b/templates/webpages/letter/load_drafts.html @@ -1,12 +1,11 @@ [%- 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 %]

- - @@ -16,26 +15,27 @@ +[%- IF SELF.is_sales %] +[%- ELSE %] + +[%- END %] [% FOREACH row = LETTER_DRAFTS %] - - - - + + + +[%- IF SELF.is_sales %] + +[%- ELSE %] + +[%- END %] [% END %]
- [% 'The following drafts have been saved and can be loaded.' | $T8 %]
  [% 'Date' | $T8 %] [% 'Subject' | $T8 %][% 'Customer' | $T8 %][% 'Vendor' | $T8 %]
[% HTML.escape(row.date) %][% HTML.escape(row.subject) %][% HTML.escape(row.customer) %][% L.checkbox_tag("ids[+]", value=row.id) %][% row.date.to_kivitendo | html %][% row.subject | html %][% row.customer.displayable_name | html %][% row.vendor.displayable_name | html %]
- - - - - - -