mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Code cleanup [skip ci]
This commit is contained in:
parent
c8227e09ee
commit
eef28d96f4
@ -81,9 +81,9 @@ class GoogleBillChartGenerator implements BillChartGenerator
|
|||||||
foreach ($entries as $result) {
|
foreach ($entries as $result) {
|
||||||
$chart->addRow(
|
$chart->addRow(
|
||||||
clone $result->date,
|
clone $result->date,
|
||||||
round($bill->amount_max,2),
|
round($bill->amount_max, 2),
|
||||||
round($bill->amount_min,2),
|
round($bill->amount_min, 2),
|
||||||
round($result->amount,2)
|
round($result->amount, 2)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ class NewUserController extends Controller
|
|||||||
'active' => true,
|
'active' => true,
|
||||||
'user' => Auth::user()->id,
|
'user' => Auth::user()->id,
|
||||||
'accountRole' => 'defaultAsset',
|
'accountRole' => 'defaultAsset',
|
||||||
'openingBalance' => round($request->input('bank_balance'),2),
|
'openingBalance' => round($request->input('bank_balance'), 2),
|
||||||
'openingBalanceDate' => new Carbon,
|
'openingBalanceDate' => new Carbon,
|
||||||
'openingBalanceCurrency' => intval($request->input('balance_currency_id')),
|
'openingBalanceCurrency' => intval($request->input('balance_currency_id')),
|
||||||
];
|
];
|
||||||
@ -76,7 +76,7 @@ class NewUserController extends Controller
|
|||||||
'active' => true,
|
'active' => true,
|
||||||
'user' => Auth::user()->id,
|
'user' => Auth::user()->id,
|
||||||
'accountRole' => 'savingAsset',
|
'accountRole' => 'savingAsset',
|
||||||
'openingBalance' => round($request->input('savings_balance'),2),
|
'openingBalance' => round($request->input('savings_balance'), 2),
|
||||||
'openingBalanceDate' => new Carbon,
|
'openingBalanceDate' => new Carbon,
|
||||||
'openingBalanceCurrency' => intval($request->input('balance_currency_id')),
|
'openingBalanceCurrency' => intval($request->input('balance_currency_id')),
|
||||||
];
|
];
|
||||||
@ -90,7 +90,7 @@ class NewUserController extends Controller
|
|||||||
'name' => 'Credit card',
|
'name' => 'Credit card',
|
||||||
'iban' => null,
|
'iban' => null,
|
||||||
'accountType' => 'asset',
|
'accountType' => 'asset',
|
||||||
'virtualBalance' => round($request->get('credit_card_limit'),2),
|
'virtualBalance' => round($request->get('credit_card_limit'), 2),
|
||||||
'active' => true,
|
'active' => true,
|
||||||
'user' => Auth::user()->id,
|
'user' => Auth::user()->id,
|
||||||
'accountRole' => 'ccAsset',
|
'accountRole' => 'ccAsset',
|
||||||
|
Loading…
Reference in New Issue
Block a user