-
Notifications
You must be signed in to change notification settings - Fork 12
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
base: master
Are you sure you want to change the base?
Conversation
96d900b
to
757dfa0
Compare
Co-authored-by: Jan Havelka <[email protected]>
Co-authored-by: Jan Havelka <[email protected]>
use App\Model\Group\Status; | ||
use Doctrine\Common\Collections\Collection; | ||
|
||
class StatusUpdatedEvent |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
app/Model/Group/Group.php
Outdated
* Entita uživatele. | ||
*/ | ||
#[ORM\Entity] | ||
#[ORM\Table(name: 'group')] |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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(); |
There was a problem hiding this comment.
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 <[email protected]>
* cumulative commit * afetr phpcbf app * cumulative commit * afetr phpcbf app * phpstan correction --------- Co-authored-by: Jan Havelka <[email protected]>
No description provided.