fix
All checks were successful
Build And Deploy Main / build-and-deploy (push) Successful in 27s

This commit is contained in:
2026-03-09 16:03:27 -04:00
parent 067893fbf9
commit be1ce5fd4c

View File

@@ -19,7 +19,10 @@ const RoutesSection = ({transRoutes, copyList, sectionName, drivers, vehicles, c
const scheduleDate = params.get('dateSchedule');
const normalizeCustomerType = (value) => `${value || ''}`.trim().toLowerCase().replace(/\s+/g, '_');
const isMemberLikeType = (value) => [CUSTOMER_TYPE.MEMBER, CUSTOMER_TYPE.SELF_PAY].includes(normalizeCustomerType(value));
const isMemberLikeType = (value) => {
const normalizedType = normalizeCustomerType(value);
return normalizedType === '' || [CUSTOMER_TYPE.MEMBER, CUSTOMER_TYPE.SELF_PAY].includes(normalizedType);
};
const isVisitorType = (value) => normalizeCustomerType(value) === CUSTOMER_TYPE.VISITOR;
useEffect(() => {