@extends('layouts.admin') @section('page-title','') @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('admin.dashboard')=>__('default.dashboard'), '#'=>isset($pageTitle)?$pageTitle:'' ]]) @endsection @section('content')
@if($paginator)
@foreach($paginator as $student) @php $certificate = \App\Certificate::find($student->certificate_id); @endphp @endforeach
{{__lang('student')}} {{__lang('certificate')}} {{__lang('course-session')}} {{__lang('tracking-number')}} {{__lang('downloaded-on')}}
{{ $student->name }} {{ $student->last_name }} {{$certificate->name}} {{$certificate->course->name}} {{ $student->tracking_number }} {{ showDate('d/M/Y',$student->created_at) }}
@php // add at the end of the file after the table 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/default', 'controller'=>'certificate', 'action'=>'track' ) ); @endphp
@endif @endsection @section('footer') @endsection