convert setting('default.currency') to default_currency() helper function..
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, setting('default.currency'), true)->formatForHumans(),
|
||||
'tooltip' => money($total, setting('default.currency'), true)->format(),
|
||||
'amount' => money($total, default_currency(), true)->formatForHumans(),
|
||||
'tooltip' => money($total, default_currency(), true)->format(),
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user