|
|
|
@ -349,6 +349,8 @@ class AllocationDormitoryBedController extends AdminController
@@ -349,6 +349,8 @@ class AllocationDormitoryBedController extends AdminController
|
|
|
|
|
$speciality_id = $form->speciality_id; |
|
|
|
|
$sex = $form->sex; |
|
|
|
|
$annual_session = $form->annual_session; |
|
|
|
|
$day_student = $form->day_student; |
|
|
|
|
$zero_enrol = $form->zero_enrol; |
|
|
|
|
|
|
|
|
|
$where = [ |
|
|
|
|
"dormitory_type" => $dormitory_type, |
|
|
|
@ -361,6 +363,8 @@ class AllocationDormitoryBedController extends AdminController
@@ -361,6 +363,8 @@ class AllocationDormitoryBedController extends AdminController
|
|
|
|
|
"speciality_id" => $speciality_id, |
|
|
|
|
"sex" => $sex, |
|
|
|
|
"annual_session" => $annual_session, |
|
|
|
|
"day_student" => $day_student, |
|
|
|
|
"zero_enrol" => $zero_enrol, |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
$check = AllocationDormitoryBed::query()->where($where)->count(); |
|
|
|
|