Hi, I have parent model 'Transaction' and child model PurchaseOrder.
I have cast class 'ThousandSeparator'
When I retrieve data using Eloquent
$purchaseOrder = PurchaseOrder::withCasts(['total' => \App\Casts\ThousandSeparator::class]);
It simply does not work. However when I use normal model, it works.
Any ideas how to solve it?