@extends ('layouts.admin')
@section('contenido')
@php
$fecha_caducidad = \Carbon\Carbon::parse($empresa_fecha_caducidad);
$dias_restantes = abs($fecha_caducidad->diffInDays(\Carbon\Carbon::now())) + 1; // Sumar 1 para incluir el día actual
@endphp
@if($fecha_caducidad->isPast())
@include('caducidad')
@else
@if ($dias_restantes <= 3)
@include('caducidad_dias')
@endif
@include('registro.cliente.search')
@include('registro.cliente.create')
| # |
Cliente |
Correo |
Teléfono |
{{-- Foto | --}}
Dirección |
Opciones |
@php($page = isset($_GET['page']) ? $_GET['page'] : 1)
@php($cont = ($page - 1) * $paginate + 1)
@foreach ($cliente as $p)
| {{ $cont++ }} |
{{ $p->numDocumento}} |
{{ $p->nombres }} |
{{-- {{ $p->fechaNac }} | --}}
{{ $p->email }} |
{{ $p->telefono }} |
{{ $p->direccion}} |
{{--
@if ($p->estado == 'ACTIVO')
| --}}
|
|
@endforeach
{{$cliente->appends(['searchText' => $searchText])}}
@endif
@push('scripts')
@if (Session::has('success'))
@endif
{{-- ----------------------------------------------- --}}
@if (Session::has('error'))
@endif
@if (count($errors) > 0)