@extends('layouts.app') @php($prefix = auth()->user()->role === 'admin' ? 'admin.' : 'user.') @section('title', 'Brands Management') @push('styles') @endpush @section('content')

Brands

@forelse ($brands ?? [] as $brand) @empty @endforelse
# Brand Key Brand Name Status Action
{{ $loop->iteration }}
@if ($brand->status) Active @else Inactive @endif
{{ $brand->name }}
No brands found.
@csrf

{{ __('Add Brand') }}

{{ __('Close') }} {{ __('Save') }}
@csrf @method('PUT')

{{ __('Edit Brand') }}

{{ __('Close') }} {{ __('Save Changes') }}
@endsection @push('scripts') @endpush