diff --git a/views/mail/review_chase.blade.php b/views/mail/review_chase.blade.php index 6ad7598..3c0f023 100644 --- a/views/mail/review_chase.blade.php +++ b/views/mail/review_chase.blade.php @@ -1,57 +1,59 @@ -subject = "{site_name} please leave a review - {order_number}" +subject = "{{$site_name}} please leave a review - {{$order_number}}" == Thank you for your order! -Hi, {first_name} {last_name} +Hi, {{$first_name}} {{$last_name}} Thank you for your order with us - we hope you enjoyed your meal. We would really appreciate you leaving a review to tell us how we did and help us improve our service. Please use the URL below: -{order_view_url} +{{$order_view_url}} -Your order number is {order_number} -This is a {order_type} order. +Your order number is {{$order_number}} +This is a {{$order_type}} order. -Order date: {order_date} -Requested {order_type} time: {order_time} +Order date: {{$order_date}} +Requested {{$order_type}} time: {{$order_time}} -{order_address} -Restaurant: {location_name} +{{$order_address}} +Restaurant: {{$location_name}} -{order_comment} +{{$order_comment}} -{order_menus} -{menu_quantity} x {menu_name} -{menu_options} -- {menu_price} -- {menu_subtotal} -{menu_comment} +@if(!empty($order_menus)) +@foreach($order_menus as $order_menu) +{{ $order_menu['menu_quantity'] }} x {{ $order_menu['menu_name'] }} +{!! $order_menu['menu_options'] !!} +- {{ $order_menu['menu_price'] }} +- {{ $order_menu['menu_subtotal'] }} +{!! $order_menu['menu_comment'] !!} +@endforeach +@endif -{/order_menus} - -{order_totals} -{order_total_title} -{order_total_value} - -{/order_totals} +@if(!empty($order_totals)) +@foreach($order_totals as $order_total) +{{ $order_total['order_total_title'] }} +{{ $order_total['order_total_value'] }} +@endforeach +@endif == -Hi {first_name} {last_name}, +Hi {{$first_name}} {{$last_name}}, ## Thank you for your order with us - we hope you enjoyed your meal! We would really appreciate you leaving a review to tell us how we did and help us improve our service. -[Click here]({order_view_url}) to leave a review. +[Click here]({{$order_view_url}}) to leave a review. -**Requested {order_type} time:** {order_time}
-**Payment Method:** {order_payment}
-**Restaurant:** {location_name}
-**Delivery Address:** {order_address} +**Requested {{$order_type}} time:** {{$order_time}}
+**Payment Method:** {{$order_payment}}
+**Restaurant:** {{$location_name}}
+**Delivery Address:** {{$order_address}} -{order_comment} +{{$order_comment}} @partial('table')