File manager - Edit - /home/autoph/.trash/assets/PurchaseOrderService-4cec5da9.js
Back
import{a as e}from"./index-8959e255.js";const r="https://ahg-prf-api.autohub.ph/api/v1/purchase-orders",p="https://ahg-prf-api.autohub.ph/api/v1/purchase-order",s="https://ahg-prf-api.autohub.ph/api/v1",u="https://ahg-prf-api.autohub.ph/api/v1/purchase-order-count",c={fetchRecords(t={}){return e.get(`${p}`,{params:t})},fetchRecord(t){return e.get(`${r}/${t}`)},async create(t){return e.post(`${r}`,t)},async save_po(t){return e.post(`${r}/save-po`,t)},po_terms(){return e.get(`${s}/po-terms`)},async update(t,a){return e.put(`${p}/${t}`,a)},async remove(t){return e.delete(`${r}/${t}`)},fetchItems(t={}){return e.get(`${r}/create`,{params:t})},fetchPoItems(t={}){return e.get(`${s}/PurchaseOrderItems/items`,{params:t})},async updateStatus(t,a){return e.put(`${r}/update-status/${t}`,a)},fetchPOCount(t={}){return e.get(`${u}`,{params:t})}};export{c as P};
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings