diff --git a/resources/views/Emails/OrderNotification.blade.php b/resources/views/Emails/OrderNotification.blade.php index ad1ba88a..946b2920 100644 --- a/resources/views/Emails/OrderNotification.blade.php +++ b/resources/views/Emails/OrderNotification.blade.php @@ -5,6 +5,13 @@ Hello,

You have received a new order for the event {{$order->event->title}}.

+@if(!$order->is_payment_received) +

+ Please note: This order still requires payment. +

+@endif + + Order Summary:

Order Reference: {{$order->order_reference}}
@@ -12,6 +19,7 @@ Order Name: {{$order->full_name}}
Order Date: {{$order->created_at->toDayDateTimeString()}}
Order Email: {{$order->email}}
+

Order Items

diff --git a/resources/views/Mailers/TicketMailer/SendOrderTickets.blade.php b/resources/views/Mailers/TicketMailer/SendOrderTickets.blade.php index db438837..2480501c 100644 --- a/resources/views/Mailers/TicketMailer/SendOrderTickets.blade.php +++ b/resources/views/Mailers/TicketMailer/SendOrderTickets.blade.php @@ -7,7 +7,11 @@ Your order for the event {{$order->event->title}} was successful.

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) +

+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])}} +

+@endif

Order Details

Order Reference: {{$order->order_reference}}
Order Name: {{$order->full_name}}
diff --git a/resources/views/Public/ViewEvent/Partials/EventCreateOrderSection.blade.php b/resources/views/Public/ViewEvent/Partials/EventCreateOrderSection.blade.php index 4d8f4009..087c9a52 100644 --- a/resources/views/Public/ViewEvent/Partials/EventCreateOrderSection.blade.php +++ b/resources/views/Public/ViewEvent/Partials/EventCreateOrderSection.blade.php @@ -153,7 +153,7 @@ diff --git a/resources/views/Public/ViewEvent/Partials/EventViewOrderSection.blade.php b/resources/views/Public/ViewEvent/Partials/EventViewOrderSection.blade.php index 0172b8b8..0097f000 100644 --- a/resources/views/Public/ViewEvent/Partials/EventViewOrderSection.blade.php +++ b/resources/views/Public/ViewEvent/Partials/EventViewOrderSection.blade.php @@ -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 @@
+ + @if(!$order->is_payment_received) +

+ Payment Instructions +

+
+ This order is awaiting payment. Please read the below instructions on how to make payment. +
+
+ {!! nl2br(e($event->offline_payment_instructions)) !!} +
+ + @endif +

Order Items

@@ -230,6 +244,8 @@ + +