@php
use Carbon\Carbon;
$title = $permission->name;
@endphp
@extends('layouts.app')
@section('title', $title)
@section('content')
@include('shared.button', ['type' => 'back', 'url' => route('permissions.index')])
@include('shared.title', [$title])
@include('shared.fake-div')
-
{{ __('table.name'). ' : ' . $permission->name }}
-
{{ __('table.user') . ' : ' . ($permission->user?->name ?? '---') }}
-
{{ 'Created At : ' . Carbon::parse($permission->created_at)->format('Y/m/d | H:i:s') }}
-
{{ 'Updated At : ' . Carbon::parse($permission->updated_at)->format('Y/m/d | H:i:s') }}
@include('shared.button', ['type' => 'edit', 'url' => route('permissions.edit', $permission)])
@include('shared.button', ['type' => 'delete', 'url' => route('permissions.destroy', $permission)])
@endsection