@php foreach($paginator as $row): @endphp
@php endforeach; @endphp
# |
{{ __lang('student') }} |
{{ __lang('payment-method') }} |
{{ __lang('amount') }} |
{{ __lang('added-on') }} |
{{ $row->payment_id }} |
{{ $row->name }} {{ $row->last_name }} ({{ $row->email }}) |
{{ $row->payment_method }} |
{{ $this->formatPrice($row->amount) }} |
{{ showDate('d/M/Y',$row->added_on) }} |
@php
// add at the end of the file after the table
echo paginationControl(
// the paginator object
$paginator,
// the scrolling style
'sliding',
// the partial to use to render the control
null,
// the route to link to when a user clicks a control link
array(
'route' => 'admin/payments',
'start'=> $startDate,
'end' => $endDate
)
);
@endphp