- UX fixes (#142)

* - changed homeoffice icon color

* - improved list of request on dashboard

* - hide holidays if no data

* - fix to holidays

* - fix

* - made forms looks better

* - hide chart when user has no vacation limit

* - linter fix

* - fix to pdf attachment for vacation request
This commit is contained in:
Ewelina Lasowy
2022-05-06 12:29:06 +02:00
committed by GitHub
parent 497f47068c
commit f4d928c6ae
11 changed files with 51 additions and 40 deletions

View File

@@ -16,7 +16,7 @@ class HolidayResource extends JsonResource
"id" => $this->id,
"name" => $this->name,
"date" => $this->date->toDateString(),
"isPast" => $this->date->isPast(),
"isPast" => $this->date->endOfDay()->isPast(),
"displayDate" => $this->date->toDisplayString(),
"dayOfWeek" => $this->date->dayName,
];