<div class="tab-pane active" id="draws" role="tabpanel">
    <div class="d-flex flex-wrap align-items-end justify-content-end">
        <a href="<?php echo e(route('exportDraws')); ?>" 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>
                    <th>الوقت والتاريح</th>
                </tr>
            </thead>
            <tbody>
                <?php if(isset($draws)): ?>
                    <?php $__currentLoopData = $draws; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $draw): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>

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

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

                                    <?php endif; ?>
                                </span></td>
                            <td><span>
                                    <?php if(isset($draw->quantity)): ?>
                                        <?php echo e($draw->quantity . ' لتر'); ?>

                                    <?php endif; ?>
                                </span></td>
                            <td><span class="text-nowrap">
                                    <?php if(isset($draw->type)): ?>
                                        <?php if($draw->type == 1): ?>
                                            ديزل
                                        <?php elseif($draw->type == 0): ?>
                                            بترول
                                        <?php endif; ?>
                                    <?php endif; ?>
                                </span></td>
                            <td><span class="text-nowrap">
                                    <?php if(isset($draw->pump_id)): ?>
                                        <?php echo e($draw->pump_id); ?>

                                    <?php endif; ?>
                                </span></td>
                            <td><span class="text-nowrap">
                                    <?php if(isset($draw->created_at)): ?>
                                        <?php echo e($draw->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/draws.blade.php ENDPATH**/ ?>