File manager - Edit - /home/autoph/public_html/projects/ahg-hr/assets/LeaveApprovalService.7c4b4fc8.js
Back
import{a as t}from"./index.28ae41da.js";const p="https://staging-ahg-hr-api.autohub.ph/api/v1/leave-approval",r="https://staging-ahg-hr-api.autohub.ph/api/v1/update-leave-approval",o="https://staging-ahg-hr-api.autohub.ph",n={fetchRecords(a={}){return t.get(`${p}`,{params:a})},fetchRecord(a){return t.get(`${p}/${a}`)},async create(a){return t.post(`${p}`,a)},async update(a,e){return t.put(`${p}/${a}`,e)},async updateApprover(a,e){return t.put(`${r}/${a}`,e)},async hrValidation(a,e){return t.put(`${o}/api/v1/validate-leave-approval/${a}`,e)},async remove(a){return t.delete(`${p}/${a}`)}};export{n as L};
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings