<!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
	
}
.subheading{
	font-size: 14px;
}

@media print {
  body {
    margin: 0;
   
  }
@page {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .print-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    font-size: 12px;
    background-color: #fff;
    padding: 10px 20px;
    border-top: 1px solid #999;
    text-align: center;
    z-index: 9999;
  }

  .noPrint {
    display: none !important;
  }
}
.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;
}

.vl {
  border-left: 2px solid black;
  height: 100px;
}
.style20 {font-size: 18}
.style22 {font-weight: bold}
.style23 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
}
.style25 {
	font-size: 24px;
	font-weight: bold;
}
.style26 {font-size: 14}
</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="<?php echo e(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="<?php echo e(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>DISCHARGE CARD </strong></span></td>
  </tr>
</table>
<table width="700"  border="0" cellspacing="0" cellpadding="0" class="maintblbrd">
  <tr>
    <td align="left" valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="50%" align="left" valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="5" class="font" >
          
          <tr>
            <th width="102" align="left" valign="middle"  class="font subheading style19 subheading" >MRD NO</th>
            <th width="17" align="center" valign="middle"  class="font subheading style19 subheading" > : </th>
            <td width="254" align="left" valign="middle" class="font subheading style19" ><?php echo e($data->MrdNo); ?></td>
          </tr>
          <tr>
            <th width="102" align="left" valign="middle" class="font subheading style19 subheading">NAME</th>
            <th width="17" align="center" valign="middle" class="font subheading style19 subheading"> : </th>
            <td align="left" valign="middle" class="font subheading style19"><?php echo e($data->PatientName); ?></td>
          </tr>
          <tr>
            <th align="left" valign="middle" class="font subheading style19 subheading">AGE/GENDER </th>
            <th width="17" align="center" valign="middle" class="font subheading style19 subheading">: </th>
            <td align="left" valign="middle" class="font subheading style19"><?php echo e($data->AgeGender); ?></td>
          </tr>
        </table></td>
        <td width="1%" align="left" valign="top" class="vl">&nbsp;</td>
        <td width="49%" align="left" valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="5" class="font" >
          
          <tr>
            <th width="123" align="left" valign="middle"  class="font subheading style19 subheading" >ADMISSION DATE   </th>
            <th width="50" align="center" valign="middle"  class="font subheading style19 subheading" >:</th>
            <td width="100" align="left" valign="middle" class="font subheading style19" ><?php echo e(date("d/m/Y", strtotime(str_replace('-', '/',$data->AdmissionDate)))); ?></td>
          </tr>
          <tr>
            <th width="123" align="left" valign="middle" class="font subheading style19 subheading">OPERATION DATE   </th>
            <th width="50" align="center" valign="middle" class="font subheading style19 subheading">:</th>
            <td width="100" align="left" valign="middle" class="font subheading style19"><?php echo e(date("d/m/Y", strtotime(str_replace('-', '/',$data->OperationDate)))); ?></td>
          </tr>
          <tr>
            <th width="123" align="left" valign="middle" class="font subheading style19 subheading">DISCHARGE DATE </th>
            <th width="50" align="center" valign="middle" class="font subheading style19 subheading">:</th>
            <td width="100" align="left" valign="middle" class="font subheading style19"><?php echo e(date("d/m/Y", strtotime(str_replace('-', '/',$data->DischargeDate)))); ?></td>
            </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>

<table width="703" height="750" border="0" cellspacing="0" cellpadding="0" class="maintblbrd">
  <tr>
    <td width="701" align="left" valign="top"><table width="701" border="0" cellpadding="5" cellspacing="2">
      <tr>
        <td width="687" align="left" valign="top" class="mainheading"><table width="100%" border="0" cellspacing="0" cellpadding="3">
          <tr>
            <td width="19%" align="left" valign="top"><strong>Final Diagnosis</strong></td>
            <td width="4%" align="center" valign="top"><strong> : </strong></td>
            <td colspan="2" align="left" valign="top"><span style="text-align: justify;"><?php echo e($data->Diagnosis); ?></span></td>
          </tr>
          <tr>
            <td align="left" valign="top"><strong>Investigation </strong></td>
            <td align="center" valign="top"><strong>:</strong></td>
            <td colspan="2" align="left" valign="top"><table width="97%" border="0" cellspacing="2" cellpadding="2">
              <tr> <?php if($data->InvLabel1&&$data->InvValue1): ?>
                <td width="21%" align="left" valign="top" class="mainheading"><?php echo e($data->InvLabel1); ?> : <?php echo e($data->InvValue1); ?></td>
                <td width="30%" align="left" valign="top"></td>
                <?php endif; ?>
                <?php if($data->InvLabel2&&$data->InvValue2): ?>
                <td width="21%" align="left" valign="top"><?php echo e($data->InvLabel2); ?> : <?php echo e($data->InvValue2); ?></td>
                <td width="28%" align="left" valign="top"></td>
                <?php endif; ?> </tr>
              <tr> <?php if($data->InvLabel4&&$data->InvValue4): ?>
                <td align="left" valign="top" class="mainheading"><?php echo e($data->InvLabel4); ?> : <?php echo e($data->InvValue4); ?></td>
                <td align="left" valign="top"></td>
                <?php endif; ?>
                <?php if($data->InvLabel5&&$data->InvValue5): ?>
                <td align="left" valign="top"><?php echo e($data->InvLabel5); ?> : <?php echo e($data->InvValue5); ?></td>
                <td align="left" valign="top"></td>
                <?php endif; ?> </tr>
              <tr> <?php if($data->InvLabel3&&$data->InvValue3): ?>
                <td align="left" valign="top" class="mainheading"><?php echo e($data->InvLabel3); ?> : <?php echo e($data->InvValue3); ?></td>
                <td align="left" valign="top"></td>
                <?php endif; ?>
                <?php if($data->InvLabel6&&$data->InvValue6): ?>
                <td align="left" valign="top"><?php echo e($data->InvLabel6); ?> : <?php echo e($data->InvValue6); ?> </td>
                <td align="left" valign="top"></td>
                <?php endif; ?> </tr>
            </table></td>
          </tr>
         
               <tr>
            <td width="114" height="27" align="left" valign="top"><strong>Surgery</strong></td>
            <td width="23" align="center" valign="top"><strong>:</strong></td>
     <td width="563" align="left" valign="top"><span class="style19 subheading style26"><?php echo e($data->OperationNotes); ?></span></td>
            </tr>
   <tr>
     <td height="27" align="left" valign="top"><strong>Treatment Given</strong> </td>
     <td align="center" valign="top"><strong>:</strong></td>
     <td align="left" valign="top"><span class="style19 subheading style26"><?php echo e($data->TreatmentGiven); ?></span></td>
   </tr>
          <!--<tr>-->
          <!--  <td align="left" valign="top"><strong>Surgery</strong></td>-->
          <!--  <td align="center" valign="top"><strong>:</strong></td>-->
          <!--  <td width="26%" align="left" valign="top"><span class="style19 subheading style26"><?php echo e($data->OperationNotes); ?></span></td>-->
          <!--  <td width="51%" align="left" valign="top"><table width="350" border="0" cellspacing="0" cellpadding="0">-->
          <!--    <tr>-->
          <!--      <td width="134" align="left" valign="top" class="style19 subheading style26" ><strong>Treatment Given:</strong></td>-->
          <!--      <td width="216" align="left" valign="top" class="style19 subheading style26" ><span style="text-align: justify;"><?php echo e($data->TreatmentGiven); ?></span></td>-->
          <!--    </tr>-->
          <!--  </table></td>-->
          <!--</tr>-->
          <tr>
            <td align="left" valign="top"><strong>Condition On Discharge</strong></td>
            <td align="center" valign="top"><strong>:</strong></td>
            <td colspan="2" align="left" valign="top"><span class="style19 subheading"><?php echo e($data->CondDischarge); ?></span></td>
            </tr>
        </table></td>
      </tr>
      

      <tr>
        <td align="left" valign="top" class="mainheading">&nbsp;</td>
      </tr>
      <tr>
        <td align="left" valign="top" class="mainheading"><hr /></td>
        </tr>
      
      <tr>
        <td align="left" valign="top" ><span class="mainheading"><strong>&#2324;&#2359;&#2343;&#2368; /MEDICINE</strong> </span></td>
        </tr>
      <tr>
        <td align="left" valign="top" class="mainheading style20"><table width="687" border="0" cellspacing="2" cellpadding="2" style="padding-left: 45px;">
          <?php if($data2[0]->TreatChk1 == 1): ?>
          <?php if($data2[0]->TreatDate1 == '' || $data2[0]->TreatDate1 == null): ?>
          <?php $TreatDate1 = ""; ?>
          <?php else: ?>
          <?php $TreatDate1 = date("d/m/Y", strtotime(str_replace('-',
          '/',$data2[0]->TreatDate1))); ?>
          <?php endif; ?>
          <?php if($data2[0]->TreatFreq1 == '8 TAP' || $data2[0]->TreatFreq1 == '6 TAP'
          ||
          $data2[0]->TreatFreq1 == '4 TAP' || $data2[0]->TreatFreq1 == '3 TAP' ||
          $data2[0]->TreatFreq1 == '2 TAP' || $data2[0]->TreatFreq1 == '1 TAP'): ?>
          <tr>
              <td width="679" align="left" valign="top" class="addrfont">
                  <strong class="mainheading"><?php echo e($data2[0]->TreatName1); ?> </strong></td>
          </tr>
          <?php
          $TapValue = $data2[0]->TreatFreq1;
          $data1 = (new ConsultantController)->getTapValue($TapValue);
          ?>
          <?php $__currentLoopData = $data1; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $result1): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <?php $treattapname1 = (new
          OptoController)->convertMarathi($data2[0]->TreatType1,$data2[0]->TreatDose1,
          $result1->Value,$data2[0]->TreatDur1,$data2[0]->TreatEye1,$data2[0]->Language); ?>
          <tr>

              <td
                  style="text-align:justify;font-family: Shivaji01;padding-left: 30px;">
                  <?php echo e($treattapname1); ?> &nbsp;&nbsp;&nbsp;<span style="font-family:Poppins Light;font-size:12px;"><?php echo e($TreatDate1); ?></span></td>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>          </tr>
          <?php else: ?>
          <tr>

              <td align="left" valign="top" class="addrfont">
                  <strong class="mainheading"><?php echo e($data2[0]->TreatName1); ?> </strong></td>
          </tr>
          <tr>
              <td
                  style="text-align:justify;font-family: Shivaji01;padding-left: 30px;">
                  <?php echo e($TreatName1); ?>  &nbsp;&nbsp;&nbsp;<span style="font-family:Poppins Light;font-size:12px;"><?php echo e($TreatDate1); ?></span></td>
          </tr>
          <?php endif; ?>
          <!-- <tr>
