fix+add: seats + seat-chooser
This commit is contained in:
parent
2c6745e812
commit
b0cc5b5278
31 changed files with 808 additions and 115 deletions
37
resources/views/main/showings/showing.blade.php
Normal file
37
resources/views/main/showings/showing.blade.php
Normal file
|
@ -0,0 +1,37 @@
|
|||
@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/>
|
||||
<span>Showing: {{$showing->showing_start}} - {{$showing->end_time()}}</span><br/>
|
||||
</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/>
|
||||
<span>Tickets available: {{$showing->tickets_available()}}</span><br/>
|
||||
<span>Buy tickets?</span>
|
||||
{{-- todo--}}
|
||||
</section>
|
||||
@endsection
|
Loading…
Add table
Add a link
Reference in a new issue