Browse Source

add payload get overdue

pull/1/head
wahyu 1 year ago
parent
commit
c0046ec259
  1. 2
      src/views/Dashboard/DashboardProject.js

2
src/views/Dashboard/DashboardProject.js

@ -328,6 +328,8 @@ const DashboardProject = () => {
const URL = `${BASE_OSPRO}/api/project/get-overdue-activities`; const URL = `${BASE_OSPRO}/api/project/get-overdue-activities`;
const payload = { const payload = {
"id": PROJECT_ID.toString(), "id": PROJECT_ID.toString(),
"gantt": GANTT_ID.toString(),
"scurve": SCURVE ? SCURVE.toString() : null,
"till_date": moment(new Date()).format('YYYY-MM-DD') "till_date": moment(new Date()).format('YYYY-MM-DD')
} }
const result = await axios.post(URL, payload, HEADER).then(res => res).catch(err => err.response) const result = await axios.post(URL, payload, HEADER).then(res => res).catch(err => err.response)

Loading…
Cancel
Save