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:
Lance Edgar 2021-10-06 18:43:52 -04:00
parent d933dd2723
commit c611eb3787
2 changed files with 20 additions and 0 deletions

View file

@ -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() {