taxtank-core 0.33.50 → 0.33.51

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,13 +1,15 @@
1
1
  import { Collection } from '../collection';
2
2
  import flatten from 'lodash/flatten';
3
3
  import { SoleInvoiceStateEnum, SoleInvoiceStatusesEnum } from '../../db/Enums';
4
+ import round from 'lodash/round';
4
5
  export class SoleInvoiceCollection extends Collection {
5
6
  getOverdue() {
6
7
  return this.filter((invoice) => invoice.isOverdue());
7
8
  }
8
9
  getPaid(transactions) {
10
+ const amountPerInvoice = transactions.getAmountPerInvoice();
9
11
  return this.filter(invoice => invoice.grossPrice > 0
10
- && transactions.getAmountPerInvoice().get(invoice.id) >= invoice.grossPrice);
12
+ && round(amountPerInvoice.get(invoice.id), 2) >= invoice.grossPrice);
11
13
  }
12
14
  getUnpaid(transactions) {
13
15
  return this.getOpen().filter(invoice => transactions.getAmountPerInvoice().get(invoice.id) < invoice.grossPrice);
@@ -34,4 +36,4 @@ export class SoleInvoiceCollection extends Collection {
34
36
  return flatten(this.map(invoice => invoice.allocate(bankTransaction, amount)));
35
37
  }
36
38
  }
37
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1pbnZvaWNlLmNvbGxlY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvc29sZS9zb2xlLWludm9pY2UuY29sbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTNDLE9BQU8sT0FBTyxNQUFNLGdCQUFnQixDQUFDO0FBRXJDLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSx1QkFBdUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRy9FLE1BQU0sT0FBTyxxQkFBc0IsU0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inessChartAccountsEnum;
38
38
  BusinessChartAccountsEnum[BusinessChartAccountsEnum["ELECTRICITY_AND_GAS"] = 892] = "ELECTRICITY_AND_GAS";
39
39
  BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_CLEANING"] = 893] = "HOME_OFFICE_CLEANING";
40
40
  BusinessChartAccountsEnum[BusinessChartAccountsEnum["INTERNET"] = 705] = "INTERNET";
41
- BusinessChartAccountsEnum[BusinessChartAccountsEnum["TELEPHONE"] = 11860] = "TELEPHONE";
41
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["TELEPHONE"] = 11862] = "TELEPHONE";
42
42
  BusinessChartAccountsEnum[BusinessChartAccountsEnum["MOBILE_PHONE"] = 719] = "MOBILE_PHONE";
43
43
  BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_RENT"] = 889] = "HOME_OFFICE_RENT";
44
44
  BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_LOAN"] = 890] = "HOME_OFFICE_LOAN";
45
45
  BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_RATES"] = 891] = "HOME_OFFICE_RATES";
46
46
  BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_OTHER"] = 894] = "HOME_OFFICE_OTHER";
47
47
  })(BusinessChartAccountsEnum || (BusinessChartAccountsEnum = {}));
48
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVzaW5lc3MtY2hhcnQtYWNjb3VudHMuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9kYi9FbnVtcy9jaGFydC1hY2NvdW50cy9idXNpbmVzcy1jaGFydC1hY2NvdW50cy5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBT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num[ChartAccountsListEnum["INTERNET"] = 94] = "INTERNET";
57
57
  ChartAccountsListEnum[ChartAccountsListEnum["ELECTRICITY_AND_GAS"] = 234] = "ELECTRICITY_AND_GAS";
58
58
  ChartAccountsListEnum[ChartAccountsListEnum["TELEPHONE"] = 255] = "TELEPHONE";
59
- ChartAccountsListEnum[ChartAccountsListEnum["HOME_OFFICE_CLEANING"] = 11861] = "HOME_OFFICE_CLEANING";
59
+ ChartAccountsListEnum[ChartAccountsListEnum["HOME_OFFICE_CLEANING"] = 11871] = "HOME_OFFICE_CLEANING";
60
60
  })(ChartAccountsListEnum || (ChartAccountsListEnum = {}));
