mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 07:15:44 +00:00
refactor(FE): Update customer payment types and exports
This commit is contained in:
@@ -412,9 +412,7 @@ const CustomerPaymentTab = () => {
|
||||
return <div className='text-right'>{formatCurrency(value)}</div>;
|
||||
},
|
||||
footer: () => (
|
||||
<div className='text-right font-semibold text-gray-900'>
|
||||
{formatCurrency(summary.total_initial_amount) || '-'}
|
||||
</div>
|
||||
<div className='text-right font-semibold text-gray-900'>-</div>
|
||||
),
|
||||
},
|
||||
{
|
||||
@@ -510,7 +508,7 @@ const CustomerPaymentTab = () => {
|
||||
status: getPaymentStatusIndicatorColor(value),
|
||||
}}
|
||||
>
|
||||
{getPaymentStatusText(value)}
|
||||
<span>{getPaymentStatusText(value)}</span>
|
||||
</Badge>
|
||||
);
|
||||
},
|
||||
@@ -729,8 +727,6 @@ const CustomerPaymentTab = () => {
|
||||
const summary = customerReport.summary || {
|
||||
total_qty: 0,
|
||||
total_weight: 0,
|
||||
total_initial_amount: 0,
|
||||
total_credit_note: 0,
|
||||
total_final_amount: 0,
|
||||
total_grand_amount: 0,
|
||||
total_payment: 0,
|
||||
|
||||
Reference in New Issue
Block a user