Files
laraundfelix/resources/views/member/grants.blade.php
T
LarsandCursor fd6860efda
Deploy Test / test (push) Successful in 12s
Deploy Test / deploy (push) Successful in 21s
Öffne Katalog, Bibliothek und Testkauf für den MVP.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 09:04:08 +01:00

24 lines
722 B
PHP

@extends('layouts.site')
@section('title', 'Berechtigungen')
@section('content')
@include('member.partials.nav')
<h1>Berechtigungen</h1>
@if ($grants->isEmpty())
<div class="empty">
<p>Ihnen ist noch keine Lizenz zugeordnet.</p>
</div>
@else
<ul class="catalog">
@foreach ($grants as $grant)
<li>
<strong>{{ $grant->article->code }}</strong>
<span>{{ $grant->rights_snapshot['purpose'] ?? '' }}</span>
<span>seit {{ $grant->valid_from?->timezone(config('app.timezone'))->format('d.m.Y') }}</span>
</li>
@endforeach
</ul>
@endif
@endsection