<?php namespace App\Http\Controllers\Student; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\SmStudent; use App\SmFeesAssign; use App\SmFeesAssignDiscount; use App\SmStudentDocument; use App\SmStudentTimeline; use App\SmExamSchedule; use App\SmExamScheduleSubject; use App\SmClass; use App\SmSection; use App\SmClassRoutine; use App\SmStudentAttendance; use App\SmAssignSubject; use App\SmAssignVehicle; use App\SmVehicle; use App\SmRoute; use App\SmRoomList; use App\SmRoomType; use App\SmDormitoryList; use App\SmMarksGrade; use App\SmHomework; use Auth; class SmStudentPanelController extends Controller { public function studentDashboard(){ $user = Auth::user(); $student_detail = SmStudent::where('user_id', $user->id)->first(); $siblings = SmStudent::where('parent_id', $student_detail->parent_id)->where('active_status', 1)->get(); ...
Comments
Post a Comment