|
|
|
@ -59,7 +59,7 @@ const DashboardBOD = () => {
|
|
|
|
|
|
|
|
|
|
// project expenditure
|
|
|
|
|
const getCompanyCashFlow = async () => { |
|
|
|
|
const URL = `${BASE_OSPRO}/api/dashboard/get-company-cashflow/${filterYear}` |
|
|
|
|
const URL = `${BASE_OSPRO}/api/dashboard/get-company-cashflow` |
|
|
|
|
const result = await axios.get(URL, HEADER).then(res => res).catch(err => err.response) |
|
|
|
|
const content = "Get Project Expenditure."; |
|
|
|
|
|
|
|
|
@ -83,7 +83,7 @@ const DashboardBOD = () => {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const getInvoiceOutstanding = async () => { |
|
|
|
|
const URL = `${BASE_OSPRO}/api/dashboard/get-invoice-outstanding/${filterYear}` |
|
|
|
|
const URL = `${BASE_OSPRO}/api/dashboard/get-invoice-outstanding` |
|
|
|
|
const result = await axios.get(URL, HEADER).then(res => res).catch(err => err.response) |
|
|
|
|
const content = "Get Project Invoice vs Cash In."; |
|
|
|
|
|
|
|
|
@ -106,7 +106,7 @@ const DashboardBOD = () => {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const getProjectPerScheduleHealth = async () => { |
|
|
|
|
const URL = `${BASE_OSPRO}/api/dashboard/get-total-project-per-schedule-health/${filterYear}` |
|
|
|
|
const URL = `${BASE_OSPRO}/api/dashboard/get-total-project-per-schedule-health` |
|
|
|
|
const result = await axios.get(URL, HEADER).then(res => res).catch(err => err.response) |
|
|
|
|
const content = "Get Project by Schedule Health."; |
|
|
|
|
|
|
|
|
@ -130,7 +130,7 @@ const DashboardBOD = () => {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const getProjectPerBudgetHealth = async () => { |
|
|
|
|
const URL = `${BASE_OSPRO}/api/dashboard/get-total-project-per-budget-health/${filterYear}` |
|
|
|
|
const URL = `${BASE_OSPRO}/api/dashboard/get-total-project-per-budget-health` |
|
|
|
|
const result = await axios.get(URL, HEADER).then(res => res).catch(err => err.response) |
|
|
|
|
const content = "Get Project by Budget Health."; |
|
|
|
|
|
|
|
|
@ -153,7 +153,7 @@ const DashboardBOD = () => {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const getProjectBudgetHealthPerDivision = async () => { |
|
|
|
|
const URL = `${BASE_OSPRO}/api/dashboard/get-total-project-budget-health-per-division/${filterYear}` |
|
|
|
|
const URL = `${BASE_OSPRO}/api/dashboard/get-total-project-budget-health-per-division` |
|
|
|
|
const result = await axios.get(URL, HEADER).then(res => res).catch(err => err.response) |
|
|
|
|
const content = "Get Project by Schedule Health per Division."; |
|
|
|
|
|
|
|
|
@ -177,7 +177,7 @@ const DashboardBOD = () => {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const getProjectScheduleHealthPerDivision = async () => { |
|
|
|
|
const URL = `${BASE_OSPRO}/api/dashboard/get-total-project-schedule-health-per-division/${filterYear}` |
|
|
|
|
const URL = `${BASE_OSPRO}/api/dashboard/get-total-project-schedule-health-per-division` |
|
|
|
|
const result = await axios.get(URL, HEADER).then(res => res).catch(err => err.response) |
|
|
|
|
const content = "Get Project by Schedule Health."; |
|
|
|
|
|
|
|
|
@ -200,7 +200,7 @@ const DashboardBOD = () => {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const getProjectPerPhase = async () => { |
|
|
|
|
const URL = `${BASE_OSPRO}/api/dashboard/get-total-project-per-phase/${filterYear}` |
|
|
|
|
const URL = `${BASE_OSPRO}/api/dashboard/get-total-project-per-phase` |
|
|
|
|
const result = await axios.get(URL, HEADER).then(res => res).catch(err => err.response) |
|
|
|
|
const content = "Get Project by Phase."; |
|
|
|
|
|
|
|
|
@ -225,7 +225,7 @@ const DashboardBOD = () => {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const getTotalProjectPerDivision = async () => { |
|
|
|
|
const URL = `${BASE_OSPRO}/api/dashboard/get-total-project-per-division/${filterYear}` |
|
|
|
|
const URL = `${BASE_OSPRO}/api/dashboard/get-total-project-per-division` |
|
|
|
|
const result = await axios.get(URL, HEADER).then(res => res).catch(err => err.response) |
|
|
|
|
const content = "Get Project by Division."; |
|
|
|
|
|
|
|
|
@ -247,7 +247,7 @@ const DashboardBOD = () => {
|
|
|
|
|
SET_READY_PROJECT_PER_DIVISION(true); |
|
|
|
|
} |
|
|
|
|
const getTotalProjectValuePerDivision = async () => { |
|
|
|
|
const URL = `${BASE_OSPRO}/api/dashboard/get-total-project-value-per-division/${filterYear}` |
|
|
|
|
const URL = `${BASE_OSPRO}/api/dashboard/get-total-project-value-per-division` |
|
|
|
|
const result = await axios.get(URL, HEADER).then(res => res).catch(err => err.response) |
|
|
|
|
const content = "Get Project Value by Division"; |
|
|
|
|
|
|
|
|
|