From: Sven Schöling Date: Fri, 17 Dec 2021 18:17:39 +0000 (+0100) Subject: DeliveryOrder: nach Auslagern Statuszeile anpassen X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~216^2~21 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=295db24401568632f18c509c4947994e2687c0f7;p=kivitendo-erp.git DeliveryOrder: nach Auslagern Statuszeile anpassen --- diff --git a/SL/Controller/DeliveryOrder.pm b/SL/Controller/DeliveryOrder.pm index 5687e2769..fe24d753f 100644 --- a/SL/Controller/DeliveryOrder.pm +++ b/SL/Controller/DeliveryOrder.pm @@ -6,6 +6,7 @@ use parent qw(SL::Controller::Base); use SL::Helper::Flash qw(flash_later); use SL::Helper::Number qw(_format_number_units _parse_number); use SL::Presenter::Tag qw(select_tag hidden_tag div_tag); +use SL::Presenter::DeliveryOrder qw(delivery_order_status_line); use SL::Locale::String qw(t8); use SL::SessionFile::Random; use SL::PriceSource; @@ -1077,6 +1078,7 @@ sub action_transfer_stock { ->flash("info", t8("Stock transfered")) ->run('kivi.ActionBar.setDisabled', '#transfer_out_action', t8('The parts for this order have already been transferred')) ->run('kivi.ActionBar.setDisabled', '#transfer_in_action', t8('The parts for this order have already been transferred')) + ->replaceWith('#data-status-line', delivery_order_status_line($self->order)) ->render; }