use SL::DB::Printer;
use SL::Helper::MassPrintCreatePDF qw(:all);
use SL::Helper::CreatePDF qw(:all);
+use SL::Helper::File qw(store_pdf append_general_pdf_attachments);
use SL::Helper::Flash;
use SL::Locale::String;
use SL::SessionFile;
},
customer => t8('Customer'),
employee => t8('Employee'),
- transdate => t8('Date'),
+ transdate => t8('Delivery Order Date'),
donumber => t8('Delivery Order Number'),
ordnumber => t8('Order Number'),
},
my @filters = (
[ $filter->{customer}{"name:substr::ilike"}, t8('Customer') ],
- [ $filter->{"transdate:date::ge"}, t8('Transdate') . " " . t8('From Date') ],
- [ $filter->{"transdate:date::le"}, t8('Transdate') . " " . t8('To Date') ],
+ [ $filter->{"transdate:date::ge"}, t8('Delivery Order Date') . " " . t8('From Date') ],
+ [ $filter->{"transdate:date::le"}, t8('Delivery Order Date') . " " . t8('To Date') ],
);
for (@filters) {
tooltip => t8("Create and print invoices")
],
action => [
- t8('for selected entries'),
+ t8("Create and print invoices for all selected delivery orders"),
call => [ 'kivi.MassInvoiceCreatePrint.submitMassCreationForm' ],
- tooltip => t8("Create and print invoices for all selected delivery orders"),
disabled => !$params{num_rows} ? $::locale->text('The report doesn\'t contain entries.') : undef,
only_if => $params{show_creation_buttons},
],
action => [
- t8('for all entries'),
+ t8("Create and print invoices for all delivery orders matching the filter"),
call => [ 'kivi.MassInvoiceCreatePrint.createPrintAllInitialize' ],
- tooltip => t8("Create and print invoices for all delivery orders matching the filter"),
disabled => !$params{num_rows} ? $::locale->text('The report doesn\'t contain entries.') : undef,
only_if => $params{show_creation_buttons},
],