Repository navigation
feat: travel to a site near the base bills nothing, inside a free radius - #230
Open
TylerVigario wants to merge 2 commits into
Open
TylerVigario wants to merge 2 commits into
TylerVigario wants to merge 2 commits into
Conversation
The business keeps a free radius on Settings → Travel (free_radius), in miles one way from the base, dated as a price is. A change is a new row, an earlier day is allowed, one from the same day replaces it until that day has passed, a coming one shows as Scheduled and can be taken back, and a row with no miles means no free radius from that day. A site is inside the radius when half its round trip, typed or Google's, is at or within the one in force on the day the trip was driven. Then nothing the trip drove for it bills, its miles or its time. The rest of the trip bills as it would, and what each drive pays follows its rule. A site whose drive is not known bills, and so does an address that is no site. The trip form and the trip say which drives are free and by what radius. Unbilled moves free travel from To bill to Not billable, beside the hours given away, and a site's page says whether travel there is free. The demo is free within 15 miles from a month ago, so the clinic in Elverta is driven free. Guard section 64 holds the table's rules. Refs #222 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TsLtVyutCz6jx8goTac4Mf
This branch has not been deployed
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 fourth PR: the free radius.
Travel to a site near the base is often not billed at all: free within so many miles, and the whole trip beyond. reckon billed every mile and every minute it drove, so the liquor store in town was billed for mileage.
What changes
free_radius), in miles one way from the base, dated as a price is:Checks
🤖 Generated with Claude Code
https://claude.ai/code/session_01TsLtVyutCz6jx8goTac4Mf