taxtank-core 1.0.15 → 1.0.17
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.
@@ -37,7 +37,7 @@ import { checkAdBlock } from 'adblock-checker';
|
|
37
37
|
import { jsPDF } from 'jspdf';
|
38
38
|
import { applyPlugin } from 'jspdf-autotable';
|
39
39
|
import html2pdf from 'html2pdf.js';
|
40
|
-
import * as xlsx from '
|
40
|
+
import * as xlsx from 'xlsx';
|
41
41
|
import * as FileSaver from 'file-saver';
|
42
42
|
import * as i1$2 from '@angular/platform-browser';
|
43
43
|
import { PercentagePipe } from 'ngx-pipes';
|
@@ -1109,6 +1109,7 @@ var BusinessChartAccountsEnum;
|
|
1109
1109
|
BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_LOAN"] = 890] = "HOME_OFFICE_LOAN";
|
1110
1110
|
BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_RATES"] = 891] = "HOME_OFFICE_RATES";
|
1111
1111
|
BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_OTHER"] = 894] = "HOME_OFFICE_OTHER";
|
1112
|
+
BusinessChartAccountsEnum[BusinessChartAccountsEnum["CREDIT_ADJUSTMENT"] = 912] = "CREDIT_ADJUSTMENT";
|
1112
1113
|
})(BusinessChartAccountsEnum || (BusinessChartAccountsEnum = {}));
|
1113
1114
|
|
1114
1115
|
var ChartAccountsMetaFieldListEnum;
|
@@ -4856,7 +4857,8 @@ class SoleInvoiceItem extends SoleInvoiceItem$1 {
|
|
4856
4857
|
BusinessChartAccountsEnum.JOBKEEPER,
|
4857
4858
|
BusinessChartAccountsEnum.GST_REFUND,
|
4858
4859
|
BusinessChartAccountsEnum.PAYG_INSTALLMENTS,
|
4859
|
-
BusinessChartAccountsEnum.INTEREST_EARNED
|
4860
|
+
BusinessChartAccountsEnum.INTEREST_EARNED,
|
4861
|
+
BusinessChartAccountsEnum.CREDIT_ADJUSTMENT
|
4860
4862
|
]; }
|
4861
4863
|
get totalPrice() {
|
4862
4864
|
return this.price * this.quantity;
|
@@ -24682,6 +24684,9 @@ class WorkTransactionForm extends TransactionForm {
|
|
24682
24684
|
chartAccountsMetaField: new FormControl(transactionMetaField.chartAccountsMetaField)
|
24683
24685
|
})))
|
24684
24686
|
}));
|
24687
|
+
if (this.value.chartAccounts) {
|
24688
|
+
this.buildMetaFieldsForm();
|
24689
|
+
}
|
24685
24690
|
this.listenEvents();
|
24686
24691
|
}
|
24687
24692
|
listenEvents() {
|