<div class="panel-body">
    <table class="table" id="dynamic-table" >
        <thead>
            <tr>
                <th>
                    Fecha
                </th>
                <th>
                    Nombre
                </th>
                <th>
                    Registros
                </th>
            </tr>
        </thead>
        <tbody>
            @foreach($registros as $date => $registro)
                @foreach($registro->info as $sucursal => $rows)
                    <tr>
                        <td>
                            {{$date}}
                        </td>
                        <td>
                            {{$sucursal}}
                        </td>
                        <td>
                            <a href="#reporteGralDetalle" data-id="{{$rows->lists('id')}}" data-toggle="modal" class="btn-rows-ids">{{$rows->count()}}</a>
                        </td>
                    </tr>
                @endforeach
            @endforeach
        </tbody>
    </table>
</div>