<td align="left" valign="top">&nbsp;</td>
</tr> -->
          <?php endif; ?>

          <?php if($data2[0]->TreatChk2 == 1): ?>
          <?php if($data2[0]->TreatDate2 == '' || $data2[0]->TreatDate2 == null): ?>
          <?php $TreatDate2 = ""; ?>
          <?php else: ?>
          <?php $TreatDate2 = date("d/m/Y", strtotime(str_replace('-',
          '/',$data2[0]->TreatDate2))); ?>
          <?php endif; ?>
          <?php if($data2[0]->TreatFreq2 == '8 TAP' || $data2[0]->TreatFreq2 == '6 TAP'
          ||
          $data2[0]->TreatFreq2 == '4 TAP' || $data2[0]->TreatFreq2 == '3 TAP' ||
          $data2[0]->TreatFreq2 == '2 TAP' || $data2[0]->TreatFreq2 == '1 TAP'): ?>
          <tr>
              <td align="left" valign="top" class="addrfont">
                  <strong class="mainheading"><?php echo e($data2[0]->TreatName2); ?> </strong></td>
          </tr>
          <?php
          $TapValue2 = $data2[0]->TreatFreq2;
          $data2 = (new ConsultantController)->getTapValue($TapValue2);
          ?>
          <?php $__currentLoopData = $data2; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $result2): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <?php $treattapname2 = (new
          OptoController)->convertMarathi($data2[0]->TreatType2,$data2[0]->TreatDose2,
          $result2->Value,$data2[0]->TreatDur2,$data2[0]->TreatEye2,$data2[0]->Language); ?>
          <tr>

              <td
                  style="text-align:justify;font-family: Shivaji01;padding-left: 30px;">
                  <?php echo e($treattapname2); ?> &nbsp;&nbsp;&nbsp;<span style="font-family:Poppins Light;font-size:12px;"><?php echo e($TreatDate2); ?></span></td>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>          </tr>
          <?php else: ?>
          <tr>

              <td align="left" valign="top" class="addrfont">
                  <strong class="mainheading"><?php echo e($data2[0]->TreatName2); ?> </strong></td>
          </tr>
          <tr>
              <td
                  style="text-align:justify;font-family: Shivaji01;padding-left: 30px;">
                  <?php echo e($TreatName2); ?> &nbsp;&nbsp;&nbsp;<span style="font-family:Poppins Light;font-size:12px;"><?php echo e($TreatDate2); ?></span></td>
          </tr>
          <?php endif; ?>
          <!-- <tr>
