@extends('layouts.masterHome2')

@section('content')
 
@if (session()->has('message'))
<div class="row">
        <!-- left column -->
        <div class="col-md-2"></div>
        <div class="col-md-4 alert alert-success alert-dismissible" style="font-size:18px;font-weight:bold;width:400px;margin-left:15px">
                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
                {!! session('message') !!}
        </div>
</div> 
@endif
<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">Srore Feed</h3>
          </div>
          <!-- /.card-header -->
          <!-- form start -->
        <form   role="form" method="POST" action="{{ url('/sell_store_feed/create') }}">
                        {{ csrf_field() }}
          <div class="box-body">
                
            <div class="card-body">
                   
            
            <fieldset class="border p-2 col-md-12" style="width:100%">
               <legend  class="w-auto">Increase Store</legend>
               <div class="row" style="margin:20px">
                      <div class="form-group col-md-6">
                        <label> 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 class="form-group col-md-4">
                          <label for="exampleInputPassword1">Quantity  </label>
                          <input type="number" id="quantity" name="quantity" class="form-control"  placeholder="Quantity from " required>
                      </div>
                      </div> 
                 </fieldset><br/>
            
                
                 

                 
                  
            </div>
                <!-- /.box-body -->
  
            <div class="card-footer">
              <button type="submit" class="btn btn-info">Transfer</button>
            </div>  

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

 


@endsection