applied new features of money
package
This commit is contained in:
@ -283,8 +283,8 @@ abstract class Index extends Component
|
||||
$items[] = [
|
||||
'title' => ($key == 'overdue') ? trans('general.overdue') : trans('documents.statuses.' . $key),
|
||||
//'href' => route($route, ['search' => 'status:' . $key]),
|
||||
'amount' => money($total, default_currency(), true)->formatForHumans(),
|
||||
'tooltip' => money($total, default_currency(), true)->format(),
|
||||
'amount' => money($total)->formatForHumans(),
|
||||
'tooltip' => money($total)->format(),
|
||||
];
|
||||
}
|
||||
|
||||
|
@ -392,8 +392,8 @@ abstract class Index extends Component
|
||||
foreach ($totals as $key => $total) {
|
||||
$title = ($key == 'overdue') ? trans('general.overdue') : trans('documents.statuses.' . $key);
|
||||
$href = route($route, ['search' => 'status:' . $key]);
|
||||
$amount = money($total, default_currency(), true)->formatForHumans();
|
||||
$tooltip = money($total, default_currency(), true)->format();
|
||||
$amount = money($total)->formatForHumans();
|
||||
$tooltip = money($total)->format();
|
||||
|
||||
$items[] = [
|
||||
'title' => $title,
|
||||
|
Reference in New Issue
Block a user