@extends('admin.layouts.app') @section('content')
ID | Category Name | Category Image | Status | Action |
---|---|---|---|---|
{{$result->id }} | {{ ucfirst($result->categories_name) }} |
|
@php $prodID = Crypt::encrypt($result->id); @endphp
@if(Auth::user()->role_id == 2)
@else
{{ Form::open(['route' => ['categories.destroy', $result->id], 'method' => 'delete']) }}
{{ Form::button('', ['type' => 'submit', 'class' => 'btn btn-dim btn-danger']) }}
{{ Form::close() }}
@endif
|