This commit is contained in:
lizandrogd
2023-10-07 08:42:57 -05:00
parent 1124b737c6
commit 8e19bd129e
22 changed files with 727 additions and 523 deletions
@@ -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