@extends('layouts.app') @section('pageTitle', 'Prospectos') @push('styles') @endpush @section('breadcrumb')
Usuarios | @for($i = 1; $i <= 15; $i++) @if($day == $i && $rank == $current_rank){{ $i }} | @else{{ $i }} | @endif @endfor|
---|---|---|---|
{{ $user->rhVactionUserToUser->roleUserFullName()}} | @for($i=1; $i <= 15 ; $i++) @php($today_exist = false) @if($i <= 9) @php($day_m = "0".$i) @else @php($day_m = $i) @endif {{$exist_vac = false}} @foreach($vacationListPersonOne as $vac) @if($user->user_id == $vac->user_id && $vac->day == $day_m) @if($vac->date == $today) @php($today_exist = true) @endif @php($exist_vac = true) @endif @endforeach @if($exist_vac) @if($today_exist)
Vacaciones |
@else
Vacaciones |
@endif
@else
@endif @endfor |
Usuarios | @for($i = 16; $i <= $end_month; $i++) @if($day == $i && $rank == $current_rank){{ $i }} | @else{{ $i }} | @endif @endfor|
---|---|---|---|
{{ $user->rhVactionUserToUser->roleUserFullName()}} | @for($i = 16; $i <= $end_month; $i++) @php($today_exist = false) @if($i <= 9) @php($day_m = "0".$i) @else @php($day_m = $i) @endif @php($exist_vac = false) @foreach($vacationListPersonTwo as $vac) @if($user->user_id == $vac->user_id && $vac->day == $day_m) @if($vac->date == $today) @php($today_exist = true) @endif @php($exist_vac = true) @endif @endforeach @if($exist_vac) @if($today_exist)
Vacaciones |
@else
Vacaciones |
@endif
@else
@endif @endfor |