@extends('layouts.admin.app') @section('content')
@include('include.alert')
@if(Auth::user()->role != 'viewer')
@endif @include('module.category.create')
@foreach($data as $value) @endforeach
NAME ACTION
{{ $value->name }} @if(Auth::user()->role != 'viewer') Edit @else No Action @endif
@foreach($data as $value) @include('module.category.update') @endforeach @stop @section('js') {{-- --}} @stop