logic changes for zero deductible
This commit is contained in:
parent
4ad6b3e1b6
commit
cb2d0f993c
1 changed files with 5 additions and 5 deletions
|
|
@ -464,18 +464,18 @@ export default {
|
|||
return isRepair;
|
||||
case 'deductibleOverZero':
|
||||
return (
|
||||
this.isDeductibleVisible && this.deductibleValue !== 0
|
||||
); // TODO what if deductible is negative?
|
||||
this.isDeductibleVisible && this.deductibleValue > 0
|
||||
);
|
||||
case 'isDeductibleZero':
|
||||
return (
|
||||
this.isDeductibleVisible && this.deductibleValue === 0
|
||||
this.isDeductibleVisible && this.deductibleValue <= 0
|
||||
);
|
||||
case 'verifiedRepair':
|
||||
return isRepair && this.isDeductibleVisible;
|
||||
case 'verifiedReplaceZeroDeductible':
|
||||
return !isRepair && this.isDeductibleVisible && this.deductibleValue === 0;
|
||||
return !isRepair && this.isDeductibleVisible && this.deductibleValue <= 0;
|
||||
case 'verifiedReplaceDeductibleOverZero':
|
||||
return !isRepair && this.isDeductibleVisible && this.deductibleValue !== 0;
|
||||
return !isRepair && this.isDeductibleVisible && this.deductibleValue > 0;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue