Display all yes RSVP names
This commit is contained in:
parent
371ea1310b
commit
48aa11b38e
1 changed files with 2 additions and 2 deletions
|
@ -79,8 +79,8 @@ class GetRaffleWinnerCommand extends Command
|
|||
$io = new SymfonyStyle($input, $output);
|
||||
|
||||
$this->retrieveRsvps($input);
|
||||
$io->comment(sprintf('%d RSVPs', $this->rsvps->count()));
|
||||
$io->comment(sprintf('%s \'yes\' RSVPs', $this->yesRsvps->count()));
|
||||
$io->section(sprintf('%s \'yes\' RSVPs', $this->yesRsvps->count()));
|
||||
$io->listing($this->yesRsvps->pluck('member.name')->sort()->toArray());
|
||||
|
||||
$this->pickWinner();
|
||||
$io->success(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue