Silent 6 years ago
parent
commit
1f43f4ae89
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Http/Controllers/TestController.php

+ 2 - 2
app/Http/Controllers/TestController.php

xqd
@@ -15,7 +15,7 @@ class TestController extends Controller
 {
     public function index(Request $request)
     {
-        $check_card = CheckCard::find(10);
-        dd($check_card->getDuration());
+        $student = Student::find(7);
+        dd($student->getTodayCheckCardMinutes());
     }
 }