<td align="left" valign="top">&nbsp;</td>
</tr> -->
          <?php endif; ?>


          <?php if($data2[0]->TreatChk3 == 1): ?>
          <?php if($data2[0]->TreatDate3 == '' || $data2[0]->TreatDate3 == null): ?>
          <?php $TreatDate3 = ""; ?>
          <?php else: ?>
          <?php $TreatDate3 = date("d/m/Y", strtotime(str_replace('-',
          '/',$data2[0]->TreatDate3))); ?>
          <?php endif; ?>
          <?php if($data2[0]->TreatFreq3 == '8 TAP' || $data2[0]->TreatFreq3 == '6 TAP'
          ||
          $data2[0]->TreatFreq3 == '4 TAP' || $data2[0]->TreatFreq3 == '3 TAP' ||
          $data2[0]->TreatFreq3 == '2 TAP' || $data2[0]->TreatFreq3 == '1 TAP'): ?>
          <tr>
              <td align="left" valign="top" class="addrfont">
                  <strong><span class="mainheading"><strong><?php echo e($data2[0]->TreatName3); ?> </strong></span></td>
          </tr>
          <?php
          $TapValue3 = $data2[0]->TreatFreq3;
          $data3 = (new ConsultantController)->getTapValue($TapValue3);
          ?>
          <?php $__currentLoopData = $data3; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $result3): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <?php $treattapname3 = (new
          OptoController)->convertMarathi($data2[0]->TreatType3,$data2[0]->TreatDose3,
          $result3->Value,$data2[0]->TreatDur3,$data2[0]->TreatEye3,$data2[0]->Language); ?>
          <tr>

              <td
                  style="text-align:justify;font-family: Shivaji01;padding-left: 30px;">
                  <?php echo e($treattapname3); ?>&nbsp;&nbsp;&nbsp;<span style="font-family:Poppins Light;font-size:12px;"><?php echo e($TreatDate3); ?></span></td>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>          </tr>
          <?php else: ?>
          <tr>

              <td align="left" valign="top" class="mainheading">
                  <strong><?php echo e($data2[0]->TreatName3); ?> </strong></td>
          </tr>
          <tr>
              <td
                  style="text-align:justify;font-family: Shivaji01;padding-left: 30px;">
                  <?php echo e($TreatName3); ?>&nbsp;&nbsp;&nbsp;<span style="font-family:Poppins Light;font-size:12px;"><?php echo e($TreatDate3); ?></span></td>
          </tr>
          <?php endif; ?>
          <!-- <tr>
