@extends('layouts.app') @include('layouts.datatables_css') @section('content') @include('user.header')
Players
{{-- --}} @foreach ($players as $player) {{-- --}} @endforeach {{-- --}}
Name Email Subscription Type Daily Goal Active Course Active Level Group Active Level Total Points Total GemsAction
{{ isset($player->name) ? $player->name :"Not Set" }} {{ isset($player->user->email) ? $player->user->email :"Not Set" }} {{ isset($player->subscription_type) ? $player->subscription_type :"Not Set" }} {{ isset($player->daily_goal) ? $player->daily_goal:"Not Set" }} {{ isset($player->activeCourse) ? $player->activeCourse["name"] : "Not Set" }} {{ isset($player->activeLevelGroup) ? $player->activeLevelGroup["name"] : "Not Set"}} {{ isset($player->activeLevel) ? $player->activeLevel["name"] : "Not Set"}} {{ $player->total_points }} {{ $player->total_gems }} remove_red_eye edit {{ Form::open(['route' => ['course.destroy', $player->id ], 'class' => 'inline-block' , 'onclick' => "return confirm('Are you sure ?')"]) }} {{ Form::hidden('_method', 'DELETE') }} {{ Form::close() }}
Name Email Subscription Type Daily Goal Active Course Active Level Group Active Level Total Points Total GemsAction
@endsection