First version

This commit is contained in:
marijo 2026-06-09 07:20:08 +00:00
parent 19bb4146da
commit 0727798af7
7 changed files with 1581 additions and 0 deletions

27
README.md Normal file
View file

@ -0,0 +1,27 @@
# GO Vacation Planner
Small PHP + SQLite web app for planning Danish vacation days, feriefridage, FLEX hours, and explicit unpaid fallback per date range.
## Local run
```bash
php -S 127.0.0.1:8080
```
Open <http://127.0.0.1:8080>.
The SQLite database is created automatically in `data/go.sqlite`.
## Rules currently modeled
- Vacation accrues monthly, default `2.08` days/month.
- Feriefridage grant yearly, default `5` days/year.
- Feriefridage must be used before `31 August` and expire before September planning.
- FLEX days use `7.5h` Monday-Thursday and `7h` Friday.
- Start balances are configured separately from current FLEX hours.
- Monthly vacation-day corrections can be entered, e.g. `+1.2` or `-2.6` days.
- Each date-range entry can individually allow unpaid fallback so only that range is converted to unpaid days if balances are insufficient.
## Data
Runtime database files are ignored by git. Back up `data/go.sqlite` if needed.