From 027025935cc0348fddccb17e4d33ac3911898a4a Mon Sep 17 00:00:00 2001 From: Firman Ramdhani Date: Mon, 19 May 2025 17:42:35 +0700 Subject: [PATCH] feat: add column and filter payment reference at report income --- .../transaction-report/configs/income.ts | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/modules/reports/shared/configs/transaction-report/configs/income.ts b/src/modules/reports/shared/configs/transaction-report/configs/income.ts index b66bdf9..bb611ba 100644 --- a/src/modules/reports/shared/configs/transaction-report/configs/income.ts +++ b/src/modules/reports/shared/configs/transaction-report/configs/income.ts @@ -255,7 +255,14 @@ export default { { column: 'main__payment_card_information', query: 'main.payment_card_information', - label: 'Information', + label: 'Card Information', + type: DATA_TYPE.DIMENSION, + format: DATA_FORMAT.TEXT, + }, + { + column: 'main__payment_code_reference', + query: 'main.payment_code_reference', + label: 'Payment Reference', type: DATA_TYPE.DIMENSION, format: DATA_FORMAT.TEXT, }, @@ -334,6 +341,18 @@ export default { field_type: FILTER_FIELD_TYPE.input_tag, filter_type: FILTER_TYPE.TEXT_MULTIPLE_CONTAINS, }, + { + filed_label: 'Card Information', + filter_column: 'main__payment_card_information', + field_type: FILTER_FIELD_TYPE.input_tag, + filter_type: FILTER_TYPE.TEXT_IN_MEMBER, + }, + { + filed_label: 'Payment Reference', + filter_column: 'main__payment_code_reference', + field_type: FILTER_FIELD_TYPE.input_tag, + filter_type: FILTER_TYPE.TEXT_IN_MEMBER, + }, { filed_label: 'Tgl. Pengembalian', filter_column: 'refund__refund_date', -- 2.40.1