|
|
|
@ -242,7 +242,7 @@ const DashboardProject = () => {
|
|
|
|
|
let cash_in = result.data.data.data.total_invoice_paid_amount; |
|
|
|
|
let outstanding_balance = total_invoice - cash_in; |
|
|
|
|
setTotalInvoice(total_invoice ? total_invoice.toString() : null); |
|
|
|
|
setCashIn(cash_in ? total_invoice.toString() : null) |
|
|
|
|
setCashIn(cash_in ? cash_in.toString() : null) |
|
|
|
|
setOutstandingBalance(outstanding_balance ? outstanding_balance.toString() : null); |
|
|
|
|
} |
|
|
|
|
setIsReadyIntegrationInvoice(true); |
|
|
|
|