Repository navigation
feat: a trip names everyone in the vehicle, and its time bills and pays by the head - #229
Merged
Merged
Conversation
…ys by the head A trip names who rode in it beside whoever drove, as a team entry names its crew (trip_rider). The trip form and the Driving screen ask who else was in the vehicle, from anyone on the team besides the driver. A trip's time bills as Drive time at the head count, the rate for the first person and the additional rate for each after, as a team's hour does. Each person in the vehicle is paid for it by their own time rule on Drive time, and is owed it, paid it and reported apart. Its miles are the vehicle's, and bill and pay as they did. Whoever drove is not a rider too (a_driver_is_not_a_rider), and who rode stands once the trip's time is billed or paid (who_rode_stands), both refused by the database. Someone with Field sees a trip they rode in, as team work they were on, with only their own pay; they change only a trip they recorded, and their phone keeps for no signal only the trips they drove. The trip screen says who was in it, and What it pays lists each of them. Trips names the riders, a person's pay lists their ride, and the pay report counts each person's drive pay as what they are paid as. The demo's Drive time bills $30.00 more for each other person, and Sam rides beside Avery to Woodland. Guard section 63 holds the rest. Refs #222 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TsLtVyutCz6jx8goTac4Mf
… name Sam rides beside Avery on one of her trips, so Sam's name is on her Trips list as her rider. The offline check said Trips was kept as Avery's own when no "Sam Ortega" appeared on it; it now says so when each trip the kept list links is one kept as hers, and Sam's own drive is not among them, as the access check already does. Refs #222 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TsLtVyutCz6jx8goTac4Mf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #222. Its third PR: everyone in the vehicle.
A trip named who drove it and nobody else, so two people driving out to a job together were one person's time on the road: billed for one, and paid to one.
What changes
trip_rider). The trip form asks under "Also in the vehicle", and the Driving screen under "Also in it". The choice is anyone on the team besides the driver, so someone with Field, who records only trips they drove, can still name who rode with them.a_driver_is_not_a_rider);who_rode_stands). A billed hour stands the same way, refused by the database rather than left to whatever saves the trip.Checks
🤖 Generated with Claude Code
https://claude.ai/code/session_01TsLtVyutCz6jx8goTac4Mf