cineflex/resources/views/main/showings/showing.blade.php

37 lines
1.4 KiB
PHP
Raw Normal View History

2023-01-01 20:13:11 +01:00
@extends('main.layout')
@section('content')
<section>
<h1><img src="{{$showing->movie->movie_image}}" alt="{{$showing->movie->movie_name}} Poster" width="60px">
{{$showing->movie->movie_name}}</h1>
<hr/>
<div id="showing">
<div class="details">
<span>Cinema: <a
href="/cinema/{{$showing->room->cinema->cinema_id}}">{{$showing->room->cinema->cinema_name}}</a></span><br/>
2023-02-02 08:17:38 +01:00
<span>Showing: {{$showing->showing_start}} - {{$showing->showing_end()}}</span><br/>
2023-01-01 20:13:11 +01:00
</div>
</div>
</section>
<section>
<h1>Details</h1>
<hr/>
<span>{{$showing->movie->movie_description}}</span><br/>
<hr/>
<span>Runtime: {{$showing->movie->movie_length }} minutes</span><br/>
<span>Year: {{$showing->movie->movie_year}}</span><br/>
<span>Age limit: {{$showing->movie->movie_age_limit}}</span><br/>
<span>Genre: <a
href="/genre/{{$showing->movie->genre->genre_id}}">{{$showing->movie->genre->genre_name}}</a></span><br/>
</section>
<section>
<h1>Tickets:</h1>
<hr/>
2023-02-02 08:17:38 +01:00
<span>Tickets available: {{$showing->tickets_available()}}</span><br/><br/>
<a href="/showing/{{$showing->showing_id}}/order" class="button">Order Tickets</a>
2023-01-01 20:13:11 +01:00
</section>
@endsection