Expand forms and improve validation for multi-account piggy banks

This commit is contained in:
James Cole
2024-12-06 08:10:31 +01:00
parent 4819b5ac5d
commit ea4be9dd0c
16 changed files with 149 additions and 57 deletions

View File

@@ -35,46 +35,46 @@ class AccountType extends Model
{
use ReturnsIntegerIdTrait;
#[\Deprecated]
#[\Deprecated] /** @deprecated */
public const string ASSET = 'Asset account';
#[\Deprecated]
#[\Deprecated] /** @deprecated */
public const string BENEFICIARY = 'Beneficiary account';
#[\Deprecated]
#[\Deprecated] /** @deprecated */
public const string CASH = 'Cash account';
#[\Deprecated] /** @deprecated */
public const string CREDITCARD = 'Credit card';
#[\Deprecated]
#[\Deprecated] /** @deprecated */
public const string DEBT = 'Debt';
#[\Deprecated]
#[\Deprecated] /** @deprecated */
public const string DEFAULT = 'Default account';
#[\Deprecated]
#[\Deprecated] /** @deprecated */
public const string EXPENSE = 'Expense account';
#[\Deprecated]
#[\Deprecated] /** @deprecated */
public const string IMPORT = 'Import account';
#[\Deprecated]
#[\Deprecated] /** @deprecated */
public const string INITIAL_BALANCE = 'Initial balance account';
#[\Deprecated]
#[\Deprecated] /** @deprecated */
public const string LIABILITY_CREDIT = 'Liability credit account';
#[\Deprecated]
#[\Deprecated] /** @deprecated */
public const string LOAN = 'Loan';
#[\Deprecated]
#[\Deprecated] /** @deprecated */
public const string MORTGAGE = 'Mortgage';
#[\Deprecated]
#[\Deprecated] /** @deprecated */
public const string RECONCILIATION = 'Reconciliation account';
#[\Deprecated]
#[\Deprecated] /** @deprecated */
public const string REVENUE = 'Revenue account';
protected $casts