@extends($redirect=='Fattening' ? 'Modules.Fattening.layouts.second_main' : 'Modules.Health.layouts.second_main') CowCard -DairyCare @section('main-content') @if($print) @endif @if($errors->any()) @endif

Full Report ({{ $full_cow->tagid }})

@if($animal_card_v==1) {{-- --}} @endif
@if($animal_card_v==1) View Animal Activity @endif
@if($animal_card_v==1)
Tag ID:    {{ $full_cow->tagid }}
Pen ID:    {{ $full_cow->penid }}
@if($full_cow->electronicid=="''")
Electronic Id:    {{ $full_cow->electronicid }}
@endif @if($full_cow->calfname=="''")
Animal name:    {{ $full_cow->calfname }}
@endif
Arrival Date:   01-Jan-1970
Birth date:     01-Jan-1970
Sex:     {{ $full_cow->sex }}
Breed Type:    {{ $full_cow->breed_type }}
Status:    {{ $status }}
Name:    {{ $full_cow->calfname }}
@if($full_cow->sex=='Female') @if($animal_type=='c') @if($fresh_count!=0)
No of Calvings:    {{ $fresh_count }}
@else
No of Calvings:    N/A
@endif @if($convert_year!="1970")
Last Calving Date:     {{$convert_Freshningdate}}
@else
Last Calving Date:     N/A
@endif @endif @endif @if($father_tagid!='N/A')
Sire Tag Id:    {{ $father_tagid }}
@endif @if($mother_tagid!='N/A')
Dam Tag Id:    {{ $mother_tagid }}
@endif
Purchase Cost:    {{ $full_cow->price }} Rupees
@if($full_cow->sex=='Female')
Total Milk Given:    {{ $total_milk_given }} Liters
@endif @if($location_check==1)
Location ID:    {{ $full_cow->location_name }}
@endif
Purchased From/Vendor:    {{ $full_cow->company_name }}
@if($fattening_on==0)
Current Weight    {{ $cpu_current_weight }} Kg
@else
First Weight Date    {{ $first_weight_date }}
First Weight    {{ $first_weight }} Kg
Last Weight Date    {{ $last_weight_date }}
Last Weight    {{ $last_weight }} Kg
2nd Last Weight Date    {{ $second_last_weight_date }}
2nd Last Weight    {{ $second_last_weight }} Kg
2nd Last to Last Days Diff    {{ $second_to_last_days_diff }}
2nd Last to Last Weight Diff    {{ $second_to_last_weight_diff}} Kg
2nd Last to Last Per Day Gain    {{ $second_to_last_weight_gain }} Kg
Current Weight Date    {{ $current_weight_date }}
Current Weight    {{ $current_weight }} Kg
Current to Last Days Diff    {{ $current_to_last_days_diff }}
Current to Last Weight Diff    {{ $current_to_last_weight_diff }} Kg
Current to Last Weight Per Day Gain    {{ $current_to_last_weight_gain }} Kg
Current to First Days Diff    {{ $first_to_current_days_diff }}
Current to First Weight Diff    {{ $first_to_current_weight_diff }} Kg
Current to First Per Day Gain    {{ $first_to_current_weight_gain }} Kg
@endif
@endif @if($animal_picture_v==1)
Choose File
No file chosen...
@endif @if($animal_card_v==1) @endif @if($animal_card_v==1||$weight_add_permission==1)
Weight Gain/Loss @if($weight_add_permission==1) @endif
@if($animal_card_v==1)
@foreach($weights as $weight) @if($weight->gain>0) @elseif($weight->gain<0) @else @endif @if($weight->type==2) @elseif($weight->type==1) @else @endif @endforeach
# Date Age Weight Difference (Days) Gain/Loss (Kg) Actions
{{$weight->index}} {{$weight->date}} {{$weight->age}} {{$weight->weight}} {{$weight->diff}}{{$weight->gain}}{{$weight->gain}}{{$weight->gain}}
@endif
@if($animal_card_v==1) @if($lactationdate)
Milking
@foreach($lactationdate as $date) @endforeach
# Calving Date Milk / Liters
{{ $i }} {{$convert_calvingdate}} {{ $lactationmilk[$j] }}
@endif @if($full_cow_dryoff)
Dry off
@foreach($full_cow_dryoff as $dry) @endforeach
# Date Reason
{{ $i }} {{ $convert_dryoffdate }} {{ $dry->reason }}
@else @endif @if($full_cow_breed)
AI Breeding
@foreach($full_cow_breed as $breed) @if($breed->breeding_success_status==1) @else @endif @endforeach
# AI Date AI Sire AI Status AI Technician AI Comments AI Cost
{{ $i+1 }} {{ $convert_breedingdate }} {{$sire[$j]}}SuccessUnSuccess{{ $breed->techname }} {{ $breed->comments }} {{$breed->price}}
Total Cost: {{$aiCost}}
@else @endif @if($full_bull_breed)
Bull Breeding
@foreach($full_bull_breed as $breed) @endforeach
# Date Service Sire Technician Comments
{{ $i+1 }} {{ $convert_bullbreedingdate }} {{ $breed->servicesire }} {{ $breed->techname }} {{ $breed->comments }}
@else @endif @if(count($full_cow_pragnant)!=0)
Pregnancy Test
@foreach($full_cow_pragnant as $pragnant) @if($pragnant['result']==1) @else @endif @endforeach
# Date Type AI Days Result Dry Off Date Due Date Cost
{{ $i }} {{ $convert_pragnantdate }} {{ $pragnant['type'] }} {{ $pragnant['days'] }}Positive {{ $convert_dryoffdate }} {{ $convert_duedate }}Negative {{ $pragnant['price']}}
Total Cost: {{$pregCost}}
@else @endif @if($full_cow_abortion!='[]')
Abortion
@foreach($full_cow_abortion as $abortion) @endforeach
# Date Comments Cost
{{ $i }} {{ $convert_abortiondate }} {{ $abortion->comments }} {{ $abortion->price }}
Total Cost: {{$abortCost}}
@else @endif @if($full_cow_freshening!='[]')
Calving
@foreach($full_cow_freshening as $fresh) @if($fresh->placenta_removed==1) @else @endif @endforeach
# Date Ease No Of Calves Placenta Removed Comments Cost
{{ $i }} {{ $convert_fresheningdate }} {{ $fresh->freshningease }} {{ $fresh->noofchild }}YesNo{{ $fresh->comments }} {{ $fresh->price }}
Total Cost: {{$calCost}}
@else @endif @if($childtagid) @if($full_cow->sex=="Female")
Calves Information
@foreach($childtagid as $child) @endforeach @foreach($non_tag_calves as $non) @endforeach
# Date OF Birth Sex Sire Tag ID Calf Tag ID Weight
{{ $i+1 }} 1st-Jan-1970 {{ $childsex[$i] }} {{ $fathertagid[$i] }} {{ $child }} {{ $childweight[$i] }}
{{ $i+1 }} 1st-Jan-1970 {{ $non->sex }} {{ $non->father_id }} No Tag Assigned Yet {{ $non->weight }}
@else
Calves Information
@foreach($childtagid as $child) @endforeach @foreach($non_tag_calves as $non) @endforeach
# Birth Date Sex Dam Tag ID Calf Tag ID Weight
{{ $i+1 }} 1st-Jan-1970 {{ $childsex[$i] }} {{ $fathertagid[$i] }} {{ $child }} {{ $childweight[$i] }}
{{ $i+1 }} 1st-Jan-1970 {{ $non->sex }} {{ $non->mother_id }} No Tag Assigned Yet {{ $non->weight }}
@endif @else @endif @if($dead_children!="[]")
Death Children
@foreach($dead_children as $death) @endforeach
# Date of Death Sex Father Tagid Weight Reason
{{ $i }} {{ $convert_deathdate }} {{ $death->sex }} {{ $death->fathertagid }} {{ $death->weight }} {{ $death->reason }}
@else @endif @if($sold_children!="[]")
Sold Children
@foreach($sold_children as $sold) @endforeach
# Date of Sold Sex Sire Tagid Weight Price
{{ $i }} {{ $convert_solddate }} {{ $sold->sex }} {{ $sold->fathertagid }} {{ $sold->weight }} {{ $sold->price }}
@else @endif @if($full_cow_vetcheck!='[]')
Vet Check
@foreach($full_cow_vetcheck as $vet) @endforeach
# Date Result Method Uterus Right Overy Left Overy Carvix Comments Cost
{{ $i }} {{ $convert_vetcheckdate }} {{ $vet->method }} {{ $vet->result }} {{ $vet->rightovery }} {{ $vet->leftovery }} {{ $vet->uterus }} {{ $vet->carvix }} {{ $vet->comments }} {{ $vet->price }}
Total Cost: {{$vetCost}}
@else @endif @if($full_cow_treatment)
Treatment
@foreach($full_cow_treatment as $treat) @endforeach
# Date Diagnosis Technician Medicines Quantity Comments Cost
{{ $i }} {{ $convert_treatmentdate }} {{ $treat['reason'] }} {{ $treat['techname'] }} {{ $treat['med_name'] }} {{ $treat['med_quantity']}} {{ $treat['comments'] }} {{ $treat['price'] }}
Total Cost: {{$treatCost}}
@else @endif @if($full_cow_vaccination)
Vaccination
@foreach($full_cow_vaccination as $vac) @endforeach
# Date Type Vaccination Medicines Quantity Technician Comments Cost
{{ $i }} {{ $convert_vacdate }} {{ $vac['vacc_type'] }} {{ $vac['med_name'] }} {{ $vac['med_quantity'] }} {{ $vac['techname'] }} {{ $vac['comments'] }} {{ $vac['price'] }}
Total Cost: {{$veccost}}
@else @endif @if($full_cow_deworming)
Deworming
@foreach($full_cow_deworming as $deworm) @endforeach
# Date Deworming Medicines Quantity Technician Comments Cost
{{ $i }} {{ $convert_dewormdate }} {{ $deworm['med_name'] }} {{ $deworm['med_quantity'] }} {{ $deworm['techname'] }} {{ $deworm['comments'] }} {{ $deworm['price'] }}
Total Cost: {{$dewormCost}}
@else @endif @if($full_cow_specimen)
Specimen
@foreach($full_cow_specimen as $spec) @endforeach
# Date Type Finding Comments Cost
{{ $i }} {{ $convert_specimendate }} {{ $spec->type }} {{ $spec->find }} {{ $spec->comments }} {{ $spec->price }}
Total Cost: {{$specCost}}
@else @endif @if($full_cow_mastitis)
Mastitis
@foreach($full_cow_mastitis as $mastitis) @endforeach
# Date Treat Name Treat Type Technician R Front Dose R Right Dose L Right Dose L Front Dose Comments Cost
{{ $i }} {{ $convert_mastitisdate }} {{ $mastitis->treatname }} {{ $mastitis->treattype }} {{ $mastitis->techname }} {{ $mastitis->rightfrdose }} {{ $mastitis->rightrrdose }} {{ $mastitis->leftrdose }} {{ $mastitis->leftfrdose }} {{ $mastitis->comments }} {{ $mastitis->price }}
Total Cost: {{$mastitisCost}}
@else @endif @if($full_cow_moveto!='[]')
Move To
@foreach($full_cow_moveto as $move) @endforeach
# Date Reason Last Pen ID
{{ $i }} {{ $convert_movetodate }} {{ $move->reason }} {{ $move->lastpenid }}
@endif @if($custom_events)
Custom Events
@foreach($custom_events as $custom_event) @endforeach
# Date Remarks User
{{ $i }} {{ $convert_custom_event }} {{ $custom_event->remarks }} {{ $custom_event->user_name }}
@else @endif @if($full_cow_hooftrim)
Hoof Trim
@foreach($full_cow_hooftrim as $hoof) @endforeach
# Date Technician R R Condition R F Condition L R Condition L F Condition comments cost
{{ $i }} {{ $convert_hooftrimdate }} {{ $hoof->techname }} {{ $hoof->rrhcondition }} {{ $hoof->rfhcondition }} {{ $hoof->lrhcondition }} {{ $hoof->lfhcondition }} {{ $hoof->comments }} {{ $hoof->price }}
Total Cost: {{$hoofCost}}
@else @endif @if($full_cow_removal)
Removal
@foreach($full_cow_removal as $remove) @endforeach
# Date Category Comments Actions
{{ $i }} {{ $convert_removaldate }} {{ $remove->cat }} {{ $remove->comments }} Refreshing... Saving...
@else @endif @endif
@endif