{formatCurrency(customerReport.summary.total_final_amount)}
diff --git a/src/components/pages/report/finance/export/CustomerPaymentExportXLSX.tsx b/src/components/pages/report/finance/export/CustomerPaymentExportXLSX.tsx
index ea7cfd77..2fe29c76 100644
--- a/src/components/pages/report/finance/export/CustomerPaymentExportXLSX.tsx
+++ b/src/components/pages/report/finance/export/CustomerPaymentExportXLSX.tsx
@@ -37,9 +37,7 @@ export const generateCustomerPaymentExcel = (
'Berat (Kg)': formatNumber(item.weight || 0),
AVG: formatNumber(item.average_weight || 0),
'Harga Awal': formatCurrency(item.price || 0),
- CN: formatCurrency(item.credit_note || 0),
'Harga Akhir': formatCurrency(item.final_price || 0),
- 'PPN (%)': formatNumber(item.ppn || 0),
Total: formatCurrency(item.total_price || 0),
Pembayaran: formatCurrency(item.payment_amount || 0),
'Saldo Piutang': formatCurrency(item.accounts_receivable || 0),
@@ -63,11 +61,9 @@ export const generateCustomerPaymentExcel = (
'Harga Awal': formatCurrency(
customerReport.summary.total_initial_amount || 0
),
- CN: formatCurrency(customerReport.summary.total_credit_note || 0),
'Harga Akhir': formatCurrency(
customerReport.summary.total_final_amount || 0
),
- 'PPN (%)': '',
Total: formatCurrency(customerReport.summary.total_grand_amount || 0),
Pembayaran: formatCurrency(customerReport.summary.total_payment || 0),
'Saldo Piutang': formatCurrency(
diff --git a/src/components/pages/report/finance/tab/CustomerPaymentTab.tsx b/src/components/pages/report/finance/tab/CustomerPaymentTab.tsx
index 8e642097..8b2debbf 100644
--- a/src/components/pages/report/finance/tab/CustomerPaymentTab.tsx
+++ b/src/components/pages/report/finance/tab/CustomerPaymentTab.tsx
@@ -417,21 +417,6 @@ const CustomerPaymentTab = () => {
),
},
- {
- id: 'credit_note',
- header: 'CN',
- accessorKey: 'credit_note',
- enableSorting: false,
- cell: (props) => {
- const value = props.row.original.credit_note;
- return {formatCurrency(value)}
;
- },
- footer: () => (
-
- {formatCurrency(summary.total_credit_note) || '-'}
-
- ),
- },
{
id: 'final_price',
header: 'Harga Akhir',
@@ -447,19 +432,6 @@ const CustomerPaymentTab = () => {
),
},
- {
- id: 'ppn',
- header: 'PPN (%)',
- accessorKey: 'ppn',
- enableSorting: false,
- cell: (props) => {
- const value = props.row.original.ppn;
- return {formatNumber(value)}%
;
- },
- footer: () => (
- -
- ),
- },
{
id: 'total',
header: 'Total',
diff --git a/src/types/api/report/customer-payment.d.ts b/src/types/api/report/customer-payment.d.ts
index 8c648cb9..f25f510a 100644
--- a/src/types/api/report/customer-payment.d.ts
+++ b/src/types/api/report/customer-payment.d.ts
@@ -12,9 +12,7 @@ export type CustomerPaymentRow = {
weight: number;
average_weight: number;
price: number;
- credit_note: number;
final_price: number;
- ppn: number;
total_price: number;
payment_amount: number;
accounts_receivable: number;
@@ -28,9 +26,7 @@ export type CustomerPaymentSummary = {
total_qty: number;
total_weight: number;
total_initial_amount: number;
- total_credit_note: number;
total_final_amount: number;
- total_ppn: number;
total_grand_amount: number;
total_payment: number;
total_accounts_receivable: number;