<!DOCTYPE html>
<html lang="en-US">
	<head>
		<meta charset="utf-8">
	</head>
	<body>
		<h2><b>Hey {{$fullname}},</b></h2><br>

		<?php
			$community = app('App\\Repositories\\CommunityRepository')->getById($community_id);		
		?>
            
		<div>		
			Congratulations! Your application for a	new center has been approved. <br><br>
						
			If you need any assistance with SIM	configuration, please feel free to book a time with one of our support staff by clicking on this calendar URL: Calander <br><br>
			
			You can now log in and explore the SIM booking management system we have activated for you.
			
			<br><br>			
			
			Thank you. <br/><br/>

           @if($community)
           		@if($community->email_signature)
                    {{$community->email_signature}}
                @else
                    <p>
                        Sincerely,<br/><br/>
                        
                        <strong>{{$community->title}}</strong><br/>
                        {{$community->address}}<br>{{ucfirst($community->city)}},{{$community->zip}}<br>{{ucfirst($community->state)}},{{ucfirst($community->country)}}<br/>
                        Tel: {{$community->contact}}<br/>
                        Email: {{$community->email}}<br/>
                        
                        <br>
                                   
                        <hr>
                        <?php $imgPath=$community->present()->getLogo(); ?>
                        <a href="{{$community->present()->url()}}"><img src="{{ltrim($imgPath)}}" style="width:200px; height:auto; "/></a>
                        <br>
                        <br>
                        {{$community->description}}<br/>
                    </p>
            	@endif
            @endif
		</div>

	</body>
</html>
