<!DOCTYPE html>
<html lang="en-US">
	<head>
		<meta charset="utf-8">
	</head>
	<body style="font-size:16px">
		<div>
			<?php 					
				$invoice = app('App\\Repositories\\CommunityInvoiceRepository')->findById($invoiceId,0);
				
				$amount=$invoice->total_amount;
				
				$invoiceUrl=\URL::route('community-invoice-view',['slug'=>0,'id'=>$invoiceId]);
				
				$mainBaseUrl= config('app.url');													
				$getUrlHostname=getUrlHostnameScheme($mainBaseUrl);
			
				$login_redirect_url=$getUrlHostname.'/cmownpagebyid?lgkey='.base64_encode($user_id)."&lgurl=".$invoiceUrl."&cmid=0";
			?>
		
        	<p>
				Hello {!!$fullname!!},
			</p>		
            
			<p>
				Congratulations! Welcome to idhubs.
			</p>
			
			<p><a href="{!!$from_user_link!!}"><strong>{!!$from_user_fullname!!}</strong></a> sent you an invoice in the amount of <strong>${!!number_format($amount, 2, '.', ',')!!}</strong>.</p>

			<p>	
				To see the invoice, <a href="{!!$login_redirect_url!!}"><span style="color:#f00">click here</span></a>.
			</p>

			<p>			
				You can also login to view the invoice. (watch the video, how it works)
			</p>
			
            <p>
				<strong>Platform Url:</strong> <a href="{!!URL::to('')!!}">idhubs.com</a>
			</p>	
                        
			<p>
				<strong>Username:</strong> {!!$email_address!!}
            </p>
			
			<p>
				<strong>Temporary Password:</strong> {!!$password!!}
            </p>
			
            <p>
				On the idhubs platform, you will find many like-minded professionals with whom you can interact,
share knowledge and opportunities. You can also build your personal website, interactive resume, calendar and so much more!
			</p>
            
			<p>
				We look forward to working with you and bringing a positive idhubs experience. If you require further assistance, please let us know and we will be happy to answer any of your questions.	
			</p>	
            
            <p>
				Best Wishes<br /> 
				Rojit Sorokhaibam- Founder<br />    
				<b>IDHUBS, Inc.</b><br />
				<a href="https://blog.idhubs.com/c/75/survey/idhubssupport">Click for Support</a>
			</p>	
		</div>
	</body>
</html>


