feat: add Selenium Settings page to configure paymentGroupId per office
Adds a new Settings → Advanced → Selenium Settings page where the office name (paymentGroupId) used in United/DentalHub portal dropdowns can be configured without touching code. Previously hardcoded as "Summit Dental Care"; now injected from DB into the three United workers at job dispatch. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
import * as z from 'zod';
|
||||
import { ServiceLineStatusSchema } from '../../enums/ServiceLineStatus.schema';
|
||||
// prettier-ignore
|
||||
export const ServiceLineInputSchema = z.object({
|
||||
id: z.number().int(),
|
||||
claimId: z.number().int().optional().nullable(),
|
||||
paymentId: z.number().int().optional().nullable(),
|
||||
procedureCode: z.string(),
|
||||
procedureDate: z.date(),
|
||||
quad: z.string().optional().nullable(),
|
||||
arch: z.string().optional().nullable(),
|
||||
toothNumber: z.string().optional().nullable(),
|
||||
toothSurface: z.string().optional().nullable(),
|
||||
icn: z.string().optional().nullable(),
|
||||
paidCode: z.string().optional().nullable(),
|
||||
allowedAmount: z.number().optional().nullable(),
|
||||
totalBilled: z.number(),
|
||||
totalPaid: z.number(),
|
||||
totalAdjusted: z.number(),
|
||||
totalDue: z.number(),
|
||||
status: ServiceLineStatusSchema,
|
||||
claim: z.unknown().optional().nullable(),
|
||||
payment: z.unknown().optional().nullable(),
|
||||
serviceLineTransactions: z.array(z.unknown())
|
||||
}).strict();
|
||||
|
||||
export type ServiceLineInputType = z.infer<typeof ServiceLineInputSchema>;
|
||||
Reference in New Issue
Block a user