Cargando

{{-- Buscador --}}
Planes
Nueva cuenta @if (auth()->user()->rol->nombre != 'editor' && auth()->user()->rol->nombre != 'administrador') Modificar tarifas @endif
id Servicio Correo Contraseña Inicio - Final Restante Ocupado @php $n = 0; @endphp @foreach ($cuentas as $cuenta) @php $n++; $historiales = false; if ( now() ->addDay() ->gt($cuenta->vencimiento) ) { $historiales = $cuenta ->historiales() ->where('fecha_final', '>', now()->addDay()->toDateString()) ->count(); } @endphp @include('components/listado-planes') @endforeach {{ $cuentas->links() }}
{{-- Modal ver --}}
{{ $nombre_servicios }}
{{-- tabla usuarios --}}
@if (!is_null($consulta_verUsuarios)) @foreach ($consulta_verUsuarios->historiales->unique() as $verUsuarios) @if ($consulta_verUsuarios->estado == 'activo') @else @endif @php $date1 = new DateTime(strtr(strval($fechaActual), '/', '-')); $date2 = new DateTime(strtr(strval($verUsuarios->fecha_final), '/', '-')); @endphp @if ($date1 < $date2) @endif @if ($date1 > $date2) @endif @if ($date1 == $date2) @endif @php $promocion = $verUsuarios->promocion_id; $observaciones = $verUsuarios->observaciones; @endphp @if (!is_null($promocion)) @else @endif @if (!is_null($observaciones)) @else @endif @endforeach @endif
Distribuidor Perfil Cliente Restante Inicio Final
{{ $verUsuarios->vendedor->name ?? '' }} @foreach ($consulta_verUsuarios->perfil as $perfil) @if ($verUsuarios->id == $perfil->historial_id) -Perfil: {{ $perfil->perfil ?? '' }} @endif @endforeach {{ $verUsuarios->cliente->name ?? '' }} @php $diff = $date1->diff($date2); echo $diff->days . ' dias'; @endphp @php echo 'Vencido'; @endphp @php echo 'Vence hoy!!'; @endphp {{ \Carbon\Carbon::parse($verUsuarios->fecha_inicio)->format('d/m/Y') }} {{ \Carbon\Carbon::parse($verUsuarios->fecha_final)->format('d/m/Y') }}
Email:{{ $consulta_verUsuarios->correo ?? '' }}
Password:{{ $consulta_verUsuarios->password ?? '' }}
@if ($consulta_verUsuarios) @if ($consulta_verUsuarios->estado == 'pendiente') @if (count($consulta_verUsuarios->historiales) != $consulta_verUsuarios->servicio->completa) @if (Auth::user()->rol->nombre == 'super') @endif @endif @else @if (count($consulta_verUsuarios->historiales) != $consulta_verUsuarios->servicio->pantallas) @if (Auth::user()->rol->nombre == 'super') @endif @endif @endif @endif
{{-- Modal renovar --}}
{{-- Modal add user --}}
{{-- @if (!empty($consulta_verUsuarios->servicio->perfiles))
@endif --}} @if (!empty($consulta_verUsuarios->servicio->tarifas)) @error('tarifa')

{{ 'Requerido*' }}

@enderror @endif
{{-- Modal observaciones --}}
{{-- Modal observaciones1 --}}
{{-- Modal newCuenta --}}
@error('servicio_newCuenta')
{{ 'Requerido*' }}
@enderror
@error('usuario_newCuenta')
{{ 'Requerido*' }}
@enderror
@error('password_newCuenta')
{{ 'Requerido*' }}
@enderror
@error('estado')
{{ 'Requerido*' }}
@enderror
@error('fecha_inicial')
{{ 'Requerido*' }}
@enderror
@error('fecha_final')
{{ 'Requerido*' }}
@enderror
{{-- Modal tarifas --}}
@if (!empty($tarifas)) @foreach ($tarifas as $tarifa) @endforeach @endif
Estado Rol Pantallas Valor Dias Utilidad
@if ($tarifa->estado == 'activo')
@else
@endif
{{ $tarifa->rol->nombre ?? '' }} {{ $tarifa->pantallas ?? '' }} {{ number_format($tarifa->valor ?? 0) }} {{ $tarifa->dias ?? '' }} {{ number_format($tarifa->utilidad ?? 0) }}
@if ($informacionTarifaRol)
@endif
{{-- Modal agregar servicios --}}
@if ($photo) @else
@endif
@if ($photo_inicio) @else
@endif
@error('nota_eliminacion')
{{ $message }}
@enderror
@error('nota_eliminacion')
{{ $message }}
@enderror
@include('layouts.footer')