mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 07:15:44 +00:00
refactor(FE): Remove credit_note and ppn fields
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user