Browse Source

fix cash in

pull/2/head
ardhi 2 years ago
parent
commit
075ccb02ac
  1. 2
      src/views/Dashboard/DashboardProject.js

2
src/views/Dashboard/DashboardProject.js

@ -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);

Loading…
Cancel
Save