applied new features of money package
				
					
				
			This commit is contained in:
		@@ -16,7 +16,7 @@ class AccountBalance extends Widget
 | 
			
		||||
    public function show()
 | 
			
		||||
    {
 | 
			
		||||
        $accounts = Account::with('income_transactions', 'expense_transactions')->enabled()->take(5)->get()->map(function($account) {
 | 
			
		||||
            $account->balance_formatted = money($account->balance, $account->currency_code, true);
 | 
			
		||||
            $account->balance_formatted = money($account->balance, $account->currency_code);
 | 
			
		||||
 | 
			
		||||
            return $account;
 | 
			
		||||
        })->all();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user