3
0
Fork 0
This repository has been archived on 2024-11-14. You can view files and clone it, but cannot push or open issues or pull requests.
ThemeParkPlus-Panel/resources/views/profile/home.blade.php

31 lines
1.4 KiB
PHP
Raw Normal View History

2021-06-27 19:01:43 +00:00
@extends('layouts.profile')
2020-02-26 13:59:58 +00:00
@section('content')
2021-06-29 20:05:00 +00:00
<div class="wrapper">
<div class="container-fluid">
<div class="col-lg-6 col-lg-offset-3 col-md-8 col-md-offset-2">
@if(env('SHOWS', false) && Auth::user()->hasShows())
<div class="row card-container">
@foreach(Auth::user()->getShows() as $show)
<div class="col-xs-12 col-md-6">
@component('components.show', ['show' => $show, 'style' => 'style="height: 100%"'])
@slot('body')
@php($time = strtotime($show->date))
<p style="margin: 0"><strong>Date: </strong>{{ date('d-m-Y', $time) }} at {{ date('H:m', $time) }}
<br><strong>Seat: </strong>{{ $show->seat }}
<br><strong>Voucher: </strong>{{ $show->voucher }}</p>
@endslot
@endcomponent
</div>
@endforeach
2020-02-26 13:59:58 +00:00
</div>
2021-06-29 20:05:00 +00:00
@else
@component('components.panel', ['title' => 'No Shows'])
<p>You have no tickets for shows.</p>
@endcomponent
@endif
2020-02-26 13:59:58 +00:00
</div>
</div>
</div>
@endsection