Current File : /home/tradevaly/new.tradevaly.com.bd/resources/views/backend/pages/featureProduct/pending.blade.php
@extends('backend.ayaan.master')

@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">
          <h4 class="card-title">{{translate("Features Request Table")}}</h4>
        </div>
        <div class="card-body">
          <div class="table-responsive">
            <table class="table">
              <thead>
                <tr>
                  <th class="text-center">#</th>
                  <th>{{translate("Product Name")}}</th>
                  <th>{{translate("Short Description")}}</th>
                  <th>{{translate("Client")}}</th>
                  <th>{{translate("Supplier Package")}}</th>
                  <th class="text-right">{{translate("Actions")}}</th>
                </tr>
              </thead>
              <tbody>
                @php
                   $i = 0;
                @endphp
                @foreach ($Fproducts as $product)
                @if($product->product)
                @if($product->product->supplier)
                <tr>
                  <?php $i++; ?>
                  <td class="text-center">{{$i}}</td>
                  <td>@isset($product->product->title) <a href="{{route('product.view', $product->product->slug)}}"> {{$product->product->title}} </a> @endif</td>
                  <td> {{ \Illuminate\Support\Str::limit(strip_tags($product->product->details), 70, $end='...') }} </td>
                  <td> {{ $product->product->supplier->name}} </td>
                  
                  <td> @isset($product->product->supplier->user->package) <img src="{{asset('storage/images/admin/package/'.$product->product->supplier->user->package->image)}}" alt="Service Image" class="rounded"  width="60"> @endif </td>
                  <td class="td-actions text-right">
                      <a href="{{route('admin.features.approve',$product->id)}}" name="about" class="badge bg-success" title="Delete" style="color: #fff">
                      Approve
                    </a>
                    <a href="{{url('b2b/feature_product/delreq',$product->id)}}" name="about" class="badge bg-danger confirmDelete" title="Delete" style="color: #fff">
                      Delete
                    </a>
                  </td>
                </tr>
                @endif
                @endif
                @endforeach
              </tbody>
            </table>
          </div>
        </div>
      </div>
  </div>
</div>
@stop

@push('script')
   
@endpush