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:
commit
4e67b8b4cd
@ -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,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user