_inspectorRequestedIds on the inspection; charges are not recalculated automatically unless someone edits charges manually.requested in modifierPriceAdjFn (the third argument must be true for that fee to apply). Scheduling and quote flows pass that flag; the work-order request toggle does not run that pricing pipeline.recalculateChargesForRequiredInfo calls modifierPriceAdjFn with requested hard-coded to false, so that path also misses requested-inspector modifiers.useWorkorderPricingSave, WorkorderPriceSavePlan, and related UI to preview and optionally apply charge updates—that interaction pattern is what teams want mirrored.Frontend (attik-frontend)
src/components/ui/InspectorBox.tsx, used from src/app/tools/inspections/[id]/components/WorkorderPage.tsx alongside useWorkorderPricingSave and required-info flows (RequiredInfoSection.tsx, workorderPriceSavePlan.ts).src/util/functions/data/modifierPriceAdjFn.ts, src/util/functions/schedulingHelpers/recalculateChargesForRequiredInfo.ts, calculateServicePrices.ts.Backend (attik-backend)
_inspectorRequestedIds and lock-related fields—live in src/routes/inspection.ts and src/models/inspectionSchema.ts. Confirm whether server-side validation or hooks should participate when charges change with requested inspectors.attik-frontend/src/components/ui/InspectorBox.tsxattik-frontend/src/util/functions/data/modifierPriceAdjFn.tsattik-frontend/src/util/functions/schedulingHelpers/recalculateChargesForRequiredInfo.tsattik-frontend/src/app/tools/inspections/[id]/hooks/useWorkorderPricingSave.tsattik-frontend/src/app/tools/inspections/[id]/components/workorderPriceSavePlan.tsattik-backend/src/routes/inspection.tsPlease authenticate to join the conversation.
Planned
Main App
About 1 month ago
Linear
Get notified by email when there are changes.
Planned
Main App
About 1 month ago
Linear
Get notified by email when there are changes.