@extends('layouts.admin') @section('title', 'Edit Tournament') @section('content')
@csrf

Edit Tournament

Matches

@foreach($tournament->matches as $match) @endforeach
Date Time Match Status 1 x 2 Tip Handicap O/U Correct Score Best Tip Mix Parlay
{{ optional($match->start_time)->format('Y-m-d') }}
{{ optional($match->start_time)->format('H:i') }}
{{$match->teamA->name }} vs {{$match->teamB->name }} @if($match->status == 1) Enable @else Disabled @endif {{$match->first_odd}} {{$match->x_odd}} {{$match->second_odd}} {{$match->tip}}
{{$match->tip_odd}}
{{$match->handicap}}
{{$match->handicap_odd}}
{{$match->o_u}}
{{$match->o_u_odd}}
{{$match->correct_score}}
{{$match->correct_score_odd}}
{{$match->best_tip}}
{{$match->best_tip_odd}}
{{$match->mixparlay}}
@if($match->mixparlay_odd){{$match->mixparlay_odd}}@endif
@include('admin.modal-image') @include('admin.tournaments.modal-match') @endsection @section('footer') {!! JsValidator::formRequest('App\Http\Requests\UpdateTournamentRequest', '#form-tournament'); !!} {!! JsValidator::formRequest('App\Http\Requests\StoreTournamentMatchRequest', '#form-match'); !!} {!!JsValidator::formRequest('App\Http\Requests\UpdateTournamentMatchRequest', '#form-match'); !!} @endsection