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

feat: POS Support Copy Order #837

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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