update
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user