<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<style type="text/css">
body {
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;

}

.maintblbrd {
  border: 1px solid #CCCCCC;
  border-collapse: collapse;
  padding: 3px 3px;
}
.cellbgclr
{
	
   background-color: #CCCCCC;
}
.font{
	font-family: Jost;
}
.mainheading{
	font-size: 14px;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 27px;	
}
.subheading{
	font-size: 14px;
}
@media print{ 
  @page {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .noPrint {
            display: none;
        }

}
.style19 {font-family: Arial, Helvetica, sans-serif}
.txtdegree {
        border-collapse: collapse;
        font-family: "Poppins Light";
        font-size: 8pt;
        font-style: normal;
        line-height: normal;
        font-weight: normal;
        font-variant: normal;
        color: #424242;
        word-spacing: normal;
}
</style>
<style>
.vl {
  border-left: 2px solid black;
  height: 100px;
}
.style23 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
}
</style>
</head>
<script>
 // window.print();
  //window.onafterprint = window.close;
  </script>

<body>
<table width="700" border="0" cellspacing="0" cellpadding="2">
<tr class="noPrint">
            <td style="float:right;"><button align="center" style="text-align:center;font-size: 18px;width: 100px;"
                    onclick="window.print();" class="noPrint">Print</button>            </td>
  </tr>
  <tr>
    <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="padding-bottom: 10px;padding-top:10px;" >
      <tr>
        <td align="center" valign="middle" >&nbsp;</td>
        <td align="center" valign="middle"><span class="style23">DESHMUKH EYE HOSPITAL </span></td>
        <td align="center" valign="middle">&nbsp;</td>
      </tr>
      <tr>
        <td width="35%" align="center" valign="middle" ><img src="{{url('logo.jpg')}}" /></td>
        <td width="39%" align="center" valign="middle"><span class="txtdegree"><strong>Khaparde Garden, Near Irwin Square,<br />
          Netradan Road,
          Amravati -444601<br />
          Ph:(0721) 2663151
          | Mob :
          8698249358</strong><br />
          website : www.deshmukheyehospital.com</span></td>
        <td width="26%" align="center" valign="middle"><img src="{{url('nabh.jpg')}}" /></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="700" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center" valign="top"><span class="style19"><strong>MEDICAL LEAVE CERTIFICATE  </strong></span></td>
  </tr>
</table>
<table width="700" border="0" cellspacing="0" cellpadding="0" class="maintblbrd">
  <tr>
    <td align="left" valign="top">&nbsp;</td>
  </tr>
</table>

<table width="703" border="0" cellspacing="0" cellpadding="0" class="maintblbrd">
  <tr>
    <td width="701"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="mainheading">
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td align="left" valign="top"><strong>Patient Name : </strong> {{$data->PatientName}}</td>
      </tr>
      
      <tr>
        <td align="left" valign="top"><strong>MRD NO : </strong> {{$data->MrdNo}}</td>
      </tr>
      <tr>
        <td align="left" valign="top">&nbsp;</td>
      </tr>
      <tr>
        <td align="left" valign="top"><p>To  whomsoever it may concern</p></td>
      </tr>
      
      <tr>
        <td align="left" valign="top"><p>This  is to state that Mr/Ms/Mrs&nbsp; <strong>{{$data->PatientName}}</strong>, our MRD No. <strong>{{$data->MrdNo}}</strong> &nbsp;Suffers from <strong>{{$data->SufferFrom}}</strong>.  He/she is currently under treatment at Deshmukh Eye Hospital, Amravati . The  period from date  <strong>{{date("d/m/Y", strtotime(str_replace('-', '/',$data->RestFrom)))}}</strong> to date <strong>{{date("d/m/Y", strtotime(str_replace('-', '/',$data->RestTo)))}}</strong> should  please be considered as his/her leave of medical absence.</p></td>
      </tr>
      <tr>
        <td align="left" valign="top">&nbsp;</td>
      </tr>
      <tr>
        <td align="left" valign="top"><p>Thank  You,</p></td>
      </tr>
      <tr>
        <td align="left" valign="top">&nbsp;</td>
      </tr>
      <tr>
        <td align="left" valign="top">{{$data->ConsultantName}} </td>
      </tr>
      <tr>
        <td align="left" valign="top">Registration No : {{$data->RegNo}} </td>
      </tr>
      <tr>
        <td align="left" valign="top"><p>&nbsp;</p>
          <p>&nbsp;</p>
          <p>&nbsp;</p>
          <p>&nbsp;</p>
          <p>&nbsp;</p></td>
      </tr>
    </table></td>
  </tr>
</table>
<p style="page-break-after: always;">&nbsp;</p>
<p>&nbsp;</p>
</body>
</html>
