@extends('website.layouts.default') @push('css') @endpush @section('content')
Check for specific date
| # | Staff | Cow (Feeding Time, bath Time) | Action |
|---|---|---|---|
| {{ $loop->index + 1 }} | {{ $assignCowToStaff->user->name }} |
Cow @foreach ($assignCowToStaff->assignLists as $list) @if ($list->type == 1) {{ $list->cow->name }} ( Feed: @include('website.pages.assign_to_staff.includes.time-show', [ 'staff_id' => $assignCowToStaff->id, 'cow_id' => $list->cow->id, 'column_name' => 'cow_id', 'table_type' => 1, 'data_type' => 'feeding_time', ]) , Bath: @include('website.pages.assign_to_staff.includes.time-show', [ 'staff_id' => $assignCowToStaff->id, 'cow_id' => $list->cow->id, 'column_name' => 'cow_id', 'table_type' => 1, 'data_type' => 'bath_time', ]) ) @endif @endforeachBull @foreach ($assignCowToStaff->assignLists as $list) @if ($list->type == 2) {{ $list->bull->name }} ( Feed: @include('website.pages.assign_to_staff.includes.time-show', [ 'staff_id' => $assignCowToStaff->id, 'cow_id' => $list->bull->id, 'column_name' => 'bull_id', 'table_type' => 2, 'data_type' => 'feeding_time', ]) , Bath: @include('website.pages.assign_to_staff.includes.time-show', [ 'staff_id' => $assignCowToStaff->id, 'cow_id' => $list->bull->id, 'column_name' => 'bull_id', 'table_type' => 2, 'data_type' => 'bath_time', ]) ) @endif @endforeachCalf @foreach ($assignCowToStaff->assignLists as $list) @if ($list->type == 3) {{ $list->calf->name }} ( Feed: @include('website.pages.assign_to_staff.includes.time-show', [ 'staff_id' => $assignCowToStaff->id, 'cow_id' => $list->calf->id, 'column_name' => 'calf_id', 'table_type' => 3, 'data_type' => 'feeding_time', ]) , Bath: @include('website.pages.assign_to_staff.includes.time-show', [ 'staff_id' => $assignCowToStaff->id, 'cow_id' => $list->calf->id, 'column_name' => 'calf_id', 'table_type' => 3, 'data_type' => 'bath_time', ]) ) @endif @endforeach |
|