Updated a.2 Showing the pairings of a specific round (markdown)

Jeroen De Meerleer 2019-06-14 08:44:36 +02:00
parent 18bb1f2efa
commit 370088d9b3

@ -24,7 +24,7 @@ foreach($pairings as $pairing) {
$opponent = $pairing->getOpponent()->getName(); $opponent = $pairing->getOpponent()->getName();
$color = $pairing->getColor()->getKey(); $color = $pairing->getColor()->getKey();
echo $player . ' ' . $pairing->getResult()->getKey() . ' against ' . $opponent . ' using ' . $color . PHP_EOL; echo $player . ' ' . $pairing->getResult()->getKey() . ' against ' . $opponent . ' using ' . $color . PHP_EOL;
} elseif ($pairing->getResult() == Result::bye) { } elseif ($pairing->getResult() == Result::wonbye) {
echo $player . ' is bye' . PHP_EOL; echo $player . ' is bye' . PHP_EOL;
} elseif ($pairing->getResult() == Result::absent) { } elseif ($pairing->getResult() == Result::absent) {
echo $player . ' is absent' . PHP_EOL; echo $player . ' is absent' . PHP_EOL;