<td align="left" valign="top">&nbsp;</td>
</tr> -->
          <?php endif; ?>

          <?php if($data2[0]->TreatChk4 == 1): ?>
          <?php if($data2[0]->TreatDate4 == '' || $data2[0]->TreatDate4 == null): ?>
          <?php $TreatDate4 = ""; ?>
          <?php else: ?>
          <?php $TreatDate4 = date("d/m/Y", strtotime(str_replace('-',
          '/',$data2[0]->TreatDate4))); ?>
          <?php endif; ?>
          <?php if($data2[0]->TreatFreq4 == '8 TAP' || $data2[0]->TreatFreq4 == '6 TAP'
          ||
          $data2[0]->TreatFreq4 == '4 TAP' || $data2[0]->TreatFreq4 == '3 TAP' ||
          $data2[0]->TreatFreq4 == '2 TAP' || $data2[0]->TreatFreq4 == '1 TAP'): ?>
          <tr>
              <td align="left" valign="top" class="addrfont">
                  <strong class="mainheading"><?php echo e($data2[0]->TreatName4); ?> </strong> </td>
          </tr>
          <?php
          $TapValue4 = $data2[0]->TreatFreq4;
          $data4 = (new ConsultantController)->getTapValue($TapValue4);
          ?>
          <?php $__currentLoopData = $data4; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $result4): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <?php $treattapname4 = (new
          OptoController)->convertMarathi($data2[0]->TreatType4,$data2[0]->TreatDose4,
          $result4->Value,$data2[0]->TreatDur4,$data2[0]->TreatEye4,$data2[0]->Language); ?>
          <tr>

              <td
                  style="text-align:justify;font-family: Shivaji01;padding-left: 30px;">
                  <?php echo e($treattapname4); ?>&nbsp;&nbsp;&nbsp;<span style="font-family:Poppins Light;font-size:12px;"><?php echo e($TreatDate4); ?></span></td>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>          </tr>
          <?php else: ?>
          <tr>

              <td align="left" valign="top" class="addrfont">
                  <strong class="mainheading"><?php echo e($data2[0]->TreatName4); ?></strong> </td>
          </tr>
          <tr>
              <td
                  style="text-align:justify;font-family: Shivaji01;padding-left: 30px;">
                  <?php echo e($TreatName4); ?>&nbsp;&nbsp;&nbsp;<span style="font-family:Poppins Light;font-size:12px;"><?php echo e($TreatDate4); ?></span></td>
          </tr>
          <?php endif; ?>
          <!-- <tr>
