@extends('layouts.app')
@section('content-header')
{{__('info.dashboard')}}
- {{__('info.home')}}
- {{__('info.dashboard')}}
@endsection
@section('content')
@if (App\Helpers\CommonHelper::isCapable('dashboard.reportTotalIncome'))
@endif
@if (App\Helpers\CommonHelper::isCapable('dashboard.reportTotalExpense'))
@endif
@if (App\Helpers\CommonHelper::isCapable('dashboard.reportIncomeExpenseChart'))
@endif
@foreach($cattleTypes as $cattleType)
-
{{ $cattleType->title }} ({{ $cattleType->cattle_count }})
@endforeach
@foreach($cattle as $cow)
-
@if (!empty($cow->latest_image))
@else
@endif
{{ $cow->title }}
{{ App\Helpers\CommonHelper::displayTimeFormat($cow->purchase_date, true) }}
@endforeach
{{__('info.total_sick_cattle')}}
{{ $medicineTakenCattle }}
{{ $mtUpDownPercent }} {{__('info.in_30_days')}}
{{__('info.total_milk_giving_cattle')}}
{{ $milkGivingCattle }}
{{ $mgUpDownPercent }} {{__('info.in_30_days')}}
{{__('info.total_expected_birth_cattle')}}
{{ $expectedBirthCattle }}
{{ $ebUpDownPercent }} {{__('info.in_30_days')}}
{{__('info.total_amount_of_milks')}}
{{ $milkAmount }}
{{ $maUpDownPercent }} {{__('info.in_30_days')}}
@endsection
@section('javascript')
@endsection