mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 18:54:30 -04:00
remove carbon array from migration resources and transform to date string
This commit is contained in:
parent
52d15bc388
commit
587c3fd2e9
@ -770,7 +770,7 @@ trait GenerateMigrationResources
|
|||||||
'tax_rate2' => (float) $item->tax_rate2,
|
'tax_rate2' => (float) $item->tax_rate2,
|
||||||
'tax_name3' => (string) '',
|
'tax_name3' => (string) '',
|
||||||
'tax_rate3' => (float) 0,
|
'tax_rate3' => (float) 0,
|
||||||
'date' => $item->created_at,
|
'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,
|
||||||
'type_id' => $item->invoice_item_type_id,
|
'type_id' => $item->invoice_item_type_id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user