<td align="left" valign="top">&nbsp;</td>
</tr> -->
          <?php endif; ?>

          <?php if($data2[0]->TreatChk5 == 1): ?>
          <?php if($data2[0]->TreatDate5 == '' || $data2[0]->TreatDate5 == null): ?>
          <?php $TreatDate5 = ""; ?>
          <?php else: ?>
          <?php $TreatDate5 = date("d/m/Y", strtotime(str_replace('-',
          '/',$data2[0]->TreatDate5))); ?>
          <?php endif; ?>
          <?php if($data2[0]->TreatFreq5 == '8 TAP' || $data2[0]->TreatFreq5 == '6 TAP'
          ||
          $data2[0]->TreatFreq5 == '4 TAP' || $data2[0]->TreatFreq5 == '3 TAP' ||
          $data2[0]->TreatFreq5 == '2 TAP' || $data2[0]->TreatFreq5 == '1 TAP'): ?>
          <tr>
              <td align="left" valign="top"><strong class="mainheading"><?php echo e($data2[0]->TreatName5); ?>

                  </strong></td>
          </tr>
          <?php
          $TapValue5 = $data2[0]->TreatFreq5;
          $data5 = (new ConsultantController)->getTapValue($TapValue5);
          ?>
          <?php $__currentLoopData = $data5; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $result5): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <?php $treattapname5 = (new
          OptoController)->convertMarathi($data2[0]->TreatType5,$data2[0]->TreatDose5,
          $result5->Value,$data2[0]->TreatDur5,$data2[0]->TreatEye5,$data2[0]->Language); ?>
          <tr>

              <td
                  style="text-align:justify;font-family: Shivaji01;padding-left: 30px;">
                  <?php echo e($treattapname5); ?>&nbsp;&nbsp;&nbsp;<span style="font-family:Poppins Light;font-size:12px;"><?php echo e($TreatDate5); ?></span></td>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>          </tr>
          <?php else: ?>
          <tr>

              <td align="left" valign="top" class="addrfont">
                  <strong class="mainheading"><?php echo e($data2[0]->TreatName5); ?> </strong> </td>
          </tr>
          <tr>
              <td
                  style="text-align:justify;font-family: Shivaji01;padding-left: 30px;">
                  <?php echo e($TreatName5); ?>&nbsp;&nbsp;&nbsp;<span style="font-family:Poppins Light;font-size:12px;"><?php echo e($TreatDate5); ?></span></td>
          </tr>
          <?php endif; ?>
          <!-- <tr>
<td align="left" valign="top">&nbsp;</td>
</tr> -->
          <?php endif; ?>

          <?php if($data2[0]->TreatChk6 == 1): ?>
          <?php if($data2[0]->TreatDate6 == '' || $data2[0]->TreatDate6 == null): ?>
          <?php $TreatDate6 = ""; ?>
          <?php else: ?>
          <?php $TreatDate6 = date("d/m/Y", strtotime(str_replace('-',
          '/',$data2[0]->TreatDate6))); ?>
          <?php endif; ?>
          <?php if($data2[0]->TreatFreq6 == '8 TAP' || $data2[0]->TreatFreq6 == '6 TAP'
          ||
          $data2[0]->TreatFreq6 == '4 TAP' || $data2[0]->TreatFreq6 == '3 TAP' ||
          $data2[0]->TreatFreq6 == '2 TAP' || $data2[0]->TreatFreq6 == '1 TAP'): ?>
          <tr>
              <td align="left" valign="top" class="addrfont">
                  <strong class="mainheading"><?php echo e($data2[0]->TreatName6); ?> </strong> </td>
          </tr>
          <?php
          $TapValue6 = $data2[0]->TreatFreq6;
          $data6 = (new ConsultantController)->getTapValue($TapValue6);
          ?>
          <?php $__currentLoopData = $data6; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $result6): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <?php $treattapname6 = (new
          OptoController)->convertMarathi($data2[0]->TreatType6,$data2[0]->TreatDose6,
          $result6->Value,$data2[0]->TreatDur6,$data2[0]->TreatEye6,$data2[0]->Language); ?>
          <tr>

              <td
                  style="text-align:justify;font-family: Shivaji01;padding-left: 30px;">
                  <?php echo e($treattapname6); ?>&nbsp;&nbsp;&nbsp;<span style="font-family:Poppins Light;font-size:12px;"><?php echo e($TreatDate6); ?></span></td>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>          </tr>
          <?php else: ?>
          <tr>

              <td align="left" valign="top" class="addrfont">
                  <strong class="mainheading"><?php echo e($data2[0]->TreatName6); ?> </strong> </td>
          </tr>
          <tr>
              <td
                  style="text-align:justify;font-family: Shivaji01;padding-left: 30px;">
                  <?php echo e($TreatName6); ?>&nbsp;&nbsp;&nbsp;<span style="font-family:Poppins Light;font-size:12px;"><?php echo e($TreatDate6); ?></span></td>
          </tr>
          <?php endif; ?>
          <!-- <tr>
