28 lines
1.1 KiB
Markdown
28 lines
1.1 KiB
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.
|
|
- Start balances are configured separately from current FLEX hours.
|
|
- The planner shows configurable numbers of previous and future months around the current month.
|
|
- Monthly vacation-day corrections can be entered directly in the planner table, 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.
|