@if($email_type == 'SIGN_UP')
Hi {{ $email }},
Your verification code is {{ $random_digit }}
@elseif($email_type == 'FORGOT_PASSWORD')
Hi {{ $var_greeting_name }},
Reset Password
@elseif($email_type == 'RESEND_CODE')
Hi {{ $email }},
Your verification code is {{ $random_digit }}
@elseif($email_type == 'RECEIPT_EMAIL')
Hello {{ $var_greeting_name }},
Receipt email address: {{ $receipt_email_address }},
Delivery address: {{ $receipt_address }},
Your order has been placed successfully.
@if($payment_info->cart_object != 'null' && $payment_info->cart_object != '')
LV Website
| # |
Description |
Price |
@php
$cart_object = json_decode($payment_info->cart_object);
// _pre($cart_object);
$cart_product_description = '';
$cart_product_price = '';
@endphp
@foreach($cart_object as $key => $value)
@php
$cart_product_description .= 'Size: '.@$value->step1->sign_size.'
';
$cart_product_description .= 'Edge: '.@$value->step21->sign_edge_style.'
';
$cart_product_description .= 'Line 1: '.@$value->step3->line1.'
';
$cart_product_description .= 'Line 2: '.@$value->step3->line2.'
';
$cart_product_description .= 'Line 3: '.@$value->step3->line3.'
';
$cart_product_description .= 'Line 3: '.@$value->step3->line3.'
';
$cart_product_description .= 'Font: '.@$value->step3->font_name.'
';
$cart_product_description .= 'Colour: '.@$value->step4->color.'
';
$cart_product_description .= 'Fixing Type: '.@$value->step51->fixing_type_name.'
';
$sign_price_tot = _number_format(@$value->total_summary->sign_price_tot);
$gold_price_tot = _number_format(@$value->total_summary->gold_price_tot);
$fixing_type_price = _number_format(@$value->total_summary->fixing_type_price);
$vat = _number_format(@$value->total_summary->vat);
$cart_product_price .= 'Quantity: '.@$value->total_summary->qty.'
';
$cart_product_price .= 'Sign: '.$sign_price_tot.'
';
$cart_product_price .= '24ct Gold: '.$gold_price_tot.'
';
$cart_product_price .= 'Fixings: '.$fixing_type_price.'
';
$cart_product_price .= 'VAT: '.$vat.'
';
$total = $sign_price_tot + $gold_price_tot + $fixing_type_price + $vat;
$cart_product_price .= 'Total: '.$total.'
';
@endphp
| {{ $key+1 }} |
{!! $cart_product_description !!} |
{!! $cart_product_price !!} |
@endforeach
@endif
@if($payment_info->gift_voucher_cart != 'null' && $payment_info->gift_voucher_cart != '')
Gift Voucher
| # |
Description |
Price |
@php
$gift_voucher_cart = json_decode($payment_info->gift_voucher_cart);
// _pre($cart_object);
$cart_product_description = '';
$cart_product_price = '';
@endphp
@foreach($gift_voucher_cart as $key => $value)
@php
$cart_product_description .= 'Gift Voucher Value: '.@$value->product_price.'
';
$cart_product_description .= 'To: '.@$value->recipient_first_name.' '.@$value->recipient_last_name.'
';
$cart_product_description .= 'Email: '.@$value->recipient_email_address.'
';
$cart_product_description .= 'From: '.@$value->voucher_from.'
';
$cart_product_description .= 'Send Date: '.@$value->when_to_email_voucher.'
';
$cart_product_description .= 'Greeting Message: '.@$value->personal_message.'
';
$cart_product_price .= 'Quantity: '.@$value->quantity.'
';
$cart_product_price .= 'Voucher: '.@$value->remaining_amount.'
';
$cart_product_price .= 'VAT: '.@$value->gift_voucher_vat.'
';
$cart_product_price .= 'Total: '.@$value->product_price.'
';
@endphp
| {{ $key+1 }} |
{!! $cart_product_description !!} |
{!! $cart_product_price !!} |
@endforeach
@endif
@if($payment_info->cart_other_info != 'null' && $payment_info->cart_other_info != '')
@php
$cart_other_info = json_decode($payment_info->cart_other_info);
@endphp
Delivery: {{ ucfirst($cart_other_info->is_delivery) }}
@if($cart_other_info->is_delivery == 'yes')
Delivery price: {{ ucfirst($cart_other_info->delivery_price) }}
Delivery vat: {{ ucfirst($cart_other_info->delivery_vat) }}
@endif
Price: {{ $cart_other_info->total_price }} | VAT: {{ $cart_other_info->total_vat_price }}
@endif
@elseif($email_type == 'ORDER_GIFT_VOUCHER')
Email Template
| Hi {{ $var_greeting_name }} you've been sent a gift! |
| Gift Voucher |
| To the value of |
 |
| Presented to |
| {{ $var_greeting_name }} |
| {{ $personal_message }} |
| From |
| {{ $voucher_from }} |
| Voucher Valid Until : {{ $voucher_valid_until }} |
| Voucher Number : {{ $voucher_code }} |
| Enter this code at checkout |
|
|
Got a question? Email us at info@slatesign.co.uk |
| Terms & Conditions Apply > |
|
|
|
|
@endif