Current File : /home/tradevaly/public_html/resources/views/user/pages/help/index.blade.php
@extends('backend.layouts.app')
@push('title','Help requests')
@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">Help requests</h4>
        </div>
        <div class="card-body">
          <div class="table-responsive">
            <table class="table">
              <thead>
                <tr>
                  <th class="text-center">#</th>
                  <th>Name</th>
                  <th>Email</th>
                  <th>Phone</th>
                  <th>Massage</th>
                  <th>Organization</th>
                  <th class="text-right">Actions</th>
                </tr>
              </thead>
              <tbody>
                @php
                   $i = 0;
                @endphp
                @foreach ($helps as $help)
                <tr>
                  <?php $i++; ?>
                  <td class="text-center">{{$i}}</td>
                  <td>{{$help['f_name']}} &nbsp; &nbsp; {{$help['f_name']}}</td>
                  <td>{{$help['email']}}</td>
                  <td>{{$help['phone']}}</td>
                  <td>{{$help['message']}}</td>
                  <td>{{$help['c_name']}}</td>
                  <td class="td-actions text-right">
                    <a href="{{url('b2b/contactus/show',$help->id)}}"  class="btn btn-rose" title="View details" style="color: #fff">
                      <i class="material-icons">visibility</i>
                    </a>
                    <a href="{{url('b2b/rfq/delete',$help->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