27 lines
1,006 B
Markdown
27 lines
1,006 B
Markdown
# 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.
|
|
- The planner shows configurable numbers of previous and future months around the current month.
|
|
- Monthly vacation, feriefridage, and FLEX balances can be corrected directly in the planner table.
|
|
- 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.
|