@silexpert/core 1.3.32 → 1.3.34
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/dist/cjs/types/Enum/StatusRating.d.ts.map +1 -1
- package/dist/cjs/types/Enum/StatusRating.js +1 -0
- package/dist/cjs/types/Enum/StatusRating.js.map +1 -1
- package/dist/cjs/types/Interface/api/mobile/UpdateMobile.d.ts +5 -0
- package/dist/cjs/types/Interface/api/mobile/UpdateMobile.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/mobile/UpdateMobile.js +33 -0
- package/dist/cjs/types/Interface/api/mobile/UpdateMobile.js.map +1 -1
- package/dist/cjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +1 -0
- package/dist/cjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
- package/dist/cjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +3 -2
- package/dist/cjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- package/dist/cjs/types/Interface/models/IMobile.d.ts +5 -0
- package/dist/cjs/types/Interface/models/IMobile.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IMobile.js.map +1 -1
- package/dist/cjs/utils/commercialManagement/templates/body.js +1 -1
- package/dist/cjs/utils/commercialManagement/templates/body.js.map +1 -1
- package/dist/mjs/types/Enum/StatusRating.d.ts.map +1 -1
- package/dist/mjs/types/Enum/StatusRating.js +1 -0
- package/dist/mjs/types/Enum/StatusRating.js.map +1 -1
- package/dist/mjs/types/Interface/api/mobile/UpdateMobile.d.ts +5 -0
- package/dist/mjs/types/Interface/api/mobile/UpdateMobile.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/mobile/UpdateMobile.js +38 -0
- package/dist/mjs/types/Interface/api/mobile/UpdateMobile.js.map +1 -1
- package/dist/mjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +1 -0
- package/dist/mjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/taxDeadline/ReadTaxDeadline.js +1 -0
- package/dist/mjs/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
- package/dist/mjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +4 -3
- package/dist/mjs/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- package/dist/mjs/types/Interface/models/IMobile.d.ts +5 -0
- package/dist/mjs/types/Interface/models/IMobile.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IMobile.js.map +1 -1
- package/dist/mjs/utils/commercialManagement/templates/body.js +1 -1
- package/dist/mjs/utils/commercialManagement/templates/body.js.map +1 -1
- package/package.json +1 -1
- package/ts/types/Enum/StatusRating.ts +1 -0
- package/ts/types/Interface/api/mobile/UpdateMobile.ts +28 -0
- package/ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts +1 -0
- package/ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts +1 -1
- package/ts/types/Interface/models/IMobile.ts +5 -0
- package/ts/utils/commercialManagement/templates/body.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusRating.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/StatusRating.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;
|
|
1
|
+
{"version":3,"file":"StatusRating.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/StatusRating.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;IASxB,CAAC"}
|
|
@@ -9,5 +9,6 @@ exports.StatusRating = [
|
|
|
9
9
|
{ value: 4, text: 'Non concerné', color: 'skyblue' },
|
|
10
10
|
{ value: 5, text: 'Résolu', color: 'green' },
|
|
11
11
|
{ value: 6, text: 'En cours', color: 'orange' },
|
|
12
|
+
{ value: 7, text: 'Sans solution', color: 'red' },
|
|
12
13
|
];
|
|
13
14
|
//# sourceMappingURL=StatusRating.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusRating.js","sourceRoot":"","sources":["../../../../ts/types/Enum/StatusRating.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;IAC1B,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;IACzB,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,OAAO,EAAE;IAClD,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,OAAO,EAAE;IACnD,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,KAAK,EAAE;IACtD,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,SAAS,EAAE;IACpD,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE;IAC5C,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"StatusRating.js","sourceRoot":"","sources":["../../../../ts/types/Enum/StatusRating.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;IAC1B,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;IACzB,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,OAAO,EAAE;IAClD,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,OAAO,EAAE;IACnD,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,KAAK,EAAE;IACtD,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,SAAS,EAAE;IACpD,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE;IAC5C,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE;IAC/C,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,KAAK,EAAE;CAClD,CAAC","sourcesContent":["export const StatusRating = [\n { value: 0, text: 'Non' },\n { value: 1, text: 'Avis modifié', color: 'green' },\n { value: 2, text: 'Avis supprimé', color: 'green' },\n { value: 3, text: 'Refus de supprimer', color: 'red' },\n { value: 4, text: 'Non concerné', color: 'skyblue' },\n { value: 5, text: 'Résolu', color: 'green' },\n { value: 6, text: 'En cours', color: 'orange' },\n { value: 7, text: 'Sans solution', color: 'red' },\n];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateMobile.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mobile/UpdateMobile.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UpdateMobile.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mobile/UpdateMobile.ts"],"names":[],"mappings":"AAGA,qBAAa,gBAAgB;IAI3B,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAK7B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -10,12 +10,45 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.UpdateMobileForm = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
13
14
|
const utils_1 = require("../../../../utils");
|
|
14
15
|
class UpdateMobileForm {
|
|
15
16
|
}
|
|
16
17
|
exports.UpdateMobileForm = UpdateMobileForm;
|
|
17
18
|
__decorate([
|
|
18
19
|
(0, utils_1.ApiPropertyOptional)(),
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
(0, class_validator_1.IsOptional)(),
|
|
19
22
|
__metadata("design:type", String)
|
|
20
23
|
], UpdateMobileForm.prototype, "token", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], UpdateMobileForm.prototype, "appVersion", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
32
|
+
(0, class_validator_1.IsString)(),
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], UpdateMobileForm.prototype, "appBuildNumber", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
(0, class_validator_1.IsOptional)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], UpdateMobileForm.prototype, "deviceBrand", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
44
|
+
(0, class_validator_1.IsString)(),
|
|
45
|
+
(0, class_validator_1.IsOptional)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], UpdateMobileForm.prototype, "deviceSystemVersion", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
50
|
+
(0, class_validator_1.IsString)(),
|
|
51
|
+
(0, class_validator_1.IsOptional)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], UpdateMobileForm.prototype, "deviceId", void 0);
|
|
21
54
|
//# sourceMappingURL=UpdateMobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateMobile.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mobile/UpdateMobile.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAwD;AAExD,MAAa,gBAAgB;
|
|
1
|
+
{"version":3,"file":"UpdateMobile.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mobile/UpdateMobile.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,6CAAwD;AAExD,MAAa,gBAAgB;CA8B5B;AA9BD,4CA8BC;AA1BC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACE;AAKf;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACO;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACW;AAKxB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACgB;AAK7B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACK","sourcesContent":["import { IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class UpdateMobileForm {\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n token?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n appVersion?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n appBuildNumber?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n deviceBrand?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n deviceSystemVersion?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n deviceId?: string;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadTaxDeadline.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,QAAQ,EAAE,qBAAqB,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AACxH,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,qBAAa,eAAe;IAC1B,OAAO,EAAE;QACP,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,YAAY,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;QACjC,WAAW,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;QAC/B,YAAY,CAAC,EAAE,O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rB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadTaxDeadline.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts"],"names":[],"mappings":";;;AAYA,MAAa,eAAe;CAqC3B;AArCD,0CAqCC;AAED,MAAa,YAAY;CAGxB;AAHD,oCAGC;AACD,MAAa,yBAAyB;CAGrC;AAHD,8DAGC;AAED,MAAa,kCAAkC;
|
|
1
|
+
{"version":3,"file":"ReadTaxDeadline.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts"],"names":[],"mappings":";;;AAYA,MAAa,eAAe;CAqC3B;AArCD,0CAqCC;AAED,MAAa,YAAY;CAGxB;AAHD,oCAGC;AACD,MAAa,yBAAyB;CAGrC;AAHD,8DAGC;AAED,MAAa,kCAAkC;CAO9C;AAPD,gFAOC;AAED,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,MAAa,eAAe;CAmB3B;AAnBD,0CAmBC","sourcesContent":["import { IExercice } from '../../models/IExercice';\nimport { ComptaType } from '../../../Enum/ComptaType';\nimport { VatRegime } from '../../../Enum/VatRegime';\nimport { IBalanceSheet } from '../../models/IBalanceSheet';\nimport { ISupervision } from '../../models/ISupervision';\nimport { IExerciceDetail } from '../../models/IExerciceDetail';\nimport { IFile } from '../../models/IFile';\nimport { IUser } from '../../models/IUser';\nimport { ITerminationList } from '../../models/ITerminationList';\nimport { UnpaidDetail, IPendingPoint, ISociety, ReadChecklistDeadline, IRegistration, VatDeadlineType } from '../../..';\nimport { ICustomerVat } from '../../models/ICustomerVat';\n\nexport class ReadTaxDeadline {\n society: {\n id?: number;\n name?: string | null;\n idComptaType?: ComptaType | null;\n idVatRegime?: VatRegime | null;\n isWaitingEnd?: boolean | null;\n idTypeBrand?: number | null;\n vatUploadDay?: number | null;\n terminationsList?: ITerminationList | null;\n unpaid?: number | null;\n unpaidDetails?: UnpaidDetail[];\n isLate?: boolean;\n };\n accountant: IUser;\n exercice: IExercice;\n exercices: IExercice[];\n exerciceDetails: IExerciceDetail | null;\n customersVat: ICustomerVat[];\n commercial: IUser | null;\n balanceSheet: IBalanceSheet | null;\n supervision: ISupervision | null;\n pendingPoints: IPendingPoint[] | null;\n letter: IFile | null;\n prestations: PrestationTaxDeadline[];\n activePrestationsComplementary: ComplementaryPrestationTaxDeadline[];\n statistics: {\n // turnovers: ISocietyStat[];\n transactions: {\n annoted: number;\n total: number;\n };\n entries: {\n revised: number;\n total: number;\n };\n };\n}\n\nexport class StateDetails {\n date: string;\n total: number;\n}\nexport class ReadTaxDeadlineStatistics {\n todo: { total: number; details: StateDetails[] };\n accepted: { total: number; details: StateDetails[] };\n}\n\nexport class ComplementaryPrestationTaxDeadline {\n id: number;\n signed: boolean;\n paid: boolean;\n name: string;\n isBack: boolean;\n idPrestationList: number;\n}\n\nexport class PrestationTaxDeadline {\n id: number;\n name: string;\n amount: number;\n paid: number;\n isBack: boolean;\n signed: boolean;\n terminationList: ITerminationList | null;\n}\n\nexport class ReadVatDeadline {\n society: ISociety;\n stats: {\n annotated: number | null;\n revised: number | null;\n };\n users: IUser[];\n exercice: IExercice;\n checklists: ReadChecklistDeadline[];\n vat: ICustomerVat | null;\n registration: IRegistration;\n type: {\n id: VatDeadlineType;\n operations?: Array<{ id: number; label: string; dateValue: Date; amount: number }>;\n turnover?: number;\n limit?: number;\n businessLine?: string;\n };\n hasComment: boolean;\n}\n"]}
|
|
@@ -80,8 +80,9 @@ __decorate([
|
|
|
80
80
|
__metadata("design:type", String)
|
|
81
81
|
], QueryVatEntry.prototype, "type", void 0);
|
|
82
82
|
__decorate([
|
|
83
|
-
(0, decorators_1.ApiPropertyOptional)()
|
|
84
|
-
|
|
83
|
+
(0, decorators_1.ApiPropertyOptional)()
|
|
84
|
+
// @IsIn(Object.values(CerfaType))
|
|
85
|
+
,
|
|
85
86
|
(0, class_validator_1.IsOptional)(),
|
|
86
87
|
__metadata("design:type", Number)
|
|
87
88
|
], QueryVatEntry.prototype, "idCerfaType", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryVatDeclaration.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqG;AACrG,uDAAoD;AACpD,6DAAgF;AAEhF,MAAa,2BAA2B;CAQvC;AARD,kEAQC;AALC;IAFC,IAAA,wBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;6DACE;AAIjB;IAFC,IAAA,wBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;gEACS;AAGtB,MAAa,sBAAsB;CAclC;AAdD,wDAcC;AAXC;IAFC,IAAA,wBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;kDACA;AAKX;IAHC,IAAA,gCAAmB,GAAE;IACrB,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;yDACM;AAKnB;IAHC,IAAA,gCAAmB,GAAE;IACrB,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;uDACI;AAGnB,MAAa,mBAAmB;CAS/B;AATD,kDASC;AALC;IAHC,IAAA,gCAAmB,GAAE;IACrB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACK,IAAI;4DAAC;AAIvB;IAFC,IAAA,wBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,qBAAS,CAAC;;wDACK;AAGzB,MAAa,aAAa;CAmBzB;AAnBD,sCAmBC;AAhBC;IAFC,IAAA,wBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;gDACG;AAIlB;IAFC,IAAA,wBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;8CACC;AAKhB;IAHC,IAAA,wBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACqB;AAMlC;IAHC,IAAA,gCAAmB,GAAE;
|
|
1
|
+
{"version":3,"file":"QueryVatDeclaration.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqG;AACrG,uDAAoD;AACpD,6DAAgF;AAEhF,MAAa,2BAA2B;CAQvC;AARD,kEAQC;AALC;IAFC,IAAA,wBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;6DACE;AAIjB;IAFC,IAAA,wBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;gEACS;AAGtB,MAAa,sBAAsB;CAclC;AAdD,wDAcC;AAXC;IAFC,IAAA,wBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;kDACA;AAKX;IAHC,IAAA,gCAAmB,GAAE;IACrB,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;yDACM;AAKnB;IAHC,IAAA,gCAAmB,GAAE;IACrB,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;uDACI;AAGnB,MAAa,mBAAmB;CAS/B;AATD,kDASC;AALC;IAHC,IAAA,gCAAmB,GAAE;IACrB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACK,IAAI;4DAAC;AAIvB;IAFC,IAAA,wBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,qBAAS,CAAC;;wDACK;AAGzB,MAAa,aAAa;CAmBzB;AAnBD,sCAmBC;AAhBC;IAFC,IAAA,wBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;gDACG;AAIlB;IAFC,IAAA,wBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;8CACC;AAKhB;IAHC,IAAA,wBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACqB;AAMlC;IAHC,IAAA,gCAAmB,GAAE;IACtB,kCAAkC;;IACjC,IAAA,4BAAU,GAAE;;kDACW","sourcesContent":["import { IsDate, IsDateString, IsEnum, IsIn, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { CerfaType } from '../../../Enum/CerfaType';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';\n\nexport class QueryPreviousVatDeclaration {\n @ApiProperty()\n @IsDateString()\n fromDate: string;\n\n @ApiProperty()\n @IsNumber()\n idCerfaType: number;\n}\n\nexport class QueryVatMigrationEntry {\n @ApiProperty()\n @IsNumber()\n id: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n startDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n endDate?: string;\n}\n\nexport class QueryVatDeclaration {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n declarationDate?: Date;\n\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: CerfaType;\n}\n\nexport class QueryVatEntry {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @IsString()\n @IsOptional()\n type?: 'collected' | 'deductible';\n\n // TODO: Passer le paramètre en requis une fois le front mis à jour\n @ApiPropertyOptional()\n // @IsIn(Object.values(CerfaType))\n @IsOptional()\n idCerfaType?: CerfaType;\n}\n"]}
|
|
@@ -4,6 +4,11 @@ export interface IMobile {
|
|
|
4
4
|
lastConnection: Date | null;
|
|
5
5
|
firstConnection: Date | null;
|
|
6
6
|
token: string | null;
|
|
7
|
+
appVersion: string | null;
|
|
8
|
+
appBuildNumber: string | null;
|
|
9
|
+
deviceBrand: string | null;
|
|
10
|
+
deviceSystemVersion: string | null;
|
|
11
|
+
deviceId: string | null;
|
|
7
12
|
idUser: number;
|
|
8
13
|
createdAt?: Date | null;
|
|
9
14
|
updatedAt?: Date | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IMobile.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IMobile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,MAAM,WAAW,OAAO;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,IAAI,GAAG,IAAI,CAAC;IAC5B,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,IAAI,CAAC,EAAE,KAAK,CAAC;CACd"}
|
|
1
|
+
{"version":3,"file":"IMobile.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IMobile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,MAAM,WAAW,OAAO;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,IAAI,GAAG,IAAI,CAAC;IAC5B,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,IAAI,CAAC,EAAE,KAAK,CAAC;CACd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IMobile.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IMobile.ts"],"names":[],"mappings":"","sourcesContent":["import { IUser } from './IUser';\n\nexport interface IMobile {\n id?: number;\n lastConnection: Date | null;\n firstConnection: Date | null;\n token: string | null;\n idUser: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n user?: IUser;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IMobile.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IMobile.ts"],"names":[],"mappings":"","sourcesContent":["import { IUser } from './IUser';\n\nexport interface IMobile {\n id?: number;\n lastConnection: Date | null;\n firstConnection: Date | null;\n token: string | null;\n appVersion: string | null;\n appBuildNumber: string | null;\n deviceBrand: string | null;\n deviceSystemVersion: string | null;\n deviceId: string | null;\n idUser: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n user?: IUser;\n}\n"]}
|
|
@@ -82,7 +82,7 @@ exports.bodyTemplate = `<html class="pdf-content">
|
|
|
82
82
|
<% if (disableVat !== true && vats.length) { %>
|
|
83
83
|
${commonTemplate.vatRecapitulation}
|
|
84
84
|
<% } %>
|
|
85
|
-
<% if (vatMention) { %><div class="vat-mention <%= disableVat !== true ? 'mt-20' : ''%>"><%= vatMention %></div><% } %>
|
|
85
|
+
<% if (vatMention && vatMention !== 'TVA: Non concerné') { %><div class="vat-mention <%= disableVat !== true ? 'mt-20' : ''%>"><%= vatMention %></div><% } %>
|
|
86
86
|
<% if (comment) { %>
|
|
87
87
|
<p class="mt-20"><%= languageTemplate.template.common.options.comment %> :<br/>
|
|
88
88
|
<%- comment %>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"body.js","sourceRoot":"","sources":["../../../../../ts/utils/commercialManagement/templates/body.ts"],"names":[],"mappings":";;;AAAA,yEAA0E;AAC1E,qCAAwD;AAExD,MAAM,cAAc,GAAG,IAAI,qCAA4B,EAAE,CAAC;AAE1D,MAAM,cAAc,GAAG;;;YAGX,cAAc,CAAC,IAAI;YACnB,cAAc,CAAC,OAAO;;;4CAGU,cAAc,CAAC,OAAO;UACxD,cAAc,CAAC,IAAI;;;;;;;yCAOY,qCAAmB,CAAC,GAAG;;gDAEhB,qCAAmB,CAAC,KAAK;;gDAEzB,qCAAmB,CAAC,OAAO;;gDAE3B,qCAAmB,CAAC,KAAK;;gDAEzB,qCAAmB,CAAC,KAAK;;gDAEzB,qCAAmB,CAAC,OAAO;;;;;mDAKxB,qCAAmB,CAAC,OAAO;;oBAE1D,qCAAmB,CAAC,GAAG,KAAK,qCAAmB,CAAC,KAAK;;;;;;;2DAOd,qCAAmB,CAAC,OAAO;;;;kDAIpC,qCAAmB,CAAC,GAAG,KAAK,qCAAmB,CAAC,KAAK;;;;;;;;;;;;;;;;;SAiB9F,CAAC;AAEG,QAAA,YAAY,GAAG;;;;IAIxB,cAAc;;;;;;6BAMW,cAAc,CAAC,QAAQ;;;;;YAKxC,cAAc,CAAC,iBAAiB;;;;;;;;;;UAUlC,cAAc,CAAC,oBAAoB;;sCAEP,qCAAmB,CAAC,GAAG,KAAK,qCAAmB,CAAC,KAAK;8DAC7B,cAAc,CAAC,aAAa;;;;;;;;;;;;;;;;;;wEAkBlB,qCAAmB,CAAC,KAAK,iCAAiC,qCAAmB,CAAC,GAAG;;;;;;;;;;;QAWjJ,cAAc,CAAC,KAAK;;;QAGpB,cAAc,CAAC,YAAY;;QAE3B,CAAC","sourcesContent":["import { EstimateInvoiceType } from '../../../types/Enum/EstimateInvoice';\nimport { CommercialDocumentCommonHTML } from './common';\n\nconst commonTemplate = new CommercialDocumentCommonHTML();\n\nconst headOfDocument = `<div class=\"row space-between\">\n <% if (settings && settings.logoAlignment === 'left') { %>\n <div class=\"society-informations\">\n ${commonTemplate.logo}\n ${commonTemplate.company}\n </div>\n <% } else { %>\n <div class=\"society-informations\">${commonTemplate.company}</div>\n ${commonTemplate.logo}\n <% } %>\n </div>\n\n <div class=\"row space-between items-end\" style=\"margin-top: 10px\">\n <div style=\"width: 45%; margin-top: auto;\">\n <span class=\"document-reference\">\n <% if (idEstimateInvoiceType === ${EstimateInvoiceType.BON}) { %>\n <%= languageTemplate.template.orderForm.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.DEVIS}) { %>\n <%= languageTemplate.template.estimate.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.FACTURE}) { %>\n <%= languageTemplate.template.invoice.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.AVOIR}) { %>\n <%= languageTemplate.template.asset.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.RESTE}) { %>\n <%= languageTemplate.template.remainder.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) { %>\n <%= languageTemplate.template.deposit.headers.title %>\n <% } %>\n <%= reference %></span><br/>\n <% if(emissionDate) {%><span class=\"document-emission-date\"> <%= languageTemplate.template.common.headers.emissionDate %> : <%= emissionDateFormatted %></span><br/><% } %>\n <% if(dueDate && idEstimateInvoiceType !== ${EstimateInvoiceType.ACOMPTE}) {%>\n <span class=\"document-due-date\">\n <% if ([${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType)) {%>\n <%= languageTemplate.template.estimate.headers.dueDate %> :\n <% } else { %>\n <%= languageTemplate.template.invoice.headers.dueDate %> :\n <% } %>\n <%= dueDateFormatted %></span>\n <% } %>\n <% if (expirationDate && idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) {%>\n <span class=\"document-due-date\"><%= languageTemplate.template.deposit.headers.expirationDate %> : : <%= expirationDateFormatted %></span>\n <% } %>\n <% if(termsOfPayment) { %>\n <br/><p style=\"margin-bottom: 0px;\"><%= [${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType) ? languageTemplate.template.estimate.headers.termsOfPayment : languageTemplate.template.invoice.headers.termsOfPayment %> : <%= termsOfPayment %></p>\n <% } %>\n </div>\n <div style=\"width: 40%; margin-top: auto;\">\n <p></p>\n <% if (thirdParty) { %>\n <div class=\"<%= settings && settings.isCoordinatesFrameDisplayed ? 'customer-border' : '' %>\">\n <% if(thirdParty.company) {%><b><%= thirdParty.company %></b><br/><% } %>\n <% if(thirdParty.fullname) {%><%= thirdParty.fullname %><br/><% } %>\n <% if(thirdParty.address) {%><%= thirdParty.address %><br/><% } %>\n <% if(thirdParty.zipCode) {%><%= thirdParty.zipCode + ' ' %><% } %><%= thirdParty.city %> <%= thirdParty.country %><br/>\n <% if(thirdParty.deliveryAddress && thirdParty.deliveryCity && thirdParty.deliveryZipCode) {%>Adresse de livraison : <%= thirdParty.deliveryAddress %> <%= thirdParty.deliveryZipCode %> <%= thirdParty.deliveryCity %> <%= thirdParty.deliveryCountry %><br/><% } %>\n <% if(thirdParty.nSiret) {%>SIRET : <%= thirdParty.nSiret %><br/><% } %>\n <% if(thirdParty.nTva) {%>N° TVA : <%= thirdParty.nTva %><% } %>\n </div>\n <% } %>\n </div>\n </div>`;\n\nexport const bodyTemplate = `<html class=\"pdf-content\">\n\n <body>\n\n ${headOfDocument}\n\n <div class=\"row mt-25\">\n <% if (title) { %><%=languageTemplate.template.common.headers.title %> : <%= title %><% } %>\n </div>\n\n <div class=\"row mt-10\">${commonTemplate.products}</div>\n\n <div class=\"row space-between mt-20\">\n <div style=\"width: 55%;\">\n <% if (disableVat !== true && vats.length) { %>\n ${commonTemplate.vatRecapitulation}\n <% } %>\n <% if (vatMention) { %><div class=\"vat-mention <%= disableVat !== true ? 'mt-20' : ''%>\"><%= vatMention %></div><% } %>\n <% if (comment) { %>\n <p class=\"mt-20\"><%= languageTemplate.template.common.options.comment %> :<br/>\n <%- comment %>\n <% } %>\n </div>\n\n <div>\n ${commonTemplate.amountRecapitulation}\n\n <% if (isStripeAllowed && ![${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType)) { %>\n <div style=\"text-align: right; margin-top: 30px;\">${commonTemplate.paymentButton}</div>\n <% } %>\n </div>\n \n </div>\n\n <% if ((settings && (settings.iban || settings.bic || settings.bank)) || paymentType) { %>\n <div class=\"row mt-30 space-between\" style=\"page-break-inside: avoid !important;\">\n <div>\n <% if ((settings && (settings.iban || settings.bic || settings.bank)) || paymentType) { %>\n <% if(paymentType) { %><%= languageTemplate.template.common.options.paymentType %> : <%= paymentType %><br/><% } %>\n <% if(settings.bank) { %><%= languageTemplate.template.common.options.bank %> : <%= settings.bank %><br/><% } %>\n <% if(settings.iban) { %>IBAN : <%= settings.iban %><br/><% } %>\n <% if(settings.bic) { %>BIC : <%= settings.bic %><% } %>\n <% } %>\n </div>\n </div>\n <% } %>\n <% if (settings && settings.bonPour && (idEstimateInvoiceType === ${EstimateInvoiceType.DEVIS} || idEstimateInvoiceType === ${EstimateInvoiceType.BON})) { %>\n <br/><%= languageTemplate.template.common.options.approval %> : <br/><br/><br/><br/>\n <% } %>\n\n <% if (cgv && (settings && settings.invoiceCgv)) { %>\n <br><div style=\"page-break-after:always;\"></div>\n <div id=\"WYSIWYG\"><%- cgv %></div>\n <% } %>\n </body>\n\n <style>\n ${commonTemplate.style}\n </style>\n <style>\n ${commonTemplate.styleWYSIWYG}\n </style>\n</html>`;\n"]}
|
|
1
|
+
{"version":3,"file":"body.js","sourceRoot":"","sources":["../../../../../ts/utils/commercialManagement/templates/body.ts"],"names":[],"mappings":";;;AAAA,yEAA0E;AAC1E,qCAAwD;AAExD,MAAM,cAAc,GAAG,IAAI,qCAA4B,EAAE,CAAC;AAE1D,MAAM,cAAc,GAAG;;;YAGX,cAAc,CAAC,IAAI;YACnB,cAAc,CAAC,OAAO;;;4CAGU,cAAc,CAAC,OAAO;UACxD,cAAc,CAAC,IAAI;;;;;;;yCAOY,qCAAmB,CAAC,GAAG;;gDAEhB,qCAAmB,CAAC,KAAK;;gDAEzB,qCAAmB,CAAC,OAAO;;gDAE3B,qCAAmB,CAAC,KAAK;;gDAEzB,qCAAmB,CAAC,KAAK;;gDAEzB,qCAAmB,CAAC,OAAO;;;;;mDAKxB,qCAAmB,CAAC,OAAO;;oBAE1D,qCAAmB,CAAC,GAAG,KAAK,qCAAmB,CAAC,KAAK;;;;;;;2DAOd,qCAAmB,CAAC,OAAO;;;;kDAIpC,qCAAmB,CAAC,GAAG,KAAK,qCAAmB,CAAC,KAAK;;;;;;;;;;;;;;;;;SAiB9F,CAAC;AAEG,QAAA,YAAY,GAAG;;;;IAIxB,cAAc;;;;;;6BAMW,cAAc,CAAC,QAAQ;;;;;YAKxC,cAAc,CAAC,iBAAiB;;;;;;;;;;UAUlC,cAAc,CAAC,oBAAoB;;sCAEP,qCAAmB,CAAC,GAAG,KAAK,qCAAmB,CAAC,KAAK;8DAC7B,cAAc,CAAC,aAAa;;;;;;;;;;;;;;;;;;wEAkBlB,qCAAmB,CAAC,KAAK,iCAAiC,qCAAmB,CAAC,GAAG;;;;;;;;;;;QAWjJ,cAAc,CAAC,KAAK;;;QAGpB,cAAc,CAAC,YAAY;;QAE3B,CAAC","sourcesContent":["import { EstimateInvoiceType } from '../../../types/Enum/EstimateInvoice';\nimport { CommercialDocumentCommonHTML } from './common';\n\nconst commonTemplate = new CommercialDocumentCommonHTML();\n\nconst headOfDocument = `<div class=\"row space-between\">\n <% if (settings && settings.logoAlignment === 'left') { %>\n <div class=\"society-informations\">\n ${commonTemplate.logo}\n ${commonTemplate.company}\n </div>\n <% } else { %>\n <div class=\"society-informations\">${commonTemplate.company}</div>\n ${commonTemplate.logo}\n <% } %>\n </div>\n\n <div class=\"row space-between items-end\" style=\"margin-top: 10px\">\n <div style=\"width: 45%; margin-top: auto;\">\n <span class=\"document-reference\">\n <% if (idEstimateInvoiceType === ${EstimateInvoiceType.BON}) { %>\n <%= languageTemplate.template.orderForm.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.DEVIS}) { %>\n <%= languageTemplate.template.estimate.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.FACTURE}) { %>\n <%= languageTemplate.template.invoice.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.AVOIR}) { %>\n <%= languageTemplate.template.asset.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.RESTE}) { %>\n <%= languageTemplate.template.remainder.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) { %>\n <%= languageTemplate.template.deposit.headers.title %>\n <% } %>\n <%= reference %></span><br/>\n <% if(emissionDate) {%><span class=\"document-emission-date\"> <%= languageTemplate.template.common.headers.emissionDate %> : <%= emissionDateFormatted %></span><br/><% } %>\n <% if(dueDate && idEstimateInvoiceType !== ${EstimateInvoiceType.ACOMPTE}) {%>\n <span class=\"document-due-date\">\n <% if ([${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType)) {%>\n <%= languageTemplate.template.estimate.headers.dueDate %> :\n <% } else { %>\n <%= languageTemplate.template.invoice.headers.dueDate %> :\n <% } %>\n <%= dueDateFormatted %></span>\n <% } %>\n <% if (expirationDate && idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) {%>\n <span class=\"document-due-date\"><%= languageTemplate.template.deposit.headers.expirationDate %> : : <%= expirationDateFormatted %></span>\n <% } %>\n <% if(termsOfPayment) { %>\n <br/><p style=\"margin-bottom: 0px;\"><%= [${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType) ? languageTemplate.template.estimate.headers.termsOfPayment : languageTemplate.template.invoice.headers.termsOfPayment %> : <%= termsOfPayment %></p>\n <% } %>\n </div>\n <div style=\"width: 40%; margin-top: auto;\">\n <p></p>\n <% if (thirdParty) { %>\n <div class=\"<%= settings && settings.isCoordinatesFrameDisplayed ? 'customer-border' : '' %>\">\n <% if(thirdParty.company) {%><b><%= thirdParty.company %></b><br/><% } %>\n <% if(thirdParty.fullname) {%><%= thirdParty.fullname %><br/><% } %>\n <% if(thirdParty.address) {%><%= thirdParty.address %><br/><% } %>\n <% if(thirdParty.zipCode) {%><%= thirdParty.zipCode + ' ' %><% } %><%= thirdParty.city %> <%= thirdParty.country %><br/>\n <% if(thirdParty.deliveryAddress && thirdParty.deliveryCity && thirdParty.deliveryZipCode) {%>Adresse de livraison : <%= thirdParty.deliveryAddress %> <%= thirdParty.deliveryZipCode %> <%= thirdParty.deliveryCity %> <%= thirdParty.deliveryCountry %><br/><% } %>\n <% if(thirdParty.nSiret) {%>SIRET : <%= thirdParty.nSiret %><br/><% } %>\n <% if(thirdParty.nTva) {%>N° TVA : <%= thirdParty.nTva %><% } %>\n </div>\n <% } %>\n </div>\n </div>`;\n\nexport const bodyTemplate = `<html class=\"pdf-content\">\n\n <body>\n\n ${headOfDocument}\n\n <div class=\"row mt-25\">\n <% if (title) { %><%=languageTemplate.template.common.headers.title %> : <%= title %><% } %>\n </div>\n\n <div class=\"row mt-10\">${commonTemplate.products}</div>\n\n <div class=\"row space-between mt-20\">\n <div style=\"width: 55%;\">\n <% if (disableVat !== true && vats.length) { %>\n ${commonTemplate.vatRecapitulation}\n <% } %>\n <% if (vatMention && vatMention !== 'TVA: Non concerné') { %><div class=\"vat-mention <%= disableVat !== true ? 'mt-20' : ''%>\"><%= vatMention %></div><% } %>\n <% if (comment) { %>\n <p class=\"mt-20\"><%= languageTemplate.template.common.options.comment %> :<br/>\n <%- comment %>\n <% } %>\n </div>\n\n <div>\n ${commonTemplate.amountRecapitulation}\n\n <% if (isStripeAllowed && ![${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType)) { %>\n <div style=\"text-align: right; margin-top: 30px;\">${commonTemplate.paymentButton}</div>\n <% } %>\n </div>\n \n </div>\n\n <% if ((settings && (settings.iban || settings.bic || settings.bank)) || paymentType) { %>\n <div class=\"row mt-30 space-between\" style=\"page-break-inside: avoid !important;\">\n <div>\n <% if ((settings && (settings.iban || settings.bic || settings.bank)) || paymentType) { %>\n <% if(paymentType) { %><%= languageTemplate.template.common.options.paymentType %> : <%= paymentType %><br/><% } %>\n <% if(settings.bank) { %><%= languageTemplate.template.common.options.bank %> : <%= settings.bank %><br/><% } %>\n <% if(settings.iban) { %>IBAN : <%= settings.iban %><br/><% } %>\n <% if(settings.bic) { %>BIC : <%= settings.bic %><% } %>\n <% } %>\n </div>\n </div>\n <% } %>\n <% if (settings && settings.bonPour && (idEstimateInvoiceType === ${EstimateInvoiceType.DEVIS} || idEstimateInvoiceType === ${EstimateInvoiceType.BON})) { %>\n <br/><%= languageTemplate.template.common.options.approval %> : <br/><br/><br/><br/>\n <% } %>\n\n <% if (cgv && (settings && settings.invoiceCgv)) { %>\n <br><div style=\"page-break-after:always;\"></div>\n <div id=\"WYSIWYG\"><%- cgv %></div>\n <% } %>\n </body>\n\n <style>\n ${commonTemplate.style}\n </style>\n <style>\n ${commonTemplate.styleWYSIWYG}\n </style>\n</html>`;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusRating.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/StatusRating.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;
|
|
1
|
+
{"version":3,"file":"StatusRating.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/StatusRating.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;IASxB,CAAC"}
|
|
@@ -6,5 +6,6 @@ export const StatusRating = [
|
|
|
6
6
|
{ value: 4, text: 'Non concerné', color: 'skyblue' },
|
|
7
7
|
{ value: 5, text: 'Résolu', color: 'green' },
|
|
8
8
|
{ value: 6, text: 'En cours', color: 'orange' },
|
|
9
|
+
{ value: 7, text: 'Sans solution', color: 'red' },
|
|
9
10
|
];
|
|
10
11
|
//# sourceMappingURL=StatusRating.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusRating.js","sourceRoot":"","sources":["../../../../ts/types/Enum/StatusRating.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;IACzB,EAAE,KAAK,EAAE,CAAC,EAAE,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AAE,KAAK,EAAE,KAAK,EAAE;CAClD,CAAC","sourcesContent":["export const StatusRating = [\n { value: 0, text: 'Non' },\n { value: 1, text: 'Avis modifié', color: 'green' },\n { value: 2, text: 'Avis supprimé', color: 'green' },\n { value: 3, text: 'Refus de supprimer', color: 'red' },\n { value: 4, text: 'Non concerné', color: 'skyblue' },\n { value: 5, text: 'Résolu', color: 'green' },\n { value: 6, text: 'En cours', color: 'orange' },\n { value: 7, text: 'Sans solution', color: 'red' },\n];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateMobile.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mobile/UpdateMobile.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UpdateMobile.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mobile/UpdateMobile.ts"],"names":[],"mappings":"AAGA,qBAAa,gBAAgB;IAI3B,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAK7B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -7,12 +7,50 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
+
import { IsOptional, IsString } from 'class-validator';
|
|
10
11
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
11
12
|
export class UpdateMobileForm {
|
|
12
13
|
token;
|
|
14
|
+
appVersion;
|
|
15
|
+
appBuildNumber;
|
|
16
|
+
deviceBrand;
|
|
17
|
+
deviceSystemVersion;
|
|
18
|
+
deviceId;
|
|
13
19
|
}
|
|
14
20
|
__decorate([
|
|
15
21
|
ApiPropertyOptional(),
|
|
22
|
+
IsString(),
|
|
23
|
+
IsOptional(),
|
|
16
24
|
__metadata("design:type", String)
|
|
17
25
|
], UpdateMobileForm.prototype, "token", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
ApiPropertyOptional(),
|
|
28
|
+
IsString(),
|
|
29
|
+
IsOptional(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], UpdateMobileForm.prototype, "appVersion", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
ApiPropertyOptional(),
|
|
34
|
+
IsString(),
|
|
35
|
+
IsOptional(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], UpdateMobileForm.prototype, "appBuildNumber", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
ApiPropertyOptional(),
|
|
40
|
+
IsString(),
|
|
41
|
+
IsOptional(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], UpdateMobileForm.prototype, "deviceBrand", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
ApiPropertyOptional(),
|
|
46
|
+
IsString(),
|
|
47
|
+
IsOptional(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], UpdateMobileForm.prototype, "deviceSystemVersion", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
ApiPropertyOptional(),
|
|
52
|
+
IsString(),
|
|
53
|
+
IsOptional(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], UpdateMobileForm.prototype, "deviceId", void 0);
|
|
18
56
|
//# sourceMappingURL=UpdateMobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateMobile.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mobile/UpdateMobile.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,gBAAgB;
|
|
1
|
+
{"version":3,"file":"UpdateMobile.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mobile/UpdateMobile.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,gBAAgB;IAI3B,KAAK,CAAU;IAKf,UAAU,CAAU;IAKpB,cAAc,CAAU;IAKxB,WAAW,CAAU;IAKrB,mBAAmB,CAAU;IAK7B,QAAQ,CAAU;CACnB;AA1BC;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;+CACE;AAKf;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;oDACO;AAKpB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;wDACW;AAKxB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;qDACQ;AAKrB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;6DACgB;AAK7B;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;kDACK","sourcesContent":["import { IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class UpdateMobileForm {\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n token?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n appVersion?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n appBuildNumber?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n deviceBrand?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n deviceSystemVersion?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n deviceId?: string;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"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AC1B;AAED,qBAAa,qBAAqB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,eAAe,EAAE,gBAAgB,GAAG,IAAI,CAAC;CAC1C;AAED,qBAAa,eAAe;IAC1B,OAAO,EAAE,QAAQ,CAAC;IAClB,KAAK,EAAE;QACL,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;KACxB,CAAC;IACF,KAAK,EAAE,KAAK,EAAE,CAAC;IACf,QAAQ,EAAE,SAAS,CAAC;IACpB,UAAU,EAAE,qBAAqB,EAAE,CAAC;IACpC,GAAG,EAAE,YAAY,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,aAAa,CAAC;IAC5B,IAAI,EAAE;QACJ,EAAE,EAAE,eAAe,CAAC;QACpB,UAAU,CAAC,EAAE,KAAK,CAAC;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAC;YAAC,SAAS,EAAE,IAAI,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;QACnF,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,UAAU,EAAE,OAAO,CAAC;CACrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadTaxDeadline.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts"],"names":[],"mappings":"AAYA,MAAM,OAAO,eAAe;IAC1B,OAAO,CAYL;IACF,UAAU,CAAQ;IAClB,QAAQ,CAAY;IACpB,SAAS,CAAc;IACvB,eAAe,CAAyB;IACxC,YAAY,CAAiB;IAC7B,UAAU,CAAe;IACzB,YAAY,CAAuB;IACnC,WAAW,CAAsB;IACjC,aAAa,CAAyB;IACtC,MAAM,CAAe;IACrB,WAAW,CAA0B;IACrC,8BAA8B,CAAuC;IACrE,UAAU,CAUR;CACH;AAED,MAAM,OAAO,YAAY;IACvB,IAAI,CAAS;IACb,KAAK,CAAS;CACf;AACD,MAAM,OAAO,yBAAyB;IACpC,IAAI,CAA6C;IACjD,QAAQ,CAA6C;CACtD;AAED,MAAM,OAAO,kCAAkC;IAC7C,EAAE,CAAS;IACX,MAAM,CAAU;IAChB,IAAI,CAAU;IACd,IAAI,CAAS;IACb,MAAM,CAAU;
|
|
1
|
+
{"version":3,"file":"ReadTaxDeadline.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts"],"names":[],"mappings":"AAYA,MAAM,OAAO,eAAe;IAC1B,OAAO,CAYL;IACF,UAAU,CAAQ;IAClB,QAAQ,CAAY;IACpB,SAAS,CAAc;IACvB,eAAe,CAAyB;IACxC,YAAY,CAAiB;IAC7B,UAAU,CAAe;IACzB,YAAY,CAAuB;IACnC,WAAW,CAAsB;IACjC,aAAa,CAAyB;IACtC,MAAM,CAAe;IACrB,WAAW,CAA0B;IACrC,8BAA8B,CAAuC;IACrE,UAAU,CAUR;CACH;AAED,MAAM,OAAO,YAAY;IACvB,IAAI,CAAS;IACb,KAAK,CAAS;CACf;AACD,MAAM,OAAO,yBAAyB;IACpC,IAAI,CAA6C;IACjD,QAAQ,CAA6C;CACtD;AAED,MAAM,OAAO,kCAAkC;IAC7C,EAAE,CAAS;IACX,MAAM,CAAU;IAChB,IAAI,CAAU;IACd,IAAI,CAAS;IACb,MAAM,CAAU;IAChB,gBAAgB,CAAS;CAC1B;AAED,MAAM,OAAO,qBAAqB;IAChC,EAAE,CAAS;IACX,IAAI,CAAS;IACb,MAAM,CAAS;IACf,IAAI,CAAS;IACb,MAAM,CAAU;IAChB,MAAM,CAAU;IAChB,eAAe,CAA0B;CAC1C;AAED,MAAM,OAAO,eAAe;IAC1B,OAAO,CAAW;IAClB,KAAK,CAGH;IACF,KAAK,CAAU;IACf,QAAQ,CAAY;IACpB,UAAU,CAA0B;IACpC,GAAG,CAAsB;IACzB,YAAY,CAAgB;IAC5B,IAAI,CAMF;IACF,UAAU,CAAU;CACrB","sourcesContent":["import { IExercice } from '../../models/IExercice';\nimport { ComptaType } from '../../../Enum/ComptaType';\nimport { VatRegime } from '../../../Enum/VatRegime';\nimport { IBalanceSheet } from '../../models/IBalanceSheet';\nimport { ISupervision } from '../../models/ISupervision';\nimport { IExerciceDetail } from '../../models/IExerciceDetail';\nimport { IFile } from '../../models/IFile';\nimport { IUser } from '../../models/IUser';\nimport { ITerminationList } from '../../models/ITerminationList';\nimport { UnpaidDetail, IPendingPoint, ISociety, ReadChecklistDeadline, IRegistration, VatDeadlineType } from '../../..';\nimport { ICustomerVat } from '../../models/ICustomerVat';\n\nexport class ReadTaxDeadline {\n society: {\n id?: number;\n name?: string | null;\n idComptaType?: ComptaType | null;\n idVatRegime?: VatRegime | null;\n isWaitingEnd?: boolean | null;\n idTypeBrand?: number | null;\n vatUploadDay?: number | null;\n terminationsList?: ITerminationList | null;\n unpaid?: number | null;\n unpaidDetails?: UnpaidDetail[];\n isLate?: boolean;\n };\n accountant: IUser;\n exercice: IExercice;\n exercices: IExercice[];\n exerciceDetails: IExerciceDetail | null;\n customersVat: ICustomerVat[];\n commercial: IUser | null;\n balanceSheet: IBalanceSheet | null;\n supervision: ISupervision | null;\n pendingPoints: IPendingPoint[] | null;\n letter: IFile | null;\n prestations: PrestationTaxDeadline[];\n activePrestationsComplementary: ComplementaryPrestationTaxDeadline[];\n statistics: {\n // turnovers: ISocietyStat[];\n transactions: {\n annoted: number;\n total: number;\n };\n entries: {\n revised: number;\n total: number;\n };\n };\n}\n\nexport class StateDetails {\n date: string;\n total: number;\n}\nexport class ReadTaxDeadlineStatistics {\n todo: { total: number; details: StateDetails[] };\n accepted: { total: number; details: StateDetails[] };\n}\n\nexport class ComplementaryPrestationTaxDeadline {\n id: number;\n signed: boolean;\n paid: boolean;\n name: string;\n isBack: boolean;\n idPrestationList: number;\n}\n\nexport class PrestationTaxDeadline {\n id: number;\n name: string;\n amount: number;\n paid: number;\n isBack: boolean;\n signed: boolean;\n terminationList: ITerminationList | null;\n}\n\nexport class ReadVatDeadline {\n society: ISociety;\n stats: {\n annotated: number | null;\n revised: number | null;\n };\n users: IUser[];\n exercice: IExercice;\n checklists: ReadChecklistDeadline[];\n vat: ICustomerVat | null;\n registration: IRegistration;\n type: {\n id: VatDeadlineType;\n operations?: Array<{ id: number; label: string; dateValue: Date; amount: number }>;\n turnover?: number;\n limit?: number;\n businessLine?: string;\n };\n hasComment: boolean;\n}\n"]}
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { IsDate, IsDateString, IsEnum,
|
|
10
|
+
import { IsDate, IsDateString, IsEnum, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
11
11
|
import { CerfaType } from '../../../Enum/CerfaType';
|
|
12
12
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';
|
|
13
13
|
export class QueryPreviousVatDeclaration {
|
|
@@ -85,8 +85,9 @@ __decorate([
|
|
|
85
85
|
__metadata("design:type", String)
|
|
86
86
|
], QueryVatEntry.prototype, "type", void 0);
|
|
87
87
|
__decorate([
|
|
88
|
-
ApiPropertyOptional()
|
|
89
|
-
IsIn(Object.values(CerfaType))
|
|
88
|
+
ApiPropertyOptional()
|
|
89
|
+
// @IsIn(Object.values(CerfaType))
|
|
90
|
+
,
|
|
90
91
|
IsOptional(),
|
|
91
92
|
__metadata("design:type", Number)
|
|
92
93
|
], QueryVatEntry.prototype, "idCerfaType", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryVatDeclaration.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"QueryVatDeclaration.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAQ,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACrG,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEhF,MAAM,OAAO,2BAA2B;IAGtC,QAAQ,CAAS;IAIjB,WAAW,CAAS;CACrB;AALC;IAFC,WAAW,EAAE;IACb,YAAY,EAAE;;6DACE;AAIjB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;gEACS;AAGtB,MAAM,OAAO,sBAAsB;IAGjC,EAAE,CAAS;IAKX,SAAS,CAAU;IAKnB,OAAO,CAAU;CAClB;AAXC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;kDACA;AAKX;IAHC,mBAAmB,EAAE;IACrB,YAAY,EAAE;IACd,UAAU,EAAE;;yDACM;AAKnB;IAHC,mBAAmB,EAAE;IACrB,YAAY,EAAE;IACd,UAAU,EAAE;;uDACI;AAGnB,MAAM,OAAO,mBAAmB;IAI9B,eAAe,CAAQ;IAIvB,WAAW,CAAY;CACxB;AALC;IAHC,mBAAmB,EAAE;IACrB,MAAM,EAAE;IACR,UAAU,EAAE;8BACK,IAAI;4DAAC;AAIvB;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,SAAS,CAAC;;wDACK;AAGzB,MAAM,OAAO,aAAa;IAGxB,SAAS,CAAS;IAIlB,OAAO,CAAS;IAKhB,IAAI,CAA8B;IAElC,mEAAmE;IAInE,WAAW,CAAa;CACzB;AAhBC;IAFC,WAAW,EAAE;IACb,YAAY,EAAE;;gDACG;AAIlB;IAFC,WAAW,EAAE;IACb,YAAY,EAAE;;8CACC;AAKhB;IAHC,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,UAAU,EAAE;;2CACqB;AAMlC;IAHC,mBAAmB,EAAE;IACtB,kCAAkC;;IACjC,UAAU,EAAE;;kDACW","sourcesContent":["import { IsDate, IsDateString, IsEnum, IsIn, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { CerfaType } from '../../../Enum/CerfaType';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';\n\nexport class QueryPreviousVatDeclaration {\n @ApiProperty()\n @IsDateString()\n fromDate: string;\n\n @ApiProperty()\n @IsNumber()\n idCerfaType: number;\n}\n\nexport class QueryVatMigrationEntry {\n @ApiProperty()\n @IsNumber()\n id: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n startDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n endDate?: string;\n}\n\nexport class QueryVatDeclaration {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n declarationDate?: Date;\n\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: CerfaType;\n}\n\nexport class QueryVatEntry {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @IsString()\n @IsOptional()\n type?: 'collected' | 'deductible';\n\n // TODO: Passer le paramètre en requis une fois le front mis à jour\n @ApiPropertyOptional()\n // @IsIn(Object.values(CerfaType))\n @IsOptional()\n idCerfaType?: CerfaType;\n}\n"]}
|
|
@@ -4,6 +4,11 @@ export interface IMobile {
|
|
|
4
4
|
lastConnection: Date | null;
|
|
5
5
|
firstConnection: Date | null;
|
|
6
6
|
token: string | null;
|
|
7
|
+
appVersion: string | null;
|
|
8
|
+
appBuildNumber: string | null;
|
|
9
|
+
deviceBrand: string | null;
|
|
10
|
+
deviceSystemVersion: string | null;
|
|
11
|
+
deviceId: string | null;
|
|
7
12
|
idUser: number;
|
|
8
13
|
createdAt?: Date | null;
|
|
9
14
|
updatedAt?: Date | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IMobile.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IMobile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,MAAM,WAAW,OAAO;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,IAAI,GAAG,IAAI,CAAC;IAC5B,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,IAAI,CAAC,EAAE,KAAK,CAAC;CACd"}
|
|
1
|
+
{"version":3,"file":"IMobile.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IMobile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,MAAM,WAAW,OAAO;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,IAAI,GAAG,IAAI,CAAC;IAC5B,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,IAAI,CAAC,EAAE,KAAK,CAAC;CACd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IMobile.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IMobile.ts"],"names":[],"mappings":"","sourcesContent":["import { IUser } from './IUser';\n\nexport interface IMobile {\n id?: number;\n lastConnection: Date | null;\n firstConnection: Date | null;\n token: string | null;\n idUser: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n user?: IUser;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IMobile.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IMobile.ts"],"names":[],"mappings":"","sourcesContent":["import { IUser } from './IUser';\n\nexport interface IMobile {\n id?: number;\n lastConnection: Date | null;\n firstConnection: Date | null;\n token: string | null;\n appVersion: string | null;\n appBuildNumber: string | null;\n deviceBrand: string | null;\n deviceSystemVersion: string | null;\n deviceId: string | null;\n idUser: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n user?: IUser;\n}\n"]}
|
|
@@ -79,7 +79,7 @@ export const bodyTemplate = `<html class="pdf-content">
|
|
|
79
79
|
<% if (disableVat !== true && vats.length) { %>
|
|
80
80
|
${commonTemplate.vatRecapitulation}
|
|
81
81
|
<% } %>
|
|
82
|
-
<% if (vatMention) { %><div class="vat-mention <%= disableVat !== true ? 'mt-20' : ''%>"><%= vatMention %></div><% } %>
|
|
82
|
+
<% if (vatMention && vatMention !== 'TVA: Non concerné') { %><div class="vat-mention <%= disableVat !== true ? 'mt-20' : ''%>"><%= vatMention %></div><% } %>
|
|
83
83
|
<% if (comment) { %>
|
|
84
84
|
<p class="mt-20"><%= languageTemplate.template.common.options.comment %> :<br/>
|
|
85
85
|
<%- comment %>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"body.js","sourceRoot":"","sources":["../../../../../ts/utils/commercialManagement/templates/body.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,cAAc,GAAG,IAAI,4BAA4B,EAAE,CAAC;AAE1D,MAAM,cAAc,GAAG;;;YAGX,cAAc,CAAC,IAAI;YACnB,cAAc,CAAC,OAAO;;;4CAGU,cAAc,CAAC,OAAO;UACxD,cAAc,CAAC,IAAI;;;;;;;yCAOY,mBAAmB,CAAC,GAAG;;gDAEhB,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,OAAO;;gDAE3B,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,OAAO;;;;;mDAKxB,mBAAmB,CAAC,OAAO;;oBAE1D,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;;;;;;;2DAOd,mBAAmB,CAAC,OAAO;;;;kDAIpC,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;;;;;;;;;;;;;;;;;SAiB9F,CAAC;AAEV,MAAM,CAAC,MAAM,YAAY,GAAG;;;;IAIxB,cAAc;;;;;;6BAMW,cAAc,CAAC,QAAQ;;;;;YAKxC,cAAc,CAAC,iBAAiB;;;;;;;;;;UAUlC,cAAc,CAAC,oBAAoB;;sCAEP,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;8DAC7B,cAAc,CAAC,aAAa;;;;;;;;;;;;;;;;;;wEAkBlB,mBAAmB,CAAC,KAAK,iCAAiC,mBAAmB,CAAC,GAAG;;;;;;;;;;;QAWjJ,cAAc,CAAC,KAAK;;;QAGpB,cAAc,CAAC,YAAY;;QAE3B,CAAC","sourcesContent":["import { EstimateInvoiceType } from '../../../types/Enum/EstimateInvoice';\nimport { CommercialDocumentCommonHTML } from './common';\n\nconst commonTemplate = new CommercialDocumentCommonHTML();\n\nconst headOfDocument = `<div class=\"row space-between\">\n <% if (settings && settings.logoAlignment === 'left') { %>\n <div class=\"society-informations\">\n ${commonTemplate.logo}\n ${commonTemplate.company}\n </div>\n <% } else { %>\n <div class=\"society-informations\">${commonTemplate.company}</div>\n ${commonTemplate.logo}\n <% } %>\n </div>\n\n <div class=\"row space-between items-end\" style=\"margin-top: 10px\">\n <div style=\"width: 45%; margin-top: auto;\">\n <span class=\"document-reference\">\n <% if (idEstimateInvoiceType === ${EstimateInvoiceType.BON}) { %>\n <%= languageTemplate.template.orderForm.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.DEVIS}) { %>\n <%= languageTemplate.template.estimate.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.FACTURE}) { %>\n <%= languageTemplate.template.invoice.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.AVOIR}) { %>\n <%= languageTemplate.template.asset.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.RESTE}) { %>\n <%= languageTemplate.template.remainder.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) { %>\n <%= languageTemplate.template.deposit.headers.title %>\n <% } %>\n <%= reference %></span><br/>\n <% if(emissionDate) {%><span class=\"document-emission-date\"> <%= languageTemplate.template.common.headers.emissionDate %> : <%= emissionDateFormatted %></span><br/><% } %>\n <% if(dueDate && idEstimateInvoiceType !== ${EstimateInvoiceType.ACOMPTE}) {%>\n <span class=\"document-due-date\">\n <% if ([${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType)) {%>\n <%= languageTemplate.template.estimate.headers.dueDate %> :\n <% } else { %>\n <%= languageTemplate.template.invoice.headers.dueDate %> :\n <% } %>\n <%= dueDateFormatted %></span>\n <% } %>\n <% if (expirationDate && idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) {%>\n <span class=\"document-due-date\"><%= languageTemplate.template.deposit.headers.expirationDate %> : : <%= expirationDateFormatted %></span>\n <% } %>\n <% if(termsOfPayment) { %>\n <br/><p style=\"margin-bottom: 0px;\"><%= [${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType) ? languageTemplate.template.estimate.headers.termsOfPayment : languageTemplate.template.invoice.headers.termsOfPayment %> : <%= termsOfPayment %></p>\n <% } %>\n </div>\n <div style=\"width: 40%; margin-top: auto;\">\n <p></p>\n <% if (thirdParty) { %>\n <div class=\"<%= settings && settings.isCoordinatesFrameDisplayed ? 'customer-border' : '' %>\">\n <% if(thirdParty.company) {%><b><%= thirdParty.company %></b><br/><% } %>\n <% if(thirdParty.fullname) {%><%= thirdParty.fullname %><br/><% } %>\n <% if(thirdParty.address) {%><%= thirdParty.address %><br/><% } %>\n <% if(thirdParty.zipCode) {%><%= thirdParty.zipCode + ' ' %><% } %><%= thirdParty.city %> <%= thirdParty.country %><br/>\n <% if(thirdParty.deliveryAddress && thirdParty.deliveryCity && thirdParty.deliveryZipCode) {%>Adresse de livraison : <%= thirdParty.deliveryAddress %> <%= thirdParty.deliveryZipCode %> <%= thirdParty.deliveryCity %> <%= thirdParty.deliveryCountry %><br/><% } %>\n <% if(thirdParty.nSiret) {%>SIRET : <%= thirdParty.nSiret %><br/><% } %>\n <% if(thirdParty.nTva) {%>N° TVA : <%= thirdParty.nTva %><% } %>\n </div>\n <% } %>\n </div>\n </div>`;\n\nexport const bodyTemplate = `<html class=\"pdf-content\">\n\n <body>\n\n ${headOfDocument}\n\n <div class=\"row mt-25\">\n <% if (title) { %><%=languageTemplate.template.common.headers.title %> : <%= title %><% } %>\n </div>\n\n <div class=\"row mt-10\">${commonTemplate.products}</div>\n\n <div class=\"row space-between mt-20\">\n <div style=\"width: 55%;\">\n <% if (disableVat !== true && vats.length) { %>\n ${commonTemplate.vatRecapitulation}\n <% } %>\n <% if (vatMention) { %><div class=\"vat-mention <%= disableVat !== true ? 'mt-20' : ''%>\"><%= vatMention %></div><% } %>\n <% if (comment) { %>\n <p class=\"mt-20\"><%= languageTemplate.template.common.options.comment %> :<br/>\n <%- comment %>\n <% } %>\n </div>\n\n <div>\n ${commonTemplate.amountRecapitulation}\n\n <% if (isStripeAllowed && ![${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType)) { %>\n <div style=\"text-align: right; margin-top: 30px;\">${commonTemplate.paymentButton}</div>\n <% } %>\n </div>\n \n </div>\n\n <% if ((settings && (settings.iban || settings.bic || settings.bank)) || paymentType) { %>\n <div class=\"row mt-30 space-between\" style=\"page-break-inside: avoid !important;\">\n <div>\n <% if ((settings && (settings.iban || settings.bic || settings.bank)) || paymentType) { %>\n <% if(paymentType) { %><%= languageTemplate.template.common.options.paymentType %> : <%= paymentType %><br/><% } %>\n <% if(settings.bank) { %><%= languageTemplate.template.common.options.bank %> : <%= settings.bank %><br/><% } %>\n <% if(settings.iban) { %>IBAN : <%= settings.iban %><br/><% } %>\n <% if(settings.bic) { %>BIC : <%= settings.bic %><% } %>\n <% } %>\n </div>\n </div>\n <% } %>\n <% if (settings && settings.bonPour && (idEstimateInvoiceType === ${EstimateInvoiceType.DEVIS} || idEstimateInvoiceType === ${EstimateInvoiceType.BON})) { %>\n <br/><%= languageTemplate.template.common.options.approval %> : <br/><br/><br/><br/>\n <% } %>\n\n <% if (cgv && (settings && settings.invoiceCgv)) { %>\n <br><div style=\"page-break-after:always;\"></div>\n <div id=\"WYSIWYG\"><%- cgv %></div>\n <% } %>\n </body>\n\n <style>\n ${commonTemplate.style}\n </style>\n <style>\n ${commonTemplate.styleWYSIWYG}\n </style>\n</html>`;\n"]}
|
|
1
|
+
{"version":3,"file":"body.js","sourceRoot":"","sources":["../../../../../ts/utils/commercialManagement/templates/body.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,cAAc,GAAG,IAAI,4BAA4B,EAAE,CAAC;AAE1D,MAAM,cAAc,GAAG;;;YAGX,cAAc,CAAC,IAAI;YACnB,cAAc,CAAC,OAAO;;;4CAGU,cAAc,CAAC,OAAO;UACxD,cAAc,CAAC,IAAI;;;;;;;yCAOY,mBAAmB,CAAC,GAAG;;gDAEhB,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,OAAO;;gDAE3B,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,OAAO;;;;;mDAKxB,mBAAmB,CAAC,OAAO;;oBAE1D,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;;;;;;;2DAOd,mBAAmB,CAAC,OAAO;;;;kDAIpC,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;;;;;;;;;;;;;;;;;SAiB9F,CAAC;AAEV,MAAM,CAAC,MAAM,YAAY,GAAG;;;;IAIxB,cAAc;;;;;;6BAMW,cAAc,CAAC,QAAQ;;;;;YAKxC,cAAc,CAAC,iBAAiB;;;;;;;;;;UAUlC,cAAc,CAAC,oBAAoB;;sCAEP,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;8DAC7B,cAAc,CAAC,aAAa;;;;;;;;;;;;;;;;;;wEAkBlB,mBAAmB,CAAC,KAAK,iCAAiC,mBAAmB,CAAC,GAAG;;;;;;;;;;;QAWjJ,cAAc,CAAC,KAAK;;;QAGpB,cAAc,CAAC,YAAY;;QAE3B,CAAC","sourcesContent":["import { EstimateInvoiceType } from '../../../types/Enum/EstimateInvoice';\nimport { CommercialDocumentCommonHTML } from './common';\n\nconst commonTemplate = new CommercialDocumentCommonHTML();\n\nconst headOfDocument = `<div class=\"row space-between\">\n <% if (settings && settings.logoAlignment === 'left') { %>\n <div class=\"society-informations\">\n ${commonTemplate.logo}\n ${commonTemplate.company}\n </div>\n <% } else { %>\n <div class=\"society-informations\">${commonTemplate.company}</div>\n ${commonTemplate.logo}\n <% } %>\n </div>\n\n <div class=\"row space-between items-end\" style=\"margin-top: 10px\">\n <div style=\"width: 45%; margin-top: auto;\">\n <span class=\"document-reference\">\n <% if (idEstimateInvoiceType === ${EstimateInvoiceType.BON}) { %>\n <%= languageTemplate.template.orderForm.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.DEVIS}) { %>\n <%= languageTemplate.template.estimate.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.FACTURE}) { %>\n <%= languageTemplate.template.invoice.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.AVOIR}) { %>\n <%= languageTemplate.template.asset.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.RESTE}) { %>\n <%= languageTemplate.template.remainder.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) { %>\n <%= languageTemplate.template.deposit.headers.title %>\n <% } %>\n <%= reference %></span><br/>\n <% if(emissionDate) {%><span class=\"document-emission-date\"> <%= languageTemplate.template.common.headers.emissionDate %> : <%= emissionDateFormatted %></span><br/><% } %>\n <% if(dueDate && idEstimateInvoiceType !== ${EstimateInvoiceType.ACOMPTE}) {%>\n <span class=\"document-due-date\">\n <% if ([${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType)) {%>\n <%= languageTemplate.template.estimate.headers.dueDate %> :\n <% } else { %>\n <%= languageTemplate.template.invoice.headers.dueDate %> :\n <% } %>\n <%= dueDateFormatted %></span>\n <% } %>\n <% if (expirationDate && idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) {%>\n <span class=\"document-due-date\"><%= languageTemplate.template.deposit.headers.expirationDate %> : : <%= expirationDateFormatted %></span>\n <% } %>\n <% if(termsOfPayment) { %>\n <br/><p style=\"margin-bottom: 0px;\"><%= [${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType) ? languageTemplate.template.estimate.headers.termsOfPayment : languageTemplate.template.invoice.headers.termsOfPayment %> : <%= termsOfPayment %></p>\n <% } %>\n </div>\n <div style=\"width: 40%; margin-top: auto;\">\n <p></p>\n <% if (thirdParty) { %>\n <div class=\"<%= settings && settings.isCoordinatesFrameDisplayed ? 'customer-border' : '' %>\">\n <% if(thirdParty.company) {%><b><%= thirdParty.company %></b><br/><% } %>\n <% if(thirdParty.fullname) {%><%= thirdParty.fullname %><br/><% } %>\n <% if(thirdParty.address) {%><%= thirdParty.address %><br/><% } %>\n <% if(thirdParty.zipCode) {%><%= thirdParty.zipCode + ' ' %><% } %><%= thirdParty.city %> <%= thirdParty.country %><br/>\n <% if(thirdParty.deliveryAddress && thirdParty.deliveryCity && thirdParty.deliveryZipCode) {%>Adresse de livraison : <%= thirdParty.deliveryAddress %> <%= thirdParty.deliveryZipCode %> <%= thirdParty.deliveryCity %> <%= thirdParty.deliveryCountry %><br/><% } %>\n <% if(thirdParty.nSiret) {%>SIRET : <%= thirdParty.nSiret %><br/><% } %>\n <% if(thirdParty.nTva) {%>N° TVA : <%= thirdParty.nTva %><% } %>\n </div>\n <% } %>\n </div>\n </div>`;\n\nexport const bodyTemplate = `<html class=\"pdf-content\">\n\n <body>\n\n ${headOfDocument}\n\n <div class=\"row mt-25\">\n <% if (title) { %><%=languageTemplate.template.common.headers.title %> : <%= title %><% } %>\n </div>\n\n <div class=\"row mt-10\">${commonTemplate.products}</div>\n\n <div class=\"row space-between mt-20\">\n <div style=\"width: 55%;\">\n <% if (disableVat !== true && vats.length) { %>\n ${commonTemplate.vatRecapitulation}\n <% } %>\n <% if (vatMention && vatMention !== 'TVA: Non concerné') { %><div class=\"vat-mention <%= disableVat !== true ? 'mt-20' : ''%>\"><%= vatMention %></div><% } %>\n <% if (comment) { %>\n <p class=\"mt-20\"><%= languageTemplate.template.common.options.comment %> :<br/>\n <%- comment %>\n <% } %>\n </div>\n\n <div>\n ${commonTemplate.amountRecapitulation}\n\n <% if (isStripeAllowed && ![${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType)) { %>\n <div style=\"text-align: right; margin-top: 30px;\">${commonTemplate.paymentButton}</div>\n <% } %>\n </div>\n \n </div>\n\n <% if ((settings && (settings.iban || settings.bic || settings.bank)) || paymentType) { %>\n <div class=\"row mt-30 space-between\" style=\"page-break-inside: avoid !important;\">\n <div>\n <% if ((settings && (settings.iban || settings.bic || settings.bank)) || paymentType) { %>\n <% if(paymentType) { %><%= languageTemplate.template.common.options.paymentType %> : <%= paymentType %><br/><% } %>\n <% if(settings.bank) { %><%= languageTemplate.template.common.options.bank %> : <%= settings.bank %><br/><% } %>\n <% if(settings.iban) { %>IBAN : <%= settings.iban %><br/><% } %>\n <% if(settings.bic) { %>BIC : <%= settings.bic %><% } %>\n <% } %>\n </div>\n </div>\n <% } %>\n <% if (settings && settings.bonPour && (idEstimateInvoiceType === ${EstimateInvoiceType.DEVIS} || idEstimateInvoiceType === ${EstimateInvoiceType.BON})) { %>\n <br/><%= languageTemplate.template.common.options.approval %> : <br/><br/><br/><br/>\n <% } %>\n\n <% if (cgv && (settings && settings.invoiceCgv)) { %>\n <br><div style=\"page-break-after:always;\"></div>\n <div id=\"WYSIWYG\"><%- cgv %></div>\n <% } %>\n </body>\n\n <style>\n ${commonTemplate.style}\n </style>\n <style>\n ${commonTemplate.styleWYSIWYG}\n </style>\n</html>`;\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.34",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -1,6 +1,34 @@
|
|
|
1
|
+
import { IsOptional, IsString } from 'class-validator';
|
|
1
2
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
2
3
|
|
|
3
4
|
export class UpdateMobileForm {
|
|
4
5
|
@ApiPropertyOptional()
|
|
6
|
+
@IsString()
|
|
7
|
+
@IsOptional()
|
|
5
8
|
token?: string;
|
|
9
|
+
|
|
10
|
+
@ApiPropertyOptional()
|
|
11
|
+
@IsString()
|
|
12
|
+
@IsOptional()
|
|
13
|
+
appVersion?: string;
|
|
14
|
+
|
|
15
|
+
@ApiPropertyOptional()
|
|
16
|
+
@IsString()
|
|
17
|
+
@IsOptional()
|
|
18
|
+
appBuildNumber?: string;
|
|
19
|
+
|
|
20
|
+
@ApiPropertyOptional()
|
|
21
|
+
@IsString()
|
|
22
|
+
@IsOptional()
|
|
23
|
+
deviceBrand?: string;
|
|
24
|
+
|
|
25
|
+
@ApiPropertyOptional()
|
|
26
|
+
@IsString()
|
|
27
|
+
@IsOptional()
|
|
28
|
+
deviceSystemVersion?: string;
|
|
29
|
+
|
|
30
|
+
@ApiPropertyOptional()
|
|
31
|
+
@IsString()
|
|
32
|
+
@IsOptional()
|
|
33
|
+
deviceId?: string;
|
|
6
34
|
}
|
|
@@ -5,6 +5,11 @@ export interface IMobile {
|
|
|
5
5
|
lastConnection: Date | null;
|
|
6
6
|
firstConnection: Date | null;
|
|
7
7
|
token: string | null;
|
|
8
|
+
appVersion: string | null;
|
|
9
|
+
appBuildNumber: string | null;
|
|
10
|
+
deviceBrand: string | null;
|
|
11
|
+
deviceSystemVersion: string | null;
|
|
12
|
+
deviceId: string | null;
|
|
8
13
|
idUser: number;
|
|
9
14
|
createdAt?: Date | null;
|
|
10
15
|
updatedAt?: Date | null;
|
|
@@ -82,7 +82,7 @@ export const bodyTemplate = `<html class="pdf-content">
|
|
|
82
82
|
<% if (disableVat !== true && vats.length) { %>
|
|
83
83
|
${commonTemplate.vatRecapitulation}
|
|
84
84
|
<% } %>
|
|
85
|
-
<% if (vatMention) { %><div class="vat-mention <%= disableVat !== true ? 'mt-20' : ''%>"><%= vatMention %></div><% } %>
|
|
85
|
+
<% if (vatMention && vatMention !== 'TVA: Non concerné') { %><div class="vat-mention <%= disableVat !== true ? 'mt-20' : ''%>"><%= vatMention %></div><% } %>
|
|
86
86
|
<% if (comment) { %>
|
|
87
87
|
<p class="mt-20"><%= languageTemplate.template.common.options.comment %> :<br/>
|
|
88
88
|
<%- comment %>
|