mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 13:52:17 +01:00 
			
		
		
		
	Informations de paiement
This commit is contained in:
		@@ -99,7 +99,7 @@
 | 
			
		||||
if (!$team->isSelectedForFinal() && $team->getValidationStatus() == ValidationStatus::VALIDATED && $_SESSION["role"] == Role::ADMIN) { ?>
 | 
			
		||||
    <hr/>
 | 
			
		||||
    <form method="POST">
 | 
			
		||||
        <input style="width: 100%;" type="submit" name="select" value="Sélectionner pour la finale nationale"/>
 | 
			
		||||
        <input class="btn btn-primary btn-lg btn-block" type="submit" name="select" value="Sélectionner pour la finale nationale"/>
 | 
			
		||||
    </form>
 | 
			
		||||
<?php }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -9,8 +9,15 @@ require_once "header.php"
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
if ($payment->getValidationStatus() == ValidationStatus::NOT_READY) { ?>
 | 
			
		||||
    <div class="alert alert-danger">
 | 
			
		||||
        Il faut payer <?= $tournament->getPrice() ?> € maintenant.
 | 
			
		||||
    <div class="alert alert-warning">
 | 
			
		||||
        Le prix du tournoi est de  <?= $tournament->getPrice() ?> €. Vous pouvez par carte bancaire via
 | 
			
		||||
        <a href="">la plateforme dédiée</a> (qui sera créée ultérieurement), et indiquer sur cette page les informations de paiement
 | 
			
		||||
        qui nous permettront de le retrouver. Si ce n'est pas possible, vous pouvez également procéder à un virement sur le compte :<br /><br />
 | 
			
		||||
        <strong>IBAN :</strong> FR76 1027 8065 0000 0206 4290 127<br />
 | 
			
		||||
        <strong>BIC :</strong> CMCIFR2A<br /><br />
 | 
			
		||||
        en précisant bien en référence du virement la mention <strong>TFJMpu</strong> suivie des nom et prénom de l'élève.<br /><br />
 | 
			
		||||
        Si aucune de ces procédures n’est possible pour vous, envoyez un mail à <a href="mailto:contact@tfjm.org">contact@tfjm.org</a>
 | 
			
		||||
        pour que nous trouvions une solution à vos difficultés.
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
    <div class="alert alert-info">
 | 
			
		||||
@@ -18,7 +25,10 @@ if ($payment->getValidationStatus() == ValidationStatus::NOT_READY) { ?>
 | 
			
		||||
            <label for="method"><strong>Mode de paiement :</strong></label>
 | 
			
		||||
            <select class="custom-select" id="method" name="method">
 | 
			
		||||
                <?php
 | 
			
		||||
                for ($method = PaymentMethod::NOT_PAID; $method <= PaymentMethod::SCHOLARSHIP; ++$method) { ?>
 | 
			
		||||
                for ($method = PaymentMethod::NOT_PAID; $method <= PaymentMethod::SCHOLARSHIP; ++$method) {
 | 
			
		||||
                    if ($method == PaymentMethod::CASH || $method == PaymentMethod::BANK_CHECK)
 | 
			
		||||
                        continue;
 | 
			
		||||
                    ?>
 | 
			
		||||
                    <option value="<?= strtolower(PaymentMethod::getName($method)) ?>"><?= PaymentMethod::getTranslatedName($method) ?></option>
 | 
			
		||||
                <?php } ?>
 | 
			
		||||
            </select>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user