
@php($app_name ="Estatech")

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Payment Reminder</title>

@if(EF::getUrl() != "letterdata")
<style type="text/css">
  

 .container{
  
  /*border: 1px solid #000;*/
  width: 100%;
  margin-left: 2%;
  margin-right: 2%;
  margin-top: 2%;
  font-size: 13px;
  font-family: "Calibri"!important;
  

 }


</style>
@endif
</head>
 
<body class="pdf-body" >

  
  <div class="container">
@if(EF::getUrl() == "letterdata")

<div class = "card  mb-2"  style = "width:793.92px; height:1122.24px;  float: none;">
	@include('letters.header_letter')
  @endif
  @if(EF::getUrl() == "letterpdf")
  	@include('letters.header_letter')
  @endif
	<div class = "row "  style = "  margin-top:5%; margin-left: 5%; margin-right:5%;">
	<div class = "col-md-12" >
		<div>Date: {{EF::dateFormat($date)}}</div>
	
		<div>Ref: {{$booking->reference_number}}</div>
		<br>
		<div>@if($user->relation == "S/O")Mr. @elseif($user->relation == "D/O") Miss. @else Mrs. @endif{{strtoupper($user->name)}}</div>
	    <div>{{strtoupper($user->temp_address)}}</div>
		<div>Mobile: {{$user->contact}}</div>
		<div>Email: {{EF::filterEmail($user->email)}}</div>
		<div>CNIC: {{$user->cnic}}</div>
		<br>
		<div>Subject: <b><u>Reminder for Payment - Installment</u></b></div>
		<br>
 		<div><b>Dear {{ucwords($user->name)}} </b></div>
		

		<div>With reference to the above subject. We are pleased to inform you that construction activities are picking up pace.</div>
		<br>
		<div>Timely payments of dues with help us to maintain the pace of construction activities.</div>
		<br>
		<div>Please be informed that as per agreement and statement of your account the following dues against your <b> {{$plot->plot_id}}</b> in the <b> {{strtoupper($booking->branch->name)}} </b>are as under:</div>
		<br>
		<div><b style = " margin-right: 22.4%;" >Total Outstanding:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b> {{EF::numberFormat($booking_outstanding['balance'])}}</div>
		<div><b style = "  margin-right: 36%;">Penalty:</b>0.00</div>
		
			<div>
				<b style = "@if($installment_due_date == false) margin-right: 21%;  @else margin-right: 9.5%; @endif">Current Installment ({{EF::dateFormat($installment_due_date)}}):
				</b>
				{{EF::numberFormat($installment_amount)}}
			</div>
		
		<div><b style = " margin-right: 30%;">Total Amount:</b>{{EF::numberFormat($booking_outstanding['balance'])}}</div>
		<br>
		<div>You are requested to follow the payment schedule strictly to avoid late fee charges.</div>
		<br> 
		<br>
		<div>If you already paid your dues disregard this notice.</div>
		<br>
		<div>
			<b>Account Title: </b>{{$bank_details->title}}
		</div>
		<div><b>Account #: </b>{{$bank_details->account_no}}</div>
		<div><b>Bank:</b>  {{$bank_code}} {{$bank_name}}</div>
		<div><b>Swift Code: </b> {{$swift_code}}</div>
		<br>
		<br>
		<br>
		<div>Best Regard, </div>
		<br>
		<div><b>Skylite Builders</b></div>

	</div>
	</div>

@if(EF::getUrl() == "letterdata")
<div class = "row">
<div class = "col-md-12" style ="text-align:center;">
<button type = "submit" style =" margin-right: 4%; margin-top: 2%; font-size: 16px; font-weight: bolder; width:120px;" class = "btn btn-primary fa fa-print"> Print</button>
</div>
 </div>
</div>
@endif
</div>  
    
</body>

</html>