Revision 3f57db44
Von Sven Schöling vor fast 3 Jahren hinzugefügt
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
DeliveryOrder: delete deaktivieren, wenn schon ausgelagert