mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-19 19:01:58 +00:00
Remove storeMeta
This commit is contained in:
@@ -164,12 +164,10 @@ class NewUserController extends Controller
|
|||||||
'openingBalance' => null,
|
'openingBalance' => null,
|
||||||
'openingBalanceDate' => null,
|
'openingBalanceDate' => null,
|
||||||
'openingBalanceCurrency' => intval($request->input('amount_currency_id_credit_card_limit')),
|
'openingBalanceCurrency' => intval($request->input('amount_currency_id_credit_card_limit')),
|
||||||
|
'ccType' => 'monthlyFull',
|
||||||
|
'ccMonthlyPaymentDate' => Carbon::now()->year . '-01-01',
|
||||||
];
|
];
|
||||||
$creditCard = $crud->store($creditAccount);
|
$crud->store($creditAccount);
|
||||||
|
|
||||||
// store meta for CC:
|
|
||||||
$crud->storeMeta($creditCard, 'ccType', 'monthlyFull');
|
|
||||||
$crud->storeMeta($creditCard, 'ccMonthlyPaymentDate', Carbon::now()->year . '-01-01');
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user