@extends('layouts.masterHome2')

@section('content')

     

 
    
<div class="row" style="padding:10px">
<div class="col-md-1" style="margin-left:18px"></div>
<div class="col-md-6" style="margin-left:18px">
      <div class="card card-info">
          <div class="card-header">
            <h3 class="card-title"> Client Sheet </h3>
          </div>
          <!-- /.card-header -->
          <!-- form start -->
          <form  role="form" method="POST" action="{{ url('/client/sheet') }}">
                        {{ csrf_field() }}
          <div class="box-body">
            <div class="card-body">

             

            
            <div class="form-group">
                <label> أسم العميل  </label>
                <select class="form-control select2 select2-hidden-accessible"   style="width: 100%;text-align:right" name="client_id" id="client_id" required>
                    @foreach( $clients as $client ) 
                    <option value="{{ $client->id }}"  >{{$client->name}} </option>
                    @endforeach
                </select>
            </div>

            <div class="form-group">
                  <label for="exampleInputPassword1">From   </label>
                  <input type="date"  id="from" name="from" class="form-control"  placeholder="    " required>
                </div>

                <div class="form-group">
                  <label for="exampleInputPassword1">To  </label>
                  <input type="date"  id="to" name="to" class="form-control"  placeholder="    " required>
                </div>

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

              </div>
          </div>


          </form>
      </div>


    </div>
  </div>





 

@endsection
