<!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: 0px;
    }
    </style>
    <style>
    .tblborder {
        border: 1px solid #ada9a9;
        border-collapse: collapse;
    }

    .alltextfont {
        font-family: Poppins;
        font-size: 11px;
        font-style: normal;
        line-height: normal;
        font-weight: normal;
        font-variant: normal;

        color: #4C4C4C;
    }

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

    @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;
        }
    }

    .style4 {
        font-family: "Poppins SemiBold";
        font-size: 10pt;
        font-style: normal;
        line-height: normal;
        font-weight: bold;
        font-variant: normal;
        color: #000000;
    }

    .style5 {
        font-family: "Poppins Light";
        font-size: 9pt;
        font-style: normal;
        line-height: normal;
        font-weight: bold;
        font-variant: normal;
        color: #000000;
    }

    .style7 {
        font-size: 12pt;
        font-style: normal;
        line-height: normal;
        font-variant: normal;
        color: #000000;
        font-family: Shivaji01;
    }

    .style15 {
        font-family: "Kruti Dev 010";
        font-size: 16px;
    }

    .style23 {
        font-family: "Kruti Dev 010";
        font-size: 18px;
        font-weight: bold;
    }

    .style38 {
        font-size: 9pt;
        font-style: normal;
        line-height: normal;
        font-variant: normal;
        color: #000000;
        font-family: Verdana, Arial, Helvetica, sans-serif;
    }

    .style40 {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 10;
    }

    .style44 {
        font-family: Verdana, Arial, Helvetica, sans-serif
    }

    .style45 {
        font-family: "Kruti Dev 010"
    }
    .style46 {border: 1px solid #ada9a9; border-collapse: collapse; font-family: "Poppins Light"; font-size: 8pt; font-style: normal; line-height: normal; font-weight: bold; font-variant: normal; color: #424242; word-spacing: normal; }
    </style>
</head>
<script type="text/javascript">
//window.print();
//window.onafterprint = window.close;	
</script>
<body>
    <table width="700" border="0" cellspacing="1" cellpadding="1">
        <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" class="tdbrd1">
                    <tr>
                        <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="padding-bottom: 10px;padding-top:10px;">
                          <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>
            </td>
        </tr>
        <tr>
            <td align="center" valign="top" class="style4">Pre-Operative Prescription </td>
        </tr>
        <td 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="style46">
                    {{strtoupper($data->PatientName)}} / {{$data->Age}} /
                        {{$data->Gender}}                    </td>
                    <td width="10%" align="left" valign="middle" class="tdbrd">MRD No</td>
                    <td width="10%" align="center" valign="middle" class="txtallvalues">{{$data->MrdNo}}</td>
                    <td width="7%" align="center" valign="middle" class="tdbrd">Date</td>
                    <td width="13%" align="center" valign="middle" class="style46">{{date("d/m/Y")}}</td>
                </tr>
                <tr>
                    <td align="left" valign="middle" class="tdbrd">Address</td>
                    <td colspan="2" align="left" valign="middle" class="txtallvalues">{{$data->Address}}</td>
                    <td colspan="2" align="center" valign="middle" class="tdbrd">Mobile </td>
                    <td align="center" valign="middle" class="style46">{{$data->Phone}}</td>
                </tr>
            </table>
        </td>
        </tr>


        <tr>
            <td align="left" valign="top" class="txtallheading">
                <div align="left">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td width="100%" class="txtallheading">
                                <table width="100%" border="0" cellspacing="0" cellpadding="5" class="tblborder">

                                    <tr>
                                        <td height="21" align="left" valign="top" class="tdbrd">Diagnosis</td>
                                        <td align="left" valign="top" class="txtallvalues" style="white-space: pre-wrap;"><strong>&nbsp;{{$data->Diagnosis}}</strong></td>
                                    </tr>
                                    <tr>
                                        <td align="left" valign="middle" class="tdbrd">Surgery Planned </td>
                                        <td align="left" valign="top" class="txtallvalues" style="white-space: pre-wrap;"><strong>&nbsp;{{$data->Advice}}</strong></td>
                                    </tr>
                                    <tr>
                                        <td width="21%" height="491" align="left" valign="top" class="tdbrd"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                          <tr>
                                            <td colspan="2" align="left" valign="top">Treatment </td>
                                          </tr>
                                          <tr>
                                            <td align="left" valign="top">&nbsp;</td>
                                            <td align="right" valign="top"><span class="style5">Rx,</span></td>
                                          </tr>
                                        </table></td>
                                        
                                        <td width="79%" height="491" align="center" valign="top" class="tdbrd">
                                            <table width="100%" border="0" cellspacing="0" cellpadding="3">
                                                @if($data->Tab1 == 1)
                                                <tr>
                                                    <td colspan="2" align="left" valign="top" class="style5"><br>
                                                    <br>
                                                    Tab ALPRAX
                                                        0.25 MG(2)</td>
                                                </tr>
                                                <tr>
                                                    <td width="23%" align="center" valign="top" class="style5">{{date('d/m/Y',strtotime($data->ScheduleDate. '-1 day'))}} </td>
                                                        <td width="77%" align="left" valign="top" class="style7"><p class="style15">Ykk jk=h &gt;ksirkauk xksGh</p></td>
                                                    
                                                </tr>
                                                <tr>
                                                    <td align="center" valign="top" class="style5">{{date("d/m/Y", strtotime($data->ScheduleDate))}} </td>
                                                    <td align="left" valign="top" class="style7"><p class="style15">Ykk ldkGh nok[kk.;kr ;s.;k vxksnj 1&nbsp; xksGh </p></td>
                                                </tr>
                                                @endif

                                                @if($data->Tab2 == 1)
                                                @if($data->Tab1 != 1)
                                                <tr>
                                                    <td colspan="2" align="left" valign="top" class="style5"><br>
                                                    
                                                   </td>
                                                </tr>
                                                <tr>
                                                    <td width="23%" align="center" valign="top" class="style5"></td>
                                                        <td width="77%" align="left" valign="top" class="style7"><p class="style15"></p></td>
                                                    
                                                </tr>
                                                <tr>
                                                    <td align="center" valign="top" class="style5"></td>
                                                    <td align="left" valign="top" class="style7"><p class="style15"></p></td>
                                                </tr>
                                                @endif
                                                <tr>
                                                    <td colspan="2" align="left" valign="top" class="style5">Tab Napra D
                                                        (2) </td>
                                                </tr>
                                                <tr>
                                                    <td align="left" valign="top" class="style5">{{date("d/m/Y", strtotime($data->ScheduleDate))}}</td>
                                                    <td align="left" valign="top" class="style15">Ykk ldkGh nok[kk.;kr
                                                        ;s.;k vxksnj 1&nbsp; xksGh </td>
                                                </tr>
                                                @endif
                                                <!-- <tr>
                                                    <td colspan="2" align="left" valign="top" class="style5">MOXIROOT
                                                        EYE DROP </td>
                                                </tr>
                                                <tr>
                                                    <td align="center" valign="top"><span class="style15">6 osGk </span>
                                                    </td>
                                                    <td align="left" valign="top"><span class="style15">mtO;k @MkO;k
                                                            MksG;kr</span></td>
                                                </tr> -->
                                                                   
                                                                   
                                                @if($ptsummary[0]->TreatChk1 == 1 || $ptsummary[0]->TreatChk2 == 1 || $ptsummary[0]->TreatChk3 == 1 || $ptsummary[0]->TreatChk4 == 1 || $ptsummary[0]->TreatChk5 == 1 || $ptsummary[0]->TreatChk6 == 1 || $ptsummary[0]->TreatChk7 == 1 || $ptsummary[0]->TreatChk8 == 1 || $ptsummary[0]->TreatChk9 == 1 || $ptsummary[0]->TreatChk10 == 1)
             
                    @endif
                        @if($ptsummary[0]->TreatChk1 == 1)
                       
                        @if($ptsummary[0]->TreatFreq1 == '8 TAP' || $ptsummary[0]->TreatFreq1 ==
                        '6 TAP' ||
                        $ptsummary[0]->TreatFreq1 == '4 TAP' || $ptsummary[0]->TreatFreq1 == '3
                        TAP' ||
                        $ptsummary[0]->TreatFreq1 == '2 TAP' || $ptsummary[0]->TreatFreq1 == '1
                        TAP')
                        <tr>
                            <td colspan="2" align="left" valign="top" class="addrfont" style="">
                                <strong>{{$ptsummary[0]->TreatName1}}</strong>
                            </td>
                        </tr>
                        @php
                        $TapValue = $ptsummary[0]->TreatFreq1;
                        $data1 = (new ConsultantController)->getTapValue($TapValue);
                        @endphp
                        @foreach($data1 as $result1)
                        @php $treattapname1 = (new
                        OptoController)->convertMarathi($ptsummary[0]->TreatType1,$ptsummary[0]->TreatDose1,
                        $result1->Value,$ptsummary[0]->TreatDur1,$ptsummary[0]->TreatEye1);
                        @endphp
                        <tr>

                            <td colspan="2"
                                style="text-align:justify;font-family: Shivaji01;padding-left: 25px;font-size:16px;">
                                {{$treattapname1}}</td>
                            @endforeach
                        </tr>
                        @else
                        <tr>

                            <td colspan="2" align="left" valign="top" class="addrfont" style="">
                                <strong>{{$ptsummary[0]->TreatName1}}</strong>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2"
                                style="text-align:justify;font-family: Shivaji01;padding-left: 25px;font-size:16px;">
                                {{$TreatName1}}</td>
                        </tr>
                        @endif
                        <!-- <tr>
                            <td align="left" valign="top">&nbsp;</td>
                        </tr> -->
                        @endif

                        @if($ptsummary[0]->TreatChk2 == 1)
                        @if($ptsummary[0]->TreatFreq2 == '8 TAP' || $ptsummary[0]->TreatFreq2 ==
                        '6 TAP' ||
                        $ptsummary[0]->TreatFreq2 == '4 TAP' || $ptsummary[0]->TreatFreq2 == '3
                        TAP' ||
                        $ptsummary[0]->TreatFreq2 == '2 TAP' || $ptsummary[0]->TreatFreq2 == '1
                        TAP')
                        <tr>
                            <td colspan="2" align="left" valign="top" class="addrfont" style="">
                                <strong>{{$ptsummary[0]->TreatName2}} </strong>
                            </td>
                        </tr>
                        @php
                        $TapValue2 = $ptsummary[0]->TreatFreq2;
                        $data2 = (new ConsultantController)->getTapValue($TapValue2);
                        @endphp
                        @foreach($data2 as $result2)
                        @php $treattapname2 = (new
                        OptoController)->convertMarathi($ptsummary[0]->TreatType2,$ptsummary[0]->TreatDose2,
                        $result2->Value,$ptsummary[0]->TreatDur2,$ptsummary[0]->TreatEye2);
                        @endphp
                        <tr>

                            <td colspan="2"
                                style="text-align:justify;font-family: Shivaji01;padding-left: 25px;font-size:16px;">
                                {{$treattapname2}}</td>
                            @endforeach
                        </tr>
                        @else
                        <tr>

                            <td colspan="2" align="left" valign="top" class="addrfont" style="">
                                <strong>{{$ptsummary[0]->TreatName2}} </strong>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2"
                                style="text-align:justify;font-family: Shivaji01;padding-left: 25px;font-size:16px;">
                                {{$TreatName2}}</td>
                        </tr>
                        @endif
                        <!-- <tr>
                            <td align="left" valign="top">&nbsp;</td>
                        </tr> -->
                        @endif


                        @if($ptsummary[0]->TreatChk3 == 1)
                        @if($ptsummary[0]->TreatFreq3 == '8 TAP' || $ptsummary[0]->TreatFreq3 ==
                        '6 TAP' ||
                        $ptsummary[0]->TreatFreq3 == '4 TAP' || $ptsummary[0]->TreatFreq3 == '3
                        TAP' ||
                        $ptsummary[0]->TreatFreq3 == '2 TAP' || $ptsummary[0]->TreatFreq3 == '1
                        TAP')
                        <tr>
                            <td colspan="2" align="left" valign="top" class="addrfont" style="">
                                <strong>{{$ptsummary[0]->TreatName3}}
                            </td>
                        </tr>
                        @php
                        $TapValue3 = $ptsummary[0]->TreatFreq3;
                        $data3 = (new ConsultantController)->getTapValue($TapValue3);
                        @endphp
                        @foreach($data3 as $result3)
                        @php $treattapname3 = (new
                        OptoController)->convertMarathi($ptsummary[0]->TreatType3,$ptsummary[0]->TreatDose3,
                        $result3->Value,$ptsummary[0]->TreatDur3,$ptsummary[0]->TreatEye3);
                        @endphp
                        <tr>

                            <td colspan="2"
                                style="text-align:justify;font-family: Shivaji01;padding-left: 25px;font-size:16px;">
                                {{$treattapname3}}</td>
                            @endforeach
                        </tr>
                        @else
                        <tr>

                            <td colspan="2" align="left" valign="top" class="addrfont" style="">
                                <strong>{{$ptsummary[0]->TreatName3}}
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2"
                                style="text-align:justify;font-family: Shivaji01;padding-left: 25px;font-size:16px;">
                                {{$TreatName3}}</td>
                        </tr>
                        @endif
                        <!-- <tr>
                            <td align="left" valign="top">&nbsp;</td>
                        </tr> -->
                        @endif

                        @if($ptsummary[0]->TreatChk4 == 1)
                        @if($ptsummary[0]->TreatFreq4 == '8 TAP' || $ptsummary[0]->TreatFreq4 ==
                        '6 TAP' ||
                        $ptsummary[0]->TreatFreq4 == '4 TAP' || $ptsummary[0]->TreatFreq4 == '3
                        TAP' ||
                        $ptsummary[0]->TreatFreq4 == '2 TAP' || $ptsummary[0]->TreatFreq4 == '1
                        TAP')
                        <tr>
                            <td colspan="2" align="left" valign="top" class="addrfont" style="">
                                <strong>{{$ptsummary[0]->TreatName4}}</strong>
                            </td>
                        </tr>
                        @php
                        $TapValue4 = $ptsummary[0]->TreatFreq4;
                        $data4 = (new ConsultantController)->getTapValue($TapValue4);
                        @endphp
                        @foreach($data4 as $result4)
                        @php $treattapname4 = (new
                        OptoController)->convertMarathi($ptsummary[0]->TreatType4,$ptsummary[0]->TreatDose4,
                        $result4->Value,$ptsummary[0]->TreatDur4,$ptsummary[0]->TreatEye4);
                        @endphp
                        <tr>

                            <td colspan="2"
                                style="text-align:justify;font-family: Shivaji01;padding-left: 25px;font-size:16px;">
                                {{$treattapname4}}</td>
                            @endforeach
                        </tr>
                        @else
                        <tr>

                            <td colspan="2" align="left" valign="top" class="addrfont" style="">
                                <strong>{{$ptsummary[0]->TreatName4}}</strong>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2"
                                style="text-align:justify;font-family: Shivaji01;padding-left: 25px;font-size:16px;">
                                {{$TreatName4}}</td>
                        </tr>
                        @endif
                        <!-- <tr>
                            <td align="left" valign="top">&nbsp;</td>
                        </tr> -->
                        @endif

                        @if($ptsummary[0]->TreatChk5 == 1)
                        @if($ptsummary[0]->TreatFreq5 == '8 TAP' || $ptsummary[0]->TreatFreq5 ==
                        '6 TAP' ||
                        $ptsummary[0]->TreatFreq5 == '4 TAP' || $ptsummary[0]->TreatFreq5 == '3
                        TAP' ||
                        $ptsummary[0]->TreatFreq5 == '2 TAP' || $ptsummary[0]->TreatFreq5 == '1
                        TAP')
                        <tr>
                            <td colspan="2" align="left" valign="top" style="">
                                <strong>{{$ptsummary[0]->TreatName5}}</strong>
                            </td>
                        </tr>
                        @php
                        $TapValue5 = $ptsummary[0]->TreatFreq5;
                        $data5 = (new ConsultantController)->getTapValue($TapValue5);
                        @endphp
                        @foreach($data5 as $result5)
                        @php $treattapname5 = (new
                        OptoController)->convertMarathi($ptsummary[0]->TreatType5,$ptsummary[0]->TreatDose5,
                        $result5->Value,$ptsummary[0]->TreatDur5,$ptsummary[0]->TreatEye5);
                        @endphp
                        <tr>

                            <td colspan="2"
                                style="text-align:justify;font-family: Shivaji01;padding-left: 25px;font-size:16px;">
                                {{$treattapname5}}</td>
                            @endforeach
                        </tr>
                        @else
                        <tr>

                            <td colspan="2" align="left" valign="top" class="addrfont" style="">
                                <strong>{{$ptsummary[0]->TreatName5}}</strong>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2"
                                style="text-align:justify;font-family: Shivaji01;padding-left: 25px;font-size:16px;">
                                {{$TreatName5}}</td>
                        </tr>
                        @endif
                        <!-- <tr>
                            <td align="left" valign="top">&nbsp;</td>
                        </tr> -->
                        @endif

                        @if($ptsummary[0]->TreatChk6 == 1)
                        @if($ptsummary[0]->TreatFreq6 == '8 TAP' || $ptsummary[0]->TreatFreq6 ==
                        '6 TAP' ||
                        $ptsummary[0]->TreatFreq6 == '4 TAP' || $ptsummary[0]->TreatFreq6 == '3
                        TAP' ||
                        $ptsummary[0]->TreatFreq6 == '2 TAP' || $ptsummary[0]->TreatFreq6 == '1
                        TAP')
                        <tr>
                            <td colspan="2" align="left" valign="top" class="addrfont" style="">
                                <strong>{{$ptsummary[0]->TreatName6}}</strong>
                            </td>
                        </tr>
                        @php
                        $TapValue6 = $ptsummary[0]->TreatFreq6;
                        $data6 = (new ConsultantController)->getTapValue($TapValue6);
                        @endphp
                        @foreach($data6 as $result6)
                        @php $treattapname6 = (new
                        OptoController)->convertMarathi($ptsummary[0]->TreatType6,$ptsummary[0]->TreatDose6,
                        $result6->Value,$ptsummary[0]->TreatDur6,$ptsummary[0]->TreatEye6);
                        @endphp
                        <tr>

                            <td colspan="2"
                                style="text-align:justify;font-family: Shivaji01;padding-left: 25px;font-size:16px;">
                                {{$treattapname6}}</td>
                            @endforeach
                        </tr>
                        @else
                        <tr>

                            <td colspan="2" align="left" valign="top" class="addrfont" style="">
                                <strong>{{$ptsummary[0]->TreatName6}}</strong>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2"
                                style="text-align:justify;font-family: Shivaji01;padding-left: 25px;font-size:16px;">
                                {{$TreatName6}}</td>
                        </tr>
                        @endif
                        <!-- <tr>
                            <td align="left" valign="top">&nbsp;</td>
                        </tr> -->
                        @endif

                        @if($ptsummary[0]->TreatChk7 == 1)
                        @if($ptsummary[0]->TreatFreq7 == '8 TAP' || $ptsummary[0]->TreatFreq7 ==
                        '6 TAP' ||
                        $ptsummary[0]->TreatFreq7 == '4 TAP' || $ptsummary[0]->TreatFreq7 == '3
                        TAP' ||
                        $ptsummary[0]->TreatFreq7 == '2 TAP' || $ptsummary[0]->TreatFreq7 == '1
                        TAP')
                        <tr>
                            <td colspan="2" align="left" valign="top" class="addrfont" style="">
                                <strong>{{$ptsummary[0]->TreatName7}}</strong>
                            </td>
                        </tr>
                        @php
                        $TapValue7 = $ptsummary[0]->TreatFreq7;
                        $data7 = (new ConsultantController)->getTapValue($TapValue7);
                        @endphp
                        @foreach($data7 as $result7)
                        @php $treattapname7 = (new
                        OptoController)->convertMarathi($ptsummary[0]->TreatType7,$ptsummary[0]->TreatDose7,
                        $result7->Value,$ptsummary[0]->TreatDur7,$ptsummary[0]->TreatEye7);
                        @endphp
                        <tr>

                            <td colspan="2"
                                style="text-align:justify;font-family: Shivaji01;padding-left: 25px;font-size:16px;">
                                {{$treattapname7}}</td>
                            @endforeach
                        </tr>
                        @else
                        <tr>

                            <td colspan="2" align="left" valign="top" class="addrfont" style="">
                                <strong>{{$ptsummary[0]->TreatName7}}</strong>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2"
                                style="text-align:justify;font-family: Shivaji01;padding-left: 25px;font-size:16px;">
                                {{$TreatName7}}</td>
                        </tr>
                        @endif
                        <!-- <tr>
                            <td align="left" valign="top">&nbsp;</td>
                        </tr> -->
                        @endif

                        @if($ptsummary[0]->TreatChk8 == 1)
                        @if($ptsummary[0]->TreatFreq8 == '8 TAP' || $ptsummary[0]->TreatFreq8 ==
                        '6 TAP' ||
                        $ptsummary[0]->TreatFreq8 == '4 TAP' || $ptsummary[0]->TreatFreq8 == '3
                        TAP' ||
                        $ptsummary[0]->TreatFreq8 == '2 TAP' || $ptsummary[0]->TreatFreq8 == '1
                        TAP')
                        <tr>
                            <td colspan="2" align="left" valign="top" class="addrfont" style="">
                                <strong>{{$ptsummary[0]->TreatName8}}</strong>
                            </td>
                        </tr>
                        @php
                        $TapValue8 = $ptsummary[0]->TreatFreq8;
                        $data8 = (new ConsultantController)->getTapValue($TapValue8);
                        @endphp
                        @foreach($data8 as $result8)
                        @php $treattapname8 = (new
                        OptoController)->convertMarathi($ptsummary[0]->TreatType8,$ptsummary[0]->TreatDose8,
                        $result8->Value,$ptsummary[0]->TreatDur8,$ptsummary[0]->TreatEye8);
                        @endphp
                        <tr>

                            <td colspan="2"
                                style="text-align:justify;font-family: Shivaji01;padding-left: 25px;font-size:16px;">
                                {{$treattapname8}}</td>
                            @endforeach
                        </tr>
                        @else
                        <tr>

                            <td colspan="2" align="left" valign="top" class="addrfont" style="">
                                <strong>{{$ptsummary[0]->TreatName8}}</strong>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2"
                                style="text-align:justify;font-family: Shivaji01;padding-left: 25px;font-size:16px;">
                                {{$TreatName8}}</td>
                        </tr>
                        @endif
                        <!-- <tr>
                            <td align="left" valign="top">&nbsp;</td>
                        </tr> -->
                        @endif

                        @if($ptsummary[0]->TreatChk9 == 1)
                        @if($ptsummary[0]->TreatFreq9 == '8 TAP' || $ptsummary[0]->TreatFreq9 ==
                        '6 TAP' ||
                        $ptsummary[0]->TreatFreq9 == '4 TAP' || $ptsummary[0]->TreatFreq9 == '3
                        TAP' ||
                        $ptsummary[0]->TreatFreq9 == '2 TAP' || $ptsummary[0]->TreatFreq9 == '1
                        TAP')
                        <tr>
                            <td colspan="2" align="left" valign="top" class="addrfont" style="">
                                <strong>{{$ptsummary[0]->TreatName9}}</strong>
                            </td>
                        </tr>
                        @php
                        $TapValue9 = $ptsummary[0]->TreatFreq9;
                        $data9 = (new ConsultantController)->getTapValue($TapValue9);
                        @endphp
                        @foreach($data9 as $result9)
                        @php $treattapname9 = (new
                        OptoController)->convertMarathi($ptsummary[0]->TreatType9,$ptsummary[0]->TreatDose9,
                        $result9->Value,$ptsummary[0]->TreatDur9,$ptsummary[0]->TreatEye9);
                        @endphp
                        <tr>

                            <td colspan="2"
                                style="text-align:justify;font-family: Shivaji01;padding-left: 25px;font-size:16px;">
                                {{$treattapname9}}</td>
                            @endforeach
                        </tr>
                        @else
                        <tr>

                            <td colspan="2" align="left" valign="top" class="addrfont" style="">
                                <strong>{{$ptsummary[0]->TreatName9}}</strong>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2"
                                style="text-align:justify;font-family: Shivaji01;padding-left: 25px;font-size:16px;">
                                {{$TreatName9}}</td>
                        </tr>
                        @endif
                        <!-- <tr>
                            <td align="left" valign="top">&nbsp;</td>
                        </tr> -->
                        @endif

                        @if($ptsummary[0]->TreatChk10 == 1)
                        @if($ptsummary[0]->TreatFreq10 == '8 TAP' || $ptsummary[0]->TreatFreq10
                        == '6 TAP' ||
                        $ptsummary[0]->TreatFreq10 == '4 TAP' || $ptsummary[0]->TreatFreq10 ==
                        '3 TAP' ||
                        $ptsummary[0]->TreatFreq10 == '2 TAP' || $ptsummary[0]->TreatFreq10 ==
                        '1 TAP')
                        <tr>
                            <td colspan="2" align="left" valign="top" class="addrfont" style="" >
                                <strong>{{$ptsummary[0]->TreatName10}}</strong>
                            </td>
                        </tr>
                        @php
                        $TapValue10 = $ptsummary[0]->TreatFreq10;
                        $data10 = (new ConsultantController)->getTapValue($TapValue10);
                        @endphp
                        @foreach($data10 as $result10)
                        @php $treattapname10 = (new
                        OptoController)->convertMarathi($ptsummary[0]->TreatType10,$ptsummary[0]->TreatDose10,
                        $result10->Value,$ptsummary[0]->TreatDur10,$ptsummary[0]->TreatEye10);
                        @endphp
                        <tr>

                            <td colspan="2"
                                style="text-align:justify;font-family: Shivaji01;padding-left: 25px;font-size:16px;">
                                {{$treattapname10}}</td>
                            @endforeach
                        </tr>
                        @else
                        <tr>

                            <td colspan="2" align="left" valign="top" class="addrfont">
                                <strong>{{$ptsummary[0]->TreatName10}}</strong>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2"
                                style="text-align:justify;font-family: Shivaji01;padding-left: 25px;font-size:16px;">
                                {{$TreatName10}}</td>
                        </tr>
                        @endif
                        <!-- <tr>
                            <td align="left" valign="top">&nbsp;</td>
                        </tr> -->
                        @endif
                                                <!-- <tr>
                            <td align="left" valign="top">&nbsp;</td>
                        </tr> -->
                        
                        

                        
                        
                        
                        
                        
                        
                        
                                          </table>
                                      </td>
                                    </tr>
                                    
                                    <tr>
                                      <td height="231" align="left" valign="top" class="tdbrd"><span class="style23">                                      'kL=fdz;syk ;s.;kvk/kh lqpuk </span></td>
                                      <td height="231" align="left" valign="top" class="tdbrd"><table width="100%" border="0" cellspacing="0" cellpadding="4">
                                        <tr>
                                        <br><br>
                                          <td width="7%" align="center" valign="top" class="style38">1.</td>
                                          <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                              <tr>
                                                <td width="20%"><span class="style5">{{date("d/m/Y", strtotime($data->ScheduleDate))}} </span></td>
                                                <td width="13%"><span class="style45">yk ldkGh</span></td>
                                                <td width="8%"><span class="style5">8:00 </span></td>
                                                <td width="59%"><span class="style15">oktrk ;s.ks </span></td>
                                              </tr>
                                          </table></td>
                                        </tr>
                                        <tr>
                                          <td align="center" valign="top" class="style38"><span class="style40">2.</span></td>
                                          <td align="left" valign="top"><p class="style15">;srkauk gydk pgk uk&rsquo;rk d:u]dsl /kqoqu]LoPN dims ?kkyqu ;s.ks</p></td>
                                        </tr>
                                        <tr>
                                          <td align="center" valign="top" class="style38"><span class="style40">3.</span></td>
                                          <td align="left" valign="top"><p class="style15">;srkauk usgehP;k xksG;k ]vkS&quot;k/kh lkafxrY;k izek.ks ?ks.ks mnk <span class="style38">(B.P, Sugar, Thyroid etc) </span></p></td>
                                        </tr>
                                        <tr>
                                          <td align="center" valign="top" class="style38"><span class="style40">4.</span></td>
                                          <td align="left" valign="top"><p class="style15">;srkauk usgehP;k xksG;k ]vkS&quot;k/kh lkscr vk.kkos</p></td>
                                        </tr>
                                        <tr>
                                          <td align="center" valign="top" class="style38"><span class="style44">5.</span></td>
                                          <td align="left" valign="top"><p class="style15">vkS&quot;k/kkph vWythZ vlY;kl MkWDVjkauk lqpuk ns.ks</p></td>
                                        </tr>
                                        <tr>
                                          <td align="center" valign="top" class="style38"><span class="style44">6.</span></td>
                                          <td align="left" valign="top"><p class="style15">lkscr ,d tckcnkj O;Drh vk.kkos</p></td>
                                        </tr>
                                        <tr>
                                          <td align="center" valign="top" class="style38">7.</td>
                                          <td align="left" valign="top"><span class="style15">vkWIkjs'ku laca/khr dkfg leL;k vlY;kLk jkgqYk LkPkku Lkj ;kaUkk LkaIkdZ djkOks </span></td>
                                        </tr>
                                        <tr>
                                          <td align="center" valign="top" class="style38">&nbsp;</td>
                                          <td align="left" valign="top">Mob : <strong>7020515341 </strong></td>
                                        </tr>
                                      </table>
                                      <br></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </div>
            </td>
        </tr>
    </table>



    <br>
    
</body>

</html>