X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fbank_transactions%2Fcreate_invoice.html;h=2af7755b4a34e40a2e1bc93b6d9a1a814277df15;hb=894d21096d7124342743ee47385ef5493078854c;hp=cfc9ce893a45309165a555fa40eaccc5c4710bbb;hpb=a87694dc525b4eabff11029f1e5401621e2bd3bc;p=kivitendo-erp.git diff --git a/templates/webpages/bank_transactions/create_invoice.html b/templates/webpages/bank_transactions/create_invoice.html index cfc9ce893..2af7755b4 100644 --- a/templates/webpages/bank_transactions/create_invoice.html +++ b/templates/webpages/bank_transactions/create_invoice.html @@ -1,6 +1,6 @@ -[%- USE HTML %][%- USE L %][%- USE LxERP %][%- USE T8 %] +[%- USE HTML %][%- USE L %][%- USE LxERP %][%- USE P -%] - Transaction + [% LxERP.t8("Bank transaction") %] @@ -25,77 +25,42 @@
-[% 'Vendor filter for AP transaction drafts' | $T8 %]: - - -[% L.hidden_tag('bt_id', SELF.transaction.id) %] -
[%- LxERP.t8("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();', - -%] -
- +
+ [% 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("Template Description") %][% P.input_tag("template", template_name, style="width: 250px") %]
[%- LxERP.t8("Vendor") %][% P.input_tag("vendor", vendor_name, style="width: 250px") %]
[%- LxERP.t8("Reference") %][% P.input_tag("reference", reference_name, style="width: 250px") %]

+ [% P.submit_tag('', LxERP.t8("Filter")) %] + [% P.button_tag('$("#create_invoice_window_form").resetForm()', LxERP.t8('Reset')) %] [% 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" %]
-