From cd6a5737e7fac737eed360dfe090d72a7f412b66 Mon Sep 17 00:00:00 2001 From: Aswin Ashar Abdullah Date: Thu, 18 Jul 2024 15:36:38 +0700 Subject: [PATCH] fix(SPG-600) Filter Sumber, Tipe, Kontak pada index booking belum berjalan --- .../domain/usecases/managers/index-transaction.manager.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, }, {