@silexpert/core 1.0.121 → 1.0.125
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/es/api/resources/SocietyConfigBalanceSheet.d.ts +1 -1
- package/es/api/resources/SocietyConfigBalanceSheet.d.ts.map +1 -1
- package/es/api/resources/SocietyConfigBalanceSheet.js +2 -2
- package/es/api/resources/SocietyConfigBalanceSheet.js.map +1 -1
- package/es/types/Enum/BalanceSheet.d.ts +1 -1
- package/es/types/Enum/BalanceSheet.js +1 -1
- package/es/types/Enum/BalanceSheet.js.map +1 -1
- package/es/types/Enum/BrandClementine.d.ts +2 -0
- package/es/types/Enum/BrandClementine.d.ts.map +1 -1
- package/es/types/Enum/BrandClementine.js +1 -0
- package/es/types/Enum/BrandClementine.js.map +1 -1
- package/es/types/Enum/BrandComptalib.js +1 -1
- package/es/types/Enum/BrandComptalib.js.map +1 -1
- package/es/types/Enum/DepositDocumentType.d.ts +10 -0
- package/es/types/Enum/DepositDocumentType.d.ts.map +1 -1
- package/es/types/Enum/DepositDocumentType.js +12 -0
- package/es/types/Enum/DepositDocumentType.js.map +1 -1
- package/es/types/Enum/Ged.d.ts +4 -0
- package/es/types/Enum/Ged.d.ts.map +1 -1
- package/es/types/Enum/Ged.js +26 -0
- package/es/types/Enum/Ged.js.map +1 -1
- package/es/types/Enum/MailAuto.d.ts +17 -1
- package/es/types/Enum/MailAuto.d.ts.map +1 -1
- package/es/types/Enum/MailAuto.js +28 -0
- package/es/types/Enum/MailAuto.js.map +1 -1
- package/es/types/Enum/PrestationType.js +1 -1
- package/es/types/Enum/PrestationType.js.map +1 -1
- package/es/types/Enum/RevisionGuide.d.ts +3 -3
- package/es/types/Enum/RevisionGuide.d.ts.map +1 -1
- package/es/types/Enum/RevisionGuide.js +3 -3
- package/es/types/Enum/RevisionGuide.js.map +1 -1
- package/es/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts +2 -0
- package/es/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts.map +1 -1
- package/es/types/Interface/api/calendarEvent/getLastInvalidateEvent.js +16 -2
- package/es/types/Interface/api/calendarEvent/getLastInvalidateEvent.js.map +1 -1
- package/es/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.js +1 -1
- package/es/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.js.map +1 -1
- package/es/types/Interface/api/user/CreateUser.d.ts +1 -0
- package/es/types/Interface/api/user/CreateUser.d.ts.map +1 -1
- package/es/types/Interface/api/user/CreateUser.js +4 -0
- package/es/types/Interface/api/user/CreateUser.js.map +1 -1
- package/es/types/Interface/models/IGedFile.d.ts +2 -0
- package/es/types/Interface/models/IGedFile.d.ts.map +1 -1
- package/es/types/Interface/models/IGedFile.js.map +1 -1
- package/es/types/Interface/models/IPaymentExpectation.d.ts +1 -0
- package/es/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
- package/es/types/Interface/models/IPaymentExpectation.js.map +1 -1
- package/es/types/Interface/models/ISociety.d.ts +2 -1
- package/es/types/Interface/models/ISociety.d.ts.map +1 -1
- package/es/types/Interface/models/ISociety.js.map +1 -1
- package/es/types/Interface/models/ISocietyConfigBalanceSheet.d.ts +6 -2
- package/es/types/Interface/models/ISocietyConfigBalanceSheet.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyConfigBalanceSheet.js.map +1 -1
- package/es/utils/commercialManagement/templates/common.js +1 -1
- package/es/utils/commercialManagement/templates/common.js.map +1 -1
- package/js/api/resources/SocietyConfigBalanceSheet.js +2 -2
- package/js/api/resources/SocietyConfigBalanceSheet.js.map +1 -1
- package/js/types/Enum/BalanceSheet.js +1 -1
- package/js/types/Enum/BalanceSheet.js.map +1 -1
- package/js/types/Enum/BrandClementine.js +2 -1
- package/js/types/Enum/BrandClementine.js.map +1 -1
- package/js/types/Enum/BrandComptalib.js +1 -1
- package/js/types/Enum/BrandComptalib.js.map +1 -1
- package/js/types/Enum/DepositDocumentType.js +17 -1
- package/js/types/Enum/DepositDocumentType.js.map +1 -1
- package/js/types/Enum/Ged.js +19 -0
- package/js/types/Enum/Ged.js.map +1 -1
- package/js/types/Enum/MailAuto.js +34 -0
- package/js/types/Enum/MailAuto.js.map +1 -1
- package/js/types/Enum/PrestationType.js +1 -1
- package/js/types/Enum/PrestationType.js.map +1 -1
- package/js/types/Enum/RevisionGuide.js +3 -3
- package/js/types/Enum/RevisionGuide.js.map +1 -1
- package/js/types/Interface/api/calendarEvent/getLastInvalidateEvent.js +4 -0
- package/js/types/Interface/api/calendarEvent/getLastInvalidateEvent.js.map +1 -1
- package/js/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.js +1 -1
- package/js/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.js.map +1 -1
- package/js/types/Interface/api/user/CreateUser.js +2 -0
- package/js/types/Interface/api/user/CreateUser.js.map +1 -1
- package/js/utils/commercialManagement/templates/common.js +1 -1
- package/js/utils/commercialManagement/templates/common.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/SocietyConfigBalanceSheet.ts +2 -2
- package/ts/types/Enum/BalanceSheet.ts +1 -1
- package/ts/types/Enum/BrandClementine.ts +1 -0
- package/ts/types/Enum/BrandComptalib.ts +1 -1
- package/ts/types/Enum/DepositDocumentType.ts +12 -0
- package/ts/types/Enum/Ged.ts +27 -0
- package/ts/types/Enum/MailAuto.ts +30 -1
- package/ts/types/Enum/PrestationType.ts +1 -1
- package/ts/types/Enum/RevisionGuide.ts +3 -3
- package/ts/types/Interface/api/calendarEvent/getLastInvalidateEvent.ts +16 -2
- package/ts/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.ts +1 -1
- package/ts/types/Interface/api/user/CreateUser.ts +3 -0
- package/ts/types/Interface/models/IGedFile.ts +2 -0
- package/ts/types/Interface/models/IPaymentExpectation.ts +1 -0
- package/ts/types/Interface/models/ISociety.ts +2 -0
- package/ts/types/Interface/models/ISocietyConfigBalanceSheet.ts +6 -2
- package/ts/utils/commercialManagement/templates/common.ts +1 -1
|
@@ -17,8 +17,8 @@ export class SocietyConfigBalanceSheet extends Resource {
|
|
|
17
17
|
return this.axios.$get(`/societies/${id}/balance-sheets/settings/list`, { params });
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
public update(
|
|
21
|
-
return this.axios.$put(`/societies/${
|
|
20
|
+
public update(idSociety: number, id: number, payload: Partial<ISocietyConfigBalanceSheet>): Promise<SocietyConfigBalanceSheet> {
|
|
21
|
+
return this.axios.$put(`/societies/${idSociety}/balance-sheets/settings/${id}`, payload);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
public delete(id: number): Promise<true> {
|
|
@@ -108,7 +108,7 @@ export const BalanceSheetDetails = [
|
|
|
108
108
|
{
|
|
109
109
|
value: BalanceSheetState.ACCEPTED_BY_SIE,
|
|
110
110
|
text: 'Accepté au SIE',
|
|
111
|
-
color: '
|
|
111
|
+
color: 'green darken-1',
|
|
112
112
|
textColor: 'green--text',
|
|
113
113
|
forRoles: [['front_office'], ['front_office_express'], ['expert']],
|
|
114
114
|
},
|
|
@@ -56,7 +56,7 @@ export const BrandComptalib = [
|
|
|
56
56
|
recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',
|
|
57
57
|
urlApp: 'https://app.comptalib.com',
|
|
58
58
|
urlExpert: 'https://pro.comptalib.com',
|
|
59
|
-
urlClient: '',
|
|
59
|
+
urlClient: 'https://www.comptalib.com',
|
|
60
60
|
webmail: {
|
|
61
61
|
domain: '@comptalib.com',
|
|
62
62
|
},
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { GedFolder, TypeFile } from './Ged';
|
|
2
2
|
|
|
3
|
+
export enum StateDepositDocument {
|
|
4
|
+
NOT_ASKED = 0,
|
|
5
|
+
ASKED = 1,
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export enum StateClientDepositDocument {
|
|
9
|
+
ACCEPTED = 0,
|
|
10
|
+
REFUSED = 1,
|
|
11
|
+
WAITING = 2,
|
|
12
|
+
PENDING_CLIENT = 3,
|
|
13
|
+
}
|
|
14
|
+
|
|
3
15
|
export const DepositDocumentType = [
|
|
4
16
|
{
|
|
5
17
|
name: 'Contrats & échéanciers',
|
package/ts/types/Enum/Ged.ts
CHANGED
|
@@ -103,6 +103,33 @@ export enum GedFileType {
|
|
|
103
103
|
PERSONNAL_RIB = 21, // RIB PERSO
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
+
export const SignFileDetail = [
|
|
107
|
+
{
|
|
108
|
+
id: TypeFile.CA_TO_SIGN,
|
|
109
|
+
name: 'CA',
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
id: TypeFile.CCA_TO_SIGN,
|
|
113
|
+
name: 'CCA',
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
id: TypeFile.INVENTORY_TO_SIGN,
|
|
117
|
+
name: 'Inventaire',
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
id: TypeFile.FUND_TO_SIGN,
|
|
121
|
+
name: 'Caisse',
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
id: TypeFile.SUPPLIER_BOOK_TO_SIGN,
|
|
125
|
+
name: 'Grand Livre fournisseur',
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
id: TypeFile.CLIENT_BOOK_TO_SIGN,
|
|
129
|
+
name: 'Grand Livre client',
|
|
130
|
+
},
|
|
131
|
+
];
|
|
132
|
+
|
|
106
133
|
export const GedFileTypeDetail = {
|
|
107
134
|
STATUTES: {
|
|
108
135
|
id: GedFileType.STATUTES,
|
|
@@ -116,4 +116,33 @@ export enum MailAuto {
|
|
|
116
116
|
MEETING_WITH_CLEMENTINE = 135,
|
|
117
117
|
DONT_MISS_CLEMENTINE = 136,
|
|
118
118
|
CLEMENTINE_ADVENTURE_DOES_NOT_END = 137,
|
|
119
|
-
|
|
119
|
+
ASK_DOCUMENTS_FOR_BALANCE_SHEET = 138,
|
|
120
|
+
ASK_SIGNED_DOCUMENTS_FOR_BALANCE_SHEET = 139,
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export const MailAutoList = [
|
|
124
|
+
{
|
|
125
|
+
id: MailAuto.ASK_DOCUMENTS_FOR_BALANCE_SHEET,
|
|
126
|
+
onlyforRoles: null,
|
|
127
|
+
alias: 'ask-documents-for-balance-sheet',
|
|
128
|
+
title: 'Demande de document pour votre bilan comptable',
|
|
129
|
+
subject: 'Demande de document pour votre bilan comptable',
|
|
130
|
+
fields: [
|
|
131
|
+
{ name: 'to', lg: 'xs12 sm5' },
|
|
132
|
+
{ name: 'subject', lg: 'xs12 sm7' },
|
|
133
|
+
{ name: 'contentHtml' },
|
|
134
|
+
],
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
id: MailAuto.ASK_SIGNED_DOCUMENTS_FOR_BALANCE_SHEET,
|
|
138
|
+
onlyforRoles: null,
|
|
139
|
+
alias: 'ask-signed-documents-for-balance-sheet',
|
|
140
|
+
title: 'Signer vos documents pour mon bilan comptable',
|
|
141
|
+
subject: 'Signer vos documents pour mon bilan comptable',
|
|
142
|
+
fields: [
|
|
143
|
+
{ name: 'to', lg: 'xs12 sm5' },
|
|
144
|
+
{ name: 'subject', lg: 'xs12 sm7' },
|
|
145
|
+
{ name: 'contentHtml' },
|
|
146
|
+
],
|
|
147
|
+
},
|
|
148
|
+
];
|
|
@@ -135,11 +135,11 @@ export enum RevisionGuideLabel {
|
|
|
135
135
|
N1ELEMENT = '<b>Reprise du dossier</b>: Eléments N-1 à intégrer ?',
|
|
136
136
|
N1ELEMENTJUSTIF = '<b>Reprise du dossier</b> : Soldes fournisseurs/clients N-1 traités et justifiés ?',
|
|
137
137
|
IMMON1 = '<b>Reprise du dossier</b> : Immobilisations N-1 revues (HS/mise au rebut, ventes) avec le client ?',
|
|
138
|
-
FECN1 = '<b>Reprise du dossier</b> : rapprochement plaquette & liasse avec FEC N-1',
|
|
138
|
+
FECN1 = '<b>Reprise du dossier</b> : rapprochement plaquette & liasse avec FEC N-1 ?',
|
|
139
139
|
CAPITAUX_PERTE = '<b>Capitaux</b> : La perte est-elle supérieur au capital social ?',
|
|
140
|
-
CONTRAT_EMPRUNT = '<b>Emprunt</b> : Contrat et échéancier d\'emprunts obtenus',
|
|
140
|
+
CONTRAT_EMPRUNT = '<b>Emprunt</b> : Contrat et échéancier d\'emprunts obtenus ?',
|
|
141
141
|
SOLDE_RAPPRO = '<b>Banque :</b> le solde bancaire a t-il pu être rapproché PDF ou budget ?',
|
|
142
|
-
CAISSE_OK = '<b>Caisse :</b> avez vous une caisse certifiée conforme
|
|
142
|
+
CAISSE_OK = '<b>Caisse :</b> avez vous une caisse certifiée conforme ?',
|
|
143
143
|
BAIL_COMMERCIAL = '<b>Charges :</b> Bail commercial et quittances de loyers obtenus sur l’ensemble de l’exercice comptable ?',
|
|
144
144
|
TICKET_Z = '<b>Ticket Z :</b> Avez vous obtenu le ticket Z annuel ?',
|
|
145
145
|
COMPTE_SOLDE = '<b>Etats :</b> Compte d\'attente soldé ?',
|
|
@@ -1,8 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
IsDateString, IsInt, IsOptional, IsString,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';
|
|
3
5
|
|
|
4
6
|
export class GetLastInvalidateEvent {
|
|
5
7
|
@ApiProperty()
|
|
6
8
|
@IsInt()
|
|
7
9
|
idUser: number;
|
|
10
|
+
|
|
11
|
+
@ApiPropertyOptional()
|
|
12
|
+
@IsOptional()
|
|
13
|
+
@IsString()
|
|
14
|
+
@IsDateString()
|
|
15
|
+
dateStart?: string;
|
|
16
|
+
|
|
17
|
+
@ApiPropertyOptional()
|
|
18
|
+
@IsOptional()
|
|
19
|
+
@IsString()
|
|
20
|
+
@IsDateString()
|
|
21
|
+
dateEnd?: string;
|
|
8
22
|
}
|
|
@@ -4,6 +4,7 @@ import { IExercice } from './IExercice';
|
|
|
4
4
|
import { IGedFileType } from './IGedFileType';
|
|
5
5
|
import { IGedFolder } from './IGedFolder';
|
|
6
6
|
import { IUser } from './IUser';
|
|
7
|
+
import { ICustomerSignature } from './ICustomerSignature';
|
|
7
8
|
|
|
8
9
|
// gedFile
|
|
9
10
|
export interface IGedFile {
|
|
@@ -28,4 +29,5 @@ export interface IGedFile {
|
|
|
28
29
|
typeGedFile?: IGedFileType;
|
|
29
30
|
gedFolder?: IGedFolder;
|
|
30
31
|
businessPartner?: IUser;
|
|
32
|
+
customerSignature?: ICustomerSignature;
|
|
31
33
|
}
|
|
@@ -49,6 +49,7 @@ import { IUser } from './IUser';
|
|
|
49
49
|
import { ISocietyEvent } from './ISocietyEvent';
|
|
50
50
|
import {
|
|
51
51
|
ComptaType, CountryId, INafCode, IPartneredAccountantCompanyService, Sector, UnpaidDetail, IPartneredAccountantToSociety, IMail, IAccountingTransaction, IFecFile, IGedFile, IBusinessPartner, IPaymentSchedule, IRegulate, IUserSocietyPermission,
|
|
52
|
+
ISocietyConfigBalanceSheet,
|
|
52
53
|
} from '../..';
|
|
53
54
|
import { IBrandType } from './IBrandType';
|
|
54
55
|
|
|
@@ -158,6 +159,7 @@ export interface ISociety {
|
|
|
158
159
|
connectors?: IConnector[];
|
|
159
160
|
bankConnections?: IBankConnection[];
|
|
160
161
|
societiesFollowedQualityMail?: IFollowedQualityMail[];
|
|
162
|
+
societyConfigBalanceSheet?: ISocietyConfigBalanceSheet[];
|
|
161
163
|
societyFollow?: IFollow[];
|
|
162
164
|
paymentsExpectations?: IPaymentExpectation[];
|
|
163
165
|
paymentSchedules?: IPaymentSchedule[];
|
|
@@ -2,18 +2,21 @@ import { IDocumentWaitingType } from './IDocumentWaitingType';
|
|
|
2
2
|
import { IExercice } from './IExercice';
|
|
3
3
|
import { IBalanceSheet } from './IBalanceSheet';
|
|
4
4
|
import { ISociety } from './ISociety';
|
|
5
|
+
import { IUser } from './IUser';
|
|
6
|
+
import { StateDepositDocument, StateClientDepositDocument } from '../../Enum/DepositDocumentType';
|
|
5
7
|
|
|
6
8
|
// societyConfigBalanceSheet
|
|
7
9
|
export interface ISocietyConfigBalanceSheet {
|
|
8
10
|
id?: number;
|
|
9
|
-
state:
|
|
10
|
-
stateClient:
|
|
11
|
+
state: StateDepositDocument;
|
|
12
|
+
stateClient: StateClientDepositDocument;
|
|
11
13
|
idSociety: number | null;
|
|
12
14
|
comment: string | null;
|
|
13
15
|
amount: number | null;
|
|
14
16
|
idTypeDocumentsWaiting?: number | null;
|
|
15
17
|
idExercice: number | null;
|
|
16
18
|
idBalanceSheet: number | null;
|
|
19
|
+
idUser?: number | null;
|
|
17
20
|
idDepositDocumentType: number | null,
|
|
18
21
|
createdAt?: Date | null;
|
|
19
22
|
updatedAt?: Date | null;
|
|
@@ -23,4 +26,5 @@ export interface ISocietyConfigBalanceSheet {
|
|
|
23
26
|
exercice?: IExercice;
|
|
24
27
|
society?: ISociety;
|
|
25
28
|
balanceSheet?: IBalanceSheet;
|
|
29
|
+
user?: IUser;
|
|
26
30
|
}
|
|
@@ -406,7 +406,7 @@ export class CommercialDocumentMailHTML {
|
|
|
406
406
|
</div>
|
|
407
407
|
<% if (!shouldHideBrandName) { %>
|
|
408
408
|
<div style="margin-top: 20px; margin-bottom: -8px; width: fit-content; white-space: nowrap; margin-left: auto; margin-right: auto; font-size: 14px;">
|
|
409
|
-
<div class="brand-tag" style="display: flex; line-height: 18px; height:
|
|
409
|
+
<div class="brand-tag" style="display: flex; line-height: 18px; height: 14px;">
|
|
410
410
|
Généré par <% if (hostS3) { %><img src="<%= hostS3 %>config/logo-brand.png" alt="logo" style="max-height: 18px; margin-left: 5px;" /><% } %>
|
|
411
411
|
</div>
|
|
412
412
|
</div>
|