@extends('layouts.admin.app') @section('content')
@include('include.alert')
@if(Auth::user()->role != 'viewer')
Add
@endif
{{-- --}} @foreach($data as $value) {{-- --}} @endforeach
TYPE TITLE DEPARTMENT LOCATION ACTION
{{ $count++ }} {{ $value->type }} {{ $value->title }} {{ $value->department }} {{ $value->location }} @if(Auth::user()->role != 'viewer') Edit | Delete @else No Action @endif
{{-- @foreach($data as $value) @include('module.story.update') @endforeach --}} @endsection @section('js') @endsection