X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fbank_transactions%2Fcreate_invoice.html;h=25b32b395464d39c449a709cec65e1a51b8052bc;hb=0be9f3713e4060d4dd8c0510484373f5f32d7f35;hp=a1806cba252d6f58057987903502779acefab62a;hpb=15b26400597c5801e554dbb8948721e6ef44b984;p=kivitendo-erp.git diff --git a/templates/webpages/bank_transactions/create_invoice.html b/templates/webpages/bank_transactions/create_invoice.html index a1806cba2..25b32b395 100644 --- a/templates/webpages/bank_transactions/create_invoice.html +++ b/templates/webpages/bank_transactions/create_invoice.html @@ -1,4 +1,4 @@ -[%- USE HTML %][%- USE L %][%- USE LxERP %][%- USE T8 %] +[%- USE HTML %][%- USE L %][%- USE LxERP %][%- USE P -%] Transaction @@ -25,77 +25,27 @@
-[% 'Vendor filter for AP transaction drafts' | $T8 %]: - - -[% L.hidden_tag('bt_id', SELF.transaction.id) %] -
- - - - -
[%- LxERP.t8("Vendor") %] - [%- INCLUDE 'generic/multibox.html' - name = 'vendor', - select_name = 'vendor_id', - default = ALL_VENDORS.size < limit ? vendor_id : vendor_name, - style = 'width: 250px', - DATA = ALL_VENDORS, - id_key = 'id', - label_key = 'name', - limit = limit, - show_empty = 1, - allow_textbox = 1, - class = 'initial_focus', - onChange = 'filter_drafts();', - -%] -
+[% LxERP.t8('Vendor filter for AP transaction templates') %]: + + + [% L.hidden_tag("bt_id", SELF.transaction.id) %] + [% L.hidden_tag("filter.bank_account", FORM.filter.bank_account) %] + [% L.hidden_tag("filter.fromdate", FORM.filter.fromdate) %] + [% L.hidden_tag("filter.todate", FORM.filter.todate) %] + + + + + +
[%- LxERP.t8("Vendor") %][% P.input_tag("vendor", vendor_name, class="initial_focus", style="width: 250px") %]

+ [% P.button_tag("kivi.BankTransaction.filter_templates()", LxERP.t8("Filter vendors")) %] [% LxERP.t8("Cancel") %]


-
-[% IF DRAFTS.size %] -[% 'Draft suggestions' | $T8 %]: - - - - - - - - - - - [% FOREACH draft = DRAFTS %] - - - - - - - [% END %] -
[% 'Description' | $T8 %][% 'Vendor' | $T8 %][% 'Employee' | $T8 %][% 'Draft from:' | $T8 %]
[% HTML.escape(draft.description) %][% HTML.escape(draft.vendor) %][% HTML.escape(draft.employee.name) %][% HTML.escape(draft.itime_as_date) %]
-[% ELSE %] -

[% 'No draft was found.' | $T8 %]

-[% END %] +
+ [% PROCESS "bank_transactions/_template_list.html" %]
- - -