Current File : //home/tradevaly/www/storage/framework/views/f1f31d8754882c24aad3033b879d36661b6434f1.php

<?php $__env->startPush('title'); ?> RFQS Data <?php $__env->stopPush(); ?>
<?php $__env->startSection('css'); ?>
    <!-- DataTables -->
    <link href="<?php echo e(asset('/assets/libs/datatables/datatables.min.css')); ?>" rel="stylesheet" type="text/css" />
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>

    <?php $__env->startComponent('components.breadcrumb'); ?>
        <?php $__env->slot('li_1'); ?> Dashboards <?php $__env->endSlot(); ?>
        <?php $__env->slot('title'); ?> RFQS Data <?php $__env->endSlot(); ?>
    <?php echo $__env->renderComponent(); ?>
    
    
    
    <div class="row">
        <div class="col-12">
            <div class="card">
                <div class="card-body">
                    <div class="row mb-2">
                        <div class="col-sm-4"></div>
                        <div class="col-sm-8"></div><!-- end col-->
                    </div>

                    <div class="table-responsive">
            <table class="table" id="datatable-buttons">
              <thead>
                <tr>
                  <th class="text-center">#</th>
                  <th><?php echo e(translate("Image")); ?></th>
                  <th><?php echo e(translate("Name")); ?></th>
                  <th><?php echo e(translate("Email")); ?></th>
                  <th><?php echo e(translate("Want To But")); ?></th>
                  <th><?php echo e(translate("Qty")); ?></th>
                  <th>Status</th>
                  <th class="text-right"><?php echo e(translate("Actions")); ?></th>
                </tr>
              </thead>
              <tbody>
                <?php
                   $i = 0;
                ?>
                <?php $__currentLoopData = $rfqs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $rfq): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <tr>
                  <?php $i++; ?>
                  <td class="text-center"><?php echo e($i); ?></td>
                  <td><img style="height: 80px; width:150px; border-radius:10%;" src="<?php echo e(asset('storage/images/admin/rfq/'.$rfq['image'])); ?>" alt=""></td>
                  <td><?php echo e($rfq['name']); ?></td>
                  <td><?php echo e($rfq['email']); ?></td>
                  <td><?php echo e($rfq['want_buy']); ?></td>
                  <td><?php echo e($rfq['qty']); ?></td>
                  <td>
                      <span hre="" class="btn text-<?php echo e($rfq['status'] == 'pending' ? 'warning':'success'); ?>">
                          <?php echo e($rfq['status']); ?>

                      </span>
                  </td>
                  <td class="td-actions text-right">
                      <?php if($rfq['status'] == 'pending'): ?>
                      <a href="<?php echo e(url('b2b/rfq/approved',$rfq->id)); ?>" class="btn btn-success">
                          <i class="fas fa-check"></i>
                      </a>
                      <?php endif; ?>
                    <a href="<?php echo e(url('b2b/rfq/show',$rfq->id)); ?>"  class="btn btn-warning" title="View details" style="color: #fff">
                      <i class="fa fa-eye"></i>
                    </a>
                    <a href="<?php echo e(url('b2b/rfq/delete',$rfq->id)); ?>" name="rfq" class="btn btn-danger confirmDelete" title="Delete" style="color: #fff">
                      <i class="fas fa-times"></i>
                    </a>
                  </td>
                </tr>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
              </tbody>
            </table>
        </div>
                    
                </div>
            </div>
        </div>
    </div>
    <!-- end row -->
    
    
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
    <!-- Required datatable js -->
    <script src="<?php echo e(asset('/assets/libs/datatables/datatables.min.js')); ?>"></script>
    <script src="<?php echo e(asset('/assets/libs/jszip/jszip.min.js')); ?>"></script>
    <script src="<?php echo e(asset('/assets/libs/pdfmake/pdfmake.min.js')); ?>"></script>
    <!-- Datatable init js -->
     
    <script type="text/javascript">
  $(function () {
    
    
    
    
    $(document).ready(function () {
 
  var table = $('#datatable-buttons').DataTable({
    lengthChange: false,
    processing: true,
    dom: 'Bfrtip',
        serverSide: false,
    buttons: ['copy', 'excel', 'pdf', 'colvis']
  });
  table.buttons().container().appendTo('#datatable-buttons_wrapper .col-md-6:eq(0)');
  $(".dataTables_length select").addClass('form-select form-select-sm');
});
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('backend.ayaan.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/tradevaly/public_html/resources/views/backend/pages/rfq/index.blade.php ENDPATH**/ ?>