Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4004121c

Von Sven Schöling vor fast 3 Jahren hinzugefügt

  • ID 4004121c4a46303bf370998b207bea1de103e4e9
  • Vorgänger 5b3d7427
  • Nachfolger ef351df3

DeliveryOrder: bei auslagern sofort löschen deaktivieren

Unterschiede anzeigen:

SL/Controller/DeliveryOrder.pm
1081 1081
    ->flash("info", t8("Stock transfered"))
1082 1082
    ->run('kivi.ActionBar.setDisabled', '#transfer_out_action', t8('The parts for this order have already been transferred'))
1083 1083
    ->run('kivi.ActionBar.setDisabled', '#transfer_in_action', t8('The parts for this order have already been transferred'))
1084
    ->run('kivi.ActionBar.setDisabled', '#delete_action', t8('The parts for this order have already been transferred'))
1084 1085
    ->replaceWith('#data-status-line', delivery_order_status_line($self->order))
1085 1086
    ->render;
1086 1087

  
......
1876 1877

  
1877 1878
      action => [
1878 1879
        t8('Delete'),
1880
        id       => 'delete_action',
1879 1881
        call     => [ 'kivi.DeliveryOrder.delete_order' ],
1880 1882
        confirm  => $::locale->text('Do you really want to delete this object?'),
1881 1883
        disabled => !$self->order->id       ? t8('This object has not been saved yet.') :

Auch abrufbar als: Unified diff