Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Úpravy pro Obrok (přihlašování skupin) #1099

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

jan-stanek
Copy link
Member

No description provided.

Co-authored-by: Jan Havelka <jan.havelka@dcos.cz>
@jan-stanek jan-stanek temporarily deployed to srs-obrok.skauting.cz November 22, 2023 16:15 — with GitHub Actions Inactive
Co-authored-by: Jan Havelka <jan.havelka@dcos.cz>
@jan-stanek jan-stanek temporarily deployed to srs-obrok.skauting.cz November 22, 2023 17:31 — with GitHub Actions Inactive
use App\Model\Group\Status;
use Doctrine\Common\Collections\Collection;

class StatusUpdatedEvent
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tahle akce je u účastníků při změně kategorie (kategorie říká, jaké role mají právo si registrovat programy v ní), při změně stavu by měla akce vypadat jinak

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spíš by tu měla zůstat jen GroupUpdated, ve které se bude řešit i případ, že se mění stav skupiny, ale u jednotlivých stavů se nic měnit nebude

* Entita uživatele.
*/
#[ORM\Entity]
#[ORM\Table(name: 'group')]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

porblém s klíčovým slovem group

/**
* Třída spravující statusy programových bloků.
*/
class StatusRepository extends AbstractRepository
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

statusy bych nechal napevno, jak jsme se bavili

$status = $command->getStatus();


$this->statusRepository->remove($status);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

co by se stalo se skupinami, které ten status používají?

$this->programApplications = new ArrayCollection();
$this->lecturersBlocks = new ArrayCollection();
$this->notRegisteredMandatoryBlocks = new ArrayCollection();
$this->customInputValues = new ArrayCollection();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

neexistující prosím pryč

Co-authored-by: Jan Staněk <jan.stanek2@firma.seznam.cz>
@jan-stanek jan-stanek temporarily deployed to srs-obrok.skauting.cz December 18, 2023 10:17 — with GitHub Actions Inactive
* cumulative commit

* afetr phpcbf app

* cumulative commit

* afetr phpcbf app

* phpstan correction

---------

Co-authored-by: Jan Havelka <jan.havelka@dcos.cz>
@jan-stanek jan-stanek deployed to srs-obrok.skauting.cz December 18, 2023 11:55 — with GitHub Actions Active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants