@silexpert/core 1.1.201 → 1.1.203

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 (180) hide show
  1. package/dist/cjs/api/resources/OldExpertInfos.d.ts +9 -0
  2. package/dist/cjs/api/resources/OldExpertInfos.d.ts.map +1 -0
  3. package/dist/cjs/api/resources/OldExpertInfos.js +20 -0
  4. package/dist/cjs/api/resources/OldExpertInfos.js.map +1 -0
  5. package/dist/cjs/api/resources.d.ts +2 -0
  6. package/dist/cjs/api/resources.d.ts.map +1 -1
  7. package/dist/cjs/api/resources.js +2 -0
  8. package/dist/cjs/api/resources.js.map +1 -1
  9. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.d.ts +2 -1
  10. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
  11. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.js +2 -1
  12. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
  13. package/dist/cjs/types/Enum/CommercialOfferType.d.ts +13 -0
  14. package/dist/cjs/types/Enum/CommercialOfferType.d.ts.map +1 -1
  15. package/dist/cjs/types/Enum/CommercialOfferType.js +10 -0
  16. package/dist/cjs/types/Enum/CommercialOfferType.js.map +1 -1
  17. package/dist/cjs/types/Enum/ComptaType.d.ts +19 -0
  18. package/dist/cjs/types/Enum/ComptaType.d.ts.map +1 -1
  19. package/dist/cjs/types/Enum/ComptaType.js +27 -1
  20. package/dist/cjs/types/Enum/ComptaType.js.map +1 -1
  21. package/dist/cjs/types/Enum/Ged.d.ts +23 -1
  22. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  23. package/dist/cjs/types/Enum/Ged.js +23 -1
  24. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  25. package/dist/cjs/types/Enum/MailDomainType.d.ts.map +1 -1
  26. package/dist/cjs/types/Enum/MailDomainType.js +2 -0
  27. package/dist/cjs/types/Enum/MailDomainType.js.map +1 -1
  28. package/dist/cjs/types/Enum/PriceGridClementine.d.ts +13 -20
  29. package/dist/cjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  30. package/dist/cjs/types/Enum/PriceGridClementine.js +39 -39
  31. package/dist/cjs/types/Enum/PriceGridClementine.js.map +1 -1
  32. package/dist/cjs/types/Enum/PriceGridLegalstart.d.ts +7 -11
  33. package/dist/cjs/types/Enum/PriceGridLegalstart.d.ts.map +1 -1
  34. package/dist/cjs/types/Enum/PriceGridLegalstart.js +13 -13
  35. package/dist/cjs/types/Enum/PriceGridLegalstart.js.map +1 -1
  36. package/dist/cjs/types/Enum/PriceGridPourcentage.d.ts +8 -13
  37. package/dist/cjs/types/Enum/PriceGridPourcentage.d.ts.map +1 -1
  38. package/dist/cjs/types/Enum/PriceGridPourcentage.js +156 -156
  39. package/dist/cjs/types/Enum/PriceGridPourcentage.js.map +1 -1
  40. package/dist/cjs/types/Interface/api/contest/Create.d.ts +6 -1
  41. package/dist/cjs/types/Interface/api/contest/Create.d.ts.map +1 -1
  42. package/dist/cjs/types/Interface/api/contest/Create.js +30 -2
  43. package/dist/cjs/types/Interface/api/contest/Create.js.map +1 -1
  44. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts +2 -1
  45. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
  46. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js +6 -2
  47. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
  48. package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts +1 -1
  49. package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  50. package/dist/cjs/types/Interface/api/library/QueryLibrary.js +1 -1
  51. package/dist/cjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
  52. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts +16 -0
  53. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -0
  54. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +94 -0
  55. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -0
  56. package/dist/cjs/types/Interface/api/userRoomEquipment/CreateSignature.d.ts +2 -0
  57. package/dist/cjs/types/Interface/api/userRoomEquipment/CreateSignature.d.ts.map +1 -1
  58. package/dist/cjs/types/Interface/api/userRoomEquipment/CreateSignature.js +10 -0
  59. package/dist/cjs/types/Interface/api/userRoomEquipment/CreateSignature.js.map +1 -1
  60. package/dist/cjs/types/Interface/models/IOldExpertInfo.d.ts +6 -6
  61. package/dist/cjs/types/Interface/models/IOldExpertInfo.d.ts.map +1 -1
  62. package/dist/cjs/types/Interface/models/IOldExpertInfo.js.map +1 -1
  63. package/dist/cjs/types/Interface/models/IUserContest.d.ts +3 -0
  64. package/dist/cjs/types/Interface/models/IUserContest.d.ts.map +1 -1
  65. package/dist/cjs/types/Interface/models/IUserContest.js.map +1 -1
  66. package/dist/cjs/types/Interface/models/IVoteContest.d.ts +1 -0
  67. package/dist/cjs/types/Interface/models/IVoteContest.d.ts.map +1 -1
  68. package/dist/cjs/types/Interface/models/IVoteContest.js.map +1 -1
  69. package/dist/cjs/types/index.d.ts +1 -0
  70. package/dist/cjs/types/index.d.ts.map +1 -1
  71. package/dist/cjs/types/index.js +1 -0
  72. package/dist/cjs/types/index.js.map +1 -1
  73. package/dist/cjs/utils/documents.d.ts.map +1 -1
  74. package/dist/cjs/utils/documents.js +2 -1
  75. package/dist/cjs/utils/documents.js.map +1 -1
  76. package/dist/cjs/utils/prestation.d.ts +2 -2
  77. package/dist/cjs/utils/prestation.d.ts.map +1 -1
  78. package/dist/cjs/utils/prestation.js +23 -17
  79. package/dist/cjs/utils/prestation.js.map +1 -1
  80. package/dist/mjs/api/resources/OldExpertInfos.d.ts +9 -0
  81. package/dist/mjs/api/resources/OldExpertInfos.d.ts.map +1 -0
  82. package/dist/mjs/api/resources/OldExpertInfos.js +20 -0
  83. package/dist/mjs/api/resources/OldExpertInfos.js.map +1 -0
  84. package/dist/mjs/api/resources.d.ts +2 -0
  85. package/dist/mjs/api/resources.d.ts.map +1 -1
  86. package/dist/mjs/api/resources.js +2 -0
  87. package/dist/mjs/api/resources.js.map +1 -1
  88. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.d.ts +2 -1
  89. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
  90. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.js +2 -1
  91. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
  92. package/dist/mjs/types/Enum/CommercialOfferType.d.ts +13 -0
  93. package/dist/mjs/types/Enum/CommercialOfferType.d.ts.map +1 -1
  94. package/dist/mjs/types/Enum/CommercialOfferType.js +10 -0
  95. package/dist/mjs/types/Enum/CommercialOfferType.js.map +1 -1
  96. package/dist/mjs/types/Enum/ComptaType.d.ts +19 -0
  97. package/dist/mjs/types/Enum/ComptaType.d.ts.map +1 -1
  98. package/dist/mjs/types/Enum/ComptaType.js +26 -0
  99. package/dist/mjs/types/Enum/ComptaType.js.map +1 -1
  100. package/dist/mjs/types/Enum/Ged.d.ts +23 -1
  101. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  102. package/dist/mjs/types/Enum/Ged.js +23 -1
  103. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  104. package/dist/mjs/types/Enum/MailDomainType.d.ts.map +1 -1
  105. package/dist/mjs/types/Enum/MailDomainType.js +2 -0
  106. package/dist/mjs/types/Enum/MailDomainType.js.map +1 -1
  107. package/dist/mjs/types/Enum/PriceGridClementine.d.ts +13 -20
  108. package/dist/mjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  109. package/dist/mjs/types/Enum/PriceGridClementine.js +39 -39
  110. package/dist/mjs/types/Enum/PriceGridClementine.js.map +1 -1
  111. package/dist/mjs/types/Enum/PriceGridLegalstart.d.ts +7 -11
  112. package/dist/mjs/types/Enum/PriceGridLegalstart.d.ts.map +1 -1
  113. package/dist/mjs/types/Enum/PriceGridLegalstart.js +13 -13
  114. package/dist/mjs/types/Enum/PriceGridLegalstart.js.map +1 -1
  115. package/dist/mjs/types/Enum/PriceGridPourcentage.d.ts +8 -13
  116. package/dist/mjs/types/Enum/PriceGridPourcentage.d.ts.map +1 -1
  117. package/dist/mjs/types/Enum/PriceGridPourcentage.js +156 -156
  118. package/dist/mjs/types/Enum/PriceGridPourcentage.js.map +1 -1
  119. package/dist/mjs/types/Interface/api/contest/Create.d.ts +6 -1
  120. package/dist/mjs/types/Interface/api/contest/Create.d.ts.map +1 -1
  121. package/dist/mjs/types/Interface/api/contest/Create.js +35 -2
  122. package/dist/mjs/types/Interface/api/contest/Create.js.map +1 -1
  123. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts +2 -1
  124. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
  125. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js +7 -2
  126. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
  127. package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts +1 -1
  128. package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  129. package/dist/mjs/types/Interface/api/library/QueryLibrary.js +1 -1
  130. package/dist/mjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
  131. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts +16 -0
  132. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -0
  133. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +103 -0
  134. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -0
  135. package/dist/mjs/types/Interface/api/userRoomEquipment/CreateSignature.d.ts +2 -0
  136. package/dist/mjs/types/Interface/api/userRoomEquipment/CreateSignature.d.ts.map +1 -1
  137. package/dist/mjs/types/Interface/api/userRoomEquipment/CreateSignature.js +13 -1
  138. package/dist/mjs/types/Interface/api/userRoomEquipment/CreateSignature.js.map +1 -1
  139. package/dist/mjs/types/Interface/models/IOldExpertInfo.d.ts +6 -6
  140. package/dist/mjs/types/Interface/models/IOldExpertInfo.d.ts.map +1 -1
  141. package/dist/mjs/types/Interface/models/IOldExpertInfo.js.map +1 -1
  142. package/dist/mjs/types/Interface/models/IUserContest.d.ts +3 -0
  143. package/dist/mjs/types/Interface/models/IUserContest.d.ts.map +1 -1
  144. package/dist/mjs/types/Interface/models/IUserContest.js.map +1 -1
  145. package/dist/mjs/types/Interface/models/IVoteContest.d.ts +1 -0
  146. package/dist/mjs/types/Interface/models/IVoteContest.d.ts.map +1 -1
  147. package/dist/mjs/types/Interface/models/IVoteContest.js.map +1 -1
  148. package/dist/mjs/types/index.d.ts +1 -0
  149. package/dist/mjs/types/index.d.ts.map +1 -1
  150. package/dist/mjs/types/index.js +1 -0
  151. package/dist/mjs/types/index.js.map +1 -1
  152. package/dist/mjs/utils/documents.d.ts.map +1 -1
  153. package/dist/mjs/utils/documents.js +2 -1
  154. package/dist/mjs/utils/documents.js.map +1 -1
  155. package/dist/mjs/utils/prestation.d.ts +2 -2
  156. package/dist/mjs/utils/prestation.d.ts.map +1 -1
  157. package/dist/mjs/utils/prestation.js +22 -16
  158. package/dist/mjs/utils/prestation.js.map +1 -1
  159. package/package.json +1 -1
  160. package/ts/api/resources/OldExpertInfos.ts +25 -0
  161. package/ts/api/resources.ts +2 -0
  162. package/ts/types/Enum/BalanceSheetQuestionWording.ts +2 -1
  163. package/ts/types/Enum/CommercialOfferType.ts +10 -0
  164. package/ts/types/Enum/ComptaType.ts +28 -1
  165. package/ts/types/Enum/Ged.ts +23 -1
  166. package/ts/types/Enum/MailDomainType.ts +2 -0
  167. package/ts/types/Enum/PriceGridClementine.ts +39 -39
  168. package/ts/types/Enum/PriceGridLegalstart.ts +13 -13
  169. package/ts/types/Enum/PriceGridPourcentage.ts +156 -156
  170. package/ts/types/Interface/api/contest/Create.ts +28 -3
  171. package/ts/types/Interface/api/gedFile/createFileAndGed.ts +5 -2
  172. package/ts/types/Interface/api/library/QueryLibrary.ts +1 -1
  173. package/ts/types/Interface/api/oldExportInfo/OldExpertInfos.ts +67 -0
  174. package/ts/types/Interface/api/userRoomEquipment/CreateSignature.ts +9 -1
  175. package/ts/types/Interface/models/IOldExpertInfo.ts +6 -6
  176. package/ts/types/Interface/models/IUserContest.ts +3 -0
  177. package/ts/types/Interface/models/IVoteContest.ts +2 -1
  178. package/ts/types/index.ts +1 -0
  179. package/ts/utils/documents.ts +2 -1
  180. package/ts/utils/prestation.ts +28 -18
