<tr class="lh-6 set-font-family">
    <td>
        <span class="casetitle">INSERTION TIME :</b></span>
        @isset($casedata->time_withdrawal)
            @if($casedata->time_withdrawal!="")
            <span class="casetext text-nowrap">
                @isset($casedata->time_end)
                    @php
                        $t_start = str_pad($casedata->time_start, 8, '0');
                        $t_end = str_pad($casedata->time_withdrawal, 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>
                @endisset
            </span>
            @endif
        @else
            &nbsp;<span class="casetext">-</span>
        @endisset
    </td>
</tr>
