Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b341e10d

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

  • ID b341e10debe71f0b04ede42f80347166237f14ea
  • Vorgänger 4ca0acc8
  • Nachfolger 718ef0d7

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