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' ],
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 => [
[% L.hidden_tag('sort_by', FORM.sort_by) %]
[% L.hidden_tag('sort_dir', FORM.sort_dir) %]
[% L.hidden_tag('page', FORM.page) %]
+ [% L.button_tag('$("#search_form").resetForm()', LxERP.t8('Reset')) %]
</div>
</form>