Edit File: table.blade.php
@php use Illuminate\Pagination\AbstractPaginator; @endphp <div class="position-relative"> {{-- table loader --}} <div class="table_loader"> {{awtTrans('جاري التحميل')}} </div> {{-- table loader --}} {{-- table content --}} <table class="table " id="tab"> <thead> <tr> <th></th> <!--<th>{{ awtTrans('الصورة') }}</th>--> <th>{{ awtTrans('الاسم') }}</th> <th>{{ awtTrans('البريد الالكتروني') }}</th> <th>{{ awtTrans('رقم الجوال') }}</th> <th>{{ awtTrans('قبول/رفض الطلب') }}</th> <th>{{ awtTrans('التحكم') }}</th> </tr> </thead> <tbody> @foreach ($rows as $row) <tr class="delete_row"> <td>{{$row->id}}</td> <!--<td><img src="{{ asset('assets/uploads/users/'.$row->personal_image) }}" width="50px" height="50px"--> <!--alt=""></td>--> <td>{{ $row->fullname }}</td> <td>{{ $row->email }}</td> <td>{{ $row->phone }}</td> <td class="accept_td text-center"> @if ($row->status == 'pending') <i class="feather icon-check text-primary accept_company" style="font-size: 25px" data-status="approved" data-id="{{$row->id}}"></i> <i class="feather icon-x text-danger accept_company" style="font-size: 25px" data-status="rejected" data-id="{{$row->id}}"></i> @elseif($row->status == 'approved') <i class="fa fa-check text-success" style="font-size: 25px"></i> @else <i class="fa fa-times text-danger" style="font-size: 25px"></i> @endif </td> <td class="product-action"> <span class="text-primary"><a href="{{ route('admin.delegete_request.show', ['id' => $row->id]) }}"><i class="feather icon-eye"></i></a></span> </td> </tr> @endforeach </tbody> </table> {{-- table content --}} {{-- no data found div --}} @if ($rows->count() == 0) <div class="d-flex flex-column w-100 align-center mt-4"> <img src="http://127.0.0.1:8000/admin/app-assets/images/pages/404.png" alt=""> <span class="mt-2" style="font-family: cairo">{{awtTrans('لا يوجد نتائج مطابقة')}}</span> </div> @endif {{-- no data found div --}} </div> {{-- pagination links div --}} @if ($rows->count() > 0 && $rows instanceof AbstractPaginator ) <div class="dataTables_info" id="DataTables_Table_0_info" role="status" aria-live="polite">{{trans( 'pagination.showing') . $rows->firstItem() . trans('pagination.to') . $rows->lastItem() . trans('pagination.of') . $rows->total() . trans('pagination.entries') }} </div> <div class="d-flex justify-content-center mt-3"> {{$rows->links()}} </div> @endif {{-- pagination links div --}}
Back to File Manager