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

šŸ› correction du calcul du nombre de places disponibles quand la limitā€¦ #1012

Closed
wants to merge 1 commit into from

Conversation

kuraobi
Copy link
Contributor

@kuraobi kuraobi commented Sep 8, 2020

ā€¦e concerne des places 2 jours

$this->ticketRepository->getPublicSoldTicketsByDay($ticketEventType->getTicketType()->getDays()[1], $event)
)
;
$stock = $event->getSeats() - max(
Copy link
Contributor

Choose a reason for hiding this comment

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

On peut mettre $event->getSeats() dans une variable $stock avant le if pour que ce soit plus clair.

@agallou
Copy link
Member

agallou commented Mar 16, 2022

Il y aura de grands changements sur l'affichage du nombre de places restantes dans ce ticket : #1131, je permet donc de fermer la PR.

@agallou agallou closed this Mar 16, 2022
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.

3 participants