@silexpert/core 1.1.73 → 1.1.75

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.
@@ -5,7 +5,7 @@ export declare class Checklist extends Resource {
5
5
  get(id: number): Promise<IChecklist | null>;
6
6
  getToComplete(idSociety: number): Promise<ReadChecklistDeadline>;
7
7
  create(payload: IChecklist): Promise<IChecklist>;
8
- update(id: number, payload: Partial<IChecklist>): Promise<import("axios").AxiosResponse<any, any>>;
8
+ update(id: number, payload: Partial<IChecklist>): Promise<import("axios").AxiosResponse<any>>;
9
9
  getAllErrors(checklist: IChecklist, meta: QueryGetAllBlockingIssues): IChecklistType[];
10
10
  /**
11
11
  * QUESTIONS
@@ -15,6 +15,6 @@ export declare class Checklist extends Resource {
15
15
  * ANSWERS
16
16
  */
17
17
  updateAnswers(id: number, payload: UpdateAnswer[]): Promise<boolean>;
18
- synchronize(id: number): Promise<import("axios").AxiosResponse<any, any>>;
18
+ synchronize(id: number): Promise<import("axios").AxiosResponse<any>>;
19
19
  }
20
20
  //# sourceMappingURL=Checklist.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { Resource } from '../Resource';
2
2
  export declare class Fusion extends Resource {
3
- fusion(idSocietySource: number, idSocietyTarget: number): Promise<import("axios").AxiosResponse<any, any>>;
3
+ fusion(idSocietySource: number, idSocietyTarget: number): Promise<import("axios").AxiosResponse<any>>;
4
4
  }
5
5
  //# sourceMappingURL=Fusion.d.ts.map
@@ -322,7 +322,7 @@ export function getCerfa3517Century23Payload(accountingEntries, payload) {
322
322
  data.recapitulation.toPay = data.recapitulation.vatNetDue + data.recapitulation.assimiledTax + data.recapitulation.consumsion;
323
323
  data.refund.surplus = shouldFillRefund ? data.net.surplus : 0;
324
324
  data.refund.maximum = shouldFillRefund ? data.refund.creditRefundable + data.refund.surplus : 0;
325
- data.refund.reportable = shouldFillRefund ? data.refund.maximum - data.refund.reportable : 0;
325
+ data.refund.reportable = shouldFillRefund ? data.refund.maximum - data.refund.asked : 0;
326
326
  data.total = setZeroIfIsNegative(data.vat.total.tax - (data.vat.saleOfImmobilization.tax + data.vat.ownDelivery.tax + data.deductible.total1));
327
327
  return data;
328
328
  }