File manager - Edit - /home/autoph/public_html/projects/ahg-hr/assets/EmployeeLoanService.75cd26ec.js
Back
import{a as t}from"./index.85badd64.js";const e="https://staging-ahg-hr-api.autohub.ph/api/v1/employee-loans",n="https://staging-ahg-hr-api.autohub.ph/api/v1/get-employee-loans",o="https://staging-ahg-hr-api.autohub.ph/api/v1/employee-loans-activation",r="https://staging-ahg-hr-api.autohub.ph/api/v1/loan-full-payment",h={fetchRecords(a={}){return t.get(`${e}`,{params:a})},fetchRecord(a){return t.get(`${e}/${a}`)},fetchEmployeeLoan(a={}){return t.get(`${n}`,{params:a})},async create(a){return t.post(`${e}`,a)},async update(a){return t.post(`${e}/update`,a)},async remove(a){return t.delete(`${e}/${a}`)},async activate(a,p){return t.put(`${o}/${a}`,p)},async fullPayment(a,p){return t.put(`${r}/${a}`,p)}};export{h as E};
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0.13 |
proxy
|
phpinfo
|
Settings