
@php($app_name ="Estatech")

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Intimation of Possession</title>

@if(EF::getUrl() != "letterdata")
<style type="text/css">
  
/* GENERAL CSS APPLY ALL SECTIONS*/
  .margin{
    padding-top: 13px;
  }
  
  *{
    margin: 0;
    padding: 0;
  }
  .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%;
  margin-left: 7%;
  margin-right: 7%;
  margin-top: 2%;
 }

 .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>

  <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
  <div class = "row "  style = "margin-top:4%; 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->gender == "S/O")Mr. @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>Intimation of Possession Letter</u></b></div>
    <br>
 <div><b>Dear {{ucwords($user->name)}} </b></div>
    <br>
    <div>We are glad to let you inform that our project <b>{{strtoupper($booking->branch->name)}}</b>, has been completed by the grace of Almighty ALLAH and you are requested to take the physical possession of your alloted <b>{{strtoupper($plot->plot_id)}}</b> after clearing all outstanding dues if any.</div>
    <br>
    <div>Note:Electricity and Gas connections shall be installed by yourself.</div>


    <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: 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>