Components
Consolesrc/components/worksheet.tsx

Worksheet

A small bordered table for a dialog: the thing on the left, its figure on the right, a muted second line where a row needs one. The Console's refund, a student's move between locations and Retire location all show their sums in it.

Counts

Retire location's list of what moves with it. Only the rows with anybody in them.

Students34
Finished or deactivatedLocation only6
Staff4
Cars2
Booked drivesStay on the schedule11

A subtraction with its answer

A move's revenue split. The closing row, WorksheetTotal, goes after the rows, outside them, as the answer.

Held at Katy$849.00
Stays at Katy5 of 14 drive hours done−$303.21
Moves to Memorial9 unused drive hours$545.79

Switched deductions

A refund. A switch in the leading column turns a deduction off, and the row stays, struck through.

Teen packagePaid$849.00
Drives used5 of 14−$303.21
Keep halfOf the 7 unused drives after the first 7−$212.25
Admin feeAllowed by the contract−$50.00
RefundTo Visa ending 4242$283.54

Used on

Console
/console/locations/[id]/console/locations/franchises/[id]/console/people/console/people/[id]/console/reporting/student-records