mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
get PO from api
This commit is contained in:
@@ -222,7 +222,11 @@ export default {
|
||||
return baseUrl + path
|
||||
},
|
||||
onDownloadPO () {
|
||||
alert('Downloading PO')
|
||||
const url = '/api/invoice/' + this.booking_details.id + '/po'
|
||||
axios
|
||||
.get(url)
|
||||
.then(resp => console.log(resp))
|
||||
.catch(err => console.error(JSON.stringify(err)))
|
||||
},
|
||||
onDownloadDO () {
|
||||
alert('Downloading DO')
|
||||
|
||||
Reference in New Issue
Block a user