@silexpert/core 1.1.226 → 1.1.229

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.
Files changed (112) hide show
  1. package/dist/cjs/api/resources/BankAccount.d.ts +2 -1
  2. package/dist/cjs/api/resources/BankAccount.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/BankAccount.js +3 -0
  4. package/dist/cjs/api/resources/BankAccount.js.map +1 -1
  5. package/dist/cjs/api/resources/BankStatement.d.ts +1 -1
  6. package/dist/cjs/api/resources/BankStatement.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/BankStatement.js +3 -3
  8. package/dist/cjs/api/resources/BankStatement.js.map +1 -1
  9. package/dist/cjs/api/resources/PaymentExpectationCustomer.d.ts +2 -1
  10. package/dist/cjs/api/resources/PaymentExpectationCustomer.d.ts.map +1 -1
  11. package/dist/cjs/api/resources/PaymentExpectationCustomer.js +3 -0
  12. package/dist/cjs/api/resources/PaymentExpectationCustomer.js.map +1 -1
  13. package/dist/cjs/types/Enum/JobTitle.d.ts +2 -1
  14. package/dist/cjs/types/Enum/JobTitle.d.ts.map +1 -1
  15. package/dist/cjs/types/Enum/JobTitle.js +6 -0
  16. package/dist/cjs/types/Enum/JobTitle.js.map +1 -1
  17. package/dist/cjs/types/Interface/api/OnBoarding.d.ts +1 -0
  18. package/dist/cjs/types/Interface/api/OnBoarding.d.ts.map +1 -1
  19. package/dist/cjs/types/Interface/api/OnBoarding.js +6 -0
  20. package/dist/cjs/types/Interface/api/OnBoarding.js.map +1 -1
  21. package/dist/cjs/types/Interface/api/bankAccount/Create.d.ts +6 -0
  22. package/dist/cjs/types/Interface/api/bankAccount/Create.d.ts.map +1 -0
  23. package/dist/cjs/types/Interface/api/bankAccount/Create.js +29 -0
  24. package/dist/cjs/types/Interface/api/bankAccount/Create.js.map +1 -0
  25. package/dist/cjs/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.d.ts +7 -0
  26. package/dist/cjs/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.d.ts.map +1 -1
  27. package/dist/cjs/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.js +42 -1
  28. package/dist/cjs/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.js.map +1 -1
  29. package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts +1 -0
  30. package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts.map +1 -1
  31. package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js +6 -0
  32. package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js.map +1 -1
  33. package/dist/cjs/types/Interface/models/ISocietyDetail.d.ts +4 -0
  34. package/dist/cjs/types/Interface/models/ISocietyDetail.d.ts.map +1 -1
  35. package/dist/cjs/types/Interface/models/ISocietyDetail.js.map +1 -1
  36. package/dist/cjs/types/index.d.ts +1 -0
  37. package/dist/cjs/types/index.d.ts.map +1 -1
  38. package/dist/cjs/types/index.js +1 -0
  39. package/dist/cjs/types/index.js.map +1 -1
  40. package/dist/cjs/utils/checkup.d.ts +12 -0
  41. package/dist/cjs/utils/checkup.d.ts.map +1 -1
  42. package/dist/cjs/utils/checkup.js +41 -0
  43. package/dist/cjs/utils/checkup.js.map +1 -1
  44. package/dist/cjs/utils/email/templates/signature.d.ts.map +1 -1
  45. package/dist/cjs/utils/email/templates/signature.js +91 -59
  46. package/dist/cjs/utils/email/templates/signature.js.map +1 -1
  47. package/dist/cjs/utils/prestation.d.ts.map +1 -1
  48. package/dist/cjs/utils/prestation.js +7 -2
  49. package/dist/cjs/utils/prestation.js.map +1 -1
  50. package/dist/mjs/api/resources/BankAccount.d.ts +2 -1
  51. package/dist/mjs/api/resources/BankAccount.d.ts.map +1 -1
  52. package/dist/mjs/api/resources/BankAccount.js +3 -0
  53. package/dist/mjs/api/resources/BankAccount.js.map +1 -1
  54. package/dist/mjs/api/resources/BankStatement.d.ts +1 -1
  55. package/dist/mjs/api/resources/BankStatement.d.ts.map +1 -1
  56. package/dist/mjs/api/resources/BankStatement.js +3 -3
  57. package/dist/mjs/api/resources/BankStatement.js.map +1 -1
  58. package/dist/mjs/api/resources/PaymentExpectationCustomer.d.ts +2 -1
  59. package/dist/mjs/api/resources/PaymentExpectationCustomer.d.ts.map +1 -1
  60. package/dist/mjs/api/resources/PaymentExpectationCustomer.js +3 -0
  61. package/dist/mjs/api/resources/PaymentExpectationCustomer.js.map +1 -1
  62. package/dist/mjs/types/Enum/JobTitle.d.ts +2 -1
  63. package/dist/mjs/types/Enum/JobTitle.d.ts.map +1 -1
  64. package/dist/mjs/types/Enum/JobTitle.js +6 -0
  65. package/dist/mjs/types/Enum/JobTitle.js.map +1 -1
  66. package/dist/mjs/types/Interface/api/OnBoarding.d.ts +1 -0
  67. package/dist/mjs/types/Interface/api/OnBoarding.d.ts.map +1 -1
  68. package/dist/mjs/types/Interface/api/OnBoarding.js +7 -0
  69. package/dist/mjs/types/Interface/api/OnBoarding.js.map +1 -1
  70. package/dist/mjs/types/Interface/api/bankAccount/Create.d.ts +6 -0
  71. package/dist/mjs/types/Interface/api/bankAccount/Create.d.ts.map +1 -0
  72. package/dist/mjs/types/Interface/api/bankAccount/Create.js +27 -0
  73. package/dist/mjs/types/Interface/api/bankAccount/Create.js.map +1 -0
  74. package/dist/mjs/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.d.ts +7 -0
  75. package/dist/mjs/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.d.ts.map +1 -1
  76. package/dist/mjs/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.js +45 -0
  77. package/dist/mjs/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.js.map +1 -1
  78. package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts +1 -0
  79. package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts.map +1 -1
  80. package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js +7 -0
  81. package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js.map +1 -1
  82. package/dist/mjs/types/Interface/models/ISocietyDetail.d.ts +4 -0
  83. package/dist/mjs/types/Interface/models/ISocietyDetail.d.ts.map +1 -1
  84. package/dist/mjs/types/Interface/models/ISocietyDetail.js.map +1 -1
  85. package/dist/mjs/types/index.d.ts +1 -0
  86. package/dist/mjs/types/index.d.ts.map +1 -1
  87. package/dist/mjs/types/index.js +1 -0
  88. package/dist/mjs/types/index.js.map +1 -1
  89. package/dist/mjs/utils/checkup.d.ts +12 -0
  90. package/dist/mjs/utils/checkup.d.ts.map +1 -1
  91. package/dist/mjs/utils/checkup.js +41 -0
  92. package/dist/mjs/utils/checkup.js.map +1 -1
  93. package/dist/mjs/utils/email/templates/signature.d.ts.map +1 -1
  94. package/dist/mjs/utils/email/templates/signature.js +91 -59
  95. package/dist/mjs/utils/email/templates/signature.js.map +1 -1
  96. package/dist/mjs/utils/prestation.d.ts.map +1 -1
  97. package/dist/mjs/utils/prestation.js +7 -2
  98. package/dist/mjs/utils/prestation.js.map +1 -1
  99. package/package.json +1 -1
  100. package/ts/api/resources/BankAccount.ts +5 -1
  101. package/ts/api/resources/BankStatement.ts +3 -3
  102. package/ts/api/resources/PaymentExpectationCustomer.ts +5 -0
  103. package/ts/types/Enum/JobTitle.ts +6 -0
  104. package/ts/types/Interface/api/OnBoarding.ts +5 -0
  105. package/ts/types/Interface/api/bankAccount/Create.ts +13 -0
  106. package/ts/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.ts +26 -0
  107. package/ts/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.ts +5 -0
  108. package/ts/types/Interface/models/ISocietyDetail.ts +4 -0
  109. package/ts/types/index.ts +1 -0
  110. package/ts/utils/checkup.ts +41 -0
  111. package/ts/utils/email/templates/signature.ts +91 -59
  112. package/ts/utils/prestation.ts +5 -1
