Revision fe669345
Von Sven Schöling vor mehr als 9 Jahren hinzugefügt
SL/Controller/MassInvoiceCreatePrint.pm | ||
---|---|---|
21 | 21 |
|
22 | 22 |
use Rose::Object::MakeMethods::Generic |
23 | 23 |
( |
24 |
'scalar --get_set_init' => [ qw(invoice_models invoice_ids sales_delivery_order_models printers default_printer_id js) ],
|
|
24 |
'scalar --get_set_init' => [ qw(invoice_models invoice_ids sales_delivery_order_models printers default_printer_id) ], |
|
25 | 25 |
); |
26 | 26 |
|
27 | 27 |
__PACKAGE__->run_before('setup'); |
... | ... | |
183 | 183 |
# filters |
184 | 184 |
# |
185 | 185 |
|
186 |
sub init_js { SL::ClientJS->new(controller => $_[0]) } |
|
187 | 186 |
sub init_printers { SL::DB::Manager::Printer->get_all_sorted } |
188 | 187 |
sub init_invoice_ids { [] } |
189 | 188 |
|
... | ... | |
427 | 426 |
If the above is done (did I already said: boring linear?). Documents will |
428 | 427 |
be either printed or downloaded. |
429 | 428 |
|
430 |
=item C<init_js> |
|
431 |
|
|
432 |
Inits js/kivi.MassInvoiceCreatePrint; |
|
433 |
|
|
434 | 429 |
=item C<init_printers> |
435 | 430 |
|
436 | 431 |
Gets all printer commands |
Auch abrufbar als: Unified diff
MassInvoiceCreatePrint: js accessor angepasst