fix(tax): formatCurrency -> formatToCurrency
This commit is contained in:
parent
9e8abe314b
commit
9ac391d75b
|
@ -173,7 +173,7 @@ class PaypalProductController extends Controller
|
|||
return $paypalProduct->created_at ? $paypalProduct->created_at->diffForHumans() : '';
|
||||
})
|
||||
->editColumn('price', function (PaypalProduct $paypalProduct) {
|
||||
return $paypalProduct->formatCurrency();
|
||||
return $paypalProduct->formatToCurrency($paypalProduct->price);
|
||||
})
|
||||
->rawColumns(['actions', 'disabled'])
|
||||
->make();
|
||||
|
|
|
@ -6,7 +6,7 @@ Your payment has been confirmed; Your credit balance has been updated.<br>
|
|||
___
|
||||
### Payment ID: **{{$payment->id}}**<br>
|
||||
### Status: **{{$payment->status}}**<br>
|
||||
### Price: **{{$payment->formatCurrency()}}**<br>
|
||||
### Price: **{{$payment->formatToCurrency($payment->total_price)}}**<br>
|
||||
### Type: **{{$payment->type}}**<br>
|
||||
### Amount: **{{$payment->amount}}**<br>
|
||||
### Balance: **{{$payment->user->credits}}**<br>
|
||||
|
|
Loading…
Reference in a new issue