Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
feat: POS Support Copy Order (#837)
Browse files Browse the repository at this point in the history
  • Loading branch information
elsiosanchez authored Sep 1, 2023
1 parent a842c38 commit 100056f
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions components/ADempiere/Form/VPOS/Options/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ export default {
activeName: '',
processPos: '',
pin: '',
checked1: false,
checked1: true,
isAction: false,
attributePin: {},
validatePin: true,
Expand Down Expand Up @@ -2128,7 +2128,19 @@ export default {
salesRepresentativeId: this.currentPointOfSales.salesRepresentative.id
})
.then(response => {
console.log({ response })
this.$store.dispatch('reloadOrder', { orderUuid: response.uuid })
this.$message({
type: 'success',
message: 'Ok',
showClose: true
})
})
.catch(error => {
this.$message({
type: 'error',
message: error.message,
showClose: true
})
})
console.info('Support Copy Order', this.currentOrder.uuid)
},
Expand Down

0 comments on commit 100056f

Please sign in to comment.