Revision 909d9871
Von Sven Schöling vor fast 3 Jahren hinzugefügt
SL/Controller/DeliveryOrder.pm | ||
---|---|---|
1871 | 1871 |
combobox => [ |
1872 | 1872 |
action => [ |
1873 | 1873 |
t8('Transfer out'), |
1874 |
submit => [ '#order_form', { action => "DeliveryOrder/transfer_stock" } ],
|
|
1874 |
call => [ 'kivi.DeliveryOrder.save', 'transfer_stock' ],
|
|
1875 | 1875 |
disabled => $self->order->delivered ? t8('The parts for this order have already been transferred') : undef, |
1876 | 1876 |
only_if => $self->type_data->properties('transfer') eq 'out', |
1877 | 1877 |
confirm => t8('Do you really want to transfer the stock and set this order to delivered?'), |
1878 | 1878 |
], |
1879 | 1879 |
action => [ |
1880 | 1880 |
t8('Transfer in'), |
1881 |
submit => [ '#order_form', { action => "DeliveryOrder/transfer_stock" } ],
|
|
1881 |
call => [ 'kivi.DeliveryOrder.save', 'transfer_stock' ],
|
|
1882 | 1882 |
disabled => $self->order->delivered ? t8('The parts for this order have already been transferred') : undef, |
1883 | 1883 |
only_if => $self->type_data->properties('transfer') eq 'in', |
1884 | 1884 |
confirm => t8('Do you really want to transfer the stock and set this order to delivered?'), |
Auch abrufbar als: Unified diff
DeliveryOrder: eval_json_result nach transfer_stock