#71 - annual summary #113

Merged
Baakoma merged 16 commits from #71-annual-summary into main 2022-04-07 14:33:15 +02:00
Baakoma commented 2022-04-07 12:59:55 +02:00 (Migrated from github.com)

Me and @EwelinaLasowy created a brand new summary page for employees. On this page, employees can see their vacations (approved and pending) and holidays with additional information by hovering over them.
image

It should close #71 and should close #82

Me and @EwelinaLasowy created a brand new summary page for employees. On this page, employees can see their vacations (approved and pending) and holidays with additional information by hovering over them. ![image](https://user-images.githubusercontent.com/16743001/162184781-5585aa8b-bea4-4bbc-8392-bfa24dd7fc30.png) It should close #71 and should close #82
mtracz (Migrated from github.com) requested changes 2022-04-07 13:39:37 +02:00
mtracz (Migrated from github.com) commented 2022-04-07 13:32:38 +02:00

I think ? (null safe operator) is missing
?->days ?? 0
Cause first() method may return null, then you will receive something like "call property on null"

I think `?` (null safe operator) is missing ```?->days ?? 0``` Cause `first()` method may return null, then you will receive something like "call property on null"
@@ -47,7 +47,15 @@ class Vacation extends Model
{
return $query->whereRelation(
"vacationRequest",
mtracz (Migrated from github.com) commented 2022-04-07 13:33:18 +02:00

Could you add return type of arrow function?

Could you add return type of arrow function?
mtracz (Migrated from github.com) commented 2022-04-07 13:35:08 +02:00

Could you add return types for arrow functions?

Could you add return types for arrow functions?
mtracz commented 2022-04-07 13:41:35 +02:00 (Migrated from github.com)

What will happen with /holidays route / page?

What will happen with `/holidays` route / page?
Baakoma commented 2022-04-07 13:59:04 +02:00 (Migrated from github.com)

What will happen with /holidays route / page?

I think /holidays will be still available

> What will happen with `/holidays` route / page? I think `/holidays` will be still available
mtracz (Migrated from github.com) approved these changes 2022-04-07 14:18:37 +02:00
Sign in to join this conversation.