suggestSlots built gaps only from timed jobs, so a tech loaded with untimed (no start_time) legacy jobs still looked free and got offered slots. Now the day is skipped when timed + untimed committed hours + the requested duration exceed the shift. Also matches assigned_tech by technician_id OR docname. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| data | ||
| docs | ||
| lib | ||
| preview | ||
| public | ||
| scripts | ||
| templates | ||
| test | ||
| .env.example | ||
| docker-compose.yml | ||
| package-lock.json | ||
| package.json | ||
| server.js | ||