<td align="left" valign="top">&nbsp;</td>
</tr> -->
          <?php endif; ?>

          <?php if($data2[0]->TreatChk7 == 1): ?>
          <?php if($data2[0]->TreatDate7 == '' || $data2[0]->TreatDate7 == null): ?>
          <?php $TreatDate7 = ""; ?>
          <?php else: ?>
          <?php $TreatDate7 = date("d/m/Y", strtotime(str_replace('-',
          '/',$data2[0]->TreatDate7))); ?>
          <?php endif; ?>
          <?php if($data2[0]->TreatFreq7 == '8 TAP' || $data2[0]->TreatFreq7 == '6 TAP'
          ||
          $data2[0]->TreatFreq7 == '4 TAP' || $data2[0]->TreatFreq7 == '3 TAP' ||
          $data2[0]->TreatFreq7 == '2 TAP' || $data2[0]->TreatFreq7 == '1 TAP'): ?>
          <tr>
              <td align="left" valign="top" class="addrfont">
                  <strong class="mainheading"><?php echo e($data2[0]->TreatName7); ?> </strong></td>
          </tr>
          <?php
          $TapValue7 = $data2[0]->TreatFreq7;
          $data7 = (new ConsultantController)->getTapValue($TapValue7);
          ?>
          <?php $__currentLoopData = $data7; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $result7): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <?php $treattapname7 = (new
          OptoController)->convertMarathi($data2[0]->TreatType7,$data2[0]->TreatDose7,
          $result7->Value,$data2[0]->TreatDur7,$data2[0]->TreatEye7,$data2[0]->Language); ?>
          <tr>

              <td
                  style="text-align:justify;font-family: Shivaji01;padding-left: 30px;">
                  <?php echo e($treattapname7); ?>&nbsp;&nbsp;&nbsp;<span style="font-family:Poppins Light;font-size:12px;"><?php echo e($TreatDate7); ?></span></td>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>          </tr>
          <?php else: ?>
          <tr>

              <td align="left" valign="top" class="addrfont">
                  <strong class="mainheading"><?php echo e($data2[0]->TreatName7); ?> </strong> </td>
          </tr>
          <tr>
              <td
                  style="text-align:justify;font-family: Shivaji01;padding-left: 30px;">
                  <?php echo e($TreatName7); ?>&nbsp;&nbsp;&nbsp;<span style="font-family:Poppins Light;font-size:12px;"><?php echo e($TreatDate7); ?></span></td>
          </tr>
          <?php endif; ?>
          <!-- <tr>
