@component('mail::message') # Renew Registration Dear {{$user}}, @php ($to = \Carbon\Carbon::now()) @php ($from = \Carbon\Carbon::createFromFormat('Y-m-d', $reg_date)) @php ($diff_in_days = $to->diffInDays($from)) {!! Hyvikk::email_msg('registration') !!} Vehicle: {{$vehicle}} Registration Expiry date: {{date('d-m-Y',strtotime($reg_date))}} Remaining days: {{$diff_in_days}} Thanks,
{{ config('app.name') }} @endcomponent