<div class="col-md-8 mt-xs-5">
     <h2 class="h4 p-3 bg-dark text-white">Counter Report </h2>
<div class="card card-primary ">
				            
				            <div class="card-body">               
				                <form name="first" method="post" action="{{ route('counter_report.userexport') }}" enctype="multipart/form-data">                
				                <input type="hidden" name="_token" value="<?=csrf_token()?>">
				                <input type="hidden" name="user" id="user" value="userEx">
				                <input type="hidden" name="user_id" id="user_id" value="{{ $user->id }}">
				             <!-- @if ($errors->any())
				                <div class="row">
				                    <div class="col-md-9 col-lg-offset-3 col-md-offset-3 pd-r lert alert-danger">
				                        <strong>Whoops!</strong> There were some problems with your input.<br>
				                        <ul>
				                            @foreach ($errors->all() as $error)
				                                <li>{{ $error }}</li>
				                            @endforeach
				                        </ul>
				                    </div>
				                </div>
				                @endif   -->                  
				                                  
				                   			                    
				                        
                                        <div class="form-group  {{ $errors->first('user_name', 'has-error') }}">
                                            <label for="user_name" class="control-label">User name:</label>
                                            <div class="input-group">                                             
                                             <input type="text" name="user_name" id="user_name" class="form-control input-md d-inline" placeholder="user name" readonly="readonly" value="{{ $user->name }}" >
                                              
                                            </div>
                                        </div>


                                        <div class="form-group">
                                            <div class="custom-control custom-radio custom-control-inline">
                                            <input type="radio" name="exportrange" id="exportrange1" class="custom-control-input" value="0" onclick="javascript: disabledebook(this.id,1);">
                                            <label class="custom-control-label"  for="exportrange1">Complete eBook</label>
                                            </div>
                                            <div class="custom-control custom-radio custom-control-inline">
                                            <input type="radio" name="exportrange" id="exportrange2" class="custom-control-input" value="1" onclick="javascript: disabledebook(this.id,1);">
                                            <label class="custom-control-label" for="exportrange2">Chapter(s)</label>
                                            </div>
                                            <div class="custom-control custom-radio custom-control-inline">
                                            <input type="radio" name="exportrange" id="exportrange3" class="custom-control-input" value="2" onclick="javascript: disabledebook(this.id,1);">
                                            <label class="custom-control-label" for="exportrange3">Journals</label>
                                            </div>
                                        </div>
                                        <div class="form-group {{ $errors->first('reporttype', 'has-error') }}">
                                            <label for="reporttype" class="control-label">Report Type:</label>
                                            <select name="reporttype" class="form-control {{ $errors->first('reporttype', 'border-danger') }}" id="reporttype">
                                                
                                            </select>
                                            <div>
                                                <span class="text-danger">{{ $errors->first('reporttype') }}</span>
                                            </div>
                                        </div>
                                        <div class="form-group row">
                                            <div class="col-md-4">
                                                <label for="frommonthwise" class="control-label">From Month:</label>
                                                <select name="frommonthwise" class="form-control select2" id="frommonthwise">
                                                    <option title="January" value="1">January</option>
                                                    <option title="February" value="2">February</option>
                                                    <option title="March" value="3">March</option>
                                                    <option title="April" value="4">April</option>
                                                    <option title="May" value="5">May</option>
                                                    <option title="June" value="6">June</option>
                                                    <option title="July" value="7">July</option>
                                                    <option title="August" value="8">August</option>
                                                    <option title="September" value="9">September</option>
                                                    <option title="October" value="10">October</option>
                                                    <option title="November" value="11">November</option>
                                                    <option title="December" value="12">December</option>
                                                </select>                                            
                                            </div>
                                            <div class="col-md-4 mt-xs-3">
                                                <label for="tomonthwise" class="control-label">To Month:</label>
                                                <select name="tomonthwise" class="form-control select2" id="tomonthwise">
                                                    <option title="January" value="1">January</option>
                                                    <option title="February" value="2">February</option>
                                                    <option title="March" value="3">March</option>
                                                    <option title="April" value="4">April</option>
                                                    <option title="May" value="5">May</option>
                                                    <option title="June" value="6">June</option>
                                                    <option title="July" value="7">July</option>
                                                    <option title="August" value="8">August</option>
                                                    <option title="September" value="9">September</option>
                                                    <option title="October" value="10">October</option>
                                                    <option title="November" value="11">November</option>
                                                    <option title="December" value="12">December</option>
                                                </select>                                            
                                            </div>
                                          
                                        <div class="form-group col-md-4 mt-xs-3">
                                            
                                                <label for="toyearwise" class="control-label">For Year:</label>
                                                <select name="toyearwise" class="form-control select2" id="toyearwise">
                                                    @foreach($counteruseryears as $cyear)
                                                            <option title="{{$cyear}}" value="{{$cyear}}">{{$cyear}}</option>  
                                                    @endforeach
                                                </select>                   
                                                
                                        </div>
                                    </div>
                                        <div class="form-group">
                                            <label for="toyearwise" class="control-label">Select Export Type:</label><br>
                                            <div class="custom-control custom-radio custom-control-inline">
                                                <input type="radio" class="custom-control-input" name="exporttype" id="exporttype1" value="0" checked="checked" >
                                                <label class="custom-control-label" for="exporttype1">CSV</label>
                                            </div>
                                            <div class="custom-control custom-radio custom-control-inline">
                                                <input type="radio"  class="custom-control-input" name="exporttype" id="exporttype2" style="margin-left: 50px;" value="1" >
                                                <label class="custom-control-label" for="exporttype2">Excel</label>
                                            </div>
                                        </div>
<!-- <strong>Select Export Type:</strong><br>
                                        <div class="custom-control custom-radio custom-control-inline">
  <input type="radio" name="exporttype" id="exporttype1" value="0" checked="checked" class="custom-control-input">
  <label class="custom-control-label" for="exporttype1">CSV</label>
</div>

<div class="custom-control custom-radio custom-control-inline">
  <input type="radio"  name="exporttype" id="exporttype2" class="custom-control-input">
  <label class="custom-control-label" for="exporttype2">Excel</label>
</div> -->
				            <hr>                          
				                        <button class="btn btn-primary" id="exportbtn"  type="submit">Export</button>
				                        
				                        
				                </form>   
				                </div>
				                
				            
				        </div>
                        </div>