@component('mail::message') # Package Purchase Invoice Hello {{ $user_package->user_name }},
You have purchased new package {{ $user_package->package_name }}.
Invoice Details
Transaction ID : {{ $user_package->transaction_id }}
Package Name : {{ $user_package->package_name }}
Amount : {{ Config::get('custom.currency').' '.number_format((float)$user_package->package_amount, 2, '.', '') }}
Validity : {{ $user_package->number_of_years.' Year'.($user_package->number_of_years > 1 ? 's' : '' ) }}
Start Date : {{ date('m/d/Y h:i A',strtotime($user_package->start_date)) }}
End Date : {{ date('m/d/Y h:i A',strtotime($user_package->end_date)) }}
Status : {{ $user_package->status }}
Total @if(isset($user_package->purchase_type) && $user_package->purchase_type == 1) {{ Config::get('custom.currency').' 0' }} @else {{ Config::get('custom.currency').' '.number_format((float)$user_package->package_amount, 2, '.', '') }} @endif
Thanks,