mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
@@ -53,6 +53,7 @@ class NewUserController extends Controller
|
|||||||
// create normal asset account:
|
// create normal asset account:
|
||||||
$assetAccount = [
|
$assetAccount = [
|
||||||
'name' => $request->get('bank_name'),
|
'name' => $request->get('bank_name'),
|
||||||
|
'iban' => null,
|
||||||
'accountType' => 'asset',
|
'accountType' => 'asset',
|
||||||
'virtualBalance' => 0,
|
'virtualBalance' => 0,
|
||||||
'active' => true,
|
'active' => true,
|
||||||
@@ -69,6 +70,7 @@ class NewUserController extends Controller
|
|||||||
if (strlen($request->get('savings_balance') > 0)) {
|
if (strlen($request->get('savings_balance') > 0)) {
|
||||||
$savingsAccount = [
|
$savingsAccount = [
|
||||||
'name' => $request->get('bank_name') . ' savings account',
|
'name' => $request->get('bank_name') . ' savings account',
|
||||||
|
'iban' => null,
|
||||||
'accountType' => 'asset',
|
'accountType' => 'asset',
|
||||||
'virtualBalance' => 0,
|
'virtualBalance' => 0,
|
||||||
'active' => true,
|
'active' => true,
|
||||||
@@ -86,6 +88,7 @@ class NewUserController extends Controller
|
|||||||
if (strlen($request->get('credit_card_limit') > 0)) {
|
if (strlen($request->get('credit_card_limit') > 0)) {
|
||||||
$creditAccount = [
|
$creditAccount = [
|
||||||
'name' => 'Credit card',
|
'name' => 'Credit card',
|
||||||
|
'iban' => null,
|
||||||
'accountType' => 'asset',
|
'accountType' => 'asset',
|
||||||
'virtualBalance' => floatval($request->get('credit_card_limit')),
|
'virtualBalance' => floatval($request->get('credit_card_limit')),
|
||||||
'active' => true,
|
'active' => true,
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
return [
|
return [
|
||||||
'chart' => 'chartjs',
|
'chart' => 'chartjs',
|
||||||
'version' => '3.4.7',
|
'version' => '3.4.8',
|
||||||
'index_periods' => ['1D', '1W', '1M', '3M', '6M', '1Y', 'custom'],
|
'index_periods' => ['1D', '1W', '1M', '3M', '6M', '1Y', 'custom'],
|
||||||
'budget_periods' => ['daily', 'weekly', 'monthly', 'quarterly', 'half-year', 'yearly'],
|
'budget_periods' => ['daily', 'weekly', 'monthly', 'quarterly', 'half-year', 'yearly'],
|
||||||
'csv_import_enabled' => true,
|
'csv_import_enabled' => true,
|
||||||
|
Reference in New Issue
Block a user