@extends('layouts.app') @section('pageTitle', 'Prospectos') @push('styles') @endpush @section('breadcrumb') @endsection @section('content')

Historial de vacaciones del Personal {{ $rank }}

@for($i = 1; $i <= 15; $i++) @if($day == $i && $rank == $current_rank) @else @endif @endfor @foreach($diferentUserVacationOne as $user) @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) @else @endif @else @endif @endfor @endforeach
Usuarios {{ $i }} {{ $i }}
{{ $user->rhVactionUserToUser->roleUserFullName()}}

Vacaciones

Vacaciones

@for($i = 16; $i <= $end_month; $i++) @if($day == $i && $rank == $current_rank) @else @endif @endfor @foreach($diferentUserVacationTwo as $user) @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) @else @endif @else @endif @endfor @endforeach
Usuarios {{ $i }} {{ $i }}
{{ $user->rhVactionUserToUser->roleUserFullName()}}

Vacaciones

Vacaciones

@endsection @push('scripts') @endpush