cineflex/resources/views/dash.blade.php

30 lines
667 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
2023-02-02 08:17:38 +01:00
<h2>Orders</h2>
<hr/>
<x-orders :orders="Auth()->user()->orders" />
<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