|
@ -51,17 +51,18 @@ const schema = { |
|
|
}, |
|
|
}, |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
const baseUrl = "settleaccount/h-bPO_BA_SERVICE"; |
|
|
const queryUrl = "settleaccount/hbpo_ba_service/main-query"; |
|
|
const queryUrl = `${baseUrl}/main-query`; |
|
|
const exportUrl = "settleaccount/hbpo_ba_service/export"; |
|
|
const detailsUrl = `${baseUrl}/get/%s`; |
|
|
const invoiceUrl = "settleaccount/hbpo_ba_service/generate-invoice"; |
|
|
const exportUrl = `${baseUrl}/export`; |
|
|
const receivedUrl = "settleaccount/hbpo_ba_service/received"; |
|
|
const invoiceUrl = "settleaccount/h-bPO_BA_SERVICE/generate-invoice"; |
|
|
const rejectUrl = "settleaccount/hbpo_ba_service/reject"; |
|
|
const receivedUrl = "settleaccount/h-bPO_BA_SERVICE/received"; |
|
|
const reissueUrl = "settleaccount/hbpo_ba_service/reissue-invoice"; |
|
|
const queryMethod = "POST"; |
|
|
const queryMethod = "POST"; |
|
|
const detailsMethod = "POST"; |
|
|
|
|
|
const exportMethod = "POST"; |
|
|
const exportMethod = "POST"; |
|
|
const invoiceMethod = "POST"; |
|
|
const invoiceMethod = "POST"; |
|
|
const receivedMethod = "POST"; |
|
|
const receivedMethod = "POST"; |
|
|
|
|
|
const rejectMethod = "POST"; |
|
|
|
|
|
const reissueMethod = "POST"; |
|
|
|
|
|
|
|
|
export default function () { |
|
|
export default function () { |
|
|
return { |
|
|
return { |
|
@ -122,14 +123,16 @@ export default function () { |
|
|
schema: schema, |
|
|
schema: schema, |
|
|
}, |
|
|
}, |
|
|
edit: { |
|
|
edit: { |
|
|
detailsUrl, |
|
|
|
|
|
exportUrl, |
|
|
exportUrl, |
|
|
invoiceUrl, |
|
|
invoiceUrl, |
|
|
receivedUrl, |
|
|
receivedUrl, |
|
|
detailsMethod, |
|
|
rejectUrl, |
|
|
|
|
|
reissueUrl, |
|
|
exportMethod, |
|
|
exportMethod, |
|
|
invoiceMethod, |
|
|
invoiceMethod, |
|
|
receivedMethod, |
|
|
receivedMethod, |
|
|
|
|
|
rejectMethod, |
|
|
|
|
|
reissueMethod, |
|
|
schema: schema, |
|
|
schema: schema, |
|
|
}, |
|
|
}, |
|
|
}; |
|
|
}; |
|
|