From a72fbec5ceab4997fb462b5e23dde8a30e3a0554 Mon Sep 17 00:00:00 2001 From: rstubryan Date: Wed, 14 Jan 2026 22:02:48 +0700 Subject: [PATCH] refactor(FE): Remove CN and PPN columns and bold receivables --- .../report/finance/export/CustomerPaymentExportPDF.tsx | 3 --- .../report/finance/export/CustomerPaymentExportXLSX.tsx | 2 -- .../pages/report/finance/tab/CustomerPaymentTab.tsx | 7 +++++-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/components/pages/report/finance/export/CustomerPaymentExportPDF.tsx b/src/components/pages/report/finance/export/CustomerPaymentExportPDF.tsx index 8887320c..8dce38ad 100644 --- a/src/components/pages/report/finance/export/CustomerPaymentExportPDF.tsx +++ b/src/components/pages/report/finance/export/CustomerPaymentExportPDF.tsx @@ -302,9 +302,6 @@ const createPDFDocument = (params: CustomerPaymentExportPDFParams) => { Harga Awal - - CN - Harga Akhir diff --git a/src/components/pages/report/finance/export/CustomerPaymentExportXLSX.tsx b/src/components/pages/report/finance/export/CustomerPaymentExportXLSX.tsx index 2fe29c76..b14b5ef6 100644 --- a/src/components/pages/report/finance/export/CustomerPaymentExportXLSX.tsx +++ b/src/components/pages/report/finance/export/CustomerPaymentExportXLSX.tsx @@ -88,9 +88,7 @@ export const generateCustomerPaymentExcel = ( { wch: 12 }, // Berat { wch: 10 }, // AVG { wch: 15 }, // Harga Awal - { wch: 10 }, // CN { wch: 15 }, // Harga Akhir - { wch: 10 }, // PPN { wch: 15 }, // Total { wch: 15 }, // Pembayaran { wch: 15 }, // Saldo Piutang diff --git a/src/components/pages/report/finance/tab/CustomerPaymentTab.tsx b/src/components/pages/report/finance/tab/CustomerPaymentTab.tsx index c5e79d8b..928c9c41 100644 --- a/src/components/pages/report/finance/tab/CustomerPaymentTab.tsx +++ b/src/components/pages/report/finance/tab/CustomerPaymentTab.tsx @@ -470,7 +470,11 @@ const CustomerPaymentTab = () => { cell: (props) => { const value = props.row.original.accounts_receivable; return ( -
+
{formatCurrency(value)}
); @@ -728,7 +732,6 @@ const CustomerPaymentTab = () => { total_initial_amount: 0, total_credit_note: 0, total_final_amount: 0, - total_ppn: 0, total_grand_amount: 0, total_payment: 0, total_accounts_receivable: 0,