Clear out contact for custorder if user clicks "customer is unknown"
also show pending customer reference when viewing proper custorder
This commit is contained in:
parent
d933dd2723
commit
c611eb3787
2 changed files with 20 additions and 0 deletions
|
@ -892,6 +892,16 @@
|
|||
this.customerPanelOpen = true
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
contactIsKnown: function(val) {
|
||||
// if user has already specified a proper contact, then
|
||||
// clicks the "contact is unknown" button, then we want
|
||||
// to *clear out* the existing contact
|
||||
if (!val && this.contactUUID) {
|
||||
this.contactChanged(null)
|
||||
}
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
|
||||
startOverEntirely() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue