

<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>VYAWAHARE NETRALAYA OT LIST</title>
<style type="text/css">
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.style2 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
}
.style10 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; }
@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;
        }
    }
.style25 {font-family: Arial; font-size: 12; }
.style26 {font-family: Arial;font-size: 12}
</style></head>

<body>
<table width="1000" border="0" cellspacing="2" 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 width="1123" align="center" valign="top"><span class="style2">VYAWAHARE NETRALAYA OT LIST [ DATED : {{date("d/m/Y", strtotime(str_replace('-', '/',$ScheduleDate)))}}] </span></td>
  </tr>
</table>
<table width="1050" border="1" cellspacing="0" cellpadding="5">
  <tr>
    <td width="33" align="center" valign="top"><span class="style10">Sr.No</span></td>
    <!-- <td width="70" align="left" valign="top"><span class="style10">OT Sch ID</span></td> -->
    <td width="250" align="left" valign="top"><span class="style10">Name</span></td>
    <td width="29" align="center" valign="top"><span class="style10">Eye</span></td>
    <td width="70" align="center" valign="top"><span class="style10">IOL Name </span></td>
    <td width="69" align="center" valign="top"><span class="style10">IOL Type </span></td>
    <td width="50" align="center" valign="top"><span class="style10">IOL Power </span></td>
    <td width="50" align="center" valign="top"><span class="style10">Cyl</span></td>
    <!-- <td width="50" align="center" valign="top"><span class="style10">ADD</span></td> -->
    <td width="61" align="center" valign="top"><span class="style10">Category</span></td>
    <td width="30" align="center" valign="top"><span class="style10">Package</span></td>
    <td width="30" align="center" valign="top"><span class="style10">GA</span></td>
    <td width="190" align="left" valign="top"><span class="style10">Diagnosis</span></td>
    <td width="190" align="left" valign="top"><span class="style10">Advice</span></td>
  </tr>
    
  @php $i=1;@endphp
        @foreach($data as $result)
            <tr>
    <td align="center" valign="top"><span class="style25">{{$i}}</span></td>
    <!-- <td align="center" valign="top">&nbsp;64</td> -->
    <td align="left" valign="top"><span class="style25">{{$result->PatientName}} - {{$result->MrdNo}} / {{$result->id}}</span></td>
    <td align="center" valign="top"><span class="style26">{{$result->Eye}}</span></td>
    <td align="center" valign="top"><span class="style26">{{$result->IolName}}</span></td>
    <td align="center" valign="top"><span class="style26">{{$result->IolType}}</span></td>
    <td align="center" valign="top"><span class="style26">{{$result->IolPower}}</span></td>
    <td align="center" valign="top"><span class="style26">{{$result->Cyl}}</span></td>
    <!-- <td align="center" valign="top"><span class="style26">{{$result->AddIol}}</span></td> -->
    <td align="center" valign="top"><span class="style26">{{$result->Category}}</span></td>
    <td align="center" valign="top">{{$result->Package}}</td>
    <td align="center" valign="top"><span class="style26">{{$result->Ga}}</span></td>
    <td align="left" valign="top" style="white-space: pre-wrap;"><span class="style25">{{$result->Diagnosis}}</span></td>
    <td align="left" valign="top" style="white-space: pre-wrap;"><span class="style25">{{$result->Advice}}</span></td>
  </tr>
  @php $i++;@endphp
        @endforeach
</table>
</body>
</html>