<td align="left" valign="top">&nbsp;</td>
</tr> -->
          <?php endif; ?>

          <?php if($data2[0]->TreatChk8 == 1): ?>
          <?php if($data2[0]->TreatDate8 == '' || $data2[0]->TreatDate8 == null): ?>
          <?php $TreatDate8 = ""; ?>
          <?php else: ?>
          <?php $TreatDate8 = date("d/m/Y", strtotime(str_replace('-',
          '/',$data2[0]->TreatDate8))); ?>
          <?php endif; ?>
          <?php if($data2[0]->TreatFreq8 == '8 TAP' || $data2[0]->TreatFreq8 == '6 TAP'
          ||
          $data2[0]->TreatFreq8 == '4 TAP' || $data2[0]->TreatFreq8 == '3 TAP' ||
          $data2[0]->TreatFreq8 == '2 TAP' || $data2[0]->TreatFreq8 == '1 TAP'): ?>
          <tr>
              <td align="left" valign="top" class="addrfont">
                  <strong class="mainheading"><?php echo e($data2[0]->TreatName8); ?> </strong></td>
          </tr>
          <?php
          $TapValue8 = $data2[0]->TreatFreq8;
          $data8 = (new ConsultantController)->getTapValue($TapValue8);
          ?>
          <?php $__currentLoopData = $data8; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $result8): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <?php $treattapname8 = (new
          OptoController)->convertMarathi($data2[0]->TreatType8,$data2[0]->TreatDose8,
          $result8->Value,$data2[0]->TreatDur8,$data2[0]->TreatEye8,$data2[0]->Language); ?>
          <tr>

              <td
                  style="text-align:justify;font-family: Shivaji01;padding-left: 30px;">
                  <?php echo e($treattapname8); ?>&nbsp;&nbsp;&nbsp;<span style="font-family:Poppins Light;font-size:12px;"><?php echo e($TreatDate8); ?></span></td>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>          </tr>
          <?php else: ?>
          <tr>

              <td align="left" valign="top" class="addrfont">
                  <strong class="mainheading"><?php echo e($data2[0]->TreatName8); ?> </strong> </td>
          </tr>
          <tr>
              <td
                  style="text-align:justify;font-family: Shivaji01;padding-left: 30px;">
                  <?php echo e($TreatName8); ?>&nbsp;&nbsp;&nbsp;<span style="font-family:Poppins Light;font-size:12px;"><?php echo e($TreatDate8); ?></span></td>
          </tr>
          <?php endif; ?>
          <!-- <tr>
<td align="left" valign="top">&nbsp;</td>
</tr> -->
          <?php endif; ?>

          <?php if($data2[0]->TreatChk9 == 1): ?>
          <?php if($data2[0]->TreatDate9 == '' || $data2[0]->TreatDate9 == null): ?>
          <?php $TreatDate9 = ""; ?>
          <?php else: ?>
          <?php $TreatDate9 = date("d/m/Y", strtotime(str_replace('-',
          '/',$data2[0]->TreatDate9))); ?>
          <?php endif; ?>
          <?php if($data2[0]->TreatFreq9 == '8 TAP' || $data2[0]->TreatFreq9 == '6 TAP'
          ||
          $data2[0]->TreatFreq9 == '4 TAP' || $data2[0]->TreatFreq9 == '3 TAP' ||
          $data2[0]->TreatFreq9 == '2 TAP' || $data2[0]->TreatFreq9 == '1 TAP'): ?>
          <tr>
              <td align="left" valign="top" class="addrfont">
                  <strong class="mainheading"><?php echo e($data2[0]->TreatName9); ?> </strong> </td>
          </tr>
          <?php
          $TapValue9 = $data2[0]->TreatFreq9;
          $data9 = (new ConsultantController)->getTapValue($TapValue9);
          ?>
          <?php $__currentLoopData = $data9; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $result9): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <?php $treattapname9 = (new
          OptoController)->convertMarathi($data2[0]->TreatType9,$data2[0]->TreatDose9,
          $result9->Value,$data2[0]->TreatDur9,$data2[0]->TreatEye9,$data2[0]->Language); ?>
          <tr>

              <td
                  style="text-align:justify;font-family: Shivaji01;padding-left: 30px;">
                  <?php echo e($treattapname9); ?>&nbsp;&nbsp;&nbsp;<span style="font-family:Poppins Light;font-size:12px;"><?php echo e($TreatDate9); ?></span></td>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>          </tr>
          <?php else: ?>
          <tr>

              <td align="left" valign="top" class="addrfont">
                  <strong class="mainheading"><?php echo e($data2[0]->TreatName9); ?> </strong> </td>
          </tr>
          <tr>
              <td
                  style="text-align:justify;font-family: Shivaji01;padding-left: 30px;">
                  <?php echo e($TreatName9); ?>&nbsp;&nbsp;&nbsp;<span style="font-family:Poppins Light;font-size:12px;"><?php echo e($TreatDate9); ?></span></td>
          </tr>
          <?php endif; ?>
          <!-- <tr>
