 @extends('admin.layouts.main-layout')
 @section('content')
   <div class="container">
        <div class="justify-content-center">
            <div class="">
                <div class="card">
                    <div class="card-header">Reverse Game Winner</div>
                    <div class="card-body">
                        @if ($errors->any())
                            <div class="alert alert-danger">
                                <ul>
                                    @foreach ($errors->all() as $error)
                                        <li>{{ $error }}</li>
                                    @endforeach
                                </ul>
                            </div>
                        @endif
                         <form role="form" method="post" onsubmit="return validateForm('addsstatus')" class="addsstatus" action="{{url('admin/newreverseclose/'.$store->Stores->id)}}" autocomplete="off" enctype="multipart/form-data">
                             @csrf
                       
                        <div class="row">
                            <div class="col-md-6">
                             <div class="form-group">
                                <label for="title"> Game Name<span class="require label-mandatory">*</span></label>
                                 <span class="form-control bit_place">
                                    {{isset($store->Stores) ? $store->Stores->name : ''}}
                                 </span>
                                 
                                  
                                
                            </div>
                          </div>
                           <div class="col-md-6">
                             <div class="form-group">
                                <label for="title"> Open Time<span class="require label-mandatory">*</span></label>
                                 <span class="form-control bit_place">
                                     {{  timeShow($store->close_time)}}
                                 </span>
                                
                            </div>
                          </div>
                           <div class="col-md-6">
                             <div class="form-group">
                                <label for="title"> Result Number<span class="require label-mandatory">*</span></label>
                                
                                  <input type="text" class="form-control bit_place" 
                                       name="result" id="result"  placeholder="x-xxx" value="">
                                  
                                
                            </div>
                          </div>
                           </div>
                      
                           
                            <div class="form-group">
<input type="hidden" class="form-control bit_place" 
                           name="time_id" id="result"  placeholder="xxx-x" value="{{$store->id}}">
                                <button type="submit"  class="btn btn-primary" >Submit</button>
                            </div>

                        </form>
                        <div id="compareform">
                           
                        </div>
                        
                    </div>
                </div>
            </div>
        </div>
    </div>

@endsection

 