money format
so I want dollar signs on my table price list for which I'm using TextColumn::make('price')->money('cad', true)->sortable(), this but it shows CA in front of every price which I don't want
5 Replies
You can instead use
->prefix("$")
then It does not show this format $32.00 it shows $32
Try appending
->numeric()
But i think ->money ()
should do the jobnope doesn't work
I'm guessing that's just how canadian dollars are formatted then, using
money
. You could use something else to fomat the price, e.g. akounting/money
(not sure if it's different there, though)