@extends('admin.layouts.layout') @section('content')
@foreach ($modules as $module) @endforeach
ID Name Parent Created At Updated At Actions
{{$module->id}} {{$module->label}} @if(isset($module->parent) && $module->parent != 0) {{$module->parent_module->label}} @endif @if($module->created_at) {{ Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $module->created_at)->format('d-m-Y h:i:s A') }} @endif @if($module->updated_at) {{ Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $module->updated_at)->format('d-m-Y h:i:s A') }} @endif Edit Delete
@endsection