@extends('layouts.home_layout') @php $pageTitle = "Manual Data Update Details"; @endphp @section('title', $pageTitle) @section('style') @endsection @section('content')

{{$pageTitle}}

@include('common.print_css') @php $fullColspan = 10; $firstColspan = 2; $lastColspan = ($fullColspan - $firstColspan); $areaColspan = 4; $areaRowspan = 2; $totalColspan = 2; @endphp @php $t_total_cow_farmer = 0; $t_total_cow = 0; $t_total_market_cow_need= 0; $t_total_saleable_cow = 0; $t_total_goat_farmer = 0; $t_total_goat = 0; $t_total_market_goat_need = 0; $t_total_saleable_goat = 0; @endphp @foreach ($list as $key => $v) @php $t_total_cow_farmer += $v->total_cow_farmer; $t_total_cow += $v->total_cow; $t_total_market_cow_need+= $v->total_market_cow_need; $t_total_saleable_cow += $v->total_saleable_cow; $t_total_goat_farmer += $v->total_goat_farmer; $t_total_goat += $v->total_goat; $t_total_market_goat_need += $v->total_market_goat_need; $t_total_saleable_goat += $v->total_saleable_goat; @endphp @endforeach

{{$pageTitle}}

Partner Name {{$row->partner_name_en}}
Partner Code {{$row->partner_code}}
Cooperative Name {{$row->cooperative_name_en}} {{$row->cooperative_code ? '['.$row->cooperative_code.']' : ''}}
Entry Date {{date('d-M-Y', strtotime($row->entry_date))}}
Reporting Date {{date('d-M-Y')}}
 
#        Name of Group        Fattening Cow Production Data Fattening Goat Production Data
Total Cow Farmer Total Cow Total Market Need Cow Total Salable Cow Total Goat Farmer Total Goat Total Market Need Goat Total Salable Goat
{{($key+1)}} {{$v->group_name_en}} {{$v->group_code ? '['.$v->group_code.']' : ''}} {{number_format($v->total_cow_farmer, 0)}} {{number_format($v->total_cow, 0)}} {{number_format($v->total_market_cow_need, 0)}} {{number_format($v->total_saleable_cow, 0)}} {{number_format($v->total_goat_farmer, 0)}} {{number_format($v->total_goat, 0)}} {{number_format($v->total_market_goat_need, 0)}} {{number_format($v->total_saleable_goat, 0)}}
Total {{number_format($t_total_cow_farmer, 0)}} {{number_format($t_total_cow, 0)}} {{number_format($t_total_market_cow_need, 0)}} {{number_format($t_total_saleable_cow, 0)}} {{number_format($t_total_goat_farmer, 0)}} {{number_format($t_total_goat, 0)}} {{number_format($t_total_market_goat_need, 0)}} {{number_format($t_total_saleable_goat, 0)}}
{{-- Modal Start id="modal" --}} {{-- Modal End --}}
@endsection @section('script') @endsection