Merge pull request #1203 from Safelite/feature/skiener/INSR-9404

INSR-9404 | Suppress THS part from glass-fees
This commit is contained in:
scottkiener-at-safelite 2026-04-28 14:16:03 -04:00 committed by GitHub
commit 050974bce8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View file

@ -4,7 +4,8 @@ const partNumberStrings = Object.freeze({
RECAL_MOBILE: 'RECAL MOBILE',
RECAL_MOBILEDUAL: 'RECAL MOBILEDUAL',
REPAIR: 'WSREPAIR',
SUPPLIES_REPAIR: 'SUPPLIES-REPAIR'
SUPPLIES_REPAIR: 'SUPPLIES-REPAIR',
TESLA_THS_SRVCE: 'TESLA THS SRVCE'
});
export default partNumberStrings;

View file

@ -1942,6 +1942,8 @@ export const useMainStore = defineStore({
} else if (fee.partNumber === partNumberStrings.LABOR2) {
// Do not add Labor2 to feeItems since it's already been added to supportingItems
this.addPartNumberFeeItem(null, partNumberStrings.LABOR2);
}else if (fee.partNumber === partNumberStrings.TESLA_THS_SRVCE) {
// Do not add Tesla THS Service Fee to feeItems, it is a child part already
} else {
this.addPartNumberFeeItem(fee, fee.partNumber);
}