From 5a1cdf8dfacb13d05731d08a16aae90a782818fb Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 4 Feb 2021 07:16:09 +1100 Subject: [PATCH] Fixes for custom values in migration --- app/Traits/GenerateMigrationResources.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Traits/GenerateMigrationResources.php b/app/Traits/GenerateMigrationResources.php index a914d6a56f5c..92a5deeb24ac 100644 --- a/app/Traits/GenerateMigrationResources.php +++ b/app/Traits/GenerateMigrationResources.php @@ -857,6 +857,8 @@ info("get company"); 'date' => Carbon::parse($item->created_at)->toDateString(), 'custom_value1' => $item->custom_value1, 'custom_value2' => $item->custom_value2, + 'custom_value3' => '', + 'custom_value4' => '', 'type_id' => (string)$item->invoice_item_type_id, ]; } @@ -887,6 +889,8 @@ info("get company"); 'date' => Carbon::parse($item->created_at)->toDateString(), 'custom_value1' => $item->custom_value1, 'custom_value2' => $item->custom_value2, + 'custom_value3' => '', + 'custom_value4' => '', 'type_id' => (string)$item->invoice_item_type_id, ]; }