61
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhcnQtYWNjb3VudHMtbGlzdC5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2RiL0VudW1zL2NoYXJ0LWFjY291bnRzL2NoYXJ0LWFjY291bnRzLWxpc3QuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxxQkEwRFg7QUExREQsV0FBWSxxQkFBcUI7SUFDL0IsdUZBQW1CLENBQUE7SUFDbkIsbUhBQWlDLENBQUE7SUFDakMsb0hBQWtDLENBQUE7SUFDbEMsOEVBQWUsQ0FBQTtJQUNmLDBGQUFxQixDQUFBO0lBQ3JCLHdGQUFvQixDQUFBO0lBQ3BCLG9GQUFrQixDQUFBO0lBQ2xCLDBFQUFhLENBQUE7SUFDYixnR0FBd0IsQ0FBQTtJQUN4QixvR0FBMEIsQ0FBQTtJQUMxQixzR0FBMkIsQ0FBQTtJQUMzQiw2RkFBdUIsQ0FBQTtJQUN2QixtR0FBMEIsQ0FBQTtJQUMxQix1RkFBb0IsQ0FBQTtJQUNwQix5R0FBNkIsQ0FBQTtJQU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SU5WRVNUTUVOVF9TQ0hFTUVTX0RFRFVDVElPTiA9IDU5MyxcbiAgQVNTRVNTQUJMRV9BTU9VTlRfQ0FQUEVEX0RFRklORURfQkVORUZJVCA9IDYzOSxcbiAgQ09ERV9BX1NVUEVSQU5OVUFUSU9OX0lOQ09NRV9TVFJFQU1TX0RFQVRIID0gNjQwLFxuICBUUkFOU0ZFUiA9IDYxNSxcbiAgUEVSU09OQUxfRVhQRU5TRVMgPSA2MjgsXG4gIFBFUlNPTkFMX0lOQ09NRSA9IDYzMCxcbiAgUExBVEZPUk1fRkVFUyA9IDg1NyxcbiAgQVVTVFJBTElBTl9HT1ZFUk5NRU5UX1NQRUNJQUxfUEFZTUVOVFMgPSA4NzEsXG4gIEZIU1MgPSA4NzIsXG4gIE1PQklMRV9QSE9ORSA9IDkwLFxuICBJTlRFUk5FVCA9IDk0LFxuICBFTEVDVFJJQ0lUWV9BTkRfR0FTID0gMjM0LFxuICBURUxFUEhPTkUgPSAyNTUsXG4gIEhPTUVfT0ZGSUNFX0NMRUFOSU5HID0gMTE4NzEsXG59XG4iXX0=
@@ -14,4 +14,4 @@ export class VehicleExpense extends AbstractModel {
14
14
  return round(this.amount * (this.claimPercent / 100), 2);
15
15
  }
