fix: use rendering provider from claim form for MassHealth dentist search, default to Mary Scannell, select first office option

This commit is contained in:
Gitead
2026-04-23 00:25:11 -04:00
parent 1414ec11fd
commit ca7797841f
798 changed files with 2565 additions and 21785 deletions

View File

@@ -38,6 +38,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
Object.defineProperty(exports, "__esModule", { value: true });
exports.isValidDecimalInput = exports.DECIMAL_STRING_REGEX = exports.DecimalJSLikeSchema = void 0;
const z = __importStar(require("zod"));
const prisma_1 = require("../../generated/prisma");
const decimal_js_1 = __importDefault(require("decimal.js"));
// DECIMAL HELPERS
//------------------------------------------------------
@@ -55,7 +56,7 @@ const isValidDecimalInput = (v) => {
return false;
return (
// Explicit instance checks first
v instanceof decimal_js_1.default ||
v instanceof prisma_1.Prisma.Decimal ||
// If Decimal.js is present and imported by the generator, this symbol exists at runtime
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore - Decimal may be undefined when not installed; codegen controls the import