2016-02-29 15:59:36 +00:00
|
|
|
<style>
|
|
|
|
|
/*@todo This is temp - move to styles*/
|
|
|
|
|
h3 {
|
|
|
|
|
border: none !important;
|
|
|
|
|
font-size: 30px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin: 0;
|
|
|
|
|
margin-bottom: 30px;
|
|
|
|
|
letter-spacing: .2em;
|
|
|
|
|
font-weight: 200;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.order_header {
|
|
|
|
|
text-align: center
|
|
|
|
|
}
|
2016-03-10 04:41:10 +00:00
|
|
|
|
2016-02-29 15:59:36 +00:00
|
|
|
.order_header .massive-icon {
|
|
|
|
|
display: block;
|
|
|
|
|
width: 120px;
|
|
|
|
|
height: 120px;
|
|
|
|
|
font-size: 100px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
color: #63C05E;
|
|
|
|
|
}
|
2016-03-10 04:41:10 +00:00
|
|
|
|
2016-02-29 15:59:36 +00:00
|
|
|
.order_header h1 {
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
text-transform: uppercase;
|
2016-03-10 04:41:10 +00:00
|
|
|
}
|
|
|
|
|
|
2016-02-29 15:59:36 +00:00
|
|
|
.order_header h2 {
|
|
|
|
|
margin-top: 5px;
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
}
|
2016-03-10 04:41:10 +00:00
|
|
|
|
2016-02-29 15:59:36 +00:00
|
|
|
.order_details.well {
|
|
|
|
|
margin-top: 25px;
|
|
|
|
|
background-color: #FCFCFC;
|
|
|
|
|
line-height: 30px;
|
|
|
|
|
text-shadow: 0 1px 0 rgba(255,255,255,.9);
|
|
|
|
|
color: #656565;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|
2016-03-10 04:41:10 +00:00
|
|
|
<section id="order_form" class="container">
|
2016-02-29 15:59:36 +00:00
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-md-12 order_header">
|
|
|
|
|
<span class="massive-icon">
|
|
|
|
|
<i class="ico ico-checkmark-circle"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<h1>Thank you for your order!</h1>
|
|
|
|
|
<h2>
|
2016-03-10 04:41:10 +00:00
|
|
|
Your <a href="{{route('showOrderTickets', ['order_reference' => $order->order_reference])}}?download=1">tickets</a> and a confirmation email have been sent to you.
|
2016-02-29 15:59:36 +00:00
|
|
|
</h2>
|
|
|
|
|
</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">
|
|
|
|
|
<div class="col-sm-4 col-xs-6">
|
|
|
|
|
<b>First Name</b><br> {{$order->first_name}}
|
|
|
|
|
</div>
|
2016-03-10 04:41:10 +00:00
|
|
|
|
2016-02-29 15:59:36 +00:00
|
|
|
<div class="col-sm-4 col-xs-6">
|
|
|
|
|
<b>Last Name</b><br> {{$order->last_name}}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="col-sm-4 col-xs-6">
|
|
|
|
|
<b>Amount</b><br> {{$order->event->currency_symbol}}{{number_format($order->total_amount,2)}}
|
|
|
|
|
</div>
|
2016-03-10 04:41:10 +00:00
|
|
|
|
2016-02-29 15:59:36 +00:00
|
|
|
<div class="col-sm-4 col-xs-6">
|
|
|
|
|
<b>Reference</b><br> {{$order->order_reference}}
|
|
|
|
|
</div>
|
2016-03-10 04:41:10 +00:00
|
|
|
|
2016-02-29 15:59:36 +00:00
|
|
|
<div class="col-sm-4 col-xs-6">
|
|
|
|
|
<b>Date</b><br> {{$order->created_at->toDateTimeString()}}
|
|
|
|
|
</div>
|
2016-03-10 04:41:10 +00:00
|
|
|
|
2016-02-29 15:59:36 +00:00
|
|
|
<div class="col-sm-4 col-xs-6">
|
|
|
|
|
<b>Email</b><br> {{$order->email}}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h3>
|
|
|
|
|
Order Items
|
|
|
|
|
</h3>
|
|
|
|
|
|
2016-03-10 04:41:10 +00:00
|
|
|
<div class="table-responsive">
|
|
|
|
|
<table class="table table-hover">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
Ticket
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
Quantity
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
Price
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
Booking Fee
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
Total
|
|
|
|
|
</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
@foreach($order->orderItems as $order_item)
|
2016-02-29 15:59:36 +00:00
|
|
|
<tr>
|
|
|
|
|
<td>
|
2016-03-10 04:41:10 +00:00
|
|
|
{{$order_item->title}}
|
2016-02-29 15:59:36 +00:00
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
{{$order_item->quantity}}
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
@if((int)ceil($order_item->unit_price) == 0)
|
|
|
|
|
FREE
|
|
|
|
|
@else
|
|
|
|
|
{{money($order_item->unit_price, $order->event->currency->code)}}
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
@if((int)ceil($order_item->unit_price) == 0)
|
|
|
|
|
-
|
|
|
|
|
@else
|
|
|
|
|
{{money($order_item->unit_booking_fee, $order->event->currency->code)}}
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
@if((int)ceil($order_item->unit_price) == 0)
|
|
|
|
|
FREE
|
|
|
|
|
@else
|
|
|
|
|
{{money(($order_item->unit_price + $order_item->unit_booking_fee) * ($order_item->quantity), $order->event->currency->code)}}
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2016-03-10 04:41:10 +00:00
|
|
|
@endforeach
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<b>Sub Total</b>
|
|
|
|
|
</td>
|
|
|
|
|
<td colspan="2">
|
|
|
|
|
{{money($order->total_amount, $order->event->currency->code)}}
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2016-03-13 00:24:48 +00:00
|
|
|
@if($order->is_refunded || $order->is_partially_refunded)
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<b>Refunded Amount</b>
|
|
|
|
|
</td>
|
|
|
|
|
<td colspan="2">
|
|
|
|
|
{{money($order->amount_refunded, $order->event->currency->code)}}
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<b>Total</b>
|
|
|
|
|
</td>
|
|
|
|
|
<td colspan="2">
|
|
|
|
|
{{money($order->total_amount - $order->amount_refunded, $order->event->currency->code)}}
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
@endif
|
2016-03-10 04:41:10 +00:00
|
|
|
</tbody>
|
|
|
|
|
</table>
|
2016-02-29 15:59:36 +00:00
|
|
|
|
2016-03-10 04:41:10 +00:00
|
|
|
</div>
|
2016-02-29 15:59:36 +00:00
|
|
|
|
|
|
|
|
<h3>
|
|
|
|
|
Order Attendees
|
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
|
|
<div class="table-responsive">
|
2016-03-10 04:41:10 +00:00
|
|
|
<table class="table table-hover table-striped">
|
2016-02-29 15:59:36 +00:00
|
|
|
<tbody>
|
|
|
|
|
@foreach($order->attendees as $attendee)
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
2016-03-10 04:41:10 +00:00
|
|
|
{{$attendee->first_name}}
|
|
|
|
|
{{$attendee->last_name}}
|
|
|
|
|
(<a href="mailto:{{$attendee->email}}">{{$attendee->email}}</a>)
|
2016-02-29 15:59:36 +00:00
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
{{{$attendee->ticket->title}}}
|
|
|
|
|
</td>
|
2016-03-13 00:24:48 +00:00
|
|
|
<td>
|
|
|
|
|
@if($attendee->is_cancelled)
|
|
|
|
|
Cancelled
|
|
|
|
|
@endif
|
|
|
|
|
</td>
|
2016-02-29 15:59:36 +00:00
|
|
|
</tr>
|
|
|
|
|
@endforeach
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
|