Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 9a3c56c2

Von Moritz Bunkus vor mehr als 8 Jahren hinzugefügt

  • ID 9a3c56c2f621507ad87f38b9b20739c030664ba7
  • Vorgänger 5ceae70b
  • Nachfolger dc8a1d5e

Menüvereinheitlichung: »Ein-/Verkauf« → »Lieferscheine« umgestellt

Unterschiede anzeigen:

bin/mozilla/do.pl
submit => [ '#form' ],
accesskey => 'enter',
],
'separator',
link => [
t8('Add'),
link => 'do.pl?action=add&type=' . E($::form->{type}),
not_if => ($::form->{type} eq 'purchase_delivery_order') && !$::instance_conf->get_allow_new_purchase_delivery_order,
],
);
}
}
......
for my $bar ($::request->layout->get('actionbar')) {
$bar->add(
action => [
t8('New invoice'),
submit => [ '#form', { action => 'invoice_multi' } ],
checks => [ [ 'kivi.check_if_entries_selected', '#form tbody input[type=checkbox]' ] ],
accesskey => 'enter',
],
action => [
t8('Print'),
call => [ 'kivi.SalesPurchase.show_print_dialog', 'js:kivi.MassDeliveryOrderPrint.submitMultiOrders' ],
checks => [ [ 'kivi.check_if_entries_selected', '#form tbody input[type=checkbox]' ] ],
],
'separator',
@{ $params{report_generator_actions} },
combobox => [
link => [
t8('Add'),
link => 'do.pl?action=add&type=' . E($::form->{type}),
not_if => ($::form->{type} eq 'purchase_delivery_order') && !$::instance_conf->get_allow_new_purchase_delivery_order,
],
action => [
t8('Merge selected entries into new invoice'),
submit => [ '#form', { action => 'invoice_multi' } ],
checks => [ [ 'kivi.check_if_entries_selected', '#form tbody input[type=checkbox]' ] ],
],
],
);
}
}
......
$idx++;
}
setup_do_orders_action_bar();
$report->generate_with_headers();
$report->generate_with_headers(action_bar_setup_hook => sub { setup_do_orders_action_bar(report_generator_actions => \@_) });
$main::lxdebug->leave_sub();
}

Auch abrufbar als: Unified diff