<table class="table table-hover table-bordered">
    <thead>
    <tr>
        <th scope="col">{{ __('orders.id') }}</th>
        <th scope="col">{{ __('orders.canteen') }}</th>
{{--        <th scope="col">{{ __('orders.total_points') }}</th>--}}
        <th scope="col">{{ __('orders.total') }}</th>
        <th scope="col">{{ __('orders.child') }}</th>
        <th scope="col">{{ __('orders.parent') }}</th>
        <th scope="col">{{ __('dashboard.created_at') }}</th>
    </tr>
    </thead>

    <tbody class="response">
        @foreach($rows as $row)
            <tr>
                <td>{{ $row->id }}</td>
                <td>{{$row->canteen->currentDescription->title ?? ''}}</td>
{{--                <td>{{$row->total_points ?? ''}}</td>--}}
                <td>{{$row->total ?? ''}}</td>
                <td>{{$row->child->name ?? ''}}</td>
                <td>{{$row->child->parent->name ?? ''}}</td>
                <td>{{ \Carbon\Carbon::parse($row->created_at)->format('Y/m/d') }}</td>
            </tr>
        @endforeach
    </tbody>


</table>
