@extends('website.layouts.default') @push('css') @endpush @section('content')

Calves

Calf Details

Name

{{ $calf->name }}

Gender

@if ($calf->gender == 1) Male @else Female @endif

Date Of Birth

{{ $calf->date_of_birth }}

Shade

{{ $calf->shade ? $calf->shade->shade_no : '' }}

Father

{{ $calf->insemination_id ? $calf->insemination->bull->name : '' }}

Mother

{{ $calf->insemination_id ? $calf->insemination->cow->cow_name : '' }}

Color

{{ $calf->color ? $calf->color->color_name : '' }}

Estimated Live Weight

{{ $calf->estimated_live_weight }}

Status

{{ $calf->status_type ?? " " }}

Vaccination info

{{-- @forelse ($calfs as $calf) @empty

No calves found

@endforelse --}}
# Name Primary Image Date Of Birth Estimated Live Weight Gender Action
{{ $loop->index + 1 }} {{ $calf->name }} @if ($calf->primary_image) @else

No image

@endif
{{ $calf->date_of_birth }} {{ $calf->estimated_live_weight }} {{ $calf->gender ? "female" : "male" }}
@endsection @push('scripts') @endpush