<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Vyawahare Hospital</title>
<style type="text/css">
body {
	margin-left: 20px;
	margin-top: 5px;
	margin-right: 5px;
	margin-bottom: 2px;
}
</style>
<style>
.tblborder {
  border: 1px solid #ada9a9;
  border-collapse: collapse;
}
.alltextfont {
	font-family: "Poppins Light";
	font-size: 8pt;
	font-style: normal;
	line-height: normal;
	font-weight: normal;
	font-variant: normal;
	
	color: #424242;
}
.smalltextfont {
	font-family: Poppins;
	font-size: 9px;
	font-style: normal;
	line-height: normal;
	font-weight: normal;
	font-variant: normal;
	
	color: #000000;
}
.addrfont {
	font-family: "Poppins Light";
	font-size: 9pt;
	font-style: normal;
	line-height: normal;
	font-weight: normal;
	font-variant: normal;
	
	color: #000000;
}
.tophdfnt {
	font-family: "Poppins Medium";
	font-size: 14pt;
	font-style: normal;
	line-height: normal;
	font-weight: normal;
	font-variant: normal;

	color: #000000;
	letter-spacing: 0.3mm;
}
 .thbrd{
  border: 1px solid #ada9a9;
  border-collapse: collapse;
}

 .tdbrd{
	border: 1px solid #ada9a9;
	border-collapse: collapse;
	font-family: "Poppins Medium";
	font-size: 8pt;
	font-style: normal;
	line-height: normal;
	font-weight: normal;
	font-variant: normal;
	color: #424242;
	word-spacing: normal;
	letter-spacing: 0.2mm;
}
.txtfundus{
	
	border-collapse: collapse;
	font-family: "Poppins Medium";
	font-size: 8pt;
	font-style: normal;
	line-height: normal;
	font-weight: normal;
	font-variant: normal;
	color: #4C4C4C;
	word-spacing: normal;
	letter-spacing: 0.2mm;
}
.txtallvalues{
	border: 1px solid #ada9a9;
	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;
	
}
.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;
	
}
.txtallheading {
	font-family: "Poppins SemiBold";
	font-size: 9pt;
	font-style: normal;
	line-height: normal;
	font-weight: normal;
	font-variant: normal;
	
	color: #000000;
	
}
.txtdrname {
	font-family: "Poppins Light";
	font-size: 9pt;
	font-style: normal;
	line-height: normal;
	font-weight: normal;
	font-variant: normal;
	
	color: #000000;
	
}
.txtnabhlogo {
	font-family: "Poppins Medium";
	font-size: 7pt;
	font-style: normal;
	line-height: normal;
	font-weight: normal;
	font-variant: normal;
	letter-spacing: 0.2mm
	color: #000000;
	letter-spacing: 0.3mm;
}
.tdbrd1 {border: 1px solid #ada9a9;
  border-collapse: collapse;
  font-family: Poppins;
	font-size: 11px;
	font-style: normal;
	line-height: normal;
	font-weight: normal;
	font-variant: normal;
	
	color: #4C4C4C;
}
.singleline {
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #ada9a9;
}

.othertextfont{
  color: black;
    font-weight: 500;
    font-size: 9pt;
}

.othertextfont2{
    font-size: 9pt;
    /* font-weight: bolder; */
    font-family: "Poppins SemiBold";
}

@media  print {
        @page  {
            margin-top: 10px;
            margin-left: 50px;
            margin-right: 0px;
            margin-bottom: 0px;
        }

        @page  :footer {
            display: none
        }

        .noPrint {
            display: none;
        }

        @page  :header {
            display: none
        }
    }

    @media  print {
        a[href]:after {
            content: none !important;
        }
    }
