CSR-1981 show mobile fee free alert if it is 0

CSR-1981 show mobile fee free alert if it is 0
This commit is contained in:
CarlNation 2024-08-14 10:39:41 -04:00
parent 7ff88162d7
commit 7fee462163

View file

@ -316,7 +316,11 @@ export default {
},
showMobileFreeAlert() {
var hasMobileFee = true;
if (this.mobileFeePart?.laborAmount == 0 && this.mobileFeePart?.sellingPrice == 0 && this.mobileFeePart.kitPrice == 0) {
if (
this.mobileFeePart?.laborAmount == 0 &&
this.mobileFeePart?.sellingPrice == 0 &&
this.mobileFeePart.kitPrice == 0
) {
hasMobileFee = false;
}
@ -411,7 +415,6 @@ export default {
}
if (mobileFeePart) {
console.log(JSON.stringify(mobileFeePart));
this.mobileFeePart = mobileFeePart;
}