|
|
|
@ -61,7 +61,7 @@ const DashboardBOD = () => {
|
|
|
|
|
|
|
|
|
|
// project expenditure
|
|
|
|
|
const getCompanyCashFlow = async () => { |
|
|
|
|
const URL = `${BASE_OSPRO}/api/dashboard/get-company-cashflow` |
|
|
|
|
const URL = `${BASE_OSPRO}/api/dashboard/get-company-cashflow/${moment().format('YYYY')}` |
|
|
|
|
const result = await axios.get(URL, HEADER).then(res => res).catch(err => err.response) |
|
|
|
|
const content = "Get Project Expenditure."; |
|
|
|
|
|
|
|
|
@ -250,7 +250,7 @@ const DashboardBOD = () => {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const getTotalProjectValuePerDivision = async () => { |
|
|
|
|
const URL = `${BASE_OSPRO}/api/dashboard/get-total-project-value-per-division` |
|
|
|
|
const URL = `${BASE_OSPRO}/api/dashboard/get-total-project-value-per-division/${moment().format('YYYY')}` |
|
|
|
|
const result = await axios.get(URL, HEADER).then(res => res).catch(err => err.response) |
|
|
|
|
const content = "Get Project Value by Division"; |
|
|
|
|
|
|
|
|
|