Revision b518fde7
Von Werner Hahn vor etwa 2 Jahren hinzugefügt
SL/Controller/DeliveryOrder.pm | ||
---|---|---|
1973 | 1973 |
action => [ |
1974 | 1974 |
t8('Undo Transfer'), |
1975 | 1975 |
id => 'undo_transfer', |
1976 |
call => [ 'kivi.DeliveryOrder.save', 'undo_transfers' ],
|
|
1976 |
call => [ 'kivi.DeliveryOrder.save', { action => 'undo_transfers' } ],
|
|
1977 | 1977 |
disabled => !$may_edit_create ? t8('You do not have the permissions to access this function.') |
1978 | 1978 |
: !$self->order->id ? t8('This object has not been saved yet.') |
1979 | 1979 |
: undef, |
1980 |
only_if => $self->order->delivered,
|
|
1980 |
disabled => !$self->order->delivered,
|
|
1981 | 1981 |
confirm => t8('Do you really want undo transfers the stock and set this order to undelivered?'), |
1982 | 1982 |
], |
1983 | 1983 |
], |
Auch abrufbar als: Unified diff
js action angepasst für undo_transfer