RED-8234: fixed licenses total stats.

This commit is contained in:
Nicoleta Panaghiu 2024-01-11 15:06:41 +02:00
parent 361d689f0c
commit a2c91e2149

View File

@ -37,6 +37,8 @@ const defaultOnError: ILicenses = {
],
};
const ALL_START_DATE = '2020-01-01T00:00:00.000Z';
@Injectable({
providedIn: 'root',
})
@ -136,8 +138,8 @@ export class LicenseService extends GenericService<ILicenseReport> {
});
this.allLicensesReport = await this.getReport({
startDate: '2020-01-01T00:00:00.000Z',
endDate: '2023-12-31T00:00:00.000Z',
startDate: ALL_START_DATE,
endDate: endDate.toDate(),
});
}