Loading module/Qr/src/Controller/ScanController.php +12 −0 Original line number Diff line number Diff line Loading @@ -99,6 +99,17 @@ class ScanController extends AbstractActionController ]); } // TODO à revoir suite à l'utilisation que de place pointéee if(!$inscriptionPlace) { // Inscription historisé return new JsonModel([ 'ok' => false , 'status' => 'err' , 'error' => "Place invalide." ]); } if($inscription->getListe() === Inscription::COMPLEMENTAIRE ) { // Inscription sur Liste Complémentaire Loading @@ -109,6 +120,7 @@ class ScanController extends AbstractActionController ]); } // TODO à revoir suite à l'utilisation que de place pointéee if ($inscription->getNombrePlacesPointees() >= $inscription->getNombrePlacesDemandees()) { // déjà pointé → "warn" $status = 'warn'; Loading Loading
module/Qr/src/Controller/ScanController.php +12 −0 Original line number Diff line number Diff line Loading @@ -99,6 +99,17 @@ class ScanController extends AbstractActionController ]); } // TODO à revoir suite à l'utilisation que de place pointéee if(!$inscriptionPlace) { // Inscription historisé return new JsonModel([ 'ok' => false , 'status' => 'err' , 'error' => "Place invalide." ]); } if($inscription->getListe() === Inscription::COMPLEMENTAIRE ) { // Inscription sur Liste Complémentaire Loading @@ -109,6 +120,7 @@ class ScanController extends AbstractActionController ]); } // TODO à revoir suite à l'utilisation que de place pointéee if ($inscription->getNombrePlacesPointees() >= $inscription->getNombrePlacesDemandees()) { // déjà pointé → "warn" $status = 'warn'; Loading