tin-spa 20.4.8 → 20.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3408,6 +3408,8 @@ class AccountingService {
3408
3408
  { name: 'type', type: 'select', required: true, loadAction: { url: 'accounts/list/accountTypes' } },
3409
3409
  { name: 'currencyID', type: 'select', alias: 'Currency', loadAction: { url: 'currencies/list/x' } }, // Changed: Added currency select for multi-currency support
3410
3410
  { name: 'balanceDisplay', alias: 'Balance', type: 'label', readonly: true, hideOnCreate: true },
3411
+ { name: 'includeInCashTotal', type: 'checkbox', alias: 'Include in Cash Total', hiddenCondition: (data) => data.type !== 0 }, // Changed: Only visible for Asset accounts (type 0)
3412
+ { name: 'includeInBankTotal', type: 'checkbox', alias: 'Include in Bank Total', hiddenCondition: (data) => data.type !== 0 }, // Changed: Only visible for Asset accounts (type 0)
3411
3413
  ],
3412
3414
  loadAction: { url: 'accounts/id' },
3413
3415
  heroField: 'accountID',