<div class="tab-pane" id="supplies" role="tabpanel">
    <div class="d-flex flex-wrap align-items-end justify-content-end">
        <a href="<?php echo e(route('exportSupplies')); ?>" target="_blanck">
            <button type="button" class="btn btn-primary  me-1">
                <i class="mdi mdi-plus-circle ms-2"></i>  طباعة
            </button>
          </a>
        </div>
    <div class="table-responsive">
        <table class="table table-responsive-md card-table transactions-table text-center" id="example4">
            <thead>
                <tr>
                    <th>رقم العملية</th>
                    <th>الكمية </th>
                    <th>المورد </th>
                    <th>النوع </th>
                    <th>ملاحظة</th>
                    



                </tr>
            </thead>
            <tbody>
                <?php if(isset($supplies)): ?>
                    <?php $__currentLoopData = $supplies; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $supply): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td><span>
                                    <?php if(isset($supply->id)): ?>
                                        <?php echo e($supply->id); ?>

                                    <?php endif; ?>
                                </span></td>
                            <td><span>
                                    <?php if(isset($supply->quantity)): ?>
                                        <?php echo e($supply->quantity); ?>

                                    <?php endif; ?>
                                </span></td>
                                <td>
                                    <?php if(isset($supply->supplier->id)): ?>
                                    <a class="bold" href="<?php echo e(route('supplierSupplies',$supply->supplier->id)); ?>">
                                        <span class="text-nowrap"><?php if(isset($supply->supplier->name)): ?><?php echo e($supply->supplier->name); ?><?php endif; ?></span>
                                        </a>	
                                    <?php endif; ?>	
                                </td>
                            <td><span>
                                    <?php if(isset($supply->type)): ?>
                                        <?php if($supply->type == 0): ?>
                                            بترول
                                        <?php else: ?>
                                            ديزل
                                        <?php endif; ?>
                                    <?php endif; ?>
                                </span></td>
                            <td><span>
                                    <?php if(isset($supply->notice)): ?>
                                        <?php echo e($supply->notice); ?>

                                    <?php endif; ?>
                                </span></td>
                            

                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php endif; ?>

            </tbody>
        </table>
    </div>
</div>
<?php /**PATH C:\Users\Nasser\Desktop\petrol_store\resources\views/dashboard_tables/supplies.blade.php ENDPATH**/ ?>