@extends('Modules.Report_and_Analysis.layouts.second_main') Lactation Report -DairyCare @section('main-content')

Tag ID: "{{$tagid->tagid}}"

Arrival Date:    01-Jan-1970
Birth date:    01-Jan-1970
@if($tagid->breadstatus==0)
Breed Status:     No
@else
Breed Status:     Yes
@endif
Total No of Lactation:     {{ $total_lactation }}
Sire Tag ID:     {{ $father }}
Dam Tag ID:     {{ $mother }}
@foreach($lactation_date as $date)

Lactation No {{$lac_counter}} Lactation Wise Cow Report

@if(count($ai_breading)>$lact&& count($ai_breading[$lact]))
AI Breeding
@foreach($ai_breading[$lact] as $ai) @if($ai->breeding_success_status==1) @else @endif @endforeach
# AI Date AI Sire AI Status AI Technician AI Cost
{{$i+1}} 01-Jan-1970 {{$cow_sire[$lact][$i]}}SuccessFail{{$ai->techname}} {{$ai->price}}
@endif @if(count($bull_breading)>$lact && count($bull_breading[$lact]))
Bull Breeding
@foreach($bull_breading[$lact] as $bull) @endforeach
# Bull Breeding Date Bull Tag ID Bull Breeding Observer
{{$i+1}} 01-Jan-1970 {{$bull->servicesire}} {{$bull->techname}}
@endif @if(count($pragnent)>$lact && count($pragnent[$lact]))
Pregnancy Test
@foreach($pragnent[$lact] as $preg) @endforeach
# Pregnancy Test Date Type
{{$i+1}} 01-Jan-1970 {{$preg->type}}
@endif @if(count($abortion)>$lact && count($abortion[$lact]))
Abortion
@foreach($abortion[$lact] as $abort) @if($abort->milkable==1) @else @endif @endforeach
# Abortion Date Milkable
{{$i+1}} 01-Jan-1970YesNo
@endif @if(count($calving)>$lact && count($calving[$lact]))
Calving
@foreach($calving[$lact] as $calve) @endforeach
# Calving Date Calving Ease No of Child No of Dead Child Comments Cost
{{$i+1}} 01-Jan-1970 {{$calve->freshningease}} {{$calve->noofchild}} {{$dead_child[$lact]}} {{$calve->comments}} {{$calve->price}}
@endif @if(count($child)>$lact && count($child[$lact]))
Children of Cow
@foreach($child[$lact] as $ch) @if($ch->presentstatus==0) @else @endif @endforeach
# Child Tag ID Child Birth Date Child Sex Child Shed ID Child Status
{{$i+1}} {{$ch->tagid}} 01-Jan-1970 {{$ch->sex}} {{$ch->penid}}DeadAlive
@endif @if(count($treatment)>$lact && count($treatment[$lact]))
Treatments
@foreach($treatment[$lact] as $treat) @endforeach
# Diagnose Treatment Date Treatment Duration Technician Treatment Cost Medicine Names Medicine Quantity cc/ml
{{$i+1}} {{$treat->reason}} 01-Jan-1970 {{$treat->duration}} {{$treat->techname}} {{$treat->price}} @foreach($treat_medicine[$lact][$i] as $medicine) {{$medicine->medicine_name}}, @endforeach @foreach($treat_medicine[$lact][$i] as $medicine) {{$medicine->medicine_quantity}}, @endforeach
@endif @if(count($lactation_milk)>$lact && count($lactation_milk[$lact])&&$lactation_milk[$lact]!=0)
Lactation Milk
# Lactation Date Lactation Milk (Liter) Milk Average (Liter) Minimum Milk (Liter) Maximum Milk (Liter)
{{$i+1}} 01-Jan-1970 {{$lactation_milk[$lact]}} {{$average[$lact]}} {{$min_milk[$lact]}} {{$max_milk[$lact]}}
@endif
@endforeach @endsection