diff --git a/src/modules/transaction/transaction/domain/usecases/managers/index-transaction.manager.ts b/src/modules/transaction/transaction/domain/usecases/managers/index-transaction.manager.ts index 4b0abfb..cde5623 100644 --- a/src/modules/transaction/transaction/domain/usecases/managers/index-transaction.manager.ts +++ b/src/modules/transaction/transaction/domain/usecases/managers/index-transaction.manager.ts @@ -87,11 +87,11 @@ export class IndexTransactionManager extends BaseIndexManager data: this.filterParam.invoice_codes, }, { - cols: `${this.tableName}.type`, + cols: `${this.tableName}.type::text`, data: this.filterParam.types, }, { - cols: `${this.tableName}.customer_type`, + cols: `${this.tableName}.customer_type::text`, data: this.filterParam.customer_types, }, { @@ -99,7 +99,7 @@ export class IndexTransactionManager extends BaseIndexManager data: this.filterParam.customer_names, }, { - cols: `${this.tableName}.payment_type`, + cols: `${this.tableName}.payment_type::text`, data: this.filterParam.payment_types, }, {