Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3f57db44

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

  • ID 3f57db44fc55944c1a94876a556ad59a16665e89
  • Vorgänger ef0bca3b
  • Nachfolger a6478d7f

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