#22 - vacation calendar #51

Merged
Baakoma merged 31 commits from #22-vacation-calendar into main 2022-02-15 15:08:26 +01:00
7 changed files with 239 additions and 163 deletions
Showing only changes of commit d3d6e3080c - Show all commits

View File

@@ -0,0 +1,76 @@
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
<?php
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
declare(strict_types=1);
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
namespace Toby\Domain;
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
use Carbon\CarbonImmutable;
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
use Carbon\CarbonInterface;
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
use Carbon\CarbonPeriod;
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
use Illuminate\Support\Collection;
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
use Toby\Domain\Enums\VacationRequestState;
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
use Toby\Eloquent\Helpers\YearPeriodRetriever;
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
use Toby\Eloquent\Models\Vacation;
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
use Toby\Eloquent\Models\YearPeriod;
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
class CalendarGenerator
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
{
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
public function __construct(
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
protected YearPeriodRetriever $yearPeriodRetriever,
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
) {
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
}
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
public function generate(YearPeriod $yearPeriod, string $month): array
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
{
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
$date = CarbonImmutable::create($yearPeriod->year, $this->monthNameToNumber($month));
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
$period = CarbonPeriod::create($date->startOfMonth(), $date->endOfMonth());
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
$holidays = $yearPeriod->holidays()->pluck("date");
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
return $this->generateCalendar($period, $holidays);
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
}
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
protected function monthNameToNumber($name): int
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
{
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
return match ($name) {
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
default => CarbonInterface::JANUARY,
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
"february" => CarbonInterface::FEBRUARY,
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
"march" => CarbonInterface::MARCH,
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
"april" => CarbonInterface::APRIL,
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
"may" => CarbonInterface::MAY,
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
"june" => CarbonInterface::JUNE,
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
"july" => CarbonInterface::JULY,
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
"august" => CarbonInterface::AUGUST,
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
"september" => CarbonInterface::SEPTEMBER,
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
"october" => CarbonInterface::OCTOBER,
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
"november" => CarbonInterface::NOVEMBER,
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
"december" => CarbonInterface::DECEMBER,
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
};
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
}
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
protected function generateCalendar(CarbonPeriod $period, Collection $holidays): array
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
{
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
$calendar = [];
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
foreach ($period as $day) {
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
$calendar[] = [
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
"date" => $day->toDateString(),
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
"dayOfMonth" => $day->translatedFormat("j"),
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
"dayOfWeek" => $day->translatedFormat("D"),
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
"isToday" => $day->isToday(),
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
"isWeekend" => $day->isWeekend(),
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
"isHoliday" => $holidays->contains($day),
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
"vacations" => $this->getVacationsForDay($day),
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
];
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
}
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
return $calendar;
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
}
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
protected function getVacationsForDay(CarbonInterface $day): Collection
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
{
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
return Vacation::query()
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
->whereDate("date", $day)
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
->whereRelation("vacationRequest", "state", VacationRequestState::APPROVED->value)
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
->pluck("user_id");
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
}
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?
}
krzysztofrewak commented 2022-02-15 12:40:44 +01:00 (Migrated from github.com)
Review

In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php

            ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value)
In PHP docs all enums are written in PascalCase: https://www.php.net/manual/en/language.types.enumerations.php ```suggestion ->whereRelation("vacationRequest", "state", VacationRequestState::Approved->value) ```
krzysztofrewak commented 2022-02-15 12:41:08 +01:00 (Migrated from github.com)
Review

But of course we could discuss it. Maybe on slack in #php channel?

But of course we could discuss it. Maybe on slack in #php channel?

View File

