Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 0afde28c

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

  • ID 0afde28c5879f4859ebe0c92bfcaf5a15a9e1ca0
  • Vorgänger c22b345c
  • Nachfolger c512a5e4

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