Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f372dca8

Von Moritz Bunkus vor fast 8 Jahren hinzugefügt

  • ID f372dca8af799141b0bc19e4ede7951ae579a967
  • Vorgänger 8395e0d0
  • Nachfolger ac1a9e8e

ActionBar: Verwendung bei Massenerstellen von Rechnungen standardisiert

Unterschiede anzeigen:

SL/Controller/MassInvoiceCreatePrint.pm
341 341
  for my $bar ($::request->layout->get('actionbar')) {
342 342
    $bar->add(
343 343
      action => [
344
        t8('Search'),
344
        t8('Update'),
345 345
        submit    => [ '#search_form', { action => 'MassInvoiceCreatePrint/list_invoices' } ],
346 346
        accesskey => 'enter',
347 347
      ],
348
      action => [
349
        t8('Reset'),
350
        call => [ 'kivi.call_jquery', '#search_form', 'resetForm' ],
351
      ],
352 348
      action => [
353 349
        $::locale->text('Print'),
354 350
        call     => [ 'kivi.MassInvoiceCreatePrint.showMassPrintOptionsOrDownloadDirectly' ],
......
364 360
  for my $bar ($::request->layout->get('actionbar')) {
365 361
    $bar->add(
366 362
      action => [
367
        t8('Search'),
363
        $params{show_creation_buttons} ? t8('Update') : t8('Search'),
368 364
        submit    => [ '#search_form', { action => 'MassInvoiceCreatePrint/list_sales_delivery_orders' } ],
369 365
        accesskey => 'enter',
370 366
      ],
371
      action => [
372
        t8('Reset'),
373
        call => [ 'kivi.call_jquery', '#search_form', 'resetForm' ],
374
      ],
375 367

  
376 368
      combobox => [
377 369
        action => [
templates/webpages/mass_invoice_create_print_from_do/_filter.html
26 26
   [% L.hidden_tag('sort_by', FORM.sort_by) %]
27 27
   [% L.hidden_tag('sort_dir', FORM.sort_dir) %]
28 28
   [% L.hidden_tag('page', FORM.page) %]
29
   [% L.button_tag('$("#search_form").resetForm()', LxERP.t8('Reset')) %]
29 30
  </div>
30 31

  
31 32
 </form>

Auch abrufbar als: Unified diff