@extends('layouts.main') @section('main')

Editar Horarios

@if(isset($empleado) && $empleado)
{{ $empleado->EMP_NOMBRES }} {{ $empleado->EMP_APELLIDOS ?? '' }}
Cédula: {{ $empleado->EMP_CEDULA }}
Cargo: {{ $empleado->cargo->CAR_NOMBRE ?? 'N/A' }}
@if(isset($isDateRange) && $isDateRange) Rango: {{ \Carbon\Carbon::parse($fechaInicial)->format('d/m/Y') }} - {{ \Carbon\Carbon::parse($fechaFinal)->format('d/m/Y') }} @else Fecha: {{ \Carbon\Carbon::parse($MAL_DIA)->format('d/m/Y') }} @endif
{{ count($emp_horario) }} horario(s)
@endif

Horarios Asignados

@if(count($emp_horario) > 0) @endif
@if(count($emp_horario) > 0)
@if(isset($isDateRange) && $isDateRange) @endif @foreach ($emp_horario as $list) @if(isset($isDateRange) && $isDateRange) @endif @endforeach
Fecha Cliente Campaña Hora Inicial Hora Final Estado Acciones
{{ \Carbon\Carbon::parse($list->MAL_DIA)->format('d/m/Y') }} {{ $list->CLI_NOMBRE }} {{ $list->CAM_NOMBRE }} {{ \Carbon\Carbon::parse($list->MAL_INICIO)->format('H:i') }} {{ \Carbon\Carbon::parse($list->MAL_FINAL)->format('H:i') }} @if ($list->MAL_ESTADO == 1) Activo @else Inactivo @endif @if ($list->MAL_ESTADO == 1) @can('delete-malla')
@csrf @method('DELETE')
@endcan @else
@csrf @method('PUT')
@endif
@else
No hay horarios asignados

@if(isset($isDateRange) && $isDateRange) No se encontraron horarios en el rango de fechas seleccionado @else No se encontraron horarios para la fecha seleccionada @endif

Asignar Horarios
@endif
@include('Malla.Horarios.Individual.modal-novedad') @endsection @section('styles') @endsection @section('scripts') @endsection