<div class="tab-pane" id="buys" role="tabpanel">
    <div class="d-flex flex-wrap align-items-end justify-content-end">
        <a href="<?php echo e(route('exportBuying')); ?>" 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($buyings)): ?>
                    <?php $__currentLoopData = $buyings; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $buying): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>

                            <td><span>
                                    <?php if(isset($buying->id)): ?>
                                        <?php echo e($buying->id); ?>

                                    <?php endif; ?>
                                </span></td>
                            <td><span class="text-nowrap">
                                    <?php if(isset($buying->clint->name)): ?>
                                        <?php echo e($buying->clint->name); ?>

                                    <?php endif; ?>
                                </span></td>
                            <td><span class="text-nowrap">ديزل</span></td>
                            <td><span>
                                    <?php if(isset($buying->quantity)): ?>
                                        <?php echo e($buying->quantity); ?>

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

                            

                            <td><span>
                                    <?php if(isset($buying->created_at)): ?>
                                        <?php echo e($buying->created_at); ?>

                                    <?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/buys.blade.php ENDPATH**/ ?>