@extends('layouts.app') @section('content')
Team | @foreach($missions as $mission)
{{ $mission->id }}{{ $mission->hashtag }} |
@endforeach
Score |
---|---|---|
{{ $team->name }}
@foreach($team->players as $player)
{{ '@'.$player->twitter }}
@endforeach
|
@foreach($missions as $mission)
@if(!Auth::guest())
{{ $mission->score($team) }}pts
@endif
@if($mission->progress($team)[0] >= 1)
@endif
|
@endforeach
{{ $team->total_score() }} |