Changed format
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
d6278e0df9
commit
df3fbf291b
|
@ -5,8 +5,10 @@ export default class Controller extends Component {
|
|||
onSubmit() {
|
||||
const orgData = this.$.watcher.orgData;
|
||||
delete this.client.despiteOfClient;
|
||||
|
||||
const hasContactData = this.client.email || this.client.phone || this.client.mobile;
|
||||
if (!orgData.isTaxDataChecked && this.client.isTaxDataChecked && hasContactData)
|
||||
const isDataChecked = !orgData.isTaxDataChecked && this.client.isTaxDataChecked;
|
||||
if (isDataChecked && hasContactData)
|
||||
this.checkExistingClient();
|
||||
else this.save();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue