fix+add: seats + seat-chooser

This commit is contained in:
Didier Slof 2023-01-01 20:13:11 +01:00
parent 2c6745e812
commit b0cc5b5278
Signed by: didier
GPG key ID: 01E71F18AA4398E5
31 changed files with 808 additions and 115 deletions

View file

@ -0,0 +1,34 @@
@extends('main.layout')
@section('content')
<section>
<h1>{{$cinema->cinema_name}}</h1>
<hr/>
<div id="cinema">
<div class="details">
<span>{{$cinema->address->string()}}</span><br/>
<span>{{$cinema->cinema_open}} - {{$cinema->cinema_close}}</span>
</div>
</div>
</section>
<section>
<h1>Now playing:</h1>
<hr/>
<div id="showings">
@foreach($cinema->showings as $showing)
<a href="/showing/{{$showing->showing_id}}">
<img src="{{$showing->movie->movie_image}}" alt="{{$showing->movie->movie_name}} Poster"
width="200px">
<div class="details">
<span>{{$showing->movie->movie_name}}</span><br/>
<span>{{$showing->showing_date}}</span><br/>
<span>{{$showing->showing_time}}</span>
</div>
</a>
@endforeach
</div>
</section>
@endsection