<table>
    <thead>
        <tr>
            <th>ID</th>
            <th>Date</th>
            <th>Sign In</th>
            <th>Sign Out</th>
            <th>Total Hour</th>
        </tr>
    </thead>
    <tbody>
        @foreach($exp_datas as $key => $list)
        <tr>
            <td>{{++$key}}</td>
            <td>{{ $list->date }}</td>
            <td>{{ $list->sign_in }}</td>
            <td>{{ $list->sign_out }}</td>
            <td>
                @if($list->sign_in && $list->sign_out)
                    @php                        
                        $interval = date_diff($list->sign_in, $list->sign_out);
                        echo $interval->format('%R%a days');
                    @endphp
                @endif
            </td>
        </tr>
        @endforeach
    </tbody>
</table>