Waive Request Fee subtracts $100 instead of $50

For AJF's home inspection fee, the configured condition subtracts $50 when Waive Request Fee is true. On some orders, toggling Waive Request Fee reduces the fee by $100 instead of $50.

This has happened multiple times.

Screen Recording 2026-04-23 at 5.25.10β€―PM.mov

Upon further investigation this issue only seems to happen when the inspector on the order is actually requested. The toggle behaves as expected (removes $50) when the inspector is not requested.


Additional context from code review

Most likely this is a pricing-context mismatch in workorder recalculation (not a service config issue).

In the required-info repricing helper, modifier recalculation currently passes requested as false unconditionally, even when the inspection has requested inspectors.

That can produce a net -$100 instead of -$50 when both of these exist on the same service:

  • requested-inspector fee modifier (for example +50)
  • Waive Request Fee conditional (for example -50)

In that case, toggling waive can both:

  • remove the +50 requested context (because requested is treated as false), and
  • apply the -50 waive condition, which nets -100.

This aligns with observed behavior: issue only appears when inspector is actually requested; non-requested orders still behave as expected.

Evidence snippet

const mods = modifierPriceAdjFn(
  { ...serviceDef, startingFee, isPrimary },
  property,
  /* requested */ false,
  newRequiredInfoValues,
  equipmentQuantities,
  serviceIds,
  inspectorIds
);

Please authenticate to join the conversation.

Upvoters
Status

Planned

Board
🏠

Main App

Date

About 1 month ago

Author

Linear

Subscribe to post

Get notified by email when there are changes.