@extends('admin::layouts.app') @section('content')
@include('admin::partials.title-pad', [ 'title' => __('static.brands'), 'search' => $search, 'searchPlaceholder' => __('placeholder.search_brand'), 'create' => 'admin.brands.create', 'list' => $brandsQuery, ])
{{-- Table Start --}} @forelse ($brandsQuery as $key => $brand) @empty @endforelse
# {{ __('admin.brand_name') }} {{ __('admin.brand_description') }} {{ __('admin.status') }} {{ __('admin.created_at') }} {{ __('admin.action') }}
{{ $key + 1 }} {{ $brand->name }} {{ $brand->description }} {{__('admin.'.$brand->status) }} {{ $brand->created_at ? Modules\Admin\Helpers\GeneralHelper::dateFormat($brand->created_at) : '-' }} @if (Auth::user()->hasPermission('admin.brands.edit')) @endif @if (Auth::user()->hasPermission('admin.brands.delete')) @endif

{{ __('admin::message.no_records_found') }}

{{-- Table End --}}
{{-- Pagination --}} {{ $brandsQuery->appends(request()->input())->links('admin::partials.pagination') }} {{-- Pagination End --}}
@endsection