After spending so much time talking about how important Warrants are, it is actually surprising to see the UI for a warrant:
It is pretty simple, because from a data entry perspective, there isn’t really much to it. It is the effects of the Warrants that make it such an interesting concept. One thing to note here is that the date that we care about for the Warrant isn’t the date it was issued, but when the guy was actually arrested, that is where the clock starts ticking.
Adding a Warrant is also not that complex from a data entry perspective:
As you can see, thus far, it is pretty simple. But when you click the Finish button the complexity starts.
We need to check that the Warrant is valid (issued by someone with the authority to do so), and then calculate the new duration for the Inmate.
And that is enough for today, I just wrote ~10 posts on Macto in the last 24 hours, it is time to do something else.