From: Sven Schöling Date: Fri, 15 Oct 2021 15:57:07 +0000 (+0200) Subject: DeliveryOrder: inout an templates übergeben X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~216^2~66 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=96992a5ebcc8afcebe66690ddf2c70b093d6bf10;p=kivitendo-erp.git DeliveryOrder: inout an templates übergeben --- diff --git a/SL/Controller/DeliveryOrder.pm b/SL/Controller/DeliveryOrder.pm index a43ddd88d..9789710bc 100644 --- a/SL/Controller/DeliveryOrder.pm +++ b/SL/Controller/DeliveryOrder.pm @@ -1582,6 +1582,8 @@ sub pre_render { } } @all_objects; } + $self->{template_args}{inout} = $self->type_data->properties('transfer'); + $self->get_item_cvpartnumber($_) for @{$self->order->items_sorted}; $::request->{layout}->use_javascript("${_}.js") for qw(kivi.SalesPurchase kivi.DeliveryOrder kivi.File ckeditor/ckeditor ckeditor/adapters/jquery