@extends('layouts.masterHome2')

@section('content')
 
<br/>
<div class="row">
<div class="col-md-2"></div>
  <div class="col-md-8">

      <div class="card card-info">
          <div class="card-header">
            <h3 class="card-title">Sell Store Report ( History Store ) </h3>
          </div>
          <!-- /.card-header -->
          <!-- form start -->
          <form   role="form" method="POST" action="{{ url('/sell_store_report/create') }}">
                        {{ csrf_field() }}
          <div class="box-body">
                
            <div class="card-body">
                   
            
                  <div class="col-md-12" style="display: flex;flex-flow: row;justify-content: space-around;" >

                    <div class="form-group col-md-6">
                      <label for="exampleInputPassword1">Date from  </label>
                      <input type="date" id="from" name="from" class="form-control"  placeholder="Date from " required>
                    </div>
                    <div class="form-grou col-md-6">
                      <label for="exampleInputPassword1">Date to</label>
                      <input type="date" id="to"   name="to" class="form-control"  placeholder="Date to " required>
                    </div>
                  </div>
  
                
                <div class="form-group">
                  <label>Choose Sell Store - مخزن البيع </label>
                  <select class="form-control select2 select2-hidden-accessible"   style="width: 100%;" name="sell_store_id" id="sell_store_id" required>
                    @foreach( $sell_stores as $sell_store ) 
                    <option value="{{ $sell_store->id }}"  >{{$sell_store->store->store_name}} -- {{$sell_store->branch->name}} ( {{$sell_store->id}} )</option>
                    @endforeach
                  </select>
                  </div>
  
                   
  
   
  
  
                </div>
                <!-- /.box-body -->
  

                 


                <div class="card-footer">
                  <button type="submit" class="btn btn-info">Create</button>
                </div>  

              </div>
          </form>
      </div>


  </div>
        <!-- /.row -->
</div>
<br/><br/><br/>

 


@endsection