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:
2026-07-02 23:53:43 -04:00
co-authored by Claude Sonnet 4.6
parent abb2a0ac96
commit 75ecd7cc20
998 changed files with 18415 additions and 283 deletions
File diff suppressed because one or more lines are too long
@@ -512,7 +512,6 @@ exports.Prisma.LabRxTemplateScalarFieldEnum = {
caseType: 'caseType',
material: 'material',
instructions: 'instructions',
doctorName: 'doctorName',
sortOrder: 'sortOrder',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
@@ -534,6 +533,12 @@ exports.Prisma.CommissionBatchItemScalarFieldEnum = {
collectionAmount: 'collectionAmount'
};
exports.Prisma.SeleniumSettingsScalarFieldEnum = {
id: 'id',
userId: 'userId',
paymentGroupId: 'paymentGroupId'
};
exports.Prisma.SortOrder = {
asc: 'asc',
desc: 'desc'
@@ -687,7 +692,8 @@ exports.Prisma.ModelName = {
PatientConversation: 'PatientConversation',
LabRxTemplate: 'LabRxTemplate',
CommissionBatch: 'CommissionBatch',
CommissionBatchItem: 'CommissionBatchItem'
CommissionBatchItem: 'CommissionBatchItem',
SeleniumSettings: 'SeleniumSettings'
};
/**
+1643 -39
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,5 +1,5 @@
{
"name": "prisma-client-2773da16452916320fe842966d774d65188a68e02f9e8e8f296d6070f7b7a13b",
"name": "prisma-client-1397903f012032ff276557e7a077db07df8a7cae6f68fef0b7224d110a42b0e3",
"main": "index.js",
"types": "index.d.ts",
"browser": "default.js",
+11 -1
View File
@@ -51,6 +51,7 @@ model User {
insuranceContacts InsuranceContact[]
patientConversations PatientConversation[]
labRxTemplates LabRxTemplate[]
seleniumSettings SeleniumSettings?
}
model Patient {
@@ -707,7 +708,6 @@ model LabRxTemplate {
caseType String?
material String?
instructions String?
doctorName String?
sortOrder Int @default(0)
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
@@ -745,3 +745,13 @@ model CommissionBatchItem {
@@unique([commissionBatchId, paymentId])
@@index([paymentId])
}
model SeleniumSettings {
id Int @id @default(autoincrement())
userId Int @unique
paymentGroupId String @default("")
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
@@map("selenium_settings")
}