call final-deductible if vehicle is a policy vehicle
This commit is contained in:
parent
e7a8f55f38
commit
d992e1fc84
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ export default {
|
|||
];
|
||||
|
||||
let pricingResults = [];
|
||||
if (useMainStore().order.policy.policyLookupSuccessful) {
|
||||
if (useMainStore().order.policy.policyLookupSuccessful && useMainStore().order.vehicle.policyVehicleId) {
|
||||
pricingResults = await useMainStore().getPriceOrderItems(availableLineItems);
|
||||
await useMainStore().getFinalDeductible();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue