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

@@ -1,8 +1,7 @@
import * as z from 'zod';
import type { Prisma } from '../../generated/prisma';
import Decimal from "decimal.js";
import { Prisma } from '../../generated/prisma';
import Decimal from 'decimal.js';
// DECIMAL HELPERS
//------------------------------------------------------
@@ -24,7 +23,7 @@ export const isValidDecimalInput = (
if (v === undefined || v === null) return false;
return (
// Explicit instance checks first
v instanceof Decimal ||
v instanceof 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