Image-Upload neuer Typ für VK-Lieferschein
authorJan Büren <jan@kivitendo.de>
Thu, 31 Mar 2022 15:17:10 +0000 (17:17 +0200)
committerJan Büren <jan@kivitendo.de>
Thu, 31 Mar 2022 16:10:43 +0000 (18:10 +0200)
SL/Controller/ImageUpload.pm

index 18561e0..a2497f5 100644 (file)
@@ -20,7 +20,7 @@ my %object_loader = (
   sales_order     => [ "SL::DB::Order", [ sales => 1, quotation => 0 ] ],
   sales_quotation => [ "SL::DB::Order", [ sales => 1, quotation => 1 ] ],
   purchase_order  => [ "SL::DB::Order", [ sales => 0, quotation => 1 ] ],
-  sales_delivery_order => [ "SL::DB::DeliveryOrder", [ is_sales => 1 ] ],
+  sales_delivery_order => [ "SL::DB::DeliveryOrder", [ order_type => 'sales_delivery_order' ] ],
 );