<?php $__env->startSection('content'); ?>
 
<?php 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>
                <?php echo session('message'); ?>

        </div>
</div> 
<?php 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 Transfer</h3>
          </div>
          <!-- /.card-header -->
          <!-- form start -->
        <form   role="form" method="POST" action="<?php echo e(url('/sell_store_transfer/create')); ?>">
                        <?php echo e(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">Transfer From</legend>
               <div class="row" style="margin:20px">
                      <div class="form-group col-md-6">
                        <label>From Sell Store - من مخزن البيع  </label>
                        <select class="form-control select2 select2-hidden-accessible"   style="width: 100%;" name="sell_store_id_from" id="sell_store_id_from" required>
                          <?php foreach( $sell_stores_my_branch as $sell_store ): ?> 
                          <option value="<?php echo e($sell_store->id); ?>"  ><?php echo e($sell_store->store->store_name); ?> -- <?php echo e($sell_store->branch->name); ?> ( <?php echo e($sell_store->id); ?> )</option>
                          <?php endforeach; ?>
                        </select>
                      </div>
                      <div class="form-group col-md-4">
                          <label for="exampleInputPassword1">Quantity  </label>
                          <input type="number"  min="1" id="quantity_from" name="quantity_from" class="form-control"  placeholder="Quantity from " required>
                      </div>
                      </div> 
                 </fieldset><br/>
            
                 <div style="text-align: center;">
                  <img src='<?php echo e(asset("theme/dist/img/arrow.png")); ?>' alt="Egwaste"  style="height:40px"   />
                 </div>
                 

                 <fieldset class="border p-2 col-md-12" style="width:100%">
               <legend  class="w-auto">Transfer To</legend>
               <div class="row" style="margin:20px">
                      <div class="form-group col-md-6" >
                        <label>To Sell Store -  الي مخزن البيع </label>
                        <select class="form-control select2 select2-hidden-accessible"   style="width: 100%;" name="sell_store_id_to" id="sell_store_id_to" required>
                          <?php foreach( $sell_stores as $sell_store ): ?> 
                          <option value="<?php echo e($sell_store->id); ?>"  ><?php echo e($sell_store->store->store_name); ?> -- <?php echo e($sell_store->branch->name); ?> ( <?php echo e($sell_store->id); ?> )</option>
                          <?php endforeach; ?>
                        </select>
                      </div>
                      <div class="form-group col-md-4">
                          <label for="exampleInputPassword1">Equavilant Quantity  </label>
                          <input type="number" min="1" id="quantity_to" name="quantity_to" class="form-control"  placeholder="Quantity from " required>
                      </div>
                      </div>
                 </fieldset>
                 <br/><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/>

 


<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.masterHome2', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>