16
16
  }
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVoaWNsZS1leHBlbnNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL21vZGVscy9yZXBvcnQvdmVoaWNsZS1leHBlbnNlL3ZlaGljbGUtZXhwZW5zZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILE9BQU8sRUFBQyxhQUFhLEVBQUMsTUFBTSxvQkFBb0IsQ0FBQztBQUNqRCxPQUFPLEtBQUssTUFBTSxjQUFjLENBQUM7QUFFakMs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ZWN0aW9uXG4gKi9cbmltcG9ydCB7IEFic3RyYWN0TW9kZWwgfSBmcm9tICcuLi8uLi8uLi9kYi9Nb2RlbHMnO1xuaW1wb3J0IHJvdW5kIGZyb20gJ2xvZGFzaC9yb3VuZCc7XG5cbmV4cG9ydCBjbGFzcyBWZWhpY2xlRXhwZW5zZSBleHRlbmRzIEFic3RyYWN0TW9kZWwge1xuICBkZXNjcmlwdGlvbjogc3RyaW5nO1xuICBhbW91bnQ6IG51bWJlcjtcbiAgY2xhaW1QZXJjZW50OiBudW1iZXI7XG5cbiAgY29uc3RydWN0b3IoXG4gICAgYW1vdW50OiBudW1iZXIsXG4gICAgY2xhaW1QZXJjZW50OiBudW1iZXIsXG4gICAgZGVzY3JpcHRpb246IHN0cmluZ1xuICApIHtcbiAgICBzdXBlcigpO1xuICAgIHRoaXMuYW1vdW50ID0gYW1vdW50O1xuICAgIHRoaXMuY2xhaW1QZXJjZW50ID0gY2xhaW1QZXJjZW50O1xuICAgIHRoaXMuZGVzY3JpcHRpb24gPSBkZXNjcmlwdGlvbjtcbiAgfVxuXG4gIGdldENsYWltQW1vdW50KCk6IG51bWJlciB7XG4gICAgcmV0dXJuIHJvdW5kKHRoaXMuYW1vdW50ICogKHRoaXMuY2xhaW1QZXJjZW50IC8gMTAwKSwgMik7XG4gIH1cbn1cbiJdfQ==
@@ -1036,7 +1036,7 @@ var ChartAccountsListEnum;
1036
1036
  ChartAccountsListEnum[ChartAccountsListEnum["INTERNET"] = 94] = "INTERNET";
1037
1037
  ChartAccountsListEnum[ChartAccountsListEnum["ELECTRICITY_AND_GAS"] = 234] = "ELECTRICITY_AND_GAS";
1038
1038
  ChartAccountsListEnum[ChartAccountsListEnum["TELEPHONE"] = 255] = "TELEPHONE";
1039
- ChartAccountsListEnum[ChartAccountsListEnum["HOME_OFFICE_CLEANING"] = 11861] = "HOME_OFFICE_CLEANING";
1039
+ ChartAccountsListEnum[ChartAccountsListEnum["HOME_OFFICE_CLEANING"] = 11871] = "HOME_OFFICE_CLEANING";
1040
1040
  })(ChartAccountsListEnum || (ChartAccountsListEnum = {}));
1041
1041
 
1042
1042
  var BusinessChartAccountsEnum;
@@ -1079,7 +1079,7 @@ var BusinessChartAccountsEnum;
1079
1079
  BusinessChartAccountsEnum[BusinessChartAccountsEnum["ELECTRICITY_AND_GAS"] = 892] = "ELECTRICITY_AND_GAS";
1080
1080
  BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_CLEANING"] = 893] = "HOME_OFFICE_CLEANING";
1081
1081
  BusinessChartAccountsEnum[BusinessChartAccountsEnum["INTERNET"] = 705] = "INTERNET";
1082
- BusinessChartAccountsEnum[BusinessChartAccountsEnum["TELEPHONE"] = 11860] = "TELEPHONE";
1082
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["TELEPHONE"] = 11862] = "TELEPHONE";
1083
1083
  BusinessChartAccountsEnum[BusinessChartAccountsEnum["MOBILE_PHONE"] = 719] = "MOBILE_PHONE";
1084
1084
  BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_RENT"] = 889] = "HOME_OFFICE_RENT";
1085
1085
  BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_LOAN"] = 890] = "HOME_OFFICE_LOAN";
@@ -8308,8 +8308,9 @@ class SoleInvoiceCollection extends Collection {
8308
8308
  return this.filter((invoice) => invoice.isOverdue());
8309
8309
  }
8310
8310
  getPaid(transactions) {
8311
+ const amountPerInvoice = transactions.getAmountPerInvoice();
8311
8312
  return this.filter(invoice => invoice.grossPrice > 0
8312
- && transactions.getAmountPerInvoice().get(invoice.id) >= invoice.grossPrice);
8313
+ && round(amountPerInvoice.get(invoice.id), 2) >= invoice.grossPrice);
8313
8314
  }
8314
8315
  getUnpaid(transactions) {
8315
8316
  return this.getOpen().filter(invoice => transactions.getAmountPerInvoice().get(invoice.id) < invoice.grossPrice);