Browse Source

Merge pull request 'update url get-invoice-outstanding' (#28) from Dev-Farhan into staging

Reviewed-on: ibnu/generic-ospro-frontend#28
pull/1/head
farhantock 1 year ago
parent
commit
7c90e60eff
  1. 2
      src/views/Dashboard/DashboardBOD.js

2
src/views/Dashboard/DashboardBOD.js

@ -104,7 +104,7 @@ const DashboardBOD = (props) => {
} }
const getInvoiceOutstanding = async () => { const getInvoiceOutstanding = async () => {
const URL = `${BASE_OSPRO}/api/dashboard/get-invoice-outstanding` const URL = `${BASE_OSPRO}/api/dashboard/get-invoice-outstanding/${moment().format('YYYY')}/${company_id}/${all_project}/${hierarchy}`
const result = await axios.get(URL, HEADER).then(res => res).catch(err => err.response) const result = await axios.get(URL, HEADER).then(res => res).catch(err => err.response)
const content = "Get Project Invoice vs Cash In."; const content = "Get Project Invoice vs Cash In.";

Loading…
Cancel
Save