Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Remove storeMeta
James Cole3cbf00734f21
diff --git a/app/Http/Controllers/NewUserController.php b/app/Http/Controllers/NewUserController.phpindex f770a191fa..1bcbc91bac 100644--- a/app/Http/Controllers/NewUserController.php+++ b/app/Http/Controllers/NewUserController.php@@ -164,12 +164,10 @@ class NewUserController extends Controller'openingBalance' => null,'openingBalanceDate' => null,'openingBalanceCurrency' => intval($request->input('amount_currency_id_credit_card_limit')),+ 'ccType' => 'monthlyFull',+ 'ccMonthlyPaymentDate' => Carbon::now()->year . '-01-01',];- $creditCard = $crud->store($creditAccount);-- // store meta for CC:- $crud->storeMeta($creditCard, 'ccType', 'monthlyFull');- $crud->storeMeta($creditCard, 'ccMonthlyPaymentDate', Carbon::now()->year . '-01-01');+ $crud->store($creditAccount);return true;}