@php ($headerOption = [ 'title' => "Games and Platforms", 'header_buttons' => [ ''. \Config::get('settings.icon_add') .' Add new Platform', ], 'filters' => isset($filters) ? $filters : [], 'data' => isset($data) ? $data : [] ]) @extends('admin.layouts.layout',$headerOption) @section('content')
{{-- --}}
{{-- --}} @if($platformsInfo) @foreach ($platformsInfo as $key => $val) {{-- --}} {{-- --}} {{-- @if($permission['edit'] || $permission['destroy']) @endif --}} @endforeach @else @endif
Name {!! \App\Helpers\Helper::sort($routePrefix . '.index', 'first_name', $orderBy) !!}Platform Logo Logo URL Action
{!! \App\Helpers\Helper::genLogo($val->avatar, $val, 'xs', 'rounded-circle') !!} {{ $val->full_name }} {{ $val['platform_name'] }} {{ $val['image'] }} {!! html()->form('DELETE', route( 'platforms' . '.destroy', $val['id'] ))->attributes([ 'style' => 'display:inline', 'id' => 'delete-form-' . $val['id'] ])->open() !!} {!! html()->form()->close() !!} {{ $val->role_title }} {!! $val->statuses[$val->status]['name'] !!} {{ \App\Helpers\Helper::showDate($val->created_at) }} @if($permission['edit']) {!! \Config::get('settings.icon_edit') !!} @endif @if($permission['destroy'] && $val->id != auth()->user()->id) {!! \Config::get('settings.icon_delete') !!} {!! html()->form('DELETE', route( $routePrefix . '.destroy', $val->id ))->attributes([ 'style' => 'display:inline', 'id' => 'delete-form-' . $val->id ])->open() !!} {!! html()->form()->close() !!} @endif
No Data
@include('admin.components.pagination') @push('page_script') @endpush @endsection