</style>
</head>
<body>
@foreach($data as $result)    
<table width="700" border="0" cellspacing="1" cellpadding="1" >
<!-- <tr class="noPrint">
            <td colspan="2" 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 colspan="2" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="tdbrd1">
      <tr>
        <td width="13%" rowspan="2" align="center" valign="middle" class="tdbrd1"><img src="{{url('VLOGO2.jpg')}}" width="75" height="86" /></td>
        <td colspan="2" align="left" valign="top" class="tdbrd1"><table width="99%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="64%" class="tophdfnt"><div align="center">Vyawahare Netralaya &amp; Eye Bank, Amravati </div></td>
          </tr>
          <tr>
            <td class="addrfont"><div align="center">V.M.V Road, Rathi Nagar, Amravati | 0721-2664880 | Mob : 9370109617 </div></td>
          </tr>
        </table></td>
        <td width="17%" rowspan="2" align="center" valign="middle" class="tdbrd1"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="15%" align="center" valign="middle"><img src="{{url('nabhlogo2.png')}}"  /></td>
          </tr>
          <tr>
            <td align="center" valign="top" class="txtnabhlogo">NABH &amp; ISO CERTIFIED </td>
          </tr>
          <tr>
            <td align="center" valign="top" class="txtnabhlogo">EYE HOSPITAL </td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td width="36%" align="left" valign="top"><table width="90%" border="0" cellspacing="1" cellpadding="1">
          <tr>
            <td align="center" valign="middle" class="txtdrname"><strong>Dr. Neeta Vyawahare</strong></td>
          </tr>
          <tr>
            <td align="center" valign="top" class="txtdegree">MBBS, DO (Opthal) </td>
          </tr>
          <tr>
            <td align="center" valign="top" class="txtdegree">Regd. No. 070595</td>
          </tr>
        </table></td>
        <td width="34%" align="center" valign="top"><table width="80%" border="0" cellspacing="1" cellpadding="1">
          <tr>
            <td align="center" valign="middle" class="txtdrname"><strong>Dr. Pravin Vyawahare</strong> </td>
          </tr>
          <tr>
            <td align="center" valign="top" class="txtdegree">MBBS, MS (Opthal)</td>
          </tr>
          <tr>
            <td align="center" valign="top" class="txtdegree"> Regd. No. 65374</td>
          </tr>
        </table></td>
        </tr>
    </table></td>
  </tr>
  <tr>
  <tr>
  	<td colspan="2" align="center" valign="top" class="txtallheading" style="font-size: 10pt;"><strong>
		Operation Notes </strong>	</td>
  </tr>
    <tr><td colspan="2" align="left" valign="top"><table width="100%" border="0" cellpadding="4" cellspacing="0" class="tblborder">
      <tr style="border:1px; color:#333333">
        <td width="21%" align="left" valign="middle" class="tdbrd">Name/Age/Gender</td>
        <td width="39%" align="left" valign="middle" class="txtallheading" ><strong>{{$result->PatientName}} / {{$result->Age}} / {{substr($result->Gender,0,1)}} </strong></td>
        <td width="10%" align="left" valign="middle" class="tdbrd">MRD No</td>
        <td width="10%" align="center" valign="middle" class="txtallheading"><strong>{{$result->MrdNo}}</strong></td>
        <td width="7%" align="center" valign="middle" class="tdbrd">Date</td>
        <td width="13%" align="center" valign="middle" class="txtallvalues">{{date("d/m/Y", strtotime(str_replace('-', '/',$result->CreatedDate)))}}</td>
      </tr>
      <tr>
        <td align="left" valign="middle" class="tdbrd">Address</td>
        <td colspan="2" align="left" valign="middle" class="txtallvalues">{{strtoupper($result->Address)}}</td>
        <td colspan="2" align="center" valign="middle" class="tdbrd">Mobile </td>
        <td align="center" valign="middle" class="txtallvalues">{{$result->Phone}}</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td colspan="2" align="left" valign="top" ><table width="100%" border="0" cellspacing="0" cellpadding="4" class="tdbrd">
      <tr>
        <td width="21%" class="txtallvalues" ><strong>Diagnosis</strong></td>
        <td width="79%" class="txtallheading" style="font-family: 'Poppins SemiBold'">{{$result->Diagnosis}}</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td colspan="2" align="left" valign="top" ><table width="100%" border="0" cellspacing="0" cellpadding="4" class="tdbrd1">
      <tr>
        <td width="21%" rowspan="2" align="left" valign="top" class="txtallvalues"><strong>Investigation</strong></td>
        <td width="17%" align="left" valign="top" class="txtallvalues"><strong>Blood Sugar </strong></td>
        <td width="24%" colspan="2" align="left" valign="top" class="txtallvalues">{{$result->Bs}} mg/dl</td>
        <td width="21%" align="left" valign="top" class="txtallvalues"><strong>Blood Pressure </strong></td>
        <td width="17%" align="left" valign="top" class="txtallvalues">{{$result->Bp}}</td>
        </tr>
      <tr>
        <td align="left" valign="top" class="txtallvalues"><strong>IOP</strong></td>
        <td align="left" valign="top" class="txtallvalues">&nbsp;{{$result->IopRe}}</td>
        <td align="left" valign="top" class="txtallvalues">&nbsp;{{$result->IopLe}}</td>
        <td align="left" valign="top" class="txtallvalues"><strong>Other</strong></td>
        <td align="left" valign="top" class="txtallvalues">&nbsp;{{$result->Other}}</td>
        </tr>
    </table></td>
  </tr>
  
  <tr>
  <tr>
    <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="4" class="tdbrd1">
      
    <tr>
        <td width="12%" align="left" valign="top" class="txtallvalues"> Surgeon</td>
        <td width="20%" align="left" valign="top" class="txtallvalues">{{$result->Surgeon}}</td>
        <td width="11%" align="left" valign="top" class="txtallvalues"><strong>Assistant</strong></td>
        <td width="20%" align="left" valign="top" class="txtallvalues">{{$result->Assistant}}</td>
        <td width="11%" align="left" valign="top" class="txtallvalues"><strong>Packages</strong></td>
        <td width="18%" align="left" valign="top" class="txtallvalues txtallheading" style="font-size: 13pt;"><strong>{{$result->Package}}</strong></td>
        </tr>
      <tr>
        <td align="left" valign="top" class="txtallvalues"><strong>Category</strong></td>
        <td align="left" valign="top" class="txtallvalues txtallheading" style="font-size: 11pt;">{{$result->Category}}</td>
        <td align="left" valign="top" class="txtallvalues"><strong>Anaesthetist</strong></td>
        <td align="left" valign="top" class="txtallvalues">{{$result->Anaethetist}}</td>
        <td align="left" valign="top" class="txtallvalues"><strong>Amount</strong></td>
        <td align="left" valign="top" class="txtallvalues txtallheading" style="font-size: 10pt;"><strong>{{$result->PackageAmount}}</strong></td>
      </tr>
    </table></td>
  </tr>
      <tr><td colspan="2" align="left" valign="top" ><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="23%" align="left" valign="top"><table width="98%" height="250" border="0" cellpadding="2" cellspacing="0" class="tdbrd1">
            <tr>
              <td height="25" class="txtallvalues"><strong>Biometry</strong></td>
            </tr>
            <tr>
              <td align="left" valign="top" class="txtallvalues"><table width="100%" border="0" cellspacing="0" cellpadding="4">
                <tr>
                  <td align="left" valign="top" class="alltextfont">K1 : <strong>{{$result->K1Re}} &nbsp;{{$result->K1Le}}</strong></td>
                </tr>
                <tr>
                  <td align="left" valign="top" class="alltextfont">K2 : <strong>{{$result->K2Re}}&nbsp;{{$result->K2Le}}</strong></td>
                </tr>
                <tr>
                  <td align="left" valign="top" class="alltextfont">A.L : <strong>{{$result->AL}}</strong></td>
                </tr>
                <tr>
                  <td align="left" valign="top" class="alltextfont">ACD : <strong>{{$result->Acd}}</strong></td>
                </tr>
                <tr>
                  <td align="left" valign="top">&nbsp;</td>
                </tr>
              </table></td>
              </tr>
          </table></td>
          <td width="23%" align="center" valign="top"><table width="100%" height="250" border="0" cellpadding="2" cellspacing="0" class="tdbrd1">
            <tr>
              <td height="22" align="left" valign="top" class="txtallvalues"><strong>IOL Details  </strong></td>
            </tr>

            <tr>
              <td width="23%" align="left" valign="top" class="txtallvalues"><table width="100%" border="0" cellspacing="0" cellpadding="4">
              <tr>
                  <td align="left" valign="top"><span class="alltextfont"> <strong class="othertextfont">IOL Name :</strong> <span class="othertextfont2">{{$result->IolName}}</span></span> </td>
                </tr>  
                <tr>
                  <td align="left" valign="top"><span class="alltextfont"> <strong class="othertextfont">IOL Type :</strong> <span class="othertextfont2">{{$result->IolType}}</span></span> </td>
                </tr>  
              <tr>
                  <td align="left" valign="top"><span class="alltextfont"> <strong class="othertextfont">IOL Power :</strong> <span class="othertextfont2">{{$result->IolPower}}</span></span> </td>
                </tr>
                <tr>
                  <td align="left" valign="top"><span class="alltextfont"> <strong class="othertextfont">CYL :</strong> <span class="othertextfont2">{{$result->Cyl}}</span></span> </td>
                </tr>
                <tr>
                  <td align="left" valign="top"><span class="alltextfont"> <strong class="othertextfont">ADD :</strong> <span class="othertextfont2">{{$result->NearAdd}}</span></span> </td>
                </tr>
                <!-- <tr>
                  <td align="left" valign="top"><span class="alltextfont"> <strong>Formlula :</strong> {{$result->Formula}}</span> </td>
                </tr>
                <tr>
                  <td align="left" valign="top"><span class="alltextfont"> <strong>A-Constant :</strong> {{$result->Aconstant}}</span> </td>
                </tr> -->
                <tr>
                  <td align="left" valign="top">&nbsp;</td>
                </tr>
                <tr>
                  <td align="left" valign="top">&nbsp;</td>
                </tr>
              </table></td>
              </tr>
          </table></td>
          <td width="33%" align="right" valign="top"><table width="98%" height="250" border="0" cellpadding="2" cellspacing="0" class="tdbrd1">
            <tr>
              <td height="22" align="left" valign="top" class="txtallvalues"><strong>Cash Less </strong></td>
            </tr>
            <tr>
              <td align="left" valign="top" class="txtallvalues"><table width="100%" border="0" cellspacing="0" cellpadding="4">
              <tr>
                    <td align="left" valign="top" class="alltextfont"><strong class="othertextfont">Cashless Package :</strong></td>
                  </tr>
                  <tr>
                    <td align="left" valign="top" ><span class="alltextfont"><strong class="othertextfont">Insurane Company :</strong> <span class="othertextfont2">{{$result->InsComp}}</span></span></td>
                  </tr>
                  <tr>
                    <td align="left" valign="top" ><span class="alltextfont"><strong class="othertextfont">Request Amount :</strong> <span class="othertextfont2">{{$result->ReqAmt}}</span></span> </td>
                  </tr>
                  <tr>
                    <td align="left" valign="top" ><span class="alltextfont"><strong class="othertextfont">Sanctioned Amount :</strong> <span class="othertextfont2">{{$result->SanctAmt}}</span></span></td>
                  </tr>
                  <tr>
                    <td align="left" valign="top"><span class="alltextfont"><strong class="othertextfont">Add. Amt Paid from Patient :</strong> <span class="othertextfont2">{{$result->AddAmt}}</span></span></td>
                  </tr>
                  <tr>
                    <td align="left" valign="top"><span class="alltextfont"><strong class="othertextfont">Settle Amount :</strong> <span class="othertextfont2">{{$result->SettleAmt}}</span></span></td>
                  </tr>
                  <tr>
                    <td align="left" valign="top"><span class="alltextfont"><strong class="othertextfont">Settle Date :</strong> <span class="othertextfont2">
                      <?php if($result->SettleDate == ""){
                        echo "";
                      }
                      else{
                        echo date("d/m/Y", strtotime(str_replace('-', '/',$result->SettleDate)));
                      }
                    ?>
                    </span></span></td>
                  </tr>
                  <tr>
                    <td align="left" valign="top"><span class="alltextfont"><strong class="othertextfont">UTR No :</strong> <span class="othertextfont2">{{$result->UtrNo}}</span></span></td>
                  </tr>
              </table></td>
            </tr>
          </table></td>
        </tr>
      </table></td>
    </tr>
    
  <tr>
    <td colspan="2" align="left" valign="top" class="txtallheading"><table width="100%" border="0" cellspacing="0" cellpadding="4" class="tdbrd1">
      <tr>
        <td width="21%" class="txtallvalues" ><strong>Surgery Performed</strong> </td>
        <td width="79%" class="txtallheading">{{$result->SurgeryPerformed}}</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td colspan="2" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="5" class="tdbrd1">
          <tr>
            <td colspan="6" align="left" valign="top" class="txtallvalues"><strong>Pre-Op Preparation </strong></td>
            </tr>
          <tr>
            <td width="11%" align="left" valign="top" class="txtallvalues"><strong> Dilated By</strong></td>
            <td width="20%" align="left" valign="top" class="txtallvalues">&nbsp;{{$result->DilatedBy}}</td>
            <td width="18%" align="left" valign="top" class="txtallvalues"><strong>Anesthesia Type</strong></td>
            <td width="19%" align="left" valign="top" class="txtallvalues">&nbsp;{{$result->AnesthesiaType}}</td>
            <td width="13%" align="left" valign="top" class="txtallvalues"><strong>Draping</strong></td>
            <td width="19%" align="left" valign="top" class="txtallvalues">&nbsp;{{$result->Draping}}</td>
          </tr>
          <tr>
            <td align="left" valign="top" class="txtallvalues"><strong>Speculum</strong></td>
            <td align="left" valign="top" class="txtallvalues">&nbsp;{{$result->Speculum}}</td>
            <td align="left" valign="top" class="txtallvalues"><strong>Conjunctival Wash</strong></td>
            <td align="left" valign="top" class="txtallvalues">&nbsp;{{$result->ConjunctivalWash}}</td>
            <td align="left" valign="top" class="txtallvalues"><strong>Sideport Incision</strong></td>
            <td align="left" valign="top" class="txtallvalues">&nbsp;{{$result->SideportIncision}}</td>
          </tr>
          <tr>
            <td align="left" valign="top" class="txtallvalues"><strong>Viscoelastic</strong></td>
            <td align="left" valign="top" class="txtallvalues">&nbsp;{{$result->Viscoelastic}}</td>
            <td align="left" valign="top" class="txtallvalues"><strong>CCC</td>
            <td align="left" valign="top" class="txtallvalues">&nbsp;{{$result->ccc}}</td>
            <td align="left" valign="top" class="txtallvalues"><strong>Cap Staining</strong></td>
            <td align="left" valign="top" class="txtallvalues">&nbsp;{{$result->CapStaining}}</td>
          </tr>
          <tr>
            <td align="left" valign="top" class="txtallvalues"><strong>Irrigation Solution</strong></td>
            <td align="left" valign="top" class="txtallvalues">&nbsp;{{$result->IrrigationSol}}</td>
            <td align="left" valign="top" class="txtallvalues"><strong>Hydroscetion</strong></td>
            <td align="left" valign="top" class="txtallvalues">&nbsp;{{$result->Hydroscetion}}</td>
            <td align="left" valign="top" class="txtallvalues"><strong>Nucleus Removal</strong></td>
            <td align="left" valign="top" class="txtallvalues">&nbsp;{{$result->Nucleus}}</td>
          </tr>
          <tr>
            <td align="left" valign="top" class="txtallvalues"><strong>Cortical Wash</strong></td>
            <td align="left" valign="top" class="txtallvalues">&nbsp;{{$result->CorticalWash}}</td>
            <td align="left" valign="top" class="txtallvalues"><strong>LRI</strong></td>
            <td align="left" valign="top" class="txtallvalues">&nbsp;{{$result->Lri}}</td>
            <td align="left" valign="top" class="txtallvalues"><strong>Wound Hydration</strong></td>
            <td align="left" valign="top" class="txtallvalues">&nbsp;{{$result->WoundHydration}}</td>
          </tr>
          <tr>
            <td align="left" valign="top" class="txtallvalues"><strong>Intracameral</strong></td>
            <td align="left" valign="top" class="txtallvalues">&nbsp;{{$result->Intracameral}}</td>
            <td align="left" valign="top" class="txtallvalues">&nbsp;</td>
            <td align="left" valign="top" class="txtallvalues">&nbsp;</td>
            <td align="left" valign="top" class="txtallvalues">&nbsp;</td>
            <td align="left" valign="top" class="txtallvalues">&nbsp;</td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  
  <tr>
    <td width="21%" align="left" valign="top" class="txtallvalues"><strong>Add. Procedure &amp; Comments</strong> </td>
    <td align="left" valign="top" class="tdbrd">&nbsp;{{$result->ProcedureComments}}</td>
  </tr>
  
  <tr>
    <td colspan="2" align="left" valign="top" class="txtallheading">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2" align="left" valign="top" class="txtallheading">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2" align="right" valign="top" class="alltextfont"><strong>Dr. Pravin Vyawahre&nbsp; | {{date("d/m/Y", strtotime(str_replace('-', '/',$result->CreatedDate)))}} | {{date('h:i:s a')}}</strong></td>
  </tr>
</table>
@endforeach

</body>
</html>
