
@php($app_name ="Estatech")

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Thanks Letter</title>

@if(EF::getUrl() != "letterdata")
<style type="text/css">
  
/* GENERAL CSS APPLY ALL SECTIONS*/
  
  .clear{

    clear: both;
  }

  .top-section{
    margin-left: 4%;
  }
  

  .client-section  input[type=text]
  {
    

    
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid;
    font-size: 12px;
    text-align: center;
    background: transparent;

  }

  .main-section input[type=text]
  {
    

    
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid;
    font-size: 12px;
    text-align: center;
    background: transparent;

  }

  .payment-section input[type=text]
  {
    border-top: 1px solid;
    border-right: 1px solid;
    border-left: 1px solid;
    border-bottom: 1px solid;
    font-size: 12px;
    text-align: center;
    background: transparent;

  }


/*  #START=> MAIN SECTION */
  .main-section .row .col{
    
    margin-right: 0px;
    padding-right: 0px;
    float: left;
  }

  .main-section .row{

    margin-left: 2%;
  }

  .main-section .col label{
    /*font-size: 12px;
    font-weight: bold;*/
  }

  .next-page-section .row .col{
    
    margin-right: 0px;
    padding-right: 0px;
    float: left;
  }

  .next-page-section .row{

    margin-left: 2%;
  }

  .next-page-section .col label{
    font-size: 10px;
    font-weight: bold;
  }

  

  .main-section .row .col .check{
    vertical-align: middle;
    margin-top: 5px;
    margin-right:  90px; 
  }

/*  #END=> MAIN SECTION */

/*  #START=> CLIENT SECTION */
  .client-section .row .col{
    
    margin-right: 0px;
    padding-right: 0px;
    float: left;
  }

  .client-section .row{

    margin-left: 2%;
  }

  .client-section .col label{
    /*font-size: 12px;
    font-weight: bold;*/
  }

  

  .client-section .row .col .check{
    vertical-align: middle;
    margin-top: 5px;
    margin-right: 7px; 
  }

/*  #END=> CLIENT SECTION */

/*  #START=> CLIENT SECTION */
  .payment-section .row .col{
    
    margin-right: 0px;
    padding-right: 0px;
    float: left;
  }

  .payment-section .row{

    margin-left: 2%;
  }

  .payment-section .col label{
    /*font-size: 12px;
    font-weight: bold;*/
  }

  

  .payment-section .row .col .check{
    vertical-align: middle;
    margin-top: 5px;
    margin-right: 7px; 
  }

/*  #END=> CLIENT SECTION */


  .title{

    
    color: #000;
    width:30%;
    font-weight: bolder;
    text-align: center;
    height: auto;
    vertical-align: middle;
    padding: 0px;
    position: absolute;
    font-size: 14px;
    margin-left: 32%;
    bottom:  91%;
    
  }

/*  #START=>  IMAGE SECTION */

  .image-section{

    width: 100px;
    height: 100px;
    border-radius: 5px;
    border: 1px solid #000;
    text-align: center;
    position: absolute;
    margin-left:  78.5%;
    top:  14%;
    border-radius: 10px;
    vertical-align: middle;
    line-height: 150px;

    
  }
/*  #END=> IMAGE SECTION */



 .container{
  
  /*border: 1px solid #000;*/
  width: 100%;

 }

 .container1{
  /*width: 100%;
  margin-left: 7%;
  margin-right: 7%;
  margin-top: 2%;*/
 }

 .bg-image{
/*
  background-image: url();
  background-position: bottom right; background-repeat: no-repeat; */

   
   
  /* background-image: url("/graphics/sc/bg_booking.png");
   background-repeat: no-repeat;
   background-position: center; */
  
 }

</style>
@endif
</head>
 
<body class="pdf-body" >
  <div style="margin-top: 10%"></div>
 
  
@if(EF::getUrl() == "letterdata")

   <div class = "card  mb-2"  style = "width:793.92px; height:1122.24px;  float: none; ">
@include('letters.header_letter')
   
  @endif
    
  <div class = "row "  style = " margin-top: 3%; 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><b>Dear @if($user->relation == "S/O")Mr. @endif{{strtoupper($user->name)}} {{strtoupper($user->fname)}}</b></div> --}}
    <div>We feel pleasure on your confidence on <b>Skylite Builders</b> for choosing booking of <b>{{$plot->type}}</b> having Registration No. <b>{{$booking->reference_number}}</b> in the <b>{{$booking->branch->name}}</b>.Which will be proved safe and healthy investment by the time you will complete the installment.</div>
    <br>
    <div>We further ensure you that we have highly scaled and professional staff in order to maintain quality construction.Together, we keep in mind our goals and always treat each project with a sense of priority. We take pride in our ability to meet or beat our deadlines.</div>
    <br>
    <div><b> Skylite Builders</b> have admirable track record of completing the number of projects. Hence, excellence is the benchmark of all projects.</div>
    <br>
    <div>Thankyou once again and we look forward to have a long term business relationship with you.</div>
    <br> 
    <br>
    <br>
    <br>
    <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: 4%; font-size: 16px; font-weight: bolder; width:120px;" class = "btn btn-primary fa fa-print"> Print</button>
</div>
 </div>
</div>
@endif
</div>  
    
</body>

</html>