package/ts/types/index.ts CHANGED
@@ -729,6 +729,7 @@ export * from './Interface/api/team/QueryUpdate';
729
729
  export * from './Interface/api/constitutionHistory/QueryPaginatedConstitutionHistory';
730
730
  export * from './Interface/api/userSpecialDay/BodyUserSpecialDay';
731
731
  export * from './Interface/api/userSpecialDay/QueryUserSpecialDay';
732
+ export * from './Interface/api/oldExportInfo/OldExpertInfos';
732
733
 
733
734
  // export * from './Interface/api/survey/QuerySurvey';
734
735
  export * from './Interface/api/survey/ReadSurvey';
@@ -41,7 +41,8 @@ const requiredListDocs = (params: RequiredDocsType): GedFileType[] => {
41
41
  generique.push(GedFileType.DISTRIBUTION_OF_SHARE);
42
42
  }
43
43
 
44
- if ([LegalForm.SELARLU.id, LegalForm.EURL.id, LegalForm.SASU.id, LegalForm.SA.id, LegalForm.SAS.id, LegalForm.SARL.id, LegalForm.SCI.id, LegalForm.EARL.id].includes(idLegalForm)) {
44
+ if ([LegalForm.SELARLU.id, LegalForm.EURL.id, LegalForm.SASU.id, LegalForm.SA.id,
45
+ LegalForm.SAS.id, LegalForm.SARL.id, LegalForm.SCI.id, LegalForm.EARL.id, LegalForm.GIE.id].includes(idLegalForm)) {
45
46
  return [...generique, GedFileType.KBIS, GedFileType.STATUTES, GedFileType.DBE2, GedFileType.SEPA];
46
47
  }
47
48
  if ([LegalForm.SELARL.id].includes(idLegalForm)) {
@@ -17,8 +17,7 @@ type priceGridBrand = {
17
17
 
18
18
  type priceGrid = {
19
19
  idPrestationList: number[],
20
- minimumMonthlyPayment?: monthlyPayment[],
21
- maximumMonthlyPayment?: monthlyPayment[],
20
+ monthlyNbr?: monthlyNbr[],
22
21
  turnoverCreatedYear?: turnover[],
23
22
  turnoverPastYear?: turnover[],
24
23
  turnoverMonthly?: turnover[],
@@ -32,9 +31,11 @@ type priceGrid = {
32
31
  legalForm?: legalForm[],
33
32
  };
34
33
 
35
- type monthlyPayment = {
36
- id: number,
37
- month: number,
34
+ type monthlyNbr = {
35
+ minimum: number,
36
+ maximum: number,
37
+ value: number,
38
+ closingType: number[],
38
39
  };
39
40
 
40
41
  type turnover = {
@@ -135,7 +136,7 @@ const getPriceGrid = (idTypeBrand: number, idPrestationList: number): priceGrid
135
136
  return currentPriceGrid;
136
137
  };
137
138
 
138
- const calculatePrestationPriceWithPriceGrid = (idPrestationList: number, endDate: string, NbrMonth: number, turnover: number, rentsNumber: number, employeesNumber: number, associatesNumber: number, idTypeBrand: number, idVatRegime: number, pastBalanceSheet: boolean, isYearly: boolean, totalMonth: number, idTaxSystem: number, idLegalForm: number): { totalPrestation: number, reduceMonth: number, canBeCreated: boolean, monthNbr: number, price: number } => {
139
+ const calculatePrestationPriceWithPriceGrid = (idPrestationList: number, endDate: string, NbrMonth: number, turnover: number, rentsNumber: number, employeesNumber: number, associatesNumber: number, idTypeBrand: number, idVatRegime: number, pastBalanceSheet: boolean, isYearly: boolean, totalMonth: number, idTaxSystem: number, idLegalForm: number, balanceSheetOffered: number = 0): { totalPrestation: number, reduceMonth: number, canBeCreated: boolean, monthNbr: number, price: number } => {
139
140
  let totalPrestation: number = 0;
140
141
  let reduceMonth: number = 0;
141
142
  let monthNbr: number = NbrMonth;
@@ -175,21 +176,30 @@ const calculatePrestationPriceWithPriceGrid = (idPrestationList: number, endDate
175
176
  /* Gestion des mois */
176
177
  let cloturedPast: boolean = false;
177
178
  if (dayjs(endDate, 'YYYY-MM-DD').subtract(15, 'day').isBefore(dayjs())) cloturedPast = true;
178
- const minimumMonth: number | undefined = currentPriceGrid.minimumMonthlyPayment?.find(monthlyPayment => monthlyPayment.id === (cloturedPast ? ClosingType.OUTDATED : ClosingType.IN_PROGRESS))?.month;
179
- const maximumMonth: number | undefined = currentPriceGrid.maximumMonthlyPayment?.find(monthlyPayment => monthlyPayment.id === (cloturedPast ? ClosingType.OUTDATED : ClosingType.IN_PROGRESS))?.month;
180
- if (totalMonth > 0) monthNbr = monthNbr - totalMonth;
181
- if (minimumMonth && monthNbr < minimumMonth) {
182
- monthNbr = minimumMonth;
183
- recalculateMonthly = true;
184
- if (totalMonth > 0) canBeCreated = false;
179
+ let monthlyNbrList: monthlyNbr[] | undefined;
180
+ let monthlyNbr: monthlyNbr | undefined;
181
+ if (currentPriceGrid.monthlyNbr) {
182
+ monthlyNbrList = currentPriceGrid.monthlyNbr?.filter(el => el.closingType.includes(cloturedPast ? ClosingType.OUTDATED : ClosingType.IN_PROGRESS));
183
+ if (monthlyNbrList) {
184
+ monthlyNbr = monthlyNbrList.find(el => (el.minimum <= monthNbr) && (monthNbr <= el.maximum));
185
+ if (monthlyNbr) {
186
+ monthNbr = monthlyNbr.value;
187
+ }
188
+ }
185
189
  }
186
- if (maximumMonth && monthNbr > maximumMonth) {
187
- monthNbr = maximumMonth;
190
+ if (totalMonth > 0) {
191
+ if (monthlyNbr && ((monthNbr - totalMonth) < monthlyNbr?.minimum)) canBeCreated = false;
192
+ monthNbr = monthNbr - totalMonth;
188
193
  recalculateMonthly = true;
189
- if (totalMonth > 0) canBeCreated = false;
190
194
  }
191
195
 
192
196
  reduceMonth = (monthNbr === NbrMonth - totalMonth ? totalMonth : 0);
197
+
198
+ if (balanceSheetOffered > 0) {
199
+ yearlyPrice = undefined;
200
+ recalculateMonthly = false;
201
+ finalMonthlyPrice = balanceSheetOffered / monthNbr;
202
+ }
193
203
 
194
204
  /* Prix Final */
195
205
  totalPrestation = (yearlyPrice ? yearlyPrice : finalMonthlyPrice * monthNbr);
@@ -205,7 +215,7 @@ const calculatePrestationPriceWithPrestationList = (prestationList: IPrestationL
205
215
  return totalPrestation;
206
216
  };
207
217
 
208
- const calculatePrestationPrice = (idPrestationList: number, prestationList: IPrestationList, endDate: string, NbrMonth: number, turnover: number, rentsNumber: number, employeesNumber: number, associatesNumber: number, idTypeBrand: number, idVatRegime: number, pastBalanceSheet: boolean, optionsList: number[], totalPercentage: number, totalAmount: number, totalMonth: number, isWithApplicationFees: boolean, idTaxSystem: number, idLegalForm: number, isYearly: boolean = false): { totalPrestation: number, reduceMonth: number, canBeCreated: boolean, calculDetail: string, monthlyPrice: string, price: number } => {
218
+ const calculatePrestationPrice = (idPrestationList: number, prestationList: IPrestationList, endDate: string, NbrMonth: number, turnover: number, rentsNumber: number, employeesNumber: number, associatesNumber: number, idTypeBrand: number, idVatRegime: number, pastBalanceSheet: boolean, optionsList: number[], totalPercentage: number, totalAmount: number, totalMonth: number, isWithApplicationFees: boolean, idTaxSystem: number, idLegalForm: number, isYearly: boolean = false, balanceSheetOffered: number = 0): { totalPrestation: number, reduceMonth: number, canBeCreated: boolean, calculDetail: string, monthlyPrice: string, price: number } => {
209
219
  let totalPrestation: number = 0;
210
220
  let reduceMonth: number = 0;
211
221
  let canBeCreated: boolean = true;
@@ -241,7 +251,7 @@ const calculatePrestationPrice = (idPrestationList: number, prestationList: IPre
241
251
  PrestationType.STATUTS_OPTION_2,
242
252
  ].includes(idPrestationList)
243
253
  ) {
244
- totalWithReduce = calculatePrestationPriceWithPriceGrid(idPrestationList, endDate, NbrMonth, turnover, rentsNumber, employeesNumber, associatesNumber, idTypeBrand, idVatRegime, pastBalanceSheet, isYearly, totalMonth, idTaxSystem, idLegalForm);
254
+ totalWithReduce = calculatePrestationPriceWithPriceGrid(idPrestationList, endDate, NbrMonth, turnover, rentsNumber, employeesNumber, associatesNumber, idTypeBrand, idVatRegime, pastBalanceSheet, isYearly, totalMonth, idTaxSystem, idLegalForm, balanceSheetOffered);
245
255
  totalPrestation = totalWithReduce.totalPrestation;
246
256
  reduceMonth = totalWithReduce.reduceMonth;
247
257
  canBeCreated = totalWithReduce.canBeCreated;