This commit is contained in:
lizandrogd
2023-10-07 22:07:02 -05:00
parent 8821601b4b
commit bbe3bae7e9
2 changed files with 26 additions and 9 deletions
+3 -3
View File
@@ -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')