This commit is contained in:
Patrick Alvin Alcala 2025-09-22 11:45:22 +08:00
parent d7fadb74d6
commit 99cd91158a

View file

@ -20,8 +20,6 @@ export default () => {
const response = await ofetch(api + 'get-laststatus-electrical/' + list[i], { parseResponse: JSON.parse }) const response = await ofetch(api + 'get-laststatus-electrical/' + list[i], { parseResponse: JSON.parse })
if (response.result === 'FOR ELECTRICAL ORDER OF PAYMENT APPROVAL') { if (response.result === 'FOR ELECTRICAL ORDER OF PAYMENT APPROVAL') {
newList.push(list[i]) newList.push(list[i])
} else {
// console.log(response.result)
} }
} }
@ -43,8 +41,6 @@ export default () => {
const listOfReadyForApproval = await getListOfReadyForApproval() const listOfReadyForApproval = await getListOfReadyForApproval()
const listOfReadyForApprovalFiltered = await getListOfReadyForApprovalFiltered(listOfReadyForApproval) const listOfReadyForApprovalFiltered = await getListOfReadyForApprovalFiltered(listOfReadyForApproval)
await getApplicationById(listOfReadyForApprovalFiltered) await getApplicationById(listOfReadyForApprovalFiltered)
console.log(updatedList())
} }
load() load()