@extends('layouts.app') @section('title', 'Library Reports') @section('content')

Library reports

Circulation, fines and collection usage for the selected period.
Export CSV
@include('library._nav')

Most borrowed titles

{{ $from }} to {{ $to }}
@forelse($popular as $row) @empty @endforelse
#TitleIssues
{{ $loop->iteration }}{{ $row->title }}{{ $row->issues }}

Usage by class

Issues per class in period
@if($byClass->count()) {!! \App\Support\Chart::bars($byClass->pluck('issues', 'name')->all()) !!} @else @endif
@endsection