@php
$setting = App\Config::first();
$image = 'images/logo/'.$setting['logo'];
// Read image path, convert to base64 encoding
$imageData = base64_encode(@file_get_contents($image));
if($imageData){
$src = 'data: '.mime_content_type($image).';base64,'.$imageData;
}
@endphp
@if($setting->logo != NULL)
@else
{{ $setting['title'] }}
@endif
{{ __('Puchased on') }}: {{ date('jS F Y', strtotime($invoice['created_at'])) }}
{{__('From')}}:
{{$setting->title}}
{{$invoice_add}} {{__('Email')}}: {{$w_email}}
{{$invoice_add}} {{__('Email')}}: {{$w_email}}
{{__('To')}}:
{{auth()->user()->name}}
{{__('Email')}}: {{auth()->user()->email}}
{{__('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))}}
{{__('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}} |
@php
$visaimage = 'images/credit/visa.png';
// Read image path, convert to base64 encoding
$visaimageData = base64_encode(@file_get_contents($visaimage));
if($visaimageData){
$visa_src = 'data: '.mime_content_type($visaimage).';base64,'.$visaimageData;
}
$mastercardimage = 'images/credit/mastercard.png';
// Read image path, convert to base64 encoding
$mastercardimageData = base64_encode(@file_get_contents($mastercardimage));
if($mastercardimageData){
$mastercard_src = 'data: '.mime_content_type($mastercardimage).';base64,'.$mastercardimageData;
}
$expressimage = 'images/credit/american-express.png';
// Read image path, convert to base64 encoding
$expressimageData = base64_encode(@file_get_contents($expressimage));
if($expressimageData){
$express_src = 'data: '.mime_content_type($expressimage).';base64,'.$expressimageData;
}
$paypal2image = 'images/credit/paypal2.png';
// Read image path, convert to base64 encoding
$paypal2imageData = base64_encode(@file_get_contents($paypal2image));
if($paypal2imageData){
$paypal2_src = 'data: '.mime_content_type($paypal2image).';base64,'.$paypal2imageData;
}
@endphp
{{__('Payment Methods')}}:
{{__('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')}}.