- Implement OfferOptionAdminTest to validate offer option management, including price display, activation, and cancellation. - Create OrganizationPurchaseTest to ensure correct handling of organization purchases, including access control and order processing. - Add ShopProductPageTest to verify shop product listings, search functionality, and product page details. - Introduce BuildsShop trait for seeding test data related to shop functionality. - Implement MoneyTest to validate money parsing and formatting, ensuring correct handling of euro amounts.
30 lines
1.0 KiB
PHP
30 lines
1.0 KiB
PHP
@extends('layouts.site')
|
|
|
|
@section('title', $composition->display_title ?: $composition->designation)
|
|
|
|
@section('content')
|
|
<p><a href="{{ route('public.programs') }}">Programme</a></p>
|
|
<h1>{{ $composition->display_title ?: $composition->designation }}</h1>
|
|
@if (filled($composition->summary))
|
|
<p class="lede">{{ $composition->summary }}</p>
|
|
@endif
|
|
@if (filled($version->learning_goal))
|
|
<p>Lernziel: {{ $version->learning_goal }}</p>
|
|
@endif
|
|
<ol class="course">
|
|
@foreach ($nodes as $node)
|
|
<li>
|
|
<h2>{{ $node->role }}: {{ $node->title }}</h2>
|
|
@if ($node->children !== [])
|
|
<ol>
|
|
@foreach ($node->children as $child)
|
|
<li>{{ $child->role }}: {{ $child->title }}</li>
|
|
@endforeach
|
|
</ol>
|
|
@endif
|
|
</li>
|
|
@endforeach
|
|
</ol>
|
|
@include('shop.optionen', ['options' => $options, 'cart' => $cart, 'switchTo' => $switchTo])
|
|
@endsection
|