Additional Changes for calculations of RPS %.

This commit is contained in:
Patrick Fic
2020-10-16 15:14:25 -07:00
parent c94f525a3e
commit 584f43bc4e
27 changed files with 504 additions and 115 deletions

View File

@@ -166,7 +166,11 @@ const DetermineVehicleGroup = async (job) => {
query: QUERY_GROUPS_BY_MAKE_TYPE,
variables: {
make: job.v_makedesc.toUpperCase(),
type: job.v_type ? job.v_type.toUpperCase() : null,
type:
job.v_type && job.v_type.toUpperCase() !== "PC"
? job.v_type.toUpperCase()
: null,
isNull: job.v_type && job.v_type.toUpperCase() !== "PC" ? false : true,
},
});