update
This commit is contained in:
@@ -161,8 +161,9 @@
|
||||
$n++;
|
||||
$historiales=false;
|
||||
|
||||
if(now()->gt($cuenta->vencimiento)){
|
||||
$historiales = $cuenta->historiales()->where('fecha_final', '>=', now()->toDateString())->count();
|
||||
if(now()->addDay()->gt($cuenta->vencimiento)){
|
||||
$historiales = $cuenta->historiales()->where('fecha_final', '>', now()->addDay()->toDateString())->count();
|
||||
//var_dump(now()->toDateString(), $historiales);
|
||||
}
|
||||
|
||||
@endphp
|
||||
|
||||
Reference in New Issue
Block a user