@if (isset($invoice) && $invoice != null)
@php $setting = App\Config::first(); @endphp

{{ __('Puchased on') }}: {{ date('jS F Y', strtotime($invoice['created_at'])) }}


{{__('From')}}:
{{$setting->title}}
{{$invoice_add}} {{__('Email')}}: {{$w_email}}
{{__('To')}}:
{{auth()->user()->name}}
{{__('Email')}}: {{auth()->user()->email}}
{{__('Invoice')}}: # {{$invoice->id}}
{{__('Order ID')}}: {{$invoice->payment_id}}
{{__('Payment Mode')}}: {{ucfirst($invoice->method)}}
{{__('Subscription End')}}: {{date('jS F, Y', strtotime($invoice->subscription_to))}}

# {{__('User Name')}} {{__('Package Name')}} {{__('Method')}} {{__('Line Total')}}
1 {{auth()->user()->name}} {{$invoice->plan->name}} {{$invoice->method}} {{strtoupper($currency_code)}} {{$invoice->price}}
{{__('Grand Total')}} {{strtoupper($currency_code)}} {{$invoice->price}}

{{__('Payment Methods')}}:

Visa Mastercard American Express Paypal


{{__('This is a computer-generated invoice and does not require a physical signature.')}}
{{__('If you have any questions concerning this invoice, feel free to write to us at our email address')}}.

@endif