projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BankTransaction: Kreditorenvorlagen auch nach Namen sortiert
[kivitendo-erp.git]
/
templates
/
webpages
/
mass_invoice_create_print_from_do
/
list_invoices.html
diff --git
a/templates/webpages/mass_invoice_create_print_from_do/list_invoices.html
b/templates/webpages/mass_invoice_create_print_from_do/list_invoices.html
index
8bec62a
..
c382a5c
100644
(file)
--- a/
templates/webpages/mass_invoice_create_print_from_do/list_invoices.html
+++ b/
templates/webpages/mass_invoice_create_print_from_do/list_invoices.html
@@
-4,8
+4,8
@@
[%- INCLUDE "common/flash.html" %]
[%- INCLUDE "common/flash.html" %]
-[% LIST_ACTION = '
action_
list_invoices' %]
-[%- PROCESS 'mass_invoice_create_print_from_do/_filter.html' filter=SELF.
filter
%]
+[% LIST_ACTION = 'list_invoices' %]
+[%- PROCESS 'mass_invoice_create_print_from_do/_filter.html' filter=SELF.
invoice_models.filtered.laundered
%]
[% IF noshow == 1 %]
[% invoices = SELF.invoice_models.get;
[% IF noshow == 1 %]
[% invoices = SELF.invoice_models.get;
@@
-16,7
+16,7
@@
</p>
[%- ELSE %]
</p>
[%- ELSE %]
- <form method="post" action="controller.pl">
+ <form method="post" action="controller.pl"
id="report_form"
>
<table width="100%">
<thead>
<tr class="listheading">
<table width="100%">
<thead>
<tr class="listheading">
@@
-57,21
+57,28
@@
[% L.paginate_controls %]
[% END %]
[% L.paginate_controls %]
[% END %]
- <hr size="3" noshade>
+ [% L.hidden_tag("action", "MassInvoiceCreatePrint/dispatch") %]
+ [% L.hidden_tag("printer_id") %]
+ [% L.hidden_tag("bothsided") %]
+ </form>
- [% IF SELF.printers.size %]
+ [% IF SELF.printers.size %]
+ <div id="print_options" class="hidden">
+ <p>
+ [% LxERP.t8("Print both sided") %]:
+ [% L.checkbox_tag('', id="print_options_bothsided") %]
+ </p>
<p>
[% LxERP.t8("Print destination") %]:
[% SET printers = [ { description=LxERP.t8("Download PDF, do not print") } ] ;
CALL printers.import(SELF.printers);
<p>
[% LxERP.t8("Print destination") %]:
[% SET printers = [ { description=LxERP.t8("Download PDF, do not print") } ] ;
CALL printers.import(SELF.printers);
- L.select_tag("
printer_id", printers
, title_key="description", default=FORM.printer_id) %]
+ L.select_tag("
", printers, id="print_options_printer_id"
, title_key="description", default=FORM.printer_id) %]
</p>
</p>
- [% END %]
- <p>
-
[% L.hidden_tag("action", "MassInvoiceCreatePrint/dispatch"
) %]
- [% L.submit_tag("action_print", LxERP.t8("Print")) %]
- </
p
>
- </form>
+
<p>
+
[% L.button_tag("kivi.MassInvoiceCreatePrint.massPrint()", LxERP.t8('Print')
) %]
+ </p>
+ </
div
>
+ [% END %]
[%- END %]
[%- END %]
[%- END %]
[%- END %]