@extends('layouts.home_layout') @php $pageTitle = "Vaccination Practice"; @endphp @section('title', $pageTitle) @section('style') @endsection @section('content') @php // dd($list); @endphp

{{$pageTitle}}

@include('common.print_css') @php $fullColspan = 6; $partner_id = request()->get('partner_id'); $cooperative_id = request()->get('cooperative_id'); $group_id = request()->get('group_id'); $farmer_id = request()->get('farmer_id'); $animal_type_id = request()->get('animal_type_id'); $cattle_gender_id = request()->get('cattle_gender_id'); $livestock_breed_id = request()->get('cattle_gender_id'); $division_id = request()->get('division_id'); $district_id = request()->get('district_id'); $upazilla_id = request()->get('upazilla_id'); $union_id = request()->get('union_id'); $village_id = request()->get('village_id'); $f_date = request()->get('f_date'); $t_date = request()->get('t_date'); $firstColspan = 2; $lastColspan = ($fullColspan - $firstColspan); @endphp @if ($reportInfo['partners']) @endif @if ($reportInfo['cooperative']) @endif @if ($reportInfo['group']) @endif @if ($reportInfo['farmer']) @endif @if ($reportInfo['animal_type']) @endif @if ($reportInfo['livestock_breed']) @endif @if ($reportInfo['cattle_gender']) @endif @if ($reportInfo['division']) @endif @if ($reportInfo['district']) @endif @if ($reportInfo['upazilla']) @endif @if ($reportInfo['union']) @endif @if ($reportInfo['village']) @endif @if ($list) @php $i = 1; @endphp @foreach ($list as $key => $v) @endforeach @endif

{{$pageTitle}}

Partner Name {{$reportInfo['partners']->partner_name_en}} {{$reportInfo['partners']->partner_code ? "[{$reportInfo['partners']->partner_code}]" : ''}}
Cooperative Name {{$reportInfo['cooperative']->cp_name_en}} {{$reportInfo['cooperative']->cp_code ? "[{$reportInfo['cooperative']->cp_code}]" : ''}}
Farmer Group Name {{$reportInfo['group']->group_name_en}} {{$reportInfo['group']->group_code ? "[{$reportInfo['group']->group_code}]" : ''}}
Farmer Name {{$reportInfo['farmer']->farmer_name_en}} {{$reportInfo['farmer']->farmer_code ? "[{$reportInfo['farmer']->farmer_code}]" : ''}}
Animal Type Name {{$reportInfo['animal_type']->type_name}}
Livestock Breed Name {{$reportInfo['livestock_breed']->breed_name_en}}
Cattle Gender {{$reportInfo['cattle_gender']->gender_name}}
Division Name {{$reportInfo['division']->name}}
District Name {{$reportInfo['district']->name}}
Upazila Name {{$reportInfo['upazilla']->name}}
Union Name {{$reportInfo['union']->name}}
Village Name {{$reportInfo['village']->en_name}}
Reporting Period {{$reportingPeriod}}
Reporting Date {{date('d-M-Y')}}
# Animal ID Cattle Name Vaccine Name Vaccination Date Next Dose Date
{{$i++}} {{$v->id_prefix ? $v->id_prefix.' - ' : ''}}{{$v->cattle_id_no}} {{$v->cattle_name_en}} {{$v->medicine_name_en}} {{date('d-M-Y', strtotime($v->vaccine_date))}} {{date('d-M-Y', strtotime($v->next_vaccine_date))}}
{{-- Modal Start id="modal" --}} {{-- Modal End --}}
@endsection @section('script') @endsection