Commit e1e1b56
Appointment edit: reject past End Date/Time with a clear error
In the patient chart appointment edit form, the End Date/Time was accepting
dates in the past. Now block save when the end is before now (message: "We
can't assign a previous end date — choose a future date and time") and when
the end is not after the start, with an inline field error on the End field.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent ecf8f34 commit e1e1b56
1 file changed
Lines changed: 38 additions & 0 deletions
Lines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5483 | 5483 | | |
5484 | 5484 | | |
5485 | 5485 | | |
| 5486 | + | |
| 5487 | + | |
| 5488 | + | |
| 5489 | + | |
| 5490 | + | |
| 5491 | + | |
| 5492 | + | |
| 5493 | + | |
| 5494 | + | |
| 5495 | + | |
| 5496 | + | |
| 5497 | + | |
| 5498 | + | |
| 5499 | + | |
| 5500 | + | |
| 5501 | + | |
| 5502 | + | |
| 5503 | + | |
| 5504 | + | |
| 5505 | + | |
| 5506 | + | |
| 5507 | + | |
| 5508 | + | |
| 5509 | + | |
| 5510 | + | |
| 5511 | + | |
| 5512 | + | |
| 5513 | + | |
| 5514 | + | |
| 5515 | + | |
| 5516 | + | |
| 5517 | + | |
| 5518 | + | |
| 5519 | + | |
| 5520 | + | |
| 5521 | + | |
| 5522 | + | |
| 5523 | + | |
5486 | 5524 | | |
5487 | 5525 | | |
5488 | 5526 | | |
| |||
0 commit comments