mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-25 18:22:23 +00:00
Les équipes non validées ne peuvent pas procéder au paiement
This commit is contained in:
parent
1909dd3835
commit
9213258df4
@ -13,6 +13,9 @@ $team = $_SESSION["team"];
|
|||||||
$tournament = $team->getEffectiveTournament();
|
$tournament = $team->getEffectiveTournament();
|
||||||
$payment = $user->getPayment();
|
$payment = $user->getPayment();
|
||||||
|
|
||||||
|
if ($team->getValidationStatus() != ValidationStatus::VALIDATED)
|
||||||
|
require_once "server_files/403.php";
|
||||||
|
|
||||||
if (isset($_POST["pay"])) {
|
if (isset($_POST["pay"])) {
|
||||||
$pay = new Pay($_POST);
|
$pay = new Pay($_POST);
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user