From 8e79b5ba9a5eb3db1bd85c78ccfe15844b281b8c Mon Sep 17 00:00:00 2001 From: farhantock Date: Wed, 13 Dec 2023 21:54:09 +0700 Subject: [PATCH] update url get-invoice-outstanding --- src/views/Dashboard/DashboardBOD.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Dashboard/DashboardBOD.js b/src/views/Dashboard/DashboardBOD.js index 83b2442..8006da5 100644 --- a/src/views/Dashboard/DashboardBOD.js +++ b/src/views/Dashboard/DashboardBOD.js @@ -104,7 +104,7 @@ const DashboardBOD = (props) => { } 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 content = "Get Project Invoice vs Cash In.";