@php $iLengthString = ''; $Years = intval($iLength / 12); $Months = $iLength - $Years * 12; if ($Years > 0 && $Months > 0) { $iLengthString = $Years . ' year(s) ' . $Months . ' month(s)'; } if ($Years > 0 && $Months <= 0) { $iLengthString=$Years . ' year(s) ' ; } if ($Years <=0 && $Months> 0) { $iLengthString = $Months . ' month(s)'; } if ($iLength == 0) { $iLengthString = '10 days'; } @endphp
|
|||||
|
@if (!empty($iUserID) || $iUserID != null) Dear {{ $vName }}, @elseif (!empty($vRecipientName) || $vRecipientName != null) Dear {{ $vRecipientName }}, @endif |
|||||
|
@if ($vHeader == null || empty($vHeader))
You have received free {{ $iLengthString }} access to the following
program(s) on QuitSure! You can activate your free access anytime before
{{ date('d M, Y', strtotime($dValidTill)) }}.
@else
@if ($vBuyerName != null || !empty($vBuyerName))
{{ str_replace('{vBuyerName}', $vBuyerName, $vHeader) }}
@else
{{ str_replace('{vBuyerName}', 'Someone', $vHeader) }}
@endif
|
|||||
|
The program(s) for which this voucher is valid are: |
|||||
|
|||||
|
To activate your voucher, simply: |
|||||
NOTE: The first part of the program is free, so you can wait to activate your voucher until you have completed the free parts of the program |
|||||
|
To activate your voucher, simply: |
|||||
|
|||||
|
Note: |
|||||
|
|||||
|
Let’s start your journey to a new healthy, happy, and smoke-free life in just 6-days! |
|||||
|
Sincerely, |
|||||
|
Team QuitSure |
|||||
|
You have received this email as a registered user of the Quitsure App |
|||||
|
|||||