taxtank-core 0.28.112 → 0.28.114
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.
- package/bundles/taxtank-core.umd.js +52 -38
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/collections/collection.js +3 -3
- package/esm2015/lib/db/Enums/chart-accounts/chart-accounts-keep-sign.enum.js +10 -0
- package/esm2015/lib/db/Enums/chart-accounts/chart-accounts-salary-adjustments-list.enum.js +1 -1
- package/esm2015/lib/db/Enums/chart-accounts/chart-accounts-salary-included-list.enum.js +1 -1
- package/esm2015/lib/db/Enums/chart-accounts/index.js +2 -1
- package/esm2015/lib/forms/abstract.form.js +4 -5
- package/esm2015/lib/forms/sole/bas-report.form.js +4 -2
- package/esm2015/lib/forms/transaction/transaction-base.form.js +4 -7
- package/esm2015/lib/forms/transaction/transaction.form.js +15 -12
- package/esm2015/lib/forms/transaction/work-income.form.js +6 -15
- package/esm2015/lib/models/transaction/transaction.js +11 -3
- package/fesm2015/taxtank-core.js +50 -39
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/collections/account-setup-item.collection.d.ts.map +1 -0
- package/lib/collections/bank-account.collection.d.ts.map +1 -0
- package/lib/collections/bank-transaction.collection.d.ts.map +1 -0
- package/lib/collections/chart-accounts.collection.d.ts.map +1 -0
- package/lib/collections/chat.collection.d.ts.map +1 -0
- package/lib/collections/client-invite.collection.d.ts.map +1 -0
- package/lib/collections/client-movement.collection.d.ts.map +1 -0
- package/lib/collections/client-portfolio-report.collection.d.ts.map +1 -0
- package/lib/collections/client.collection.d.ts.map +1 -0
- package/lib/collections/collection-dictionary.d.ts.map +1 -0
- package/lib/collections/collection.d.ts +1 -1
- package/lib/collections/collection.d.ts.map +1 -0
- package/lib/collections/depreciation-forecast.collection.d.ts.map +1 -0
- package/lib/collections/depreciation.collection.d.ts.map +1 -0
- package/lib/collections/employee.collection.d.ts.map +1 -0
- package/lib/collections/exportable.collection.d.ts.map +1 -0
- package/lib/collections/income-source.collection.d.ts.map +1 -0
- package/lib/collections/index.d.ts.map +1 -0
- package/lib/collections/loan/loan-payment.collection.d.ts.map +1 -0
- package/lib/collections/loan/loan.collection.d.ts.map +1 -0
- package/lib/collections/message-document.collection.d.ts.map +1 -0
- package/lib/collections/message.collection.d.ts.map +1 -0
- package/lib/collections/property/index.d.ts.map +1 -0
- package/lib/collections/property/property-category-movement.collection.d.ts.map +1 -0
- package/lib/collections/property/property-sale/index.d.ts.map +1 -0
- package/lib/collections/property/property-sale/property-sale-tax-exemption-metadata.collection.d.ts.map +1 -0
- package/lib/collections/property/property-sale/property-sale.collection.d.ts.map +1 -0
- package/lib/collections/property/property.collection.d.ts.map +1 -0
- package/lib/collections/report/depreciation/depreciation-lvp-report-item.collection.d.ts.map +1 -0
- package/lib/collections/report/depreciation/depreciation-report-item.collection.d.ts.map +1 -0
- package/lib/collections/report/property/property-report-item-depreciation.collection.d.ts.map +1 -0
- package/lib/collections/report/property/property-report-item-transaction.collection.d.ts.map +1 -0
- package/lib/collections/report/property/property-report-item.collection.d.ts.map +1 -0
- package/lib/collections/report/vehicle-expense/vehicle-expense.collection.d.ts.map +1 -0
- package/lib/collections/sole/index.d.ts.map +1 -0
- package/lib/collections/sole/sole-business-losses.collection.d.ts.map +1 -0
- package/lib/collections/sole/sole-invoice-item.collection.d.ts.map +1 -0
- package/lib/collections/sole/sole-invoice.collection.d.ts.map +1 -0
- package/lib/collections/subscription/service-subscription.collection.d.ts.map +1 -0
- package/lib/collections/tax-review.collection.d.ts.map +1 -0
- package/lib/collections/tax-summary/report-item.collection.d.ts.map +1 -0
- package/lib/collections/tax-summary/tax-return-categories.const.d.ts.map +1 -0
- package/lib/collections/transaction/index.d.ts.map +1 -0
- package/lib/collections/transaction/transaction-allocation.collection.d.ts.map +1 -0
- package/lib/collections/transaction/transaction-base.collection.d.ts.map +1 -0
- package/lib/collections/transaction/transaction.collection.d.ts.map +1 -0
- package/lib/collections/user-event-setting.collection.d.ts.map +1 -0
- package/lib/collections/vehicle/index.d.ts.map +1 -0
- package/lib/collections/vehicle/vehicle-claim.collection.d.ts.map +1 -0
- package/lib/collections/vehicle/vehicle-logbook.collection.d.ts.map +1 -0
- package/lib/db/Enums/address-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/annual-frequency.enum.d.ts.map +1 -0
- package/lib/db/Enums/bank-account-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/bank-account-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/bank-connection-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/bank-popular.enum.d.ts.map +1 -0
- package/lib/db/Enums/bank-transaction-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-category.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-etp.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-heading-list.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-heading-tax-deductible.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-heading-taxable.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-heading-vehicle-list.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-keep-sign.enum.d.ts +8 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-keep-sign.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-list.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-metadata-list.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-metadata-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-salary-adjustments-list.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-salary-included-list.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/chart-accounts/index.d.ts +1 -0
- package/lib/db/Enums/chart-accounts/index.d.ts.map +1 -0
- package/lib/db/Enums/chat-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/client-details-medicare-exemption.enum.d.ts.map +1 -0
- package/lib/db/Enums/client-details-work-depreciation-calculation.enum.d.ts.map +1 -0
- package/lib/db/Enums/client-details-working-holiday-maker.enum.d.ts.map +1 -0
- package/lib/db/Enums/client-invite-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/client-invite-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/depreciation-calculation-percent.enum.d.ts.map +1 -0
- package/lib/db/Enums/depreciation-calculation.enum.d.ts.map +1 -0
- package/lib/db/Enums/depreciation-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/depreciation-write-off-amount.enum.d.ts.map +1 -0
- package/lib/db/Enums/document-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/firm-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/income-source-forecast-trust-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/income-source-type-list-other.enum.d.ts.map +1 -0
- package/lib/db/Enums/income-source-type-list-sole.enum.d.ts.map +1 -0
- package/lib/db/Enums/income-source-type-list-work.enum.d.ts.map +1 -0
- package/lib/db/Enums/income-source-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/index.d.ts.map +1 -0
- package/lib/db/Enums/invite-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/loan-bank-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/loan-frequency.enum.d.ts.map +1 -0
- package/lib/db/Enums/loan-interest-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/loan-payout-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/loan-repayment-frequency.enum.d.ts.map +1 -0
- package/lib/db/Enums/loan-repayment-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/loan-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/loan-vehicle-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/phone-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/property/property-category-list.enum.d.ts.map +1 -0
- package/lib/db/Enums/property/property-depreciation-calculation.enum.d.ts.map +1 -0
- package/lib/db/Enums/property/property-sale/tax-exemption-metadata.enum.d.ts.map +1 -0
- package/lib/db/Enums/property/property-sale/tax-exemption.enum.d.ts.map +1 -0
- package/lib/db/Enums/property/property-share-access.enum.d.ts.map +1 -0
- package/lib/db/Enums/property/property-share-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/registration-invite-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/salary-forecast-frequency.enum.d.ts.map +1 -0
- package/lib/db/Enums/service-notification-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/service-notification-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/sole-depreciation-method.enum.d.ts.map +1 -0
- package/lib/db/Enums/sole-invoice-statuses.enum.d.ts.map +1 -0
- package/lib/db/Enums/sole-invoice-tax-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/sole-invoice-template-tax-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/spare-document-spare-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/subscription/service-payment-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/subscription/service-price-recurring-interval.enum.d.ts.map +1 -0
- package/lib/db/Enums/subscription/service-price-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/subscription/service-product-id.enum.d.ts.map +1 -0
- package/lib/db/Enums/subscription/service-product-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/subscription/service-subscription-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/tank-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/tax-calculation-medicare-exemption.enum.d.ts.map +1 -0
- package/lib/db/Enums/tax-calculation-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/tax-return-category-list.enum.d.ts.map +1 -0
- package/lib/db/Enums/tax-return-category-section.enum.d.ts.map +1 -0
- package/lib/db/Enums/tax-review-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/tax-summary-list.enum.d.ts.map +1 -0
- package/lib/db/Enums/tax-summary-section.enum.d.ts.map +1 -0
- package/lib/db/Enums/tax-summary-tax-summary.enum.d.ts.map +1 -0
- package/lib/db/Enums/ticket-feedback.enum.d.ts.map +1 -0
- package/lib/db/Enums/ticket-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/ticket-types.enum.d.ts.map +1 -0
- package/lib/db/Enums/transaction-operation.enum.d.ts.map +1 -0
- package/lib/db/Enums/transaction-source.enum.d.ts.map +1 -0
- package/lib/db/Enums/transaction-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-event-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-event-type-client-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-event-type-employee-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-event-type-frequency.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-event-type-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-event-type-user-type.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-medicare-exemption.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-roles.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-status.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-title.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-work-depreciation-calculation.enum.d.ts.map +1 -0
- package/lib/db/Enums/user-working-holiday-maker.enum.d.ts.map +1 -0
- package/lib/db/Enums/vehicle-claim-details-method.enum.d.ts.map +1 -0
- package/lib/db/Enums/vehicle-logbook-purpose.enum.d.ts.map +1 -0
- package/lib/db/Models/abstract-model.d.ts.map +1 -0
- package/lib/db/Models/address.d.ts.map +1 -0
- package/lib/db/Models/bank/bank-account-balance.d.ts.map +1 -0
- package/lib/db/Models/bank/bank-account-property.d.ts.map +1 -0
- package/lib/db/Models/bank/bank-account.d.ts.map +1 -0
- package/lib/db/Models/bank/bank-connection.d.ts.map +1 -0
- package/lib/db/Models/bank/bank-transaction-import.d.ts.map +1 -0
- package/lib/db/Models/bank/bank-transaction.d.ts.map +1 -0
- package/lib/db/Models/bank/bank.d.ts.map +1 -0
- package/lib/db/Models/bank/basiq-job.d.ts.map +1 -0
- package/lib/db/Models/bank/financial-data-system.d.ts.map +1 -0
- package/lib/db/Models/chart-accounts/chart-accounts-depreciation.d.ts.map +1 -0
- package/lib/db/Models/chart-accounts/chart-accounts-heading.d.ts.map +1 -0
- package/lib/db/Models/chart-accounts/chart-accounts-metadata.d.ts.map +1 -0
- package/lib/db/Models/chart-accounts/chart-accounts-value.d.ts.map +1 -0
- package/lib/db/Models/chart-accounts/chart-accounts.d.ts.map +1 -0
- package/lib/db/Models/country.d.ts.map +1 -0
- package/lib/db/Models/depreciation/depreciation-capital-project.d.ts.map +1 -0
- package/lib/db/Models/depreciation/depreciation-forecast.d.ts.map +1 -0
- package/lib/db/Models/depreciation/depreciation-receipt.d.ts.map +1 -0
- package/lib/db/Models/depreciation/depreciation.d.ts.map +1 -0
- package/lib/db/Models/document/document-folder.d.ts.map +1 -0
- package/lib/db/Models/document/document.d.ts.map +1 -0
- package/lib/db/Models/document/property-document.d.ts.map +1 -0
- package/lib/db/Models/firm/accountant/tax-review.d.ts.map +1 -0
- package/lib/db/Models/firm/accountant/ticket.d.ts.map +1 -0
- package/lib/db/Models/firm/chat.d.ts.map +1 -0
- package/lib/db/Models/firm/client-invite.d.ts.map +1 -0
- package/lib/db/Models/firm/client-movement.d.ts.map +1 -0
- package/lib/db/Models/firm/employee-invite.d.ts.map +1 -0
- package/lib/db/Models/firm/firm.d.ts.map +1 -0
- package/lib/db/Models/firm/message-document.d.ts.map +1 -0
- package/lib/db/Models/firm/message.d.ts.map +1 -0
- package/lib/db/Models/incomeSource/income-source-forecast.d.ts.map +1 -0
- package/lib/db/Models/incomeSource/income-source-type.d.ts.map +1 -0
- package/lib/db/Models/incomeSource/income-source.d.ts.map +1 -0
- package/lib/db/Models/incomeSource/salary-forecast.d.ts.map +1 -0
- package/lib/db/Models/loan/borrowing-expense-loan.d.ts.map +1 -0
- package/lib/db/Models/loan/borrowing-expense.d.ts.map +1 -0
- package/lib/db/Models/loan/loan-payout.d.ts.map +1 -0
- package/lib/db/Models/loan/loan.d.ts.map +1 -0
- package/lib/db/Models/observable-model.d.ts.map +1 -0
- package/lib/db/Models/phone.d.ts.map +1 -0
- package/lib/db/Models/property/property-category-movement.d.ts.map +1 -0
- package/lib/db/Models/property/property-category.d.ts.map +1 -0
- package/lib/db/Models/property/property-forecast.d.ts.map +1 -0
- package/lib/db/Models/property/property-sale/property-sale-tax-exemption-metadata.d.ts.map +1 -0
- package/lib/db/Models/property/property-sale/property-sale.d.ts.map +1 -0
- package/lib/db/Models/property/property-sale/tax-exemption-metadata.d.ts.map +1 -0
- package/lib/db/Models/property/property-sale/tax-exemption.d.ts.map +1 -0
- package/lib/db/Models/property/property-share.d.ts.map +1 -0
- package/lib/db/Models/property/property-subscription.d.ts.map +1 -0
- package/lib/db/Models/property/property-valuation.d.ts.map +1 -0
- package/lib/db/Models/property/property.d.ts.map +1 -0
- package/lib/db/Models/service-notification.d.ts.map +1 -0
- package/lib/db/Models/sole/bas-report.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-business-activity.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-business-allocation.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-business-loss-offset-rule.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-business-loss.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-business.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-contact.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-depreciation-method.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-details.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-forecast.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-invoice-item.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-invoice-template.d.ts.map +1 -0
- package/lib/db/Models/sole/sole-invoice.d.ts.map +1 -0
- package/lib/db/Models/subscription/service-payment.d.ts.map +1 -0
- package/lib/db/Models/subscription/service-price.d.ts.map +1 -0
- package/lib/db/Models/subscription/service-product.d.ts.map +1 -0
- package/lib/db/Models/subscription/service-subscription-item.d.ts.map +1 -0
- package/lib/db/Models/subscription/service-subscription.d.ts.map +1 -0
- package/lib/db/Models/tax-return/tax-return-category.d.ts.map +1 -0
- package/lib/db/Models/tax-return/tax-return-item.d.ts.map +1 -0
- package/lib/db/Models/tax-return/tax-return.d.ts.map +1 -0
- package/lib/db/Models/transaction/transaction-allocation.d.ts.map +1 -0
- package/lib/db/Models/transaction/transaction-base.d.ts.map +1 -0
- package/lib/db/Models/transaction/transaction-metadata.d.ts.map +1 -0
- package/lib/db/Models/transaction/transaction-receipt.d.ts.map +1 -0
- package/lib/db/Models/transaction/transaction.d.ts.map +1 -0
- package/lib/db/Models/user/client-details.d.ts.map +1 -0
- package/lib/db/Models/user/client-income-types.d.ts.map +1 -0
- package/lib/db/Models/user/employee-details.d.ts.map +1 -0
- package/lib/db/Models/user/occupation.d.ts.map +1 -0
- package/lib/db/Models/user/registration-invite.d.ts.map +1 -0
- package/lib/db/Models/user/user-event-setting.d.ts.map +1 -0
- package/lib/db/Models/user/user-event-type-category.d.ts.map +1 -0
- package/lib/db/Models/user/user-event-type.d.ts.map +1 -0
- package/lib/db/Models/user/user-event.d.ts.map +1 -0
- package/lib/db/Models/user/user.d.ts.map +1 -0
- package/lib/db/Models/vehicle/vehicle-claim-details.d.ts.map +1 -0
- package/lib/db/Models/vehicle/vehicle-claim.d.ts.map +1 -0
- package/lib/db/Models/vehicle/vehicle-logbook.d.ts.map +1 -0
- package/lib/db/Models/vehicle/vehicle.d.ts.map +1 -0
- package/lib/forms/abstract.form.d.ts +2 -2
- package/lib/forms/abstract.form.d.ts.map +1 -0
- package/lib/forms/address/address.form.d.ts.map +1 -0
- package/lib/forms/address/index.d.ts.map +1 -0
- package/lib/forms/bank/bank-account/bank-account-add-manual.form.d.ts.map +1 -0
- package/lib/forms/bank/bank-account/bank-account-allocation.form.d.ts.map +1 -0
- package/lib/forms/bank/bank-account/bank-account-import.form.d.ts.map +1 -0
- package/lib/forms/bank/bank-account/bank-account-properties.form.d.ts.map +1 -0
- package/lib/forms/bank/bank-account/bank-accounts-import.form.d.ts.map +1 -0
- package/lib/forms/bank/bank-login.form.d.ts.map +1 -0
- package/lib/forms/client/client-income-types.form.d.ts.map +1 -0
- package/lib/forms/depreciation/depreciation.form.d.ts.map +1 -0
- package/lib/forms/depreciation/index.d.ts.map +1 -0
- package/lib/forms/form-validations.enum.d.ts.map +1 -0
- package/lib/forms/index.d.ts.map +1 -0
- package/lib/forms/loan/index.d.ts.map +1 -0
- package/lib/forms/loan/loan.form.d.ts.map +1 -0
- package/lib/forms/login/login.form.d.ts.map +1 -0
- package/lib/forms/phone/index.d.ts.map +1 -0
- package/lib/forms/phone/phone.form.d.ts.map +1 -0
- package/lib/forms/property/index.d.ts.map +1 -0
- package/lib/forms/property/property-sale/index.d.ts.map +1 -0
- package/lib/forms/property/property-sale/property-sale-cost-base.form.d.ts.map +1 -0
- package/lib/forms/property/property-sale/property-sale-cost-sale.form.d.ts.map +1 -0
- package/lib/forms/property/property-sale/property-sale-exemptions.form.d.ts.map +1 -0
- package/lib/forms/register/register-client.form.d.ts.map +1 -0
- package/lib/forms/register/register-firm.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/index.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income-or-losses.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-cgt.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-deductions.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-dividends.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-income-statements.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-income-tests.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-interest.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-losses.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-medicare.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-offsets.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-other-income.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-partnerships-and-trusts.form.d.ts.map +1 -0
- package/lib/forms/report/my-tax/my-tax-rent.form.d.ts.map +1 -0
- package/lib/forms/sole/bas-report.form.d.ts +1 -1
- package/lib/forms/sole/bas-report.form.d.ts.map +1 -0
- package/lib/forms/sole/index.d.ts.map +1 -0
- package/lib/forms/sole/sole-business-allocations.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-business-loss.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-business.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-contact.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-depreciation-method.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-details.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-invoice-item.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-invoice-template.form.d.ts.map +1 -0
- package/lib/forms/sole/sole-invoice.form.d.ts.map +1 -0
- package/lib/forms/transaction/index.d.ts.map +1 -0
- package/lib/forms/transaction/messages.enum.d.ts.map +1 -0
- package/lib/forms/transaction/transaction-base.form.d.ts.map +1 -0
- package/lib/forms/transaction/transaction.form.d.ts.map +1 -0
- package/lib/forms/transaction/work-income.form.d.ts.map +1 -0
- package/lib/forms/user/index.d.ts.map +1 -0
- package/lib/forms/user/password.form.d.ts.map +1 -0
- package/lib/forms/user/reset-password.form.d.ts.map +1 -0
- package/lib/forms/user/user-invite.form.d.ts.map +1 -0
- package/lib/forms/vehicle/index.d.ts.map +1 -0
- package/lib/forms/vehicle/vehicle-claim-details.form.d.ts.map +1 -0
- package/lib/forms/vehicle/vehicle-claim.form.d.ts.map +1 -0
- package/lib/forms/vehicle/vehicle-logbook.form.d.ts.map +1 -0
- package/lib/forms/vehicle/vehicle.form.d.ts.map +1 -0
- package/lib/functions/array/index.d.ts.map +1 -0
- package/lib/functions/array/replace.d.ts.map +1 -0
- package/lib/functions/array/sort-deep.d.ts.map +1 -0
- package/lib/functions/array/sort.d.ts.map +1 -0
- package/lib/functions/array/to-array.d.ts.map +1 -0
- package/lib/functions/clone-deep.d.ts.map +1 -0
- package/lib/functions/create-date.d.ts.map +1 -0
- package/lib/functions/enum-to-list.d.ts.map +1 -0
- package/lib/functions/get-doc-icon.d.ts.map +1 -0
- package/lib/functions/mat-options-functions.d.ts.map +1 -0
- package/lib/functions/mat-sort-options.d.ts.map +1 -0
- package/lib/functions/round-to.d.ts.map +1 -0
- package/lib/functions/tax-review-filter-predicate.d.ts.map +1 -0
- package/lib/interceptors/basiq-client-id.interceptor.d.ts.map +1 -0
- package/lib/interceptors/basiq-token.interceptor.d.ts.map +1 -0
- package/lib/interceptors/corelogic-interceptor.d.ts.map +1 -0
- package/lib/interceptors/financial-year-interceptor.d.ts.map +1 -0
- package/lib/interceptors/interceptors.module.d.ts.map +1 -0
- package/lib/interceptors/jwt-interceptor.d.ts.map +1 -0
- package/lib/interceptors/preloader.interceptor.d.ts.map +1 -0
- package/lib/interceptors/user-switcher-interceptor.d.ts.map +1 -0
- package/lib/interfaces/asset-entity-type.enum.d.ts.map +1 -0
- package/lib/interfaces/asset-type.enum.d.ts.map +1 -0
- package/lib/interfaces/asset.interface.d.ts.map +1 -0
- package/lib/interfaces/auth-tokens.interface.d.ts.map +1 -0
- package/lib/interfaces/chart-data.interface.d.ts.map +1 -0
- package/lib/interfaces/chart-serie.interface.d.ts.map +1 -0
- package/lib/interfaces/document.interface.d.ts.map +1 -0
- package/lib/interfaces/documentable.interface.d.ts.map +1 -0
- package/lib/interfaces/event-listener.interface.d.ts.map +1 -0
- package/lib/interfaces/expense.interface.d.ts.map +1 -0
- package/lib/interfaces/income-source-forecast.interface.d.ts.map +1 -0
- package/lib/interfaces/option.interface.d.ts.map +1 -0
- package/lib/interfaces/photoable.d.ts.map +1 -0
- package/lib/interfaces/receipt.interface.d.ts.map +1 -0
- package/lib/interfaces/table-exportable.interface.d.ts.map +1 -0
- package/lib/interfaces/tank.interface.d.ts.map +1 -0
- package/lib/interfaces/updatable.interface.d.ts.map +1 -0
- package/lib/models/account-setup/account-setup-item.d.ts.map +1 -0
- package/lib/models/account-setup/account-setup-items.const.d.ts.map +1 -0
- package/lib/models/account-setup/account-setup-items.enum.d.ts.map +1 -0
- package/lib/models/address/address.d.ts.map +1 -0
- package/lib/models/address/country.d.ts.map +1 -0
- package/lib/models/address/index.d.ts.map +1 -0
- package/lib/models/address/states.enum.d.ts.map +1 -0
- package/lib/models/badge/badge-color.enum.d.ts.map +1 -0
- package/lib/models/badge/badge.d.ts.map +1 -0
- package/lib/models/bank/bank-account-chart-data.d.ts.map +1 -0
- package/lib/models/bank/bank-account-property.d.ts.map +1 -0
- package/lib/models/bank/bank-account-types.const.d.ts.map +1 -0
- package/lib/models/bank/bank-account.d.ts.map +1 -0
- package/lib/models/bank/bank-connection.d.ts.map +1 -0
- package/lib/models/bank/bank-external-stats.d.ts.map +1 -0
- package/lib/models/bank/bank-login-data.d.ts.map +1 -0
- package/lib/models/bank/bank-transaction-chart-data.d.ts.map +1 -0
- package/lib/models/bank/bank-transaction-summary-fields.enum.d.ts.map +1 -0
- package/lib/models/bank/bank-transaction.d.ts.map +1 -0
- package/lib/models/bank/bank.d.ts.map +1 -0
- package/lib/models/bank/basiq/basiq-config.d.ts.map +1 -0
- package/lib/models/bank/basiq/basiq-connection-data.interface.d.ts.map +1 -0
- package/lib/models/bank/basiq/basiq-connections-response.interface.d.ts.map +1 -0
- package/lib/models/bank/basiq/basiq-job-response.d.ts.map +1 -0
- package/lib/models/bank/basiq/basiq-job-step.d.ts.map +1 -0
- package/lib/models/bank/basiq/basiq-job.d.ts.map +1 -0
- package/lib/models/bank/basiq/basiq-token-response.interface.d.ts.map +1 -0
- package/lib/models/bank/basiq/basiq-token.d.ts.map +1 -0
- package/lib/models/bank/basiq/index.d.ts.map +1 -0
- package/lib/models/bank/index.d.ts.map +1 -0
- package/lib/models/bank/type-loan.const.d.ts.map +1 -0
- package/lib/models/borrowing-expense/borrowing-expense-loan.d.ts.map +1 -0
- package/lib/models/borrowing-expense/borrowing-expense.d.ts.map +1 -0
- package/lib/models/chart/chart-data.d.ts.map +1 -0
- package/lib/models/chart/chart-serie.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts-categories.const.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts-category.e-collection.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts-depreciation.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts-heading.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts-metadata.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts-tax-labels.enum.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts-value.d.ts.map +1 -0
- package/lib/models/chart-accounts/chart-accounts.d.ts.map +1 -0
- package/lib/models/chart-accounts/index.d.ts.map +1 -0
- package/lib/models/chat/chat-view-type.enum.d.ts.map +1 -0
- package/lib/models/chat/chat.d.ts.map +1 -0
- package/lib/models/chat/message-document.d.ts.map +1 -0
- package/lib/models/chat/message.d.ts.map +1 -0
- package/lib/models/client/client-details.d.ts.map +1 -0
- package/lib/models/client/client-income-types.d.ts.map +1 -0
- package/lib/models/client/client-invite.d.ts.map +1 -0
- package/lib/models/client/client-movement.d.ts.map +1 -0
- package/lib/models/client/client-portfolio-chart-data.d.ts.map +1 -0
- package/lib/models/client/client-portfolio-report.d.ts.map +1 -0
- package/lib/models/color/alphabet-colors.enum.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation-capital-project.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation-forecast.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation-group-item.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation-group.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation-group.enum.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation-groups.const.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation-receipt.d.ts.map +1 -0
- package/lib/models/depreciation/depreciation.d.ts.map +1 -0
- package/lib/models/dictionary/dictionary.d.ts.map +1 -0
- package/lib/models/document/document-api-url-prefix.enum.d.ts.map +1 -0
- package/lib/models/document/document-file-types.const.d.ts.map +1 -0
- package/lib/models/document/document-folder.d.ts.map +1 -0
- package/lib/models/document/document.d.ts.map +1 -0
- package/lib/models/document/index.d.ts.map +1 -0
- package/lib/models/employee/employee-details.d.ts.map +1 -0
- package/lib/models/employee/employee-invite.d.ts.map +1 -0
- package/lib/models/endpoint/endpoint.d.ts.map +1 -0
- package/lib/models/endpoint/endpoints.const.d.ts.map +1 -0
- package/lib/models/event/app-event-type.enum.d.ts.map +1 -0
- package/lib/models/event/app-event.d.ts.map +1 -0
- package/lib/models/export/export-cell-type.enum.d.ts.map +1 -0
- package/lib/models/export/export-cell.d.ts.map +1 -0
- package/lib/models/export/export-data-table.d.ts.map +1 -0
- package/lib/models/export/export-format.enum.d.ts.map +1 -0
- package/lib/models/export/export-row-data-type.enum.d.ts.map +1 -0
- package/lib/models/export/export-row.d.ts.map +1 -0
- package/lib/models/file/icons-file.enum.d.ts.map +1 -0
- package/lib/models/financial-year/financial-year.d.ts.map +1 -0
- package/lib/models/financial-year/month-name-short.enum.d.ts.map +1 -0
- package/lib/models/financial-year/month-number.enum.d.ts.map +1 -0
- package/lib/models/financial-year/months.const.d.ts.map +1 -0
- package/lib/models/firm/firm.d.ts.map +1 -0
- package/lib/models/income-position/income-position.d.ts.map +1 -0
- package/lib/models/income-source/income-source-chart-data.d.ts.map +1 -0
- package/lib/models/income-source/income-source-forecast.d.ts.map +1 -0
- package/lib/models/income-source/income-source-type.d.ts.map +1 -0
- package/lib/models/income-source/income-source.d.ts.map +1 -0
- package/lib/models/income-source/salary-forecast.d.ts.map +1 -0
- package/lib/models/income-source/sole-forecast.d.ts.map +1 -0
- package/lib/models/index.d.ts.map +1 -0
- package/lib/models/loan/loan-max-number-of-payments.enum.d.ts.map +1 -0
- package/lib/models/loan/loan-payment.d.ts.map +1 -0
- package/lib/models/loan/loan-payout.d.ts.map +1 -0
- package/lib/models/loan/loan.d.ts.map +1 -0
- package/lib/models/notification/notification.d.ts.map +1 -0
- package/lib/models/pdf/pdf-orientation.enum.d.ts.map +1 -0
- package/lib/models/pdf/pdf-settings.d.ts.map +1 -0
- package/lib/models/phone/phone.d.ts.map +1 -0
- package/lib/models/property/calculation-form-item.d.ts.map +1 -0
- package/lib/models/property/calculation-form-type.enum.d.ts.map +1 -0
- package/lib/models/property/capital-costs-itmes.const.d.ts.map +1 -0
- package/lib/models/property/corelogic-suggestion.d.ts.map +1 -0
- package/lib/models/property/property-category-movement.d.ts.map +1 -0
- package/lib/models/property/property-category.d.ts.map +1 -0
- package/lib/models/property/property-document.d.ts.map +1 -0
- package/lib/models/property/property-equity-chart-data.d.ts.map +1 -0
- package/lib/models/property/property-equity-chart-item.d.ts.map +1 -0
- package/lib/models/property/property-equity-chart-type.enum.d.ts.map +1 -0
- package/lib/models/property/property-forecast.d.ts.map +1 -0
- package/lib/models/property/property-sale/index.d.ts.map +1 -0
- package/lib/models/property/property-sale/property-sale-cost-base.d.ts.map +1 -0
- package/lib/models/property/property-sale/property-sale-tax-exemption-metadata.d.ts.map +1 -0
- package/lib/models/property/property-sale/property-sale.d.ts.map +1 -0
- package/lib/models/property/property-sale/tax-exemption-metadata.d.ts.map +1 -0
- package/lib/models/property/property-sale/tax-exemption.d.ts.map +1 -0
- package/lib/models/property/property-share.d.ts.map +1 -0
- package/lib/models/property/property-subscription.d.ts.map +1 -0
- package/lib/models/property/property-valuation.d.ts.map +1 -0
- package/lib/models/property/property.d.ts.map +1 -0
- package/lib/models/property/share-filter-options.enum.d.ts.map +1 -0
- package/lib/models/registration-invite/registration-invite.d.ts.map +1 -0
- package/lib/models/report/depreciation/depreciation-lvp-asset-type.enum.d.ts.map +1 -0
- package/lib/models/report/depreciation/depreciation-lvp-report-item.d.ts.map +1 -0
- package/lib/models/report/depreciation/depreciation-report-item.d.ts.map +1 -0
- package/lib/models/report/depreciation/index.d.ts.map +1 -0
- package/lib/models/report/index.d.ts.map +1 -0
- package/lib/models/report/my-tax/ato-links.d.ts.map +1 -0
- package/lib/models/report/my-tax/index.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/business-type.enum.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/loss-type.enum.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-details/my-tax-business-details.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-cgt/cgt-exemption-and-rollover-code.enum.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-cgt/my-tax-cgt.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-deductions/deduction-clothing-type.enum.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-deductions/deduction-fields.const.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-deductions/deduction-self-education-type.enum.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-dividends/my-tax-dividends.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-estimate/my-tax-estimate.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-income-statements/my-tax-income-statements.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-income-tests/my-tax-income-tests.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-interest/my-tax-interest.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-losses/my-tax-losses.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-offsets/my-tax-offsets.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-other-income/my-tax-other-income.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-partnerships-and-trusts/my-tax-partnerships-and-trusts.d.ts.map +1 -0
- package/lib/models/report/my-tax/my-tax-rent/my-tax-rent.d.ts.map +1 -0
- package/lib/models/report/property/index.d.ts.map +1 -0
- package/lib/models/report/property/property-report-item-depreciation.d.ts.map +1 -0
- package/lib/models/report/property/property-report-item-transaction.d.ts.map +1 -0
- package/lib/models/report/property/property-report-item.d.ts.map +1 -0
- package/lib/models/report/sole/index.d.ts.map +1 -0
- package/lib/models/report/sole/sole-business/sole-business-loss-report.d.ts.map +1 -0
- package/lib/models/report/vehicle-expense/vehicle-expense.d.ts.map +1 -0
- package/lib/models/service-subscription/module-url-list.const.d.ts.map +1 -0
- package/lib/models/service-subscription/service-payment.d.ts.map +1 -0
- package/lib/models/service-subscription/service-price.d.ts.map +1 -0
- package/lib/models/service-subscription/service-product.d.ts.map +1 -0
- package/lib/models/service-subscription/service-subscription-item.d.ts.map +1 -0
- package/lib/models/service-subscription/service-subscription.d.ts.map +1 -0
- package/lib/models/sole/bas-report.d.ts.map +1 -0
- package/lib/models/sole/index.d.ts.map +1 -0
- package/lib/models/sole/sole-business-activity.d.ts.map +1 -0
- package/lib/models/sole/sole-business-allocation.d.ts.map +1 -0
- package/lib/models/sole/sole-business-loss-offset-rule.d.ts.map +1 -0
- package/lib/models/sole/sole-business-loss.d.ts.map +1 -0
- package/lib/models/sole/sole-business.d.ts.map +1 -0
- package/lib/models/sole/sole-contact.d.ts.map +1 -0
- package/lib/models/sole/sole-depreciation-method.d.ts.map +1 -0
- package/lib/models/sole/sole-details.d.ts.map +1 -0
- package/lib/models/sole/sole-invoice-item.d.ts.map +1 -0
- package/lib/models/sole/sole-invoice-template.d.ts.map +1 -0
- package/lib/models/sole/sole-invoice.d.ts.map +1 -0
- package/lib/models/tax-review/tax-review.d.ts.map +1 -0
- package/lib/models/tax-summary/report-item-details.d.ts.map +1 -0
- package/lib/models/tax-summary/report-item.d.ts.map +1 -0
- package/lib/models/tax-summary/tax-summary-section.d.ts.map +1 -0
- package/lib/models/tax-summary/tax-summary-type.enum.d.ts.map +1 -0
- package/lib/models/tax-summary/tax-summary.d.ts.map +1 -0
- package/lib/models/toast/toast-type.enum.d.ts.map +1 -0
- package/lib/models/toast/toast.d.ts.map +1 -0
- package/lib/models/transaction/income-amount-type.enum.d.ts.map +1 -0
- package/lib/models/transaction/index.d.ts.map +1 -0
- package/lib/models/transaction/transaction-allocation.d.ts.map +1 -0
- package/lib/models/transaction/transaction-category.enum.d.ts.map +1 -0
- package/lib/models/transaction/transaction-metadata.d.ts.map +1 -0
- package/lib/models/transaction/transaction-receipt.d.ts.map +1 -0
- package/lib/models/transaction/transaction.d.ts +5 -0
- package/lib/models/transaction/transaction.d.ts.map +1 -0
- package/lib/models/user/my-account-history-initiated-by.enum.d.ts.map +1 -0
- package/lib/models/user/my-account-history-status.enum.d.ts.map +1 -0
- package/lib/models/user/my-account-history-type.enum.d.ts.map +1 -0
- package/lib/models/user/my-account-history.d.ts.map +1 -0
- package/lib/models/user/occupation.d.ts.map +1 -0
- package/lib/models/user/user-roles.const.d.ts.map +1 -0
- package/lib/models/user/user-to-register.d.ts.map +1 -0
- package/lib/models/user/user-work-position.const.d.ts.map +1 -0
- package/lib/models/user/user.d.ts.map +1 -0
- package/lib/models/user-event/user-event-setting-field.enum.d.ts.map +1 -0
- package/lib/models/user-event/user-event-setting.d.ts.map +1 -0
- package/lib/models/user-event/user-event-type-category.d.ts.map +1 -0
- package/lib/models/user-event/user-event-type.d.ts.map +1 -0
- package/lib/models/vehicle/index.d.ts.map +1 -0
- package/lib/models/vehicle/logbook-period.d.ts.map +1 -0
- package/lib/models/vehicle/vehicle-claim-details.d.ts.map +1 -0
- package/lib/models/vehicle/vehicle-claim.d.ts.map +1 -0
- package/lib/models/vehicle/vehicle-logbook.d.ts.map +1 -0
- package/lib/models/vehicle/vehicle.d.ts.map +1 -0
- package/lib/services/account-setup/account-setup.service.d.ts.map +1 -0
- package/lib/services/account-setup/index.d.ts.map +1 -0
- package/lib/services/affiliate/index.d.ts.map +1 -0
- package/lib/services/affiliate/rewardful/index.d.ts.map +1 -0
- package/lib/services/affiliate/rewardful/rewardful.service.d.ts.map +1 -0
- package/lib/services/asset/assets.service.d.ts.map +1 -0
- package/lib/services/asset/index.d.ts.map +1 -0
- package/lib/services/auth/auth.service.d.ts.map +1 -0
- package/lib/services/auth/index.d.ts.map +1 -0
- package/lib/services/auth/jwt.service.d.ts.map +1 -0
- package/lib/services/bank/bank-account-calculation.service.d.ts.map +1 -0
- package/lib/services/bank/bank-transaction-calculation.service.d.ts.map +1 -0
- package/lib/services/bank/index.d.ts.map +1 -0
- package/lib/services/event/event-dispatcher.service.d.ts.map +1 -0
- package/lib/services/event/index.d.ts.map +1 -0
- package/lib/services/event/sse.service.d.ts.map +1 -0
- package/lib/services/export/export-formatter.service.d.ts.map +1 -0
- package/lib/services/export/index.d.ts.map +1 -0
- package/lib/services/header-title/header-title.service.d.ts.map +1 -0
- package/lib/services/header-title/index.d.ts.map +1 -0
- package/lib/services/http/address/address.service.d.ts.map +1 -0
- package/lib/services/http/address/index.d.ts.map +1 -0
- package/lib/services/http/bank/bank-account/bank-account.service.d.ts.map +1 -0
- package/lib/services/http/bank/bank-account/index.d.ts.map +1 -0
- package/lib/services/http/bank/bank-connection/bank-connection.service.d.ts.map +1 -0
- package/lib/services/http/bank/bank-connection/index.d.ts.map +1 -0
- package/lib/services/http/bank/bank-transaction/bank-transaction.service.d.ts.map +1 -0
- package/lib/services/http/bank/bank-transaction/index.d.ts.map +1 -0
- package/lib/services/http/bank/bank.service.d.ts.map +1 -0
- package/lib/services/http/bank/basiq/basiq-token.service.d.ts.map +1 -0
- package/lib/services/http/bank/basiq/basiq.service.d.ts.map +1 -0
- package/lib/services/http/bank/basiq/index.d.ts.map +1 -0
- package/lib/services/http/bank/index.d.ts.map +1 -0
- package/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.d.ts.map +1 -0
- package/lib/services/http/chart-accounts/chart-accounts-depreciations/index.d.ts.map +1 -0
- package/lib/services/http/chart-accounts/chart-accounts.service.d.ts.map +1 -0
- package/lib/services/http/chart-accounts/index.d.ts.map +1 -0
- package/lib/services/http/chat/chat.service.d.ts.map +1 -0
- package/lib/services/http/chat/index.d.ts.map +1 -0
- package/lib/services/http/chat/message/index.d.ts.map +1 -0
- package/lib/services/http/chat/message/message.service.d.ts.map +1 -0
- package/lib/services/http/chat/message-document/index.d.ts.map +1 -0
- package/lib/services/http/chat/message-document/message-document.service.d.ts.map +1 -0
- package/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.d.ts.map +1 -0
- package/lib/services/http/depreciation/depreciation-capital-project/index.d.ts.map +1 -0
- package/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.d.ts.map +1 -0
- package/lib/services/http/depreciation/depreciation-receipt/index.d.ts.map +1 -0
- package/lib/services/http/depreciation/depreciation.service.d.ts.map +1 -0
- package/lib/services/http/depreciation/index.d.ts.map +1 -0
- package/lib/services/http/document/document-folder/document-folder.service.d.ts.map +1 -0
- package/lib/services/http/document/document.service.d.ts.map +1 -0
- package/lib/services/http/document/index.d.ts.map +1 -0
- package/lib/services/http/facebook/facebook-auth-options.interface.d.ts.map +1 -0
- package/lib/services/http/facebook/facebook-auth-response.interface.d.ts.map +1 -0
- package/lib/services/http/facebook/facebook-status-response.interface.d.ts.map +1 -0
- package/lib/services/http/facebook/facebook.service.d.ts.map +1 -0
- package/lib/services/http/facebook/index.d.ts.map +1 -0
- package/lib/services/http/firm/client-income/client-income-types.service.d.ts.map +1 -0
- package/lib/services/http/firm/client-income/index.d.ts.map +1 -0
- package/lib/services/http/firm/client-invite/client-invite.service.d.ts.map +1 -0
- package/lib/services/http/firm/client-invite/index.d.ts.map +1 -0
- package/lib/services/http/firm/client-movement/client-movement.service.d.ts.map +1 -0
- package/lib/services/http/firm/client-movement/index.d.ts.map +1 -0
- package/lib/services/http/firm/employee/employee.service.d.ts.map +1 -0
- package/lib/services/http/firm/employee/index.d.ts.map +1 -0
- package/lib/services/http/firm/employee-invite/employee-invite.service.d.ts.map +1 -0
- package/lib/services/http/firm/employee-invite/index.d.ts.map +1 -0
- package/lib/services/http/firm/firm.service.d.ts.map +1 -0
- package/lib/services/http/firm/index.d.ts.map +1 -0
- package/lib/services/http/firm/portfolio-report/client-portfolio-report.service.d.ts.map +1 -0
- package/lib/services/http/firm/portfolio-report/index.d.ts.map +1 -0
- package/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.d.ts.map +1 -0
- package/lib/services/http/income-source/income-source-forecast/index.d.ts.map +1 -0
- package/lib/services/http/income-source/income-source.service.d.ts.map +1 -0
- package/lib/services/http/income-source/index.d.ts.map +1 -0
- package/lib/services/http/income-source/salary-forecast/index.d.ts.map +1 -0
- package/lib/services/http/income-source/salary-forecast/salary-forecast.service.d.ts.map +1 -0
- package/lib/services/http/income-source/sole-forecast/index.d.ts.map +1 -0
- package/lib/services/http/income-source/sole-forecast/sole-forecast.service.d.ts.map +1 -0
- package/lib/services/http/index.d.ts.map +1 -0
- package/lib/services/http/loan/borrowing-expense/borrowing-expense.service.d.ts.map +1 -0
- package/lib/services/http/loan/borrowing-expense/index.d.ts.map +1 -0
- package/lib/services/http/loan/index.d.ts.map +1 -0
- package/lib/services/http/loan/loan.service.d.ts.map +1 -0
- package/lib/services/http/property/index.d.ts.map +1 -0
- package/lib/services/http/property/property-category/index.d.ts.map +1 -0
- package/lib/services/http/property/property-category/property-category.service.d.ts.map +1 -0
- package/lib/services/http/property/property-category-movement/index.d.ts.map +1 -0
- package/lib/services/http/property/property-category-movement/property-category-movement.service.d.ts.map +1 -0
- package/lib/services/http/property/property-document/index.d.ts.map +1 -0
- package/lib/services/http/property/property-document/property-document.service.d.ts.map +1 -0
- package/lib/services/http/property/property-sale/index.d.ts.map +1 -0
- package/lib/services/http/property/property-sale/property-sale.service.d.ts.map +1 -0
- package/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.d.ts.map +1 -0
- package/lib/services/http/property/property-share/index.d.ts.map +1 -0
- package/lib/services/http/property/property-share/property-share.service.d.ts.map +1 -0
- package/lib/services/http/property/property.service.d.ts.map +1 -0
- package/lib/services/http/receipt/index.d.ts.map +1 -0
- package/lib/services/http/receipt/receipt.service.d.ts.map +1 -0
- package/lib/services/http/rest/http-method.type.d.ts.map +1 -0
- package/lib/services/http/rest/index.d.ts.map +1 -0
- package/lib/services/http/rest/rest-method.type.d.ts.map +1 -0
- package/lib/services/http/rest/rest-old.service.d.ts.map +1 -0
- package/lib/services/http/rest/rest.service.d.ts.map +1 -0
- package/lib/services/http/service-notification/index.d.ts.map +1 -0
- package/lib/services/http/service-notification/service-notification.service.d.ts.map +1 -0
- package/lib/services/http/sole/bas-report/bas-report.service.d.ts.map +1 -0
- package/lib/services/http/sole/index.d.ts.map +1 -0
- package/lib/services/http/sole/sole-business/messages.enum.d.ts.map +1 -0
- package/lib/services/http/sole/sole-business/sole-business.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-business-activity/sole-business-activity.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-business-loss/sole-business-loss.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-contact/sole-contact.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-details/sole-details.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-invoice/sole-invoice.service.d.ts.map +1 -0
- package/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.d.ts.map +1 -0
- package/lib/services/http/subscription/index.d.ts.map +1 -0
- package/lib/services/http/subscription/service-price.service.d.ts.map +1 -0
- package/lib/services/http/subscription/subscription.service.d.ts.map +1 -0
- package/lib/services/http/tax-review/index.d.ts.map +1 -0
- package/lib/services/http/tax-review/tax-review-history/tax-review-history.service.d.ts.map +1 -0
- package/lib/services/http/tax-review/tax-review.service.d.ts.map +1 -0
- package/lib/services/http/tax-summary/index.d.ts.map +1 -0
- package/lib/services/http/tax-summary/tax-summary.service.d.ts.map +1 -0
- package/lib/services/http/transaction/index.d.ts.map +1 -0
- package/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.d.ts.map +1 -0
- package/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.d.ts.map +1 -0
- package/lib/services/http/transaction/transaction.service.d.ts.map +1 -0
- package/lib/services/http/tutorial-video/index.d.ts.map +1 -0
- package/lib/services/http/tutorial-video/tutorial-video-response.interface.d.ts.map +1 -0
- package/lib/services/http/tutorial-video/tutorial-video.service.d.ts.map +1 -0
- package/lib/services/http/tutorial-video/video-source.interface.d.ts.map +1 -0
- package/lib/services/http/user/index.d.ts.map +1 -0
- package/lib/services/http/user/occupation/occupation.service.d.ts.map +1 -0
- package/lib/services/http/user/user-event-setting/user-event-setting.service.d.ts.map +1 -0
- package/lib/services/http/user/user-event-type/user-event-type.service.d.ts.map +1 -0
- package/lib/services/http/user/user.service.d.ts.map +1 -0
- package/lib/services/http/user/users-invite/users-invite.service.d.ts.map +1 -0
- package/lib/services/http/vehicle/index.d.ts.map +1 -0
- package/lib/services/http/vehicle/vehicle-claim-details.service.d.ts.map +1 -0
- package/lib/services/http/vehicle/vehicle-claim.service.d.ts.map +1 -0
- package/lib/services/http/vehicle/vehicle-logbook.service.d.ts.map +1 -0
- package/lib/services/http/vehicle/vehicle.service.d.ts.map +1 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/intercom/index.d.ts.map +1 -0
- package/lib/services/intercom/intercom.service.d.ts.map +1 -0
- package/lib/services/pdf/index.d.ts.map +1 -0
- package/lib/services/pdf/pdf-from-dom-element/file-settings.d.ts.map +1 -0
- package/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.d.ts.map +1 -0
- package/lib/services/pdf/pdf-from-table/file-settings.d.ts.map +1 -0
- package/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.d.ts.map +1 -0
- package/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.d.ts.map +1 -0
- package/lib/services/pdf/pdf-from-table/pdf-from-table.service.d.ts.map +1 -0
- package/lib/services/preloader/index.d.ts.map +1 -0
- package/lib/services/preloader/preloader.service.d.ts.map +1 -0
- package/lib/services/property/corelogic/corelogic.service.d.ts.map +1 -0
- package/lib/services/property/corelogic/index.d.ts.map +1 -0
- package/lib/services/property/equity-position-chart/equity-position-chart.service.d.ts.map +1 -0
- package/lib/services/property/equity-position-chart/index.d.ts.map +1 -0
- package/lib/services/property/index.d.ts.map +1 -0
- package/lib/services/property/property-calculation/index.d.ts.map +1 -0
- package/lib/services/property/property-calculation/property-calculation.service.d.ts.map +1 -0
- package/lib/services/report/index.d.ts.map +1 -0
- package/lib/services/report/property/property-transaction-report.service.d.ts.map +1 -0
- package/lib/services/toast/index.d.ts.map +1 -0
- package/lib/services/toast/toast.service.d.ts.map +1 -0
- package/lib/services/transaction/index.d.ts.map +1 -0
- package/lib/services/transaction/transaction-calculation.service.d.ts.map +1 -0
- package/lib/services/user/index.d.ts.map +1 -0
- package/lib/services/user/user-switcher.service.d.ts.map +1 -0
- package/lib/services/vehicle/index.d.ts.map +1 -0
- package/lib/services/vehicle/logbook-best-period.service.d.ts.map +1 -0
- package/lib/services/xlsx/index.d.ts.map +1 -0
- package/lib/services/xlsx/xlsx.service.d.ts.map +1 -0
- package/lib/tt-core.module.d.ts.map +1 -0
- package/lib/validators/address-corelogic.validator.d.ts.map +1 -0
- package/lib/validators/at-least-one-enabled.validator.d.ts.map +1 -0
- package/lib/validators/at-least-one.validator.d.ts.map +1 -0
- package/lib/validators/autocomplete.validator.d.ts.map +1 -0
- package/lib/validators/conditional.validator.d.ts.map +1 -0
- package/lib/validators/current-fin-year.validator.d.ts.map +1 -0
- package/lib/validators/date-range.validator.d.ts.map +1 -0
- package/lib/validators/fields-sum.validator.d.ts.map +1 -0
- package/lib/validators/file.validator.d.ts.map +1 -0
- package/lib/validators/index.d.ts.map +1 -0
- package/lib/validators/min-date/messages.enum.d.ts.map +1 -0
- package/lib/validators/min-date/min-date.validator.d.ts.map +1 -0
- package/lib/validators/password-match.validator.d.ts.map +1 -0
- package/lib/validators/password.validator.d.ts.map +1 -0
- package/lib/validators/phone-number.validator.d.ts.map +1 -0
- package/lib/validators/required-length.validator.d.ts.map +1 -0
- package/package.json +1 -1
- package/public-api.d.ts.map +1 -0
- package/taxtank-core.d.ts.map +1 -0
|
@@ -1778,8 +1778,9 @@
|
|
|
1778
1778
|
/**
|
|
1779
1779
|
* Get total sum of items by field
|
|
1780
1780
|
*/
|
|
1781
|
-
Collection.prototype.sumBy = function (path) {
|
|
1782
|
-
|
|
1781
|
+
Collection.prototype.sumBy = function (path, abs) {
|
|
1782
|
+
if (abs === void 0) { abs = false; }
|
|
1783
|
+
return +this.items.reduce(function (sum, item) { return sum + (abs ? Math.abs(Number(get__default["default"](item, path))) : Number(get__default["default"](item, path))); }, 0).toFixed(2);
|
|
1783
1784
|
};
|
|
1784
1785
|
Collection.prototype.groupBy = function (path) {
|
|
1785
1786
|
if (path === void 0) { path = ''; }
|
|
@@ -3489,6 +3490,16 @@
|
|
|
3489
3490
|
ChartAccountsTypeEnum[ChartAccountsTypeEnum["EXPENSE"] = 2] = "EXPENSE";
|
|
3490
3491
|
})(exports.ChartAccountsTypeEnum || (exports.ChartAccountsTypeEnum = {}));
|
|
3491
3492
|
|
|
3493
|
+
/**
|
|
3494
|
+
* most of chartAccounts could have only negative or positive amount,
|
|
3495
|
+
* but there are exceptions like advance income (free loan from company u work for), it's positive number when you receive it,
|
|
3496
|
+
* and negative when you pay it back (still income, but with negative amount)
|
|
3497
|
+
*/
|
|
3498
|
+
exports.ChartAccountsKeepSign = void 0;
|
|
3499
|
+
(function (ChartAccountsKeepSign) {
|
|
3500
|
+
ChartAccountsKeepSign[ChartAccountsKeepSign["ADVANCE"] = 556] = "ADVANCE";
|
|
3501
|
+
})(exports.ChartAccountsKeepSign || (exports.ChartAccountsKeepSign = {}));
|
|
3502
|
+
|
|
3492
3503
|
// @TODO Artem TT-2308 move everything
|
|
3493
3504
|
|
|
3494
3505
|
var ChartAccountsMetadata = /** @class */ (function (_super) {
|
|
@@ -5854,7 +5865,7 @@
|
|
|
5854
5865
|
// salary included transactions affect parent transaction amount and as a result grossAmount, skip to avoid double sum
|
|
5855
5866
|
grossAmount += new Collection(this.transactions)
|
|
5856
5867
|
.filter(function (t) { var _a; return !((_a = t.chartAccounts) === null || _a === void 0 ? void 0 : _a.isSalaryIncluded()); })
|
|
5857
|
-
.sumBy('amount');
|
|
5868
|
+
.sumBy('amount', true);
|
|
5858
5869
|
if (this.isWorkTank()) {
|
|
5859
5870
|
grossAmount += this.frankingCredit - this.taxFreeComponent - this.eligibleForReduction;
|
|
5860
5871
|
}
|
|
@@ -5876,6 +5887,14 @@
|
|
|
5876
5887
|
enumerable: false,
|
|
5877
5888
|
configurable: true
|
|
5878
5889
|
});
|
|
5890
|
+
/**
|
|
5891
|
+
* most of the transactions could have only positive or negative amount depends on chartAccounts, so we ignore
|
|
5892
|
+
* user's choice and transform amount, but there are exceptions like advance (negative or positive amount)
|
|
5893
|
+
*/
|
|
5894
|
+
Transaction.prototype.ignoreSign = function () {
|
|
5895
|
+
var _a;
|
|
5896
|
+
return !(((_a = this.chartAccounts) === null || _a === void 0 ? void 0 : _a.id) in exports.ChartAccountsKeepSign);
|
|
5897
|
+
};
|
|
5879
5898
|
return Transaction;
|
|
5880
5899
|
}(Transaction$1));
|
|
5881
5900
|
__decorate([
|
|
@@ -18557,8 +18576,6 @@
|
|
|
18557
18576
|
__extends(AbstractForm, _super);
|
|
18558
18577
|
function AbstractForm(controls, model, validatorOrOpts, asyncValidator) {
|
|
18559
18578
|
var _this = _super.call(this, controls, validatorOrOpts, asyncValidator) || this;
|
|
18560
|
-
// @TODO remove and use getRawValue instead of value (needs testing and refactoring)
|
|
18561
|
-
_this.submitDisabledFields = false;
|
|
18562
18579
|
/**
|
|
18563
18580
|
* @TODO Alex bad name, it's also about unchanged
|
|
18564
18581
|
* Flag display if some form values changed
|
|
@@ -18592,15 +18609,17 @@
|
|
|
18592
18609
|
* Check validation and return a new instance of generic model.
|
|
18593
18610
|
* Merge form value to initial object
|
|
18594
18611
|
* @param data Additional data object which be merged to form value
|
|
18612
|
+
* @param includeDisabledFields ignore disabled fields
|
|
18595
18613
|
*/
|
|
18596
|
-
AbstractForm.prototype.submit = function (data) {
|
|
18614
|
+
AbstractForm.prototype.submit = function (data, includeDisabledFields) {
|
|
18597
18615
|
if (data === void 0) { data = {}; }
|
|
18616
|
+
if (includeDisabledFields === void 0) { includeDisabledFields = false; }
|
|
18598
18617
|
this.submitted = true;
|
|
18599
18618
|
this.markAllAsTouched();
|
|
18600
18619
|
if (!this.disabled && !this.valid) {
|
|
18601
18620
|
return null;
|
|
18602
18621
|
}
|
|
18603
|
-
var value =
|
|
18622
|
+
var value = includeDisabledFields ? this.getRawValue() : this.value;
|
|
18604
18623
|
var model = this.createModelInstance(Object.assign({}, this.model, value, data));
|
|
18605
18624
|
this.onSubmit.emit(model);
|
|
18606
18625
|
return model;
|
|
@@ -19611,7 +19630,6 @@
|
|
|
19611
19630
|
gst: new forms.FormControl({ value: report.gst, disabled: true }),
|
|
19612
19631
|
}, report) || this;
|
|
19613
19632
|
_this.report = report;
|
|
19614
|
-
_this.submitDisabledFields = true;
|
|
19615
19633
|
// prefill income/expense data based on transactions/depreciations filtered by specified date
|
|
19616
19634
|
rxjs.combineLatest([_this.get('dateFrom').valueChanges, _this.get('dateTo').valueChanges])
|
|
19617
19635
|
.subscribe(function (_a) {
|
|
@@ -19644,6 +19662,10 @@
|
|
|
19644
19662
|
});
|
|
19645
19663
|
return _this;
|
|
19646
19664
|
}
|
|
19665
|
+
BasReportForm.prototype.submit = function (data) {
|
|
19666
|
+
if (data === void 0) { data = {}; }
|
|
19667
|
+
return _super.prototype.submit.call(this, data, true);
|
|
19668
|
+
};
|
|
19647
19669
|
return BasReportForm;
|
|
19648
19670
|
}(AbstractForm));
|
|
19649
19671
|
|
|
@@ -20958,17 +20980,14 @@
|
|
|
20958
20980
|
};
|
|
20959
20981
|
TransactionBaseForm.prototype.watchChartAccounts = function () {
|
|
20960
20982
|
var _this = this;
|
|
20961
|
-
this.get('chartAccounts').valueChanges.subscribe(function (
|
|
20962
|
-
if (!(value instanceof ChartAccounts)) {
|
|
20963
|
-
return;
|
|
20964
|
-
}
|
|
20983
|
+
this.get('chartAccounts').valueChanges.subscribe(function (chartAccounts) {
|
|
20965
20984
|
// recalculate claim percent for selected chart accounts
|
|
20966
|
-
_this.updateClaimPercent(
|
|
20985
|
+
_this.updateClaimPercent(chartAccounts);
|
|
20967
20986
|
if (!_this.isGstApplicable()) {
|
|
20968
20987
|
return;
|
|
20969
20988
|
}
|
|
20970
20989
|
// update gst if applicable
|
|
20971
|
-
if (
|
|
20990
|
+
if (chartAccounts.isGST) {
|
|
20972
20991
|
_this.get('isGST').enable();
|
|
20973
20992
|
_this.get('isGST').patchValue(true);
|
|
20974
20993
|
}
|
|
@@ -21062,7 +21081,7 @@
|
|
|
21062
21081
|
var formGroup = new forms.FormGroup({
|
|
21063
21082
|
id: new forms.FormControl(transaction.id),
|
|
21064
21083
|
chartAccounts: new forms.FormControl(transaction.chartAccounts, [forms.Validators.required, autocompleteValidator()]),
|
|
21065
|
-
amount: new forms.FormControl(
|
|
21084
|
+
amount: new forms.FormControl(transaction.amount, [forms.Validators.required]),
|
|
21066
21085
|
});
|
|
21067
21086
|
this.get('transactions').push(formGroup);
|
|
21068
21087
|
};
|
|
@@ -21075,19 +21094,22 @@
|
|
|
21075
21094
|
*/
|
|
21076
21095
|
TransactionForm.prototype.buildTransactions = function (transaction) {
|
|
21077
21096
|
var _this = this;
|
|
21078
|
-
return this.get('transactions').value.map(function (childTransaction) {
|
|
21079
|
-
|
|
21080
|
-
|
|
21081
|
-
|
|
21082
|
-
|
|
21083
|
-
|
|
21084
|
-
|
|
21085
|
-
|
|
21086
|
-
|
|
21097
|
+
return this.get('transactions').value.map(function (childTransaction) {
|
|
21098
|
+
var _a, _b, _c;
|
|
21099
|
+
return Object.assign({
|
|
21100
|
+
description: (_a = childTransaction.chartAccounts) === null || _a === void 0 ? void 0 : _a.name,
|
|
21101
|
+
date: transaction.date,
|
|
21102
|
+
claimPercent: (transaction.claimPercent * ((_b = childTransaction.chartAccounts) === null || _b === void 0 ? void 0 : _b.taxablePercent)) / 100,
|
|
21103
|
+
source: exports.TransactionSourceEnum.BANK_TRANSACTION,
|
|
21104
|
+
type: ((_c = childTransaction.chartAccounts) === null || _c === void 0 ? void 0 : _c.isExpense()) ? exports.TransactionTypeEnum.DEBIT : exports.TransactionTypeEnum.CREDIT,
|
|
21105
|
+
incomeSource: transaction.incomeSource,
|
|
21106
|
+
property: transaction.property
|
|
21107
|
+
}, _this.model.transactions.find(function (transaction) { return transaction.id === childTransaction['id']; }) || {}, childTransaction);
|
|
21108
|
+
});
|
|
21087
21109
|
};
|
|
21088
21110
|
TransactionForm.prototype.submit = function (data) {
|
|
21089
21111
|
if (data === void 0) { data = {}; }
|
|
21090
|
-
return _super.prototype.submit.call(this, Object.assign(data, { transactions: this.buildTransactions(this.currentValue) }));
|
|
21112
|
+
return _super.prototype.submit.call(this, Object.assign(data, { transactions: this.buildTransactions(this.currentValue) }), true);
|
|
21091
21113
|
};
|
|
21092
21114
|
return TransactionForm;
|
|
21093
21115
|
}(TransactionBaseForm));
|
|
@@ -21097,6 +21119,8 @@
|
|
|
21097
21119
|
function WorkIncomeForm(transaction, registeredForGst, allocations) {
|
|
21098
21120
|
var _this = this;
|
|
21099
21121
|
var _a;
|
|
21122
|
+
// for work income we need to show netAmount instead of amount (because some adjustments are included in amount)
|
|
21123
|
+
transaction.amount = transaction.netAmount;
|
|
21100
21124
|
_this = _super.call(this, transaction, registeredForGst, allocations, {
|
|
21101
21125
|
// additional data related to work income (like tax instalments)
|
|
21102
21126
|
metadata: new forms.FormArray((transaction.metadata || []).map(function (transactionMetadata) {
|
|
@@ -21111,10 +21135,6 @@
|
|
|
21111
21135
|
}, forms.Validators.required),
|
|
21112
21136
|
incomeSource: new forms.FormControl(transaction.incomeSource, [forms.Validators.required, autocompleteValidator()]),
|
|
21113
21137
|
}) || this;
|
|
21114
|
-
// @TODO we use amount field as netAmount to avoid extra watcher for amount recalculation
|
|
21115
|
-
if (transaction.id) {
|
|
21116
|
-
_this.get('amount').setValue(transaction.netAmount);
|
|
21117
|
-
}
|
|
21118
21138
|
// forbid to edit some fields for allocated transaction
|
|
21119
21139
|
if (allocations.length) {
|
|
21120
21140
|
_this.get('chartAccounts').disable();
|
|
@@ -21142,23 +21162,17 @@
|
|
|
21142
21162
|
WorkIncomeForm.prototype.watchChartAccounts = function () {
|
|
21143
21163
|
var _this = this;
|
|
21144
21164
|
_super.prototype.watchChartAccounts.call(this);
|
|
21145
|
-
this.get('chartAccounts').valueChanges.subscribe(function (
|
|
21146
|
-
// some fields depend on ChartAccounts and can't be filled until it's selected
|
|
21147
|
-
if (!(value instanceof ChartAccounts)) {
|
|
21148
|
-
_this.get('tax').disable();
|
|
21149
|
-
_this.get('transactions').disable();
|
|
21150
|
-
return;
|
|
21151
|
-
}
|
|
21165
|
+
this.get('chartAccounts').valueChanges.subscribe(function (chartAccounts) {
|
|
21152
21166
|
_this.buildMetadataForm();
|
|
21153
21167
|
// tax make no sense for pre-paying tax category
|
|
21154
|
-
if (
|
|
21168
|
+
if (chartAccounts.isNRAS()) {
|
|
21155
21169
|
_this.get('tax').disable();
|
|
21156
21170
|
}
|
|
21157
21171
|
else {
|
|
21158
21172
|
_this.get('tax').enable();
|
|
21159
21173
|
}
|
|
21160
21174
|
// adjustments possible only for salary chartAccounts
|
|
21161
|
-
if (
|
|
21175
|
+
if (chartAccounts.isSalary()) {
|
|
21162
21176
|
_this.get('transactions').enable();
|
|
21163
21177
|
}
|
|
21164
21178
|
else {
|