And now also make sure that old meta data isn't changed.

This commit is contained in:
James Cole
2019-08-24 08:22:46 +02:00
parent d836c8217d
commit 7c5e10de33
3 changed files with 83 additions and 85 deletions

View File

@@ -49,6 +49,13 @@ class AccountFactory
/** @var array */
private $canHaveVirtual;
/** @var array */
protected $validAssetFields = ['account_role', 'account_number', 'currency_id', 'BIC', 'include_net_worth'];
/** @var array */
protected $validCCFields = ['account_role', 'cc_monthly_payment_date', 'cc_type', 'account_number', 'currency_id', 'BIC', 'include_net_worth'];
/** @var array */
protected $validFields = ['account_number', 'currency_id', 'BIC', 'interest', 'interest_period', 'include_net_worth'];
/**
* AccountFactory constructor.
*