From 6f62b4cf9fe5673d8ea95b0f45d88d092892eb85 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 17 Dec 2021 17:04:59 +0100 Subject: [PATCH] DeliveryOrder: eval_json_result nach transfer_stock --- SL/Controller/DeliveryOrder.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/Controller/DeliveryOrder.pm b/SL/Controller/DeliveryOrder.pm index 55978ae64..1f53fc540 100644 --- a/SL/Controller/DeliveryOrder.pm +++ b/SL/Controller/DeliveryOrder.pm @@ -1871,14 +1871,14 @@ sub setup_edit_action_bar { combobox => [ action => [ t8('Transfer out'), - submit => [ '#order_form', { action => "DeliveryOrder/transfer_stock" } ], + call => [ 'kivi.DeliveryOrder.save', 'transfer_stock' ], disabled => $self->order->delivered ? t8('The parts for this order have already been transferred') : undef, only_if => $self->type_data->properties('transfer') eq 'out', confirm => t8('Do you really want to transfer the stock and set this order to delivered?'), ], action => [ t8('Transfer in'), - submit => [ '#order_form', { action => "DeliveryOrder/transfer_stock" } ], + call => [ 'kivi.DeliveryOrder.save', 'transfer_stock' ], disabled => $self->order->delivered ? t8('The parts for this order have already been transferred') : undef, only_if => $self->type_data->properties('transfer') eq 'in', confirm => t8('Do you really want to transfer the stock and set this order to delivered?'), -- 2.20.1