@extends('layouts.frontend') @section('title_page', 'Manage calves Insemination Reports - Rusizi Veterinary') @section('content') {{-- Start breadcrumb area --}} {{-- End breadcrumb area --}} {{-- Start Single Service Area --}}
@include('frontend.partials.sidebar')

Manage calves Insemination Reports

View and manage all calves insemination reports submitted by veterinary officers

{{-- Reports Management Section --}}
{{-- Statistics Cards --}}

Total Reports

{{ $reports->count() }}

Male calvess

{{ $reports->where('sex', 'Male')->count() }}

Female calvess

{{ $reports->where('sex', 'Female')->count() }}

Last 7 Days

{{ $reports->where('created_at', '>=', now()->subDays(7))->count() }}

{{-- Start Reports Table Area --}}

calves Insemination Reports

All submitted reports are displayed below

New Report
{{-- Dynamic Alert Container --}}
{{-- Success/Error Messages from Session --}} @if(session('success')) @endif @if(session('error')) @endif
@foreach($reports as $report) @endforeach
Farmer Name Phone Location Animal Details Semen Type Protocol Date Reporter Actions
{{ $report->farmer_names }} Tag: {{ $report->ear_tag }}
{{ $report->phone_farmer }}
{{ $report->sector }} {{ $report->cell }} {{ $report->village }}
{{ $report->sex }} {{ $report->ear_tag }}
{{ $report->semen_type }} {{ $report->protocol }}
{{ $report->insemination_date->format('Y-m-d') }} ({{ $report->insemination_date->diffForHumans() }})
{{ $report->reporter->name }}
@if($reports->isEmpty())

No Reports Found

Get started by submitting your first calves insemination report.

Create First Report
@else @endif
{{-- End Reports Table Area --}}
{{-- End Single Service Area --}} {{-- Edit Report Modal --}} {{-- Delete Confirmation Modal --}} @endsection