

<?php $__env->startSection('title'); ?>
عرض تخزين الكميات في الخزانات

<?php $__env->stopSection(); ?>

<?php $__env->startSection('first-css'); ?>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('header-content'); ?>
    عرض تخزين 
	
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content-body'); ?>
  <!--**********************************
            Content body start
        ***********************************-->
            <!-- row -->
			<div class="container-fluid">
				<!--**********************************Tabs Start***********************************-->
				<div class="d-flex flex-wrap align-items-center mb-3">
					<div class="mb-3 ms-auto">
						<div class="card-tabs style-1 mt-3 mt-sm-0">
							<ul class="nav nav-tabs" role="tablist">
								<li class="nav-item">
									<a class="nav-link active" href="javascript:void(0);" data-bs-toggle="tab" id="transaction-tab" data-bs-target="#AllTransaction" role="tab">جميع التوزيعات</a>
								</li>
								
							</ul>
						</div>
					</div>			
				</div>
				<!--**********************************Tabs End***********************************-->
				<div class="row">
					<div class="col-xl-12 tab-content">
						<!--**********************************Table AllTransaction Start***********************************-->
						<div class="tab-pane fade show active" id="AllTransaction" role="tabpanel" aria-labelledby="transaction-tab">
							<div class="table-responsive fs-14">
								<table class="table card-table display mb-4 dataTablesCard text-black text-center" id="example5">
									<thead>
										<tr>	
											<th>رقم</th>
											<th>الكمية</th>
											<th>الى الخزان</th>
											<th>العامل المستلم</th>
											<th>النوع</th>	
                                            <th>تاريخ التخزين</th>	

										</tr>
									</thead>
									<tbody>
										<?php if(isset($storedQuantities)): ?>
											<?php $__currentLoopData = $storedQuantities; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $storedQuantity): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
											<tr>
											<td><span><?php if(isset($storedQuantity->id)): ?><?php echo e($storedQuantity->id); ?><?php endif; ?></span></td>
											<td><span><?php if(isset($storedQuantity->quantity)): ?><?php echo e($storedQuantity->quantity . ' لتر'); ?><?php endif; ?></span></td>
											<td><span><?php if(isset($storedQuantity->tank->id)): ?><?php echo e($storedQuantity->tank->id); ?><?php endif; ?></span></td>
											<td><span><?php if(isset($storedQuantity->employee->name)): ?><?php echo e($storedQuantity->employee->name); ?><?php endif; ?></span></td>
                                            <td><span><?php if(isset($storedQuantity->tank->type)): ?>
                                                <?php if($storedQuantity->tank->type==0): ?>
                                                        بترول
                                                    <?php else: ?>
                                                        ديزل
                                                    <?php endif; ?>
                                                <?php endif; ?></span></td>
											<td><span><?php if(isset($storedQuantity->created_at)): ?><?php echo e(explode(' ',$storedQuantity->created_at)[0]); ?><?php endif; ?></span></td>

										</tr>
										
											<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
										<?php endif; ?>
								
										
									</tbody>
								</table>
							</div>
						</div>
						<!--**********************************Table AllTransaction End***********************************-->

				</div>
            </div>
			
        
        <!--**********************************
            Content body end
        ***********************************-->
					
                
                

				<?php $__env->stopSection(); ?>

<?php $__env->startSection('script'); ?>
<script src="<?php echo e(asset('/vendor/datatables/js/jquery.dataTables.min.js')); ?>"></script>
<script src="<?php echo e(asset('/js/plugins-init/datatables.init.js')); ?>"></script>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\Nasser\Desktop\petrol_store\resources\views/supplier/supplier_store.blade.php ENDPATH**/ ?>