venues and about pages on mobile

This commit is contained in:
merdan 2020-04-06 14:56:41 +05:00
parent 5d2a842eec
commit 0159f7a05d
4 changed files with 236 additions and 6 deletions

View File

@ -2345,7 +2345,7 @@ choose_seats_content > div.tab-pane.fade{
font-size: 6px; }
#mobile tr.last-tr td {
font-size: 6px; }
#mobile tr td:first-child {
#seats tr td:first-child {
font-size: 20px;
display: block;
}

View File

@ -12,7 +12,7 @@
<i class="fa fa-caret-right"></i>
</li>
@else
<li class="page-name text-capitalize" style="color: #7f7f7f; text-transform: capitalize">
<li class="page-name text-uppercase" style="color: #7f7f7f; text-transform: capitalize">
{{ $breadcrumb->title }}
</li>
@endif

View File

@ -76,7 +76,7 @@
<div class="standard-box" style="position: relative; padding: 20px 0; user-select: none;">
<h5 style="font-size: 24px;" class="text-center font-weight-bold">{{$ticket->section->section_no}} <small>{{$ticket->section->description}}</small></h5>
<table data-id="{{$ticket->id}}" style="text-align: center; margin: auto;display: block;overflow-x: scroll"
<table data-id="{{$ticket->id}}" style="text-align: center; margin: auto;display: block;overflow-x: scroll" id="seats"
data-content='{!! zanitlananlar($ticket)!!}'>
<tbody data-num="{{$ticket->price}}" data-max="{{$ticket->max_per_person}}">
@foreach($ticket->section->seats as $row)

View File

@ -7,11 +7,241 @@
<section id="intro" class="container">
<div class="row">
<div class="col-md-12 text-center">
<h1 property="name" style="font-weight: bold">{{$event->title}}</h1>
<h3 property="name" style="font-weight: bold">{{$event->title}}</h3>
</div>
</div>
</section>
@include('desktop.Partials.ViewOrderSection')
@include('desktop.Partials.FooterSection')
<section id="order_form" class="container">
<div class="row">
<div class="col-md-12 order_header">
<span class="massive-icon">
<i class="ico ico-checkmark-circle"></i>
</span>
<h4>@lang("Public_ViewEvent.thank_you_for_your_order")</h4>
<h4>
@lang("Public_ViewEvent.your")
<a class="ticket_download_link"
href="{{ route('showOrderTickets', ['order_reference' => $order->order_reference] ).'?download=1' }}">
@lang("Public_ViewEvent.tickets") </a> @lang("Public_ViewEvent.confirmation_email")
</h4>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="content event_view_order">
@if($event->post_order_display_message)
<div class="alert alert-dismissable alert-info">
{{ nl2br(e($event->post_order_display_message)) }}
</div>
@endif
<div class="order_details well">
<div class="row mt-3">
<div class="col-5">
<b>@lang("Attendee.first_name")</b><br> <small>{{$order->first_name}}</small>
</div>
<div class="col-7">
<b>@lang("Attendee.last_name")</b><br> <small>{{$order->last_name}}</small>
</div>
</div>
<div class="row mt-3">
<div class="col-5">
<b>@lang("Public_ViewEvent.reference")</b><br> <small>{{$order->order_reference}}</small>
</div>
<div class="col-7">
<b>@lang("Public_ViewEvent.amount")</b><br> <small>{{number_format($order->total_amount, 2)}} man.</small>
</div>
</div>
<div class="row mt-3">
<div class="col-5">
<b>@lang("Public_ViewEvent.date")</b><br> <small>{{$order->created_at->format(config('attendize.default_datetime_format'))}}</small>
</div>
<div class="col-7">
<b>@lang("Public_ViewEvent.email")</b><br> <small>{{$order->email}}</small>
</div>
</div>
</div>
@if(!$order->is_payment_received)
<h3>
@lang("Public_ViewEvent.payment_instructions")
</h3>
<div class="alert alert-info">
@lang("Public_ViewEvent.order_awaiting_payment")
</div>
<div class="offline_payment_instructions well">
{!! Markdown::parse($event->offline_payment_instructions) !!}
</div>
@endif
<h5 class="mt-4">
@lang("Public_ViewEvent.order_items")
</h5>
<div class="table-responsive">
<table class="table table-hover table-bordered">
<thead>
<tr>
<th>
@lang("Public_ViewEvent.ticket")
</th>
<th>
@lang("Public_ViewEvent.quantity_full")
</th>
<th>
@lang("Public_ViewEvent.price")
</th>
<th>
@lang("Public_ViewEvent.booking_fee")
</th>
<th>
@lang("Public_ViewEvent.total")
</th>
</tr>
</thead>
<tbody>
@foreach($order->orderItems as $order_item)
<tr>
<td>
{{$order_item->title}}
</td>
<td>
{{$order_item->quantity}}
</td>
<td>
@if((int)ceil($order_item->unit_price) == 0)
@lang("Public_ViewEvent.free")
@else
{{money($order_item->unit_price, $order->event->currency)}}
@endif
</td>
<td>
@if((int)ceil($order_item->unit_price) == 0)
-
@else
{{money($order_item->unit_booking_fee, $order->event->currency)}}
@endif
</td>
<td>
@if((int)ceil($order_item->unit_price) == 0)
@lang("Public_ViewEvent.free")
@else
{{money(($order_item->unit_price + $order_item->unit_booking_fee) * ($order_item->quantity), $order->event->currency)}}
@endif
</td>
</tr>
@endforeach
@if($event->organiser->charge_tax)
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
{{$event->organiser->tax_name}}
</td>
<td colspan="2">
{{ $orderService->getTaxAmount(true) }}
</td>
</tr>
@endif
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
<b>@lang("Public_ViewEvent.total")</b>
</td>
<td colspan="2">
{{ $orderService->getGrandTotal(true) }}
</td>
</tr>
@if($order->is_refunded || $order->is_partially_refunded)
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
<b>@lang("Public_ViewEvent.refunded_amount")</b>
</td>
<td colspan="2">
{{money($order->amount_refunded, $order->event->currency)}}
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
<b>@lang("Public_ViewEvent.total")</b>
</td>
<td colspan="2">
{{money($order->total_amount - $order->amount_refunded, $order->event->currency)}}
</td>
</tr>
@endif
</tbody>
</table>
</div>
<h4>
@lang("Public_ViewEvent.order_attendees")
</h4>
<div class="table-responsive">
<table class="table table-hover table-striped">
<tbody>
@foreach($order->attendees as $attendee)
<tr>
<td>
{{$attendee->first_name}}
{{$attendee->last_name}}
(<a href="mailto:{{$attendee->email}}">{{$attendee->email}}</a>)
</td>
<td>
{{{$attendee->ticket->title}}}
</td>
<td>{{$attendee->seat_no}}</td>
<td>
@if($attendee->is_cancelled)
@lang("Public_ViewEvent.attendee_cancelled")
@endif
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
</section>
@include('desktop.Partials.FooterSection')
@stop