loan remaining added

This commit is contained in:
2024-11-26 01:37:59 +05:00
parent 5d5e269285
commit 8b87f58a0c
9 changed files with 224 additions and 5 deletions

View File

@@ -2,8 +2,6 @@
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class AlertController extends Controller
{
/**
@@ -16,7 +14,7 @@ class AlertController extends Controller
$alerts = $alerstQuery->get();
$alerstQuery->update([
'seen_at' => now()
'seen_at' => now(),
]);
return response()->json($this->format($alerts));