@php
    // dd($casedata);
    $view33['casedata']         = $casedata;
    $view33['hospital']         = $hospital;
    $view33['pname']            = $casedata->procedurename;
    $view33['border']           = 1;
    $view33['operationcysto']   = @$operationcysto;
    $view33['pic_draw']         = $pic_draw;
    $view33['photoselect']      = $photoselect;
    $view33['casedata']             = $casedata;
    $view33['pdfshow']          = $pdfshow;
    $view33['pdfshownew']       = $pdfshownew;
    // $view33['doctor']           = $doctor;
    // $view33['doctor01']         = $doctor01;
    // $view33['nurse']            = $nurse;

    // $view33['totaltime']        = $totaltime;
    // $view33['scopeall']         = $scopeall;
    $view33['showprocedure']    = $showprocedure;
    $view33['num']              = $num;
    $view33['num1']             = $num1;
    $view33['body_line']     = $body_line;
    $view33['folderdate']       = $folderdate;
    $view33['picperrow']        = 4;

@endphp
<html>
<style>
    .head02{
        margin-top: -35px !important;
        padding-left: 0px !important;
    }
</style>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    @include('endocapture.pdf.component.css.css')
    {{-- @component('endocapture.pdf.component.css.pdf_css_master')@endcomponent --}}

    </head>
<body>

    <header>
        @php
            // $department = uget('department');
            $head = configTYPE('pdf', 'pdf_folder_head');
            $head.= "/$department";
        @endphp

        @include("pdfhead.$head.pdf_head01",$view33)

    </header>

    <footer class="casetext">
        @include("pdfhead.$head.pdf_footer",$view33)
        <table style="margin-top: -10px;">
           <tr>
               <td>Page</td>
               <td class="page"></td>
           </tr>
       </table>
   </footer>



    <main>
        @if(@$_GET['type'] != 'allshow')
            <div id="left_menu" style="padding-left: 2em;">
                @include('endocapture.pdf.component.pdf_picturebottom.'.$casedata->case_procedurecode)
                {{-- @if($img_first==0)
                    <div class="page-break"></div>
                @endif --}}

                @component('endocapture.pdf.pdf_photonew',$view33)@endcomponent
            </div>


        @else
            @foreach ($json as $x => $val)
                Key : {{$x}} <br> Value : {{$val}}<br><hr>
            @endforeach
        @endif




    </main>

</body>
</html>
