From 9f5cf41e5d99e66c44d64aa0ff541825a3d1530c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Mon, 14 Feb 2022 15:14:24 +0100 Subject: [PATCH] DeliveryOrder-Controller: rebase fix, qw --- SL/TransNumber.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SL/TransNumber.pm b/SL/TransNumber.pm index 8e87d3b7c..b6fa365e8 100644 --- a/SL/TransNumber.pm +++ b/SL/TransNumber.pm @@ -16,7 +16,8 @@ use Rose::Object::MakeMethods::Generic scalar => [ qw(type id number save dbh dbh_provided business_id) ], ); -my @SUPPORTED_TYPES = qw(invoice invoice_for_advance_payment final_invoice credit_note customer vendor sales_delivery_order purchase_delivery_order sales_order purchase_order sales_quotation request_quotation part service assembly assortment letter), +my @SUPPORTED_TYPES = ( + qw(invoice invoice_for_advance_payment final_invoice credit_note customer vendor sales_delivery_order purchase_delivery_order sales_order purchase_order sales_quotation request_quotation part service assembly assortment letter), @{ SL::DB::DeliveryOrder::TypeData::valid_types() }, ); -- 2.20.1