X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/31f989254ce9f2ab881af7aee5d07dd63df0e004..41ec1a254c67a6bbd3ce97b91fb9521876a2e91b:/SL/Controller/MassInvoiceCreatePrint.pm diff --git a/SL/Controller/MassInvoiceCreatePrint.pm b/SL/Controller/MassInvoiceCreatePrint.pm index 54313a6a2..cbe4d338a 100644 --- a/SL/Controller/MassInvoiceCreatePrint.pm +++ b/SL/Controller/MassInvoiceCreatePrint.pm @@ -341,14 +341,10 @@ sub setup_list_invoices_action_bar { for my $bar ($::request->layout->get('actionbar')) { $bar->add( action => [ - t8('Search'), + t8('Update'), submit => [ '#search_form', { action => 'MassInvoiceCreatePrint/list_invoices' } ], accesskey => 'enter', ], - action => [ - t8('Reset'), - call => [ 'kivi.call_jquery', '#search_form', 'resetForm' ], - ], action => [ $::locale->text('Print'), call => [ 'kivi.MassInvoiceCreatePrint.showMassPrintOptionsOrDownloadDirectly' ], @@ -364,14 +360,10 @@ sub setup_list_sales_delivery_orders_action_bar { for my $bar ($::request->layout->get('actionbar')) { $bar->add( action => [ - t8('Search'), + $params{show_creation_buttons} ? t8('Update') : t8('Search'), submit => [ '#search_form', { action => 'MassInvoiceCreatePrint/list_sales_delivery_orders' } ], accesskey => 'enter', ], - action => [ - t8('Reset'), - call => [ 'kivi.call_jquery', '#search_form', 'resetForm' ], - ], combobox => [ action => [ @@ -379,17 +371,15 @@ sub setup_list_sales_delivery_orders_action_bar { 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}, ],