mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-26 09:27:45 +02:00
Paiement
This commit is contained in:
@ -436,7 +436,9 @@ class User
|
||||
|
||||
$req = $DB->prepare("INSERT INTO `payments`(`user`, `tournament`, `amount`, `method`, `transaction_infos`, `validation_status`) VALUES (?, ?, ?, ?, ?, ?);");
|
||||
$req->execute([$this->id, $tournament->getId(), 0, PaymentMethod::getName(PaymentMethod::NOT_PAID), "L'inscription n'est pas encore payée.", ValidationStatus::getName(ValidationStatus::NOT_READY)]);
|
||||
}
|
||||
|
||||
return $this->getPayment();
|
||||
}
|
||||
|
||||
public function getOrganizedTournaments()
|
||||
{
|
||||
|
Reference in New Issue
Block a user