Arreglado bug en fiscal data (card.reload)
This commit is contained in:
parent
1542e38746
commit
9dd817c384
|
@ -26,6 +26,9 @@ export default class Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
submit() {
|
submit() {
|
||||||
|
if (this.isEqualizated != this.client.isEqualizated)
|
||||||
|
this.client.hasToInvoiceByAddress = false;
|
||||||
|
|
||||||
return this.$.watcher.submit().then(
|
return this.$.watcher.submit().then(
|
||||||
() => this.checkEtChanges());
|
() => this.checkEtChanges());
|
||||||
}
|
}
|
||||||
|
@ -44,7 +47,6 @@ export default class Controller {
|
||||||
res => {
|
res => {
|
||||||
if (res.data) {
|
if (res.data) {
|
||||||
this.vnApp.showMessage(this.translate.instant('Equivalent tax spreaded'));
|
this.vnApp.showMessage(this.translate.instant('Equivalent tax spreaded'));
|
||||||
this.card.reload();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue