Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7c61e9c7

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

  • ID 7c61e9c7e761ba4df54eb94853651bbd7459eb12
  • Vorgänger d8b90e8d
  • Nachfolger d8df4962

DeliveryOrder: delete deaktivieren, wenn schon ausgelagert

Unterschiede anzeigen:

SL/Controller/DeliveryOrder.pm
1878 1878
        t8('Delete'),
1879 1879
        call     => [ 'kivi.DeliveryOrder.delete_order' ],
1880 1880
        confirm  => $::locale->text('Do you really want to delete this object?'),
1881
        disabled => !$self->order->id ? t8('This object has not been saved yet.') : undef,
1881
        disabled => !$self->order->id       ? t8('This object has not been saved yet.') :
1882
                    $self->order->delivered ? t8('The parts for this order have already been transferred') : undef,
1882 1883
        only_if  => $self->type_data->show_menu("delete"),
1883 1884
      ],
1884 1885

  

Auch abrufbar als: Unified diff