refactor(nestjs): import module

This commit is contained in:
Ahmed Bouhuolia
2025-04-09 10:39:08 +02:00
parent e8f1fedf35
commit d851e5b646
18 changed files with 192 additions and 133 deletions

View File

@@ -59,8 +59,8 @@ export class BillPaymentsApplication {
/**
* Retrieves bill payments list.
*/
public getBillPayments(filterDTO: IBillPaymentsFilter) {
return this.getBillPaymentsService.getBillPayments(filterDTO);
public getBillPayments() {
// return this.getBillPaymentsService.getBillPayments(filterDTO);
}
/**

View File

@@ -19,7 +19,7 @@ export class BillPaymentsExportable extends Exportable {
* @param {number} tenantId
* @returns
*/
public exportable(query: any) {
public async exportable(query: any) {
const filterQuery = (builder) => {
builder.withGraphFetched('entries.bill');
builder.withGraphFetched('branch');