<tr style="line-height:{{$body_line}};" class="set-font-family">
    <td>
        <span class="casetitle">OPERATION TIME :</span>

        @if(isset($casedata->time_start) && isset($casedata->time_end))

        {{-- @dd($casedata->time_end) --}}


        @php
                $t_start    = str_pad($casedata->time_start,8,"0");
                $t_end      = str_pad($casedata->time_end,8,"0");
                $start_date = new DateTime($t_start);
                $end_date   = new DateTime($t_end);
                $since_start = $start_date->diff($end_date);


                $h = $since_start->h*60;
                $i = $since_start->i;
                $min = $h+$i;
            @endphp
            <span class="casetext">{{$t_start}} - {{$t_end}} ( {{$min }} Minutes ) </span>
            {{-- <span class="casetext">{{substr($casedata->time_start,0,-3)}} - {{substr($casedata->time_end ,0,-3)}} ({{$since_start->i}})</span> --}}

        @else
            &nbsp;-
        @endif
    </td>
</tr>
