Current File : /home/tradevaly/new.tradevaly.com.bd/resources/views/user/pages/rfq/index.blade.php
@extends('backend.layouts.app')

@push('style')

@endpush

@section('content')
<div class="container-fluid">
  <div class="row">
    <div class="col-md-12">
      <div class="card">
        <div class="card-header card-header-info card-header-icon">
          <div class="card-icon">
            <i class="material-icons">visibility</i>
          </div>
          <h4 class="card-title">RFQs Table</h4>
        </div>
        <div class="card-body">
          <div class="table-responsive">
            <table class="table">
              <thead>
                <tr>
                  <th class="text-center">#</th>
                  <th>Image</th>
                  <th>Name</th>
                  <th>Email</th>
                  <th>Want To But</th>
                  <th>Qty</th>
                  <th class="text-right">Actions</th>
                </tr>
              </thead>
              <tbody>
                @php
                   $i = 0;
                @endphp
                @foreach ($rfqs as $rfq)
                <tr>
                  <?php $i++; ?>
                  <td class="text-center">{{$i}}</td>
                  <td><img style="height: 80px; width:150px; border-radius:10%;" src="{{asset('storage/images/admin/rfq/'.$rfq['image'])}}" alt=""></td>
                  <td>{{$rfq['name']}}</td>
                  <td>{{$rfq['email']}}</td>
                  <td>{{$rfq['want_buy']}}</td>
                  <td>{{$rfq['qty']}}</td>
                  <td class="td-actions text-right">
                    <a href="{{url('b2b/rfq/show',$rfq->id)}}"  class="btn btn-warning" title="View details" style="color: #fff">
                      <i class="material-icons">visibility</i>
                    </a>
                    <a href="{{url('b2b/rfq/delete',$rfq->id)}}" name="rfq" class="btn btn-danger confirmDelete" title="Delete" style="color: #fff">
                      <i class="material-icons">close</i>
                    </a>
                  </td>
                </tr>
                @endforeach
              </tbody>
            </table>
          </div>
        </div>
      </div>
  </div>
</div>
@stop

@push('script')
   
@endpush