@foreach($payment_logs as $key=> $row)
    <tr>
        <th scope="row">
            <div class="custom-control custom-checkbox">
                <input type="checkbox" class="custom-control-input selectOne deleteCheck" id="customCheck{{$row->id}}" value="{{$row->id}}" name="id[]">
                <label class="custom-control-label" for="customCheck{{$row->id}}">{{-- $row->id --}}</label>
            </div>
        </th>
        <td>{{ __('payment_logs.statuses.'.$row->status) }}</td>
        <td>{{ $row->price }}</td>
        <td>{{ $row->description }}</td>
        <td colspan="2">{{ \Carbon\Carbon::parse($row->created_at)->format('Y/m/d') }}</td>
        <td>
            @if($row->order_id)
                <a href="{{ route ('canteen.orders.edit', $row->order_id) }}" class="dropdown-item" title="{{ __('orders.show') }}"> <i class="bi bi-pen ml-1"></i> {{ __('orders.show') }} </a>
            @endif
        </td>
    </tr>
@endforeach

@if( count( $payment_logs ) && $payment_logs->hasPages() )
    <tr> <td> {{ $payment_logs->links() }} </td> </tr>
@endif
