Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4b680a25

Von Bernd Bleßmann vor 3 Monaten hinzugefügt

Auftrags-Controller: Action-Bar: unnütze doppelte Parameter only_if entfernt

Unterschiede anzeigen:

SL/Controller/Order.pm
2372 2372
        action => [
2373 2373
          t8('Save and Purchase Quotation Intake'),
2374 2374
          call     => [ 'kivi.submit_ajax_form', $self->url_for(action => "save_and_order_workflow", to_type => PURCHASE_QUOTATION_INTAKE_TYPE()), '#order_form' ],
2375
          only_if  => (any { $self->type eq $_ } (REQUEST_QUOTATION_TYPE())),
2376 2375
          only_if  => $self->type_data->show_menu('save_and_purchase_quotation_intake'),
2377 2376
          disabled => !$may_edit_create ? t8('You do not have the permissions to access this function.') : undef,
2378 2377
        ],
2379 2378
        action => [
2380 2379
          t8('Save and Sales Order Intake'),
2381 2380
          call     => [ 'kivi.submit_ajax_form', $self->url_for(action => "save_and_order_workflow", to_type => SALES_ORDER_INTAKE_TYPE()), '#order_form' ],
2382
          only_if  => (any { $self->type eq $_ } (SALES_QUOTATION_TYPE())),
2383 2381
          only_if  => $self->type_data->show_menu('save_and_sales_order_intake'),
2384 2382
          disabled => !$may_edit_create ? t8('You do not have the permissions to access this function.') : undef,
2385 2383
        ],

Auch abrufbar als: Unified diff