Edit File: google_table.blade.php
<div class="position-relative"> {{-- table loader --}} <div class="table_loader" > {{awtTrans('جاري التحميل')}} </div> {{-- table loader --}} {{-- table content --}} <table class="table " id="tab"> <thead> <tr> <th> <label class="container-checkbox"> <input type="checkbox" value="value1" name="name1" id="checkedAll"> <span class="checkmark"></span> </label> </th> <th>{{ awtTrans('التاريخ') }}</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 class="text-center"> <label class="container-checkbox"> <input type="checkbox" class="checkSingle" id="{{ $row->id }}"> <span class="checkmark"></span> </label> </td> <td>{{ \Carbon\Carbon::parse($row->created_at)->format('d/m/Y') }}</td> <td><img src="{{ asset('assets/uploads/stores/'.$row->icon) }}" width="50px" height="50px" alt=""></td> <td>{{ $row->name }}</td> <td>{{ $row->address }}</td> <td><a class="d-flex font-medium-1" href="{{url('admin/stores/menus-google/' .$row->id )}}">{{awtTrans('عرض')}}</a></td> <td>{{ \App\Models\Category::where('slug',$row->category)->first()?->name??'' }}</td> <td class="product-action"> <div class="dropdown"> <a href="#" class="dropdown-toggle" id="folder" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></a> <div style="z-index: 100000" class="dropdown-menu dropdown-menu-right" aria-labelledby="folder" x-placement="bottom-end" style="position: absolute; will-change: transform; top: 0px; left: 0px; transform: translate3d(-93px, 22px, 0px);"> <a class="dropdown-item d-flex font-medium-1" href="{{url('admin/stores/dates/' .$row->id )}}"><i class="font-medium-3 feather icon-eye mr-50"></i> {{ $row->timings->count() > 0 ? awtTrans('تعديل مواقيت العمل') : awtTrans('اضافة مواقيت العمل ')}}</a> <a class="dropdown-item d-flex font-medium-1" href="{{ route('admin.stores.google_show', ['id' => $row->id]) }}"><i class="font-medium-3 feather icon-eye mr-50"></i> {{awtTrans('عرض المتجر')}}</a> <a class="dropdown-item d-flex font-medium-1" href="{{ route('admin.stores.edit', ['id' => $row->id]) }}"><i class="font-medium-3 feather icon-edit mr-50"></i> {{awtTrans('تعديل')}}</a> <a class="delete-row dropdown-item d-flex font-medium-1 text-danger" href="#" data-url="{{ url('admin/stores-google/' . $row->id) }}"><i class="font-medium-3 feather icon-trash mr-50"></i> {{awtTrans('حذف')}}</a> </div> </div> </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 \Illuminate\Pagination\AbstractPaginator ) <div class="d-flex justify-content-center mt-3"> {{$rows->links()}} </div> @endif {{-- pagination links div --}}
Back to File Manager