taxtank-core 2.1.40 → 2.1.41
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/fesm2022/taxtank-core.mjs +33 -24
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/index.d.ts +8 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -10605,9 +10605,9 @@ declare class SoleDetailsForm extends AbstractForm<SoleDetails> {
|
|
|
10605
10605
|
*/
|
|
10606
10606
|
declare class SoleInvoiceForm extends AbstractForm<SoleInvoice> implements IEventListener {
|
|
10607
10607
|
private invoice;
|
|
10608
|
-
private
|
|
10608
|
+
private gst;
|
|
10609
10609
|
private defaultTemplate;
|
|
10610
|
-
constructor(invoice: SoleInvoice,
|
|
10610
|
+
constructor(invoice: SoleInvoice, gst: boolean, defaultTemplate: SoleInvoiceTemplate);
|
|
10611
10611
|
get items(): FormArray;
|
|
10612
10612
|
listenEvents(): void;
|
|
10613
10613
|
addItem(): void;
|
|
@@ -10729,9 +10729,9 @@ declare enum FormValidationsEnum {
|
|
|
10729
10729
|
* @TODO Alex: extend transaction form(s) when transaction forms refactored
|
|
10730
10730
|
*/
|
|
10731
10731
|
declare class AllocationRuleTransactionForm extends AbstractForm<AllocationRuleTransaction> implements IEventListener {
|
|
10732
|
-
private
|
|
10732
|
+
private soleDetails;
|
|
10733
10733
|
includeDisabledFields: boolean;
|
|
10734
|
-
constructor(transaction: AllocationRuleTransaction,
|
|
10734
|
+
constructor(transaction: AllocationRuleTransaction, soleDetails: SoleDetails);
|
|
10735
10735
|
/**
|
|
10736
10736
|
* @TODO Alex: move to abstract form, universal method getArray(arrayName)
|
|
10737
10737
|
*/
|
|
@@ -10743,7 +10743,9 @@ declare class AllocationRuleTransactionForm extends AbstractForm<AllocationRuleT
|
|
|
10743
10743
|
buildTransactions(transaction: AllocationRuleTransaction): AllocationRuleTransaction[];
|
|
10744
10744
|
submit(): AllocationRuleTransaction;
|
|
10745
10745
|
listenEvents(): void;
|
|
10746
|
+
private watchBusiness;
|
|
10746
10747
|
private listenChartAccountsChanges;
|
|
10748
|
+
private updateGst;
|
|
10747
10749
|
/**
|
|
10748
10750
|
* Child transaction allowance depends on tank type.
|
|
10749
10751
|
* Also chart accounts are different, so we just reset child transactions when tank type changed
|
|
@@ -10764,9 +10766,9 @@ declare class AllocationRuleTransactionForm extends AbstractForm<AllocationRuleT
|
|
|
10764
10766
|
* @TODO move aux methods like isSplittable/isTaxFieldHidden/etc (used in view with ngIf) to properties to improve perf
|
|
10765
10767
|
*/
|
|
10766
10768
|
declare class AllocationRuleForm extends AbstractForm<AllocationRule> implements IEventListener {
|
|
10767
|
-
private
|
|
10769
|
+
private soleDetails;
|
|
10768
10770
|
chartAccountsCategories: ChartAccountsCategoryEnum[];
|
|
10769
|
-
constructor(rule: AllocationRule, rules: AllocationRuleCollection,
|
|
10771
|
+
constructor(rule: AllocationRule, rules: AllocationRuleCollection, soleDetails: SoleDetails);
|
|
10770
10772
|
get conditionsArray(): FormArray;
|
|
10771
10773
|
get childTransactionsArray(): FormArray;
|
|
10772
10774
|
get transactionFormGroup(): AllocationRuleTransactionForm;
|