@extends('snit.layouts.app') @section('content')

Sales Report for [{{ $dept->name . ' ' . $dept->dept_level }}] in the Current Academic Year

Total Clients in {{ $dept->name . ' department : ' . count($allClients) }}
{{-- {{ dd(author() ) }} --}}
@foreach ($table_headers as $heading) @endforeach @foreach ($allClients as $client) {{-- client name --}} {{-- dept level --}} {{-- Matric Num --}} {{-- item or book purchased --}} {{-- Sample Matric Num (from $dept) --}} {{-- dept name --}} @endforeach
{!! str_replace('_', ' ', $heading) !!}
{{ $client->client_model->getFullName() }} {{ strtoupper($dept->dept_level ?? 'not set') }} {{ strtoupper($client->client_model->mat_num ?? 'not set') }} {{ strtoupper($client->itemPurchased->name) }} {{ strtoupper($dept->sample_matric_num ?? 'not set') }} {{ strtoupper($dept->name) }}
@endsection