mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-03 04:00:40 -06:00
Remove storeMeta
This commit is contained in:
parent
1dc17dd59d
commit
3cbf00734f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user