Updated order confirmation/notification emails and order page with offline payment info

This commit is contained in:
Dave Earley 2016-07-09 12:58:27 +01:00
parent e3b01bd5be
commit 95b3f4f252
4 changed files with 31 additions and 3 deletions

View File

@ -5,6 +5,13 @@ Hello,<br><br>
You have received a new order for the event <b>{{$order->event->title}}</b>.<br><br>
@if(!$order->is_payment_received)
<br><br>
<b>Please note: This order still requires payment.</b>
<br><br>
@endif
Order Summary:
<br><br>
Order Reference: <b>{{$order->order_reference}}</b><br>
@ -12,6 +19,7 @@ Order Name: <b>{{$order->full_name}}</b><br>
Order Date: <b>{{$order->created_at->toDayDateTimeString()}}</b><br>
Order Email: <b>{{$order->email}}</b><br>
<h3>Order Items</h3>
<div style="padding:10px; background: #F9F9F9; border: 1px solid #f1f1f1;">

View File

@ -7,7 +7,11 @@ Your order for the event <b>{{$order->event->title}}</b> was successful.<br><br>
Your tickets are attached to this email. You can also view you order details and download your tickets at: {{route('showOrderDetails', ['order_reference' => $order->order_reference])}}
@if(!$order->is_payment_received)
<br><br>
<b>Please note: This order still requires payment. Instructions on how to make payment can be found on your order page: {{route('showOrderDetails', ['order_reference' => $order->order_reference])}}</b>
<br><br>
@endif
<h3>Order Details</h3>
Order Reference: <b>{{$order->order_reference}}</b><br>
Order Name: <b>{{$order->full_name}}</b><br>

View File

@ -153,7 +153,7 @@
<div class="offline_payment" style="display: none;">
<h5>Offline Payment Instructions</h5>
<div class="well">
{{ $event->offline_payment_instructions }}
{!! nl2br(e($event->offline_payment_instructions)) !!}
</div>
</div>

View File

@ -33,7 +33,7 @@
font-size: 20px;
}
.order_details.well {
.order_details.well, .offline_payment_instructions {
margin-top: 25px;
background-color: #FCFCFC;
line-height: 30px;
@ -94,6 +94,20 @@
</div>
</div>
@if(!$order->is_payment_received)
<h3>
Payment Instructions
</h3>
<div class="alert alert-info">
This order is awaiting payment. Please read the below instructions on how to make payment.
</div>
<div class="offline_payment_instructions well">
{!! nl2br(e($event->offline_payment_instructions)) !!}
</div>
@endif
<h3>
Order Items
</h3>
@ -230,6 +244,8 @@
</tbody>
</table>
</div>
</div>
</div>
</div>