@php $rand = 0; @endphp @if(isset($employee->employee_hounourrewards) && count($employee->employee_hounourrewards) > 0) @foreach($employee->employee_hounourrewards as $employee_hounourrewards) @php $rand++; @endphp
{{$rand}}
employee_id) && isset($employee_hounourrewards->title)) readonly @else name="personal_honour_award[{{$employee_hounourrewards->id}}][title]" @endif class="form-control" @if(isset($employee_hounourrewards->title))value="{{$employee_hounourrewards->title}}"@endif/>
employee_id) && isset($employee_hounourrewards->ground)) readonly @else name="personal_honour_award[{{$employee_hounourrewards->id}}][ground]" @endif class="form-control" @if(isset($employee_hounourrewards->ground))value="{{$employee_hounourrewards->ground}}"@endif/>
employee_id) && isset($employee_hounourrewards->time)) @else name="personal_honour_award[{{$employee_hounourrewards->id}}][date]" @endif class="form-control" @if(isset($employee_hounourrewards->time))value="{{\Carbon\Carbon::parse($employee_hounourrewards->time)->format('d-m-Y')}}"@endif/>
@endforeach @else @php $v = \request()->v @endphp @if(isset($v))
{{$v}}
@php($rand = rand(10000000000,100000000000))