Remove storeMeta

This commit is contained in:
James Cole
2016-10-10 07:53:25 +02:00
parent 1dc17dd59d
commit 3cbf00734f

View File

@@ -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;
} }