fix: use rendering provider from claim form for MassHealth dentist search, default to Mary Scannell, select first office option
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user