Current File : //home/tradevaly/text.tradevaly.com.bd/resources/views/backend/pages/show/index.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("Trade Shows")}}</h4>
          <a class="btn btn-success float-right" href="{{url('b2b/tradeShow/add')}}">{{translate("ADD NEW")}}</a>
        </div>
        <div class="card-body">
          <div class="table-responsive">
            <table class="table">
              <thead>
                <tr>
                  <th class="text-center">#</th>
                  <th>{{translate("Image")}}</th>
                  <th>{{translate("Name")}}</th>
                  <th>{{translate("Vanue")}}</th>
                  <th>{{translate("Organizer")}}</th>
                  <th>{{translate("About Event")}}</th>
                  <th class="text-right">{{translate("Actions")}}</th>
                </tr>
              </thead>
              <tbody>
                @php
                   $i = 0;
                @endphp
                @foreach ($shows as $show)
                <tr>
                  <?php $i++; ?>
                  <td class="text-center">{{$i}}</td>
                  <td><img style="height: 80px; width:150px; border-radius:10%;" src="{{asset('storage/images/admin/show/'.$show['image'])}}" alt=""></td>
                  <td>{{$show['show_name']}}</td>
                  <td>{{$show['venue']}}</td>
                  <td>{{$show['org_profile']}}</td>
                  <td>{!! Str::limit($show['ev_description'],70) !!}</td>
                  <td class="td-actions text-right">
                    <a href="{{url('b2b/tradeShow/edit',$show->id)}}"  class="btn btn-rose" title="Edit" style="color: #fff">
                      <i class="material-icons">edit</i>
                    </a>
                    <a href="{{url('b2b/tradeShow/delete',$show->id)}}" name="event" class="btn btn-danger confirmDelete" title="Delete" style="color: #fff">
                      <i class="fa fa-trash"></i>
                    </a>
                  </td>
                </tr>
                @endforeach
              </tbody>
            </table>
          </div>
        </div>
      </div>
  </div>
</div>
@stop

@push('script')
   
@endpush