diff --git a/apps/web/src/app/billing/clients/preview-invoice.client.ts b/apps/web/src/app/billing/clients/preview-invoice.client.ts index 65ed78315d2..20d3d1c407f 100644 --- a/apps/web/src/app/billing/clients/preview-invoice.client.ts +++ b/apps/web/src/app/billing/clients/preview-invoice.client.ts @@ -21,6 +21,7 @@ export class ProrationPreviewResponse extends BaseResponse { tax: number; total: number; credit: number; + proratedAmountOfMonths: number; constructor(response: any) { super(response); @@ -28,6 +29,7 @@ export class ProrationPreviewResponse extends BaseResponse { this.tax = this.getResponseProperty("Tax"); this.total = this.getResponseProperty("Total"); this.credit = this.getResponseProperty("Credit"); + this.proratedAmountOfMonths = this.getResponseProperty("ProratedAmountOfMonths"); } }