1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Merge pull request #4829 from turbo124/master

Fixes for custom values in  migration
This commit is contained in:
David Bomba 2021-02-04 07:16:29 +11:00 committed by GitHub
commit 4e67b8b4cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -857,6 +857,8 @@ info("get company");
'date' => Carbon::parse($item->created_at)->toDateString(), 'date' => Carbon::parse($item->created_at)->toDateString(),
'custom_value1' => $item->custom_value1, 'custom_value1' => $item->custom_value1,
'custom_value2' => $item->custom_value2, 'custom_value2' => $item->custom_value2,
'custom_value3' => '',
'custom_value4' => '',
'type_id' => (string)$item->invoice_item_type_id, 'type_id' => (string)$item->invoice_item_type_id,
]; ];
} }
@ -887,6 +889,8 @@ info("get company");
'date' => Carbon::parse($item->created_at)->toDateString(), 'date' => Carbon::parse($item->created_at)->toDateString(),
'custom_value1' => $item->custom_value1, 'custom_value1' => $item->custom_value1,
'custom_value2' => $item->custom_value2, 'custom_value2' => $item->custom_value2,
'custom_value3' => '',
'custom_value4' => '',
'type_id' => (string)$item->invoice_item_type_id, 'type_id' => (string)$item->invoice_item_type_id,
]; ];
} }