<td align="left" valign="top">&nbsp;</td>
</tr> -->
          <?php endif; ?>

          <?php if($data2[0]->TreatChk10 == 1): ?>
          <?php if($data2[0]->TreatDate10 == '' || $data2[0]->TreatDate10 == null): ?>
          <?php $TreatDate10 = ""; ?>
          <?php else: ?>
          <?php $TreatDate10 = date("d/m/Y", strtotime(str_replace('-',
          '/',$data2[0]->TreatDate10))); ?>
          <?php endif; ?>
          <?php if($data2[0]->TreatFreq10 == '8 TAP' || $data2[0]->TreatFreq10 == '6
          TAP' ||
          $data2[0]->TreatFreq10 == '4 TAP' || $data2[0]->TreatFreq10 == '3 TAP'
          ||
          $data2[0]->TreatFreq10 == '2 TAP' || $data2[0]->TreatFreq10 == '1 TAP'): ?>
          <tr>
              <td align="left" valign="top" class="addrfont">
                  <strong class="mainheading"><?php echo e($data2[0]->TreatName10); ?> </strong> </td>
          </tr>
          <?php
          $TapValue10 = $data2[0]->TreatFreq10;
          $data10 = (new ConsultantController)->getTapValue($TapValue10);
          ?>
          <?php $__currentLoopData = $data10; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $result10): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <?php $treattapname10 = (new
          OptoController)->convertMarathi($data2[0]->TreatType10,$data2[0]->TreatDose10,
          $result10->Value,$data2[0]->TreatDur10,$data2[0]->TreatEye10,$data2[0]->Language); ?>
          <tr>

              <td
                  style="text-align:justify;font-family: Shivaji01;padding-left: 30px;">
                  <?php echo e($treattapname10); ?>&nbsp;&nbsp;&nbsp;<span style="font-family:Poppins Light;font-size:12px;"><?php echo e($TreatDate10); ?></span></td>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>          </tr>
          <?php else: ?>
          <tr>

              <td align="left" valign="top" class="addrfont">
                  <strong class="mainheading"><?php echo e($data2[0]->TreatName10); ?> </strong> </td>
          </tr>
          <tr>
              <td
                  style="text-align:justify;font-family: Shivaji01;padding-left: 30px;">
                  <?php echo e($TreatName10); ?>&nbsp;&nbsp;&nbsp;<span style="font-family:Poppins Light;font-size:12px;"><?php echo e($TreatDate10); ?></span></td>
          </tr>
          <?php endif; ?>
          <!-- <tr>
<td align="left" valign="top">&nbsp;</td>
</tr> -->
          <?php endif; ?>
        </table></td>
        </tr>
       
        
      <tr>
        <td align="left" valign="top" class="mainheading style20"><table width="100%" border="0" cellspacing="2" cellpadding="2">
          <tr>
            <td width="15%">&#2347;&#2375;&#2352;&#2340;&#2346;&#2366;&#2360;&#2339;&#2368;</td>
            <td width="44%"><span class="subheading subheading"><strong>Follow up Date 1:</strong> &nbsp;<?php echo e(date("d M Y", strtotime(str_replace('-', '/',$data->FollowUpDate1)))); ?></span></td>
            <td width="41%"><span class="subheading subheading"><strong>Follow up Date 2:</strong> &nbsp;<?php echo e(date("d M Y", strtotime(str_replace('-', '/',$data->FollowUpDate2)))); ?></span></td>
          </tr>
        
        </table></td>
        </tr>
      
 
       
    </table></td>
    
  

  </tr>
</table>
<p style="page-break-after: always;">&nbsp;</p>
<table width="700" border="0" cellspacing="0" cellpadding="0" class="maintblbrd">
  <tr>
    <td style="white-space: pre-wrap;text-align: justify;"><?php echo e($data->txtremark); ?> </td>
  </tr>
</table>
<p>&nbsp;</p>
  <div class="print-footer">
  <table width="100%" style="padding: 10px;">
    <tr>
      <td class="mainheading">
        <strong>ऑपरेशन नंतरची घ्यायची काळजी पेशंट ला व नातेवाईकाला समजावली आहे सर्व रिपोर्ट देण्यात आले आहे</strong>
      </td>
    </tr>
    <tr>
      <td class="mainheading">
        <strong>डोळा लाल झाल्यास , खूप दुखल्यास किंवा नजर कमी झाल्यास हॉस्पिटलशी संपर्क साधणे</strong>
      </td>
    </tr>
    <tr>
      <td class="mainheading">
        <strong>0721-2663151 / 8698249356 / अथवा तपासायलाय येणे</strong>
      </td>
    </tr>
  </table>
</div>

</body>
</html>
<?php /**PATH /home/gssnagpu/public_html/hospsoft.in/deshmukh_hosp/resources/views//ipd/print-discharge-card.blade.php ENDPATH**/ ?>