summary amount format change for Humans..
This commit is contained in:
@ -392,12 +392,14 @@ 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, setting('default.currency'), true);
|
||||
$amount = money($total, setting('default.currency'), true)->formatForHumans();
|
||||
$tooltip = money($total, setting('default.currency'), true)->format();
|
||||
|
||||
$items[] = [
|
||||
'title' => $title,
|
||||
'href' => $href,
|
||||
'amount' => $amount,
|
||||
'title' => $title,
|
||||
'href' => $href,
|
||||
'amount' => $amount,
|
||||
'tooltip' => $tooltip,
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user