1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 12:42:36 +01:00

remove carbon array from migration resources and transform to date string

This commit is contained in:
David Bomba 2020-11-23 08:25:49 +11:00
parent 52d15bc388
commit 587c3fd2e9

View File

@ -770,7 +770,7 @@ trait GenerateMigrationResources
'tax_rate2' => (float) $item->tax_rate2,
'tax_name3' => (string) '',
'tax_rate3' => (float) 0,
'date' => $item->created_at,
'date' => Carbon::parse($item->created_at)->toDateString(),
'custom_value1' => $item->custom_value1,
'custom_value2' => $item->custom_value2,
'type_id' => $item->invoice_item_type_id,