@@ -14,7 +14,7 @@ const logoClementine = `<% if (commercialName === 'Clementine') { %><tr>
14
14
  colspan="3"
15
15
  class="logo"
16
16
  style=""
17
- width="850">
17
+ width="950">
18
18
  <img
19
19
  src="https://clementine-website.s3.eu-west-3.amazonaws.com/logo_2022.png"
20
20
  alt="Logo"
@@ -51,9 +51,19 @@ const avatar = `<% if (!forceRole && user?.avatar?.token) { %>
51
51
  const footer = `<% if(commercialName === 'Clementine') { %>
52
52
  <tr>
53
53
  <td
54
- style="clear:both; padding-top: 20px; font-size:17px; line-height:14px; color:#ADADAD; text-align: justify; font-family: Arial;"
54
+ style="clear:both; padding-top: 15px; font-size:17px; line-height:14px; color:#ADADAD; text-align: justify; font-family: Arial;"
55
55
  colspan="4">
56
56
  <table style="width: 100%" width="100%">
57
+ <tr>
58
+ <td colspan="7" style="padding-bottom: 12px">
59
+ <span style="text-align: left; text-decoration: none; color: #A0A1A6; white-space: nowrap; float: left;">
60
+ Une question ? Découvrez votre <a href="https://www.clementine.fr/aide/" style="color: #FF7E3C">centre d'aide</a>
61
+ </span>
62
+ <span style="text-align: right; text-decoration: none; color: #A0A1A6; white-space: nowrap; float: right;">
63
+ Jusqu’à 500€ avec notre <a href="https://www.clementine.fr/parrainage/?utm_source=signature&utm_medium=email&utm_campaign=signature&utm_content=cta" style="color: #FF7E3C">programme de parrainage</a>
64
+ </span>
65
+ </td>
66
+ </tr>
57
67
  <tr>
58
68
  <td style="padding:0 10px 0 0" width="120">
59
69
  <a href="https://app.clementine.fr/" target="_blank" style="text-decoration: none; color: #6E6E71; white-space: nowrap;">
@@ -65,13 +75,24 @@ const footer = `<% if(commercialName === 'Clementine') { %>
65
75
  </a>
66
76
  </td>
67
77
  <td style="padding:0 10px 0 0" width="170">
68
- <a href="mailto:<%= supportMail %>" target="_blank" style="text-decoration: none; color: #6E6E71; white-space: nowrap;">
78
+ <!-- <a href="mailto:<%= supportMail %>" target="_blank" style="text-decoration: none; color: #6E6E71; white-space: nowrap;">
69
79
  <img
70
80
  src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_support2.png"
71
81
  style="vertical-align: text-top;"
72
82
  width="17"
73
83
  alt="Support technique"> Support technique
74
- </a>
84
+ </a>-->
85
+ </td>
86
+ <td style="text-align: right; vertical-align: middle; color: #6E6E71" width="430">
87
+ <!--<span>Télécharger l'app</span>
88
+ <a href="https://apps.apple.com/fr/app/clementine/id1119493780" target="_blank" style="vertical-align: middle; margin-left: 10px"><img
89
+ src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_appstore.png"
90
+ alt="App Store"
91
+ style="width: 20px"></a>
92
+ <a href="https://play.google.com/store/apps/details?id=com.clementine.myclementine&hl=fr" target="_blank" style="vertical-align: middle; margin-left: 10px"><img
93
+ src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_playstore.png"
94
+ alt="Play Store"
95
+ style="width: 20px"></a>-->
75
96
  </td>
76
97
  <td style="padding:0 5px 0 0" width="24">
77
98
  <a href="https://www.youtube.com/channel/UCVnCpcLdRwuYBLvAphHsvig/" target="_blank" style="vertical-align: middle;"><img
@@ -91,27 +112,6 @@ const footer = `<% if(commercialName === 'Clementine') { %>
91
112
  alt="Instagram"
92
113
  style="width: 20px"></a>
93
114
  </td>
94
- <td style="text-align: right; vertical-align: middle; color: #6E6E71" width="430">
95
- <span>Télécharger l'app</span>
96
- <a href="https://apps.apple.com/fr/app/clementine/id1119493780" target="_blank" style="vertical-align: middle; margin-left: 10px"><img
97
- src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_appstore.png"
98
- alt="App Store"
99
- style="width: 20px"></a>
100
- <a href="https://play.google.com/store/apps/details?id=com.clementine.myclementine&hl=fr" target="_blank" style="vertical-align: middle; margin-left: 10px"><img
101
- src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_playstore.png"
102
- alt="Play Store"
103
- style="width: 20px"></a>
104
- </td>
105
- </tr>
106
- <tr>
107
- <td colspan="7" style="padding-top: 12px">
108
- <span style="text-align: left; text-decoration: none; color: #A0A1A6; white-space: nowrap; float: left;">
109
- Une question ? Découvrez votre <a href="https://www.clementine.fr/aide/" style="color: #FF7E3C">centre d'aide</a>
110
- </span>
111
- <span style="text-align: right; text-decoration: none; color: #A0A1A6; white-space: nowrap; float: right;">
112
- Jusqu’à 500€ avec notre <a href="https://www.clementine.fr/parrainage/?utm_source=signature&utm_medium=email&utm_campaign=signature&utm_content=cta" style="color: #FF7E3C">programme de parrainage</a>
113
- </span>
114
- </td>
115
115
  </tr>
116
116
  </table>
117
117
  </td>
@@ -119,7 +119,7 @@ const footer = `<% if(commercialName === 'Clementine') { %>
119
119
  <% } else if(commercialName === 'Pourcentage') { %>
120
120
  <tr>
121
121
  <td
122
- style="clear:both; padding-top: 20px; font-size:17px; line-height:14px; color:#ADADAD; text-align: justify; font-family: Arial;"
122
+ style="clear:both; padding-top: 15px; font-size:17px; line-height:14px; color:#ADADAD; text-align: justify; font-family: Arial;"
123
123
  colspan="4">
124
124
  <table style="width: 100%" width="100%">
125
125
  <tr>
@@ -133,7 +133,7 @@ const footer = `<% if(commercialName === 'Clementine') { %>
133
133
  </a>
134
134
  </td>
135
135
  <td style="text-align: right; vertical-align: middle; color: #6E6E71" width="430">
136
- <span>Télécharger l'app</span>
136
+ <!-- <span>Télécharger l'app</span>
137
137
  <a href="https://apps.apple.com/fr/app/pourcentage-fr/id1631156043" target="_blank" style="vertical-align: middle; margin-left: 10px"><img
138
138
  src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_appstore.png"
139
139
  alt="App Store"
@@ -141,7 +141,7 @@ const footer = `<% if(commercialName === 'Clementine') { %>
141
141
  <a href="https://play.google.com/store/apps/details?id=com.clementine.pourcentage" target="_blank" style="vertical-align: middle; margin-left: 10px"><img
142
142
  src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_playstore.png"
143
143
  alt="Play Store"
144
- style="width: 20px"></a>
144
+ style="width: 20px"></a> -->
145
145
  </td>
146
146
  </tr>
147
147
  </table>
@@ -154,7 +154,7 @@ export const signatureTemplate = `${newIban}<table
154
154
  border="0"
155
155
  cellpadding="0"
156
156
  cellspacing="0"
157
- width="850"
157
+ width="950"
158
158
  class="signatureClementine">
159
159
 
160
160
  ${logoClementine}
@@ -164,59 +164,91 @@ ${logoClementine}
164
164
  <td
165
165
  class="infos"
166
166
  style=" padding: 20px 0 20px 30px;font-size: 17px; font-family: Arial; color:#000"
167
- width="290"
167
+ width="390"
168
168
  colspan="2">
169
169
  <table
170
170
  border="0"
171
171
  cellpadding="0"
172
172
  cellspacing="0"
173
- width="290">
173
+ width="390">
174
174
  <tr>
175
- <td width="290">
175
+ <td width="390">
176
176
  <p style="font-size: 17px; margin:0px 0; padding:0">
177
177
  <strong><span style="color:<%= primaryColor %>; font-weight: bold;"><%= user?.firstname ?? '' %> <%= user?.lastname ?? '' %></span></strong>
178
178
  </p>
179
179
 
180
180
  <% if(roleSignature) { %>
181
181
  <p style="font-size: 17px; margin:0px 0; padding:0">
182
- <span style="color: #6E6E71; font-weight: bold;"><%= roleSignature %></span></p>
182
+ <span style="color: #6E6E71; font-weight: bold;"><%= roleSignature %></span>
183
183
  </p>
184
184
  <% } %>
185
185
  </td>
186
186
  </tr>
187
187
  </table>
188
-
189
- <p style="margin:16px 0; color:#6E6E71; border-top: 2px solid #6E6E71; width: 100px; opacity: 0.2"><!-- --></p><p style="margin:0; padding:0px 0 4px; color:#6E6E71;">Nos horaires :<br/><%= horaires %></p>
188
+ <p style="margin:16px 0; color:#6E6E71; border-top: 2px solid #6E6E71; width: 100px; opacity: 0.2"><!-- --></p>
189
+ <p style="margin:0px 0; padding:0 0 4px; color:#6E6E71;">
190
+ Standard : <%= standardPhoneSignature %><br/>
191
+ <% if(phoneSignature && phoneSignature !== standardPhoneSignature) { %>
192
+ Ligne directe : <%- phoneSignature %><br/>
193
+ <% } %>
194
+ Nos horaires : <%= horaires %>
195
+ </p>
190
196
  </td>
191
197
 
192
198
  <td class="infos" style="padding: 20px 20px 20px 0px; font-size: 17px; font-family: Arial; color:#000; <%= !user.calendlyUrl ? 'vertical-align: top;' : '' %>"
193
199
  width="370">
194
- <p style="margin:0px 0; padding:2px 0; color:#6E6E71; padding-left: 10px">
195
- <span style="float:right">Standard : <%= standardPhoneSignature %></span><br/>
196
- <% if(phoneSignature && phoneSignature !== standardPhoneSignature) { %>
197
- <span style="float:right">Ligne directe : <%- phoneSignature %></span><br/>
198
- <% } %>
199
- </p>
200
-
201
- <p style="margin:20px 60px 0 0; padding:0px 0 4px; color:#6E6E71; text-align: right; height: 54px;">
202
- <% if(user.calendlyUrl) { %>
203
- <img
204
- src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_rightArrow.png"
200
+ <% if(['Clementine', 'Pourcentage', 'Comptalib'].includes(commercialName)) { %>
201
+ <table
202
+ border="0"
203
+ cellpadding="0"
204
+ cellspacing="0"
205
+ width="350">
206
+ <tr>
207
+ <td width="230">
208
+ <!-- image Télécharger l'app mobile -->
209
+ <img
210
+ src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_download_app<%= commercialName === 'Pourcentage' ? '_pourcentage' : '' %><%= commercialName === 'Comptalib' ? '_comptalib' : '' %>.png"
211
+ alt="Télécharger l'application mobile"
212
+ style="width: 152px; float:right">
213
+
214
+ <p style="float:right; margin-right: 45px">
215
+ <span style="margin:0; padding:0 0 4px; color:#6E6E71;">Disponible sur<br/></span>
216
+ <a href="https://apps.apple.com/fr/app/clementine/id1119493780" target="_blank" style="vertical-align: middle;"><img
217
+ src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_appstore.png"
218
+ alt="App Store"
219
+ style="width: 20px"></a>
220
+ <a href="https://play.google.com/store/apps/details?id=com.clementine.myclementine&hl=fr" target="_blank" style="vertical-align: middle; margin-left: 10px"><img
221
+ src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_playstore.png"
222
+ alt="Play Store"
223
+ style="width: 20px"></a>
224
+ </p>
225
+ </td>
226
+ <td width="120">
227
+ <!-- QR Code -->
228
+ <img
229
+ src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_qrcode<%= commercialName === 'Pourcentage' ? '_pourcentage' : '' %><%= commercialName === 'Comptalib' ? '_comptalib' : '' %>.png"
230
+ style="width:128px"
205
231
  alt="Prenez rendez-vous ici !">
206
- <% } %>
207
- </p>
208
-
209
- <p style="margin:0; padding:0px 0 4px; color:#6E6E71; text-align: right"><a href="https://www.smileyourpla.net/" style="display: inline-block; color:#6E6E71;" target="_blank"><img
210
- src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_smileYourPlanet.png"
211
- alt="Initiative Smile your planet" height="36"></a>
212
- <% if(user.calendlyUrl) { %>
213
- <a href="<%= user.calendlyUrl %>" style="display: inline-block; color:#6E6E71;" target="_blank">
214
- <img
215
- src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_rdv_tel<%= commercialName === 'Pourcentage' ? '_pourcentage' : '' %>.png"
216
- alt="Demande de rdv téléphonique">
217
- </a>
232
+ </td>
233
+ </tr>
234
+ <tr>
235
+ <td colspan="2">
236
+ <p style="margin:0; padding:0px 0 4px; color:#6E6E71; text-align: right">
237
+ <a href="https://www.smileyourpla.net/" style="display: inline-block; color:#6E6E71;" target="_blank"><img
238
+ src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_smileYourPlanet.png"
239
+ alt="Initiative Smile your planet" height="36"></a>
240
+ <% if(user.calendlyUrl) { %>
241
+ <a href="<%= user.calendlyUrl %>" style="display: inline-block; color:#6E6E71;" target="_blank">
242
+ <img
243
+ src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_rdv_tel<%= commercialName === 'Pourcentage' ? '_pourcentage' : '' %>.png"
244
+ alt="Demande de rdv téléphonique">
245
+ </a>
246
+ <% } %>
247
+ </p>
248
+ </td>
249
+ </tr>
250
+ </table>
218
251
  <% } %>
219
- </p>
220
252
  </td>
221
253
  </tr>
222
254
 
@@ -1,6 +1,7 @@
1
1
  import { IExercice, IPrestation, IPrestationList } from '../types';
2
2
  import { intersection } from './noLodash';
3
3
  import { PrestationDetail, PrestationType } from '../types/Enum/PrestationType';
4
+ import { LegalFormTypeEnum } from '../types/Enum/LegalForm';
4
5
  import { PrestationOptionType, PrestationOption } from '../types/Enum/PrestationOption';
5
6
  import { PriceGridClementine } from '../types/Enum/PriceGridClementine';
6
7
  import { PriceGridPourcentage } from '../types/Enum/PriceGridPourcentage';
@@ -364,7 +365,10 @@ const calculatePrestationPrice = (
364
365
  }
365
366
  totalPrestation += (OptionTotalPrice ? OptionTotalPrice : 0);
366
367
 
367
- if (isWithApplicationFees) totalPrestation += 50;
368
+ if (isWithApplicationFees) {
369
+ if (idLegalForm === LegalFormTypeEnum.SCI) totalPrestation += 150;
370
+ else totalPrestation += 50;
371
+ }
368
372
 
369
373
  const calculDetail = `${monthNbr > 0 ? monthNbr + ' mois x ' + (Math.round(price * 100) / 100) + '€' : (Math.round(price * 100) / 100) + '€'} ${totalAmount > 0 ? '- ' + totalAmount + '€' : ''} ${totalPercentage > 0 ? '- ' + totalPercentage + '%' : ''} ${isWithApplicationFees ? '+ 50€' : ''}`;
370
374