mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Fixes for custom values in migration
This commit is contained in:
parent
5eb3f89650
commit
5a1cdf8dfa
@ -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…
x
Reference in New Issue
Block a user