Code cleanup [skip ci]

This commit is contained in:
James Cole 2015-07-26 19:13:06 +02:00
parent c8227e09ee
commit eef28d96f4
3 changed files with 7 additions and 7 deletions

View File

@ -81,9 +81,9 @@ class GoogleBillChartGenerator implements BillChartGenerator
foreach ($entries as $result) {
$chart->addRow(
clone $result->date,
round($bill->amount_max,2),
round($bill->amount_min,2),
round($result->amount,2)
round($bill->amount_max, 2),
round($bill->amount_min, 2),
round($result->amount, 2)
);
}

View File

@ -59,7 +59,7 @@ class NewUserController extends Controller
'active' => true,
'user' => Auth::user()->id,
'accountRole' => 'defaultAsset',
'openingBalance' => round($request->input('bank_balance'),2),
'openingBalance' => round($request->input('bank_balance'), 2),
'openingBalanceDate' => new Carbon,
'openingBalanceCurrency' => intval($request->input('balance_currency_id')),
];
@ -76,7 +76,7 @@ class NewUserController extends Controller
'active' => true,
'user' => Auth::user()->id,
'accountRole' => 'savingAsset',
'openingBalance' => round($request->input('savings_balance'),2),
'openingBalance' => round($request->input('savings_balance'), 2),
'openingBalanceDate' => new Carbon,
'openingBalanceCurrency' => intval($request->input('balance_currency_id')),
];
@ -90,7 +90,7 @@ class NewUserController extends Controller
'name' => 'Credit card',
'iban' => null,
'accountType' => 'asset',
'virtualBalance' => round($request->get('credit_card_limit'),2),
'virtualBalance' => round($request->get('credit_card_limit'), 2),
'active' => true,
'user' => Auth::user()->id,
'accountRole' => 'ccAsset',