refactor(FE): Remove credit_note and ppn fields

This commit is contained in:
rstubryan
2026-01-14 16:57:52 +07:00
parent c5baff6f33
commit e134f0994b
4 changed files with 0 additions and 47 deletions
@@ -417,21 +417,6 @@ const CustomerPaymentTab = () => {
</div>
),
},
{
id: 'credit_note',
header: 'CN',
accessorKey: 'credit_note',
enableSorting: false,
cell: (props) => {
const value = props.row.original.credit_note;
return <div className='text-right'>{formatCurrency(value)}</div>;
},
footer: () => (
<div className='text-right font-semibold text-gray-900'>
{formatCurrency(summary.total_credit_note) || '-'}
</div>
),
},
{
id: 'final_price',
header: 'Harga Akhir',
@@ -447,19 +432,6 @@ const CustomerPaymentTab = () => {
</div>
),
},
{
id: 'ppn',
header: 'PPN (%)',
accessorKey: 'ppn',
enableSorting: false,
cell: (props) => {
const value = props.row.original.ppn;
return <div className='text-right'>{formatNumber(value)}%</div>;
},
footer: () => (
<div className='text-right font-semibold text-gray-900'>-</div>
),
},
{
id: 'total',
header: 'Total',