@extends('layouts.template') @section('template')

BRAND

@if(isset($brand)) @foreach($brand as $key => $brands) @endforeach @endif
ID Brand Name Brand Details Action
{{ ++$key }} {{ $brands->brand_name }} {{ $brands->brand_details }} @if(Auth::user()->role == 'admin')
   
{{ method_field('DELETE') }} {{ csrf_field() }}
@endif
@if(Session::has('success'))
{{Session::get('success')}} @php Session::forget('success'); @endphp
@endif @if(Session::has('update'))
{{Session::get('update')}} @php Session::forget('update'); @endphp
@endif @if(Session::has('delete'))
{{Session::get('delete')}} @php Session::forget('delete'); @endphp
@endif
@endsection