cineflex/resources/views/dash.blade.php

26 lines
586 B
PHP
Raw Normal View History

@extends('main.layout')
2022-11-23 09:32:34 +01:00
@section('content')
@if (session('status'))
<div class="alert alert-success" role="alert">
{{ session('status') }}
</div>
@endif
<h1>{{ __('Dashboard') }}</h1>
<hr/>
2022-11-23 09:32:34 +01:00
@if(Auth::user()->atleast('employee'))
<a href="/manage" class="button">Management Panel</a>
<hr/>
@endif
2022-11-23 09:32:34 +01:00
<h2>Permissions</h2>
<hr/>
<ul class="numbered">
@foreach(Auth::user()->permissions as $permission)
<li>{{ $permission->permission_name }}</li>
@endforeach
</ul>
2022-11-23 09:32:34 +01:00
@endsection