@@ -4,63 +4,36 @@ declare(strict_types=1);
namespace Toby\Infrastructure\Http\Controllers; namespace Toby\Infrastructure\Http\Controllers;
use Carbon\CarbonImmutable;
use Carbon\CarbonInterface; use Carbon\CarbonInterface;
use Carbon\CarbonPeriod;
use Illuminate\Http\Request; use Illuminate\Http\Request;
use Illuminate\Support\Carbon;
use Illuminate\Support\Str;
use Inertia\Response; use Inertia\Response;
use Toby\Domain\Enums\VacationRequestState; use Toby\Domain\CalendarGenerator;
use Toby\Eloquent\Helpers\YearPeriodRetriever; use Toby\Eloquent\Helpers\YearPeriodRetriever;
use Toby\Eloquent\Models\User; use Toby\Eloquent\Models\User;
use Toby\Eloquent\Models\Vacation;
use Toby\Infrastructure\Http\Resources\UserResource; use Toby\Infrastructure\Http\Resources\UserResource;
class VacationCalendarController extends Controller class VacationCalendarController extends Controller
{ {
public function index(Request $request, YearPeriodRetriever $yearPeriodRetriever): Response public function index(
{ Request $request,
$month = $request->query("month", "february"); YearPeriodRetriever $yearPeriodRetriever,
CalendarGenerator $calendarGenerator,
): Response {
$month = Str::lower($request->query("month", Carbon::now()->englishMonth));
$yearPeriod = $yearPeriodRetriever->selected(); $yearPeriod = $yearPeriodRetriever->selected();
$date = CarbonImmutable::create($yearPeriod->year, $this->monthNameToNumber($month));
$period = CarbonPeriod::create($date->startOfMonth(), $date->endOfMonth());
$holidays = $yearPeriod->holidays()->pluck("date");
$users = User::query() $users = User::query()
->with([
"vacations" => fn($query) => $query
->whereBetween("date", [$period->start, $period->end])
->whereRelation("vacationRequest", "state", VacationRequestState::APPROVED->value),
])
->orderBy("last_name") ->orderBy("last_name")
->orderBy("first_name") ->orderBy("first_name")
->get(); ->get();
$calendar = []; $calendar = $calendarGenerator->generate($yearPeriod, $month);
foreach ($period as $day) {
$calendar[] = [
"date" => $day->toDateString(),
"dayOfMonth" => $day->translatedFormat("j"),
"dayOfWeek" => $day->translatedFormat("D"),
"isToday" => $day->isToday(),
"isWeekend" => $day->isWeekend(),
"isHoliday" => $holidays->contains($day),
];
}
$userVacations = [];
/** @var User $user */
foreach ($users as $user) {
$userVacations[] = [
"user" => new UserResource($user),
"vacations" => $user->vacations->map(fn(Vacation $vacation) => $vacation->date->toDateString()),
];
}
return inertia("Calendar", [ return inertia("Calendar", [
"calendar" => $calendar, "calendar" => $calendar,
"currentMonth" => $month, "currentMonth" => $month,
"userVacations" => $userVacations, "users" => UserResource::collection($users),
]); ]);
} }

View File

@@ -0,0 +1,128 @@
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
import {
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
CheckIcon as OutlineCheckIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
ClockIcon as OutlineClockIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
DocumentTextIcon as OutlineDocumentTextIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
ThumbDownIcon as OutlineThumbDownIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
ThumbUpIcon as OutlineThumbUpIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
XIcon as OutlineXIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
} from '@heroicons/vue/outline'
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
import {
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
CheckIcon as SolidCheckIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
ClockIcon as SolidClockIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
DocumentTextIcon as SolidDocumentTextIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
ThumbDownIcon as SolidThumbDownIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
ThumbUpIcon as SolidThumbUpIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
XIcon as SolidXIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
} from '@heroicons/vue/solid'
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
const statuses = [
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
{
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
text: 'Utworzony',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
value: 'created',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
outline: {
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
icon: OutlineDocumentTextIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
foreground: 'text-white',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
background: 'bg-gray-400',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
solid: {
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
icon: SolidDocumentTextIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
color: 'text-gray-400',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
{
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
text: 'Czeka na akceptację od technicznego',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
value: 'waiting_for_technical',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
outline: {
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
icon: OutlineClockIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
foreground: 'text-white',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
background: 'bg-amber-400',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
solid: {
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
icon: SolidClockIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
color: 'text-amber-400',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
{
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
text: 'Czeka na akceptację od administracyjnego',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
value: 'waiting_for_administrative',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
outline: {
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
icon: OutlineClockIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
foreground: 'text-white',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
background: 'bg-amber-400',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
solid: {
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
icon: SolidClockIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
color: 'text-amber-400',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
{
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
text: 'Odrzucony',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
value: 'rejected',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
outline: {
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
icon: OutlineThumbDownIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
foreground: 'text-white',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
background: 'bg-rose-600',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
solid: {
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
icon: SolidThumbDownIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
color: 'text-rose-600',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
{
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
text: 'Zaakceptowany przez technicznego',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
value: 'accepted_by_technical',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
outline: {
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
icon: OutlineThumbUpIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
foreground: 'text-white',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
background: 'bg-green-500',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
solid: {
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
icon: SolidThumbUpIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
color: 'text-green-500',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
{
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
text: 'Zaakceptowany przez administracyjnego',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
value: 'accepted_by_administrative',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
outline: {
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
icon: OutlineThumbUpIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
foreground: 'text-white',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
background: 'bg-green-500',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
solid: {
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
icon: SolidThumbUpIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
color: 'text-green-500',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
{
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
text: 'Zatwierdzony',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
value: 'approved',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
outline: {
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
icon: OutlineCheckIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
foreground: 'text-white',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
background: 'bg-blumilk-500',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
solid: {
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
icon: SolidCheckIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
color: 'text-blumilk-500',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
{
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
text: 'Anulowany',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
value: 'canceled',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
outline: {
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
icon: OutlineXIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
foreground: 'text-white',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
background: 'bg-gray-900',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
solid: {
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
icon: SolidXIcon,
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
color: 'text-gray-900',
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
},
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
]
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
export function useStatusInfo(status) {
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
return statuses.find(statusInfo => statusInfo.value === status)
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.
}
krzysztofrewak commented 2022-02-15 12:43:03 +01:00 (Migrated from github.com)
Review
    text: 'Czeka na akceptację od przełożonego technicznego',
```suggestion text: 'Czeka na akceptację od przełożonego technicznego', ```
krzysztofrewak commented 2022-02-15 14:23:06 +01:00 (Migrated from github.com)
Review

@Baakoma, lines 73 and 86 are still with old form.

@Baakoma, lines 73 and 86 are still with old form.

View File

@@ -75,21 +75,20 @@
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?
</thead> </thead>
<tbody> <tbody>
<tr <tr
v-for="userVacation in userVacations" v-for="user in users.data"
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?
:key="userVacation.user.id" :key="user.id"
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?
> >
<th class="border border-gray-300 py-2 px-4"> <th class="border border-gray-300 py-2 px-4">
<div class="flex justify-start items-center"> <div class="flex justify-start items-center">
<span class="inline-flex items-center justify-center h-10 w-10 rounded-full"> <span class="inline-flex items-center justify-center h-10 w-10 rounded-full">
<img <img
class="h-10 w-10 rounded-full" class="h-10 w-10 rounded-full"
:src="userVacation.user.avatar" :src="user.avatar"
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?
alt=""
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?
> >
</span> </span>
<div class="ml-3"> <div class="ml-3">
<div class="text-sm font-medium text-gray-900"> <div class="text-sm font-medium text-gray-900">
{{ userVacation.user.name }} {{ user.name }}
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?
</div> </div>
</div> </div>
</div> </div>
@@ -98,10 +97,10 @@
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?
v-for="day in calendar" v-for="day in calendar"
:key="day.dayOfMonth" :key="day.dayOfMonth"
class="border border-gray-300" class="border border-gray-300"
:class="{'bg-gray-100': day.isWeekend, 'bg-green-100': day.isHoliday, 'bg-blumilk-500': userVacation.vacations.includes(day.date) }" :class="{'bg-red-100': day.isWeekend || day.isHoliday, 'bg-blumilk-500': day.vacations.includes(user.id) }"
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?
> >
<div <div
v-if="userVacation.vacations.includes(day.date)" v-if="day.vacations.includes(user.id)"
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?
class="flex justify-center items-center" class="flex justify-center items-center"
> >
<svg <svg
@@ -139,7 +138,7 @@ export default {
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?
ChevronDownIcon, ChevronDownIcon,
}, },
props: { props: {
userVacations: { users: {
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?
type: Object, type: Object,
default: () => null, default: () => null,
}, },
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?
krzysztofrewak commented 2022-02-15 12:44:36 +01:00 (Migrated from github.com)
Review

Maybe you could move to another file?

Maybe you could move to another file?

View File

@@ -18,6 +18,14 @@
{{ request.name }} {{ request.name }}
</dd> </dd>
</div> </div>
<div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6">
<dt class="text-sm font-medium text-gray-500">
Pracownik
</dt>
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">
{{ request.user.name }}
</dd>
</div>
<div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6"> <div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6">
<dt class="text-sm font-medium text-gray-500"> <dt class="text-sm font-medium text-gray-500">
Rodzaj urlopu Rodzaj urlopu

View File

@@ -6,9 +6,9 @@
/> />
<div class="relative flex space-x-3"> <div class="relative flex space-x-3">
<div> <div>
<span :class="[statusInfo.iconBackground, statusInfo.iconForeground, 'h-8 w-8 rounded-full flex items-center justify-center ring-8 ring-white']"> <span :class="[statusInfo.outline.background, statusInfo.outline.foreground, 'h-8 w-8 rounded-full flex items-center justify-center ring-8 ring-white']">
<component <component
:is="statusInfo.icon" :is="statusInfo.outline.icon"
class="w-5 h-5 text-white" class="w-5 h-5 text-white"
/> />
</span> </span>
@@ -32,8 +32,8 @@
</template> </template>
<script> <script>
import {CheckIcon, ClockIcon, DocumentTextIcon, ThumbDownIcon, ThumbUpIcon, XIcon} from '@heroicons/vue/outline'
import {computed} from 'vue' import {computed} from 'vue'
import {useStatusInfo} from '@/Composables/statusInfo'
export default { export default {
name: 'VacationRequestActivity', name: 'VacationRequestActivity',
@@ -48,65 +48,7 @@ export default {
}, },
}, },
setup(props) { setup(props) {
const statuses = [ const statusInfo = computed(() => useStatusInfo(props.activity.state))
{
text: 'Utworzony',
icon: DocumentTextIcon,
value: 'created',
iconForeground: 'text-white',
iconBackground: 'bg-gray-400',
},
{
text: 'Czeka na akceptację od technicznego',
icon: ClockIcon,
value: 'waiting_for_technical',
iconForeground: 'text-white',
iconBackground: 'bg-amber-400',
},
{
text: 'Czeka na akceptację od administracyjnego',
icon: ClockIcon,
value: 'waiting_for_administrative',
iconForeground: 'text-white',
iconBackground: 'bg-amber-400',
},
{
text: 'Odrzucony',
icon: ThumbDownIcon,
value: 'rejected',
iconForeground: 'text-white',
iconBackground: 'bg-rose-600',
},
{
text: 'Zaakceptowany przez technicznego',
icon: ThumbUpIcon,
value: 'accepted_by_technical',
iconForeground: 'text-white',
iconBackground: 'bg-green-500',
},
{
text: 'Zaakceptowany przez administracyjnego',
icon: ThumbUpIcon,
value: 'accepted_by_administrative',
iconForeground: 'text-white',
iconBackground: 'bg-green-500',
},
{
text: 'Zatwierdzony',
icon: CheckIcon,
value: 'approved',
iconForeground: 'text-white',
iconBackground: 'bg-blumilk-500',
},
{
text: 'Anulowany',
icon: XIcon,
value: 'canceled',
iconForeground: 'text-white',
iconBackground: 'bg-gray-900',
},
]
const statusInfo = computed(() => statuses.find(status => status.value === props.activity.state))
return { return {
statusInfo, statusInfo,

View File

@@ -1,16 +1,16 @@
<template> <template>
<div class="flex items-center"> <div class="flex items-center">
<component <component
:is="statusInfo.icon" :is="statusInfo.solid.icon"
:class="[statusInfo.color ,'w-5 h-5 mr-1']" :class="[statusInfo.solid.color ,'w-5 h-5 mr-1']"
/> />
<span>{{ statusInfo.text }}</span> <span>{{ statusInfo.text }}</span>
</div> </div>
</template> </template>
<script> <script>
import {CheckIcon, ClockIcon, DocumentTextIcon, ThumbDownIcon, ThumbUpIcon, XIcon} from '@heroicons/vue/solid'
import {computed} from 'vue' import {computed} from 'vue'
import {useStatusInfo} from '@/Composables/statusInfo'
export default { export default {
name: 'VacationRequestStatus', name: 'VacationRequestStatus',
@@ -25,57 +25,7 @@ export default {
}, },
}, },
setup(props) { setup(props) {
const statuses = [ const statusInfo = computed(() => useStatusInfo(props.status))
{
text: 'Utworzony',
icon: DocumentTextIcon,
value: 'created',
color: 'text-gray-400',
},
{
text: 'Czeka na akceptację od technicznego',
icon: ClockIcon,
value: 'waiting_for_technical',
color: 'text-amber-400',
},
{
text: 'Czeka na akceptację od administracyjnego',
icon: ClockIcon,
value: 'waiting_for_administrative',
color: 'text-amber-400',
},
{
text: 'Odrzucony',
icon: ThumbDownIcon,
value: 'rejected',
color: 'text-rose-600',
},
{
text: 'Zaakceptowany przez technicznego',
icon: ThumbUpIcon,
value: 'accepted_by_technical',
color: 'text-green-500',
},
{
text: 'Zaakceptowany przez administracyjnego',
icon: ThumbUpIcon,
value: 'accepted_by_administrative',
color: 'text-green-500',
},
{
text: 'Zatwierdzony',
icon: CheckIcon,
value: 'approved',
color: 'text-blumilk-500',
},
{
text: 'Anulowany',
icon: XIcon,
value: 'canceled',
color: 'text-gray-900',
},
]
const statusInfo = computed(() => statuses.find(status => status.value === props.status))
return { return {
statusInfo, statusInfo,