diff --git a/app/Http/Livewire/ShowClientes.php b/app/Http/Livewire/ShowClientes.php index 58133ba..5a1db01 100644 --- a/app/Http/Livewire/ShowClientes.php +++ b/app/Http/Livewire/ShowClientes.php @@ -76,9 +76,9 @@ class ShowClientes extends Component if ($this->venceHoy) { - $fecha5 = Carbon::parse($fechaHoy)->subDay(5); - $consulta_clientes = $consulta_clientes->whereDate('fecha_final', '<=', $fechaHoy) - ->whereDate('fecha_final', '>=', $fecha5); + //$fecha5 = Carbon::parse($fechaHoy)->subDay(5); + $consulta_clientes = $consulta_clientes->whereDate('fecha_final', $fechaHoy); + //->whereDate('fecha_final', '>=', $fecha5); } $consulta_clientes = $consulta_clientes->with('tarifa', 'promocion', 'cliente') diff --git a/resources/views/livewire/show-clientes.blade.php b/resources/views/livewire/show-clientes.blade.php index 27a8272..af9cd75 100644 --- a/resources/views/livewire/show-clientes.blade.php +++ b/resources/views/livewire/show-clientes.blade.php @@ -11,7 +11,8 @@ {{-- Buscador --}} -