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

issue#1479 Sponsor ticket transport #1511

Merged
merged 3 commits into from
Jul 1, 2024

Conversation

stakovicz
Copy link
Contributor

On ajoute la possibilité de renseigner son mode de transport pour la certification LEAD (#1479).

Voici ce que cela donne :
Capture d’écran 2024-06-19 à 22 48 22

@stakovicz stakovicz self-assigned this Jun 19, 2024
@stakovicz stakovicz force-pushed the feat-1479-sponsor-ticket-transport branch from e451f06 to bb6679e Compare June 19, 2024 21:01
@stakovicz stakovicz marked this pull request as ready for review June 19, 2024 21:02
@stakovicz stakovicz requested a review from agallou June 19, 2024 21:02
{
public function change()
{
$this->execute("ALTER TABLE `afup_forum_sponsors_tickets` ADD `transport_mode` TINYINT, ADD `transport_distance` SMALLINT");
Copy link
Member

Choose a reason for hiding this comment

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

pourquoi y a t-il besoin de modifier cette table ci ? Normalement c'est la table qui contient les tokens et qui est potentiellement liée à la table avec les billets (afup_inscription_forum), où celle-ci est déjà modifiée.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Les ticket sponsors sont stockés dans cette table il me semble afup_forum_sponsors_tickets, non ?

Copy link
Member

Choose a reason for hiding this comment

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

Dans la table afup_forum_sponsors_tickets on génère un token sponsor, qui donne le droit de saisir X places, et permet de générer un lien, qu'on partage au sponsor en question (le mail indiqué est le mail de la personne qui gère le sponsoring chez le sponsor, pas forcément le mail de la personne qui utilisera la/les places). En cliquant dessus il arrive sur la page de saisie des places, et une fois saisies les places arrivent dans afup_inscription_forum.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK j'avais pas compris ça comme ça.
Je corrige la PR alors.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

C'est revert.

Ni vu ni vu 😄

Copy link
Member

Choose a reason for hiding this comment

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

:D
je vois toujours la migration sur la PR il n'y aurait pas un souci ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Arf oui, il y avait un soucis lors du push.
Je viens de vérifier, tout est bon pour moi maintenant.

@stakovicz stakovicz force-pushed the feat-1479-sponsor-ticket-transport branch from c8101b7 to afd7330 Compare June 30, 2024 17:46
@stakovicz stakovicz merged commit ca075d8 into afup:master Jul 1, 2024
4 checks passed
@stakovicz stakovicz deleted the feat-1479-sponsor-ticket-transport branch July 1, 2024 10:14
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.

2 participants