IMMREX7

aku nok ndi : /home/spdtg/www/schoolmis/resources/views/schools/admentries/
File Up :
aku nok ndi : /home/spdtg/www/schoolmis/resources/views/schools/admentries/viewstudent.blade.php

@extends('schools.school_layout')
@section('content')
<div class="row clearfix">
    <div class="col-sm-12">
        
        <div class="card member-card" style="margin-bottom:10px;">
            
            <div class="member-img">
                <a href="#" class="">
                    <img src="{{ asset('storage/schools/'.$student->idSchool.'/students/'.$student->photo)}}" class="rounded-circle">

                </a>
            </div>
            <div class="">
                <h4 class="m-t-10">{{$student->firstName}} {{$student->middleName}} {{$student->lastName}}</h4>
            </div>
            <div class="body">
                <div class="col-12">
                    <p class="text-muted">EC No. {{$student->ecNo}}</p>
                    <p class="text-muted">Admission No. {{$student->admissionNo}}</p>
                </div>
                <hr>

            </div>

        </div>
    </div>
</div>

<div class="row clearfix">
    <div class="col-4">
        <p style="margin-bottom: 0px;"><strong>Basic Information</strong></p>
        <div class="card">
            <div class="tab-content">
                <div class="tab-pane body active" id="about">
                    <small class="text-muted"><strong>Full Name : {{$student->firstName}} {{$student->middleName}} {{$student->lastName}} </strong></small>
                    <hr>
                    <small class="text-muted"><strong>Class   :  {{$student->classM->className}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Section  :  {{$student->section->sectionName}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Type :  {{$student->studentType}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Blood Group: {{$student->bloodGroup}}</strong> </small>
                    <hr>
                    <small class="text-muted"><strong>DOB :  {{$student->studentDob}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Gender :  {{$student->gender}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>@if($school->idCountry == 1) Aadhaar No. @else QID @endif :  {{$student->aadhaarNo}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Religion :  {{$student->religion}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Mother Tounge :  {{$student->motherTounge}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Student @if($school->idCountry == 1) UID @else QID @endif :  {{$student->studentUID}}</strong></small>
                    <hr>
                    @if($school->idCountry == 2)
                    <small class="text-muted"><strong>QID Expiry:  {{$student->qid_expiry}}</strong></small>
                    <hr>
                    @endif
                    <small class="text-muted"><strong>Saral No :  {{$student->saralNo}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>GR No :  {{$student->grNo}}</strong></small>
                    <hr>
                    <?php 
                        $otherDetails = DB::table('student-registration')->select('religion','nationality','marital','subcaste','caste','belong_state','motherTounge','idFinancialYear')->where('registrationNo',$student->registrationNo)->first();
                    ?>
                    @if($otherDetails != null)

                    @if(isset($otherDetails->nationality))
                        <small class="text-muted"><strong>Nationality :  {{$otherDetails->nationality}}</strong></small>
                        <hr>
                    @endif

                    @if(isset($otherDetails->marital))
                        <small class="text-muted"><strong>Marital Status :  {{$otherDetails->marital}}</strong></small>
                        <hr>
                    @endif

                    @if(isset($otherDetails->caste))
                        <small class="text-muted"><strong>Caste :  {{$otherDetails->caste}}</strong></small>
                        <hr>
                    @endif

                    @if(isset($otherDetails->subcaste))
                        <small class="text-muted"><strong>Caste :  {{$otherDetails->subcaste}}</strong></small>
                        <hr>
                    @endif

                    @if(isset($otherDetails->belong_state))
                        <small class="text-muted"><strong>State (Which I Belong) :  {{$otherDetails->belong_state}}</strong></small>
                        <hr>
                    @endif

                    @if(isset($otherDetails->idFinancialYear))
                        <?php 
                            $fy = DB::table('financial_years')->select('financialYearName')->where('idFinancialYear',$otherDetails->idFinancialYear)->first();
                        ?>
                        @if($fy != null)
                        <small class="text-muted"><strong>Session Applied For :  {{$fy->financialYearName}}</strong></small>
                        @endif
                    @endif

                    @endif
                </div>

            </div>
        </div>
    </div>
    <div class="col-4">
        <p style="margin-bottom: 0px;"><strong>Parents Details</strong></p>
        <div class="card">
            <div class="tab-content">
                <div class="tab-pane body active" id="about">
                    <small class="text-muted"><strong>Father Name : {{$student->father_fname}} {{$student->father_lname}} </strong></small>
                    <hr>
                    <small class="text-muted"><strong>Father Qualification   :  {{$student->father_qualification}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Father Occupation   :  {{$student->father_occupation}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Father Designation   :  {{$student->father_designation}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Father Mobile  :  {{$student->father_mobile}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Father Email  :  {{$student->father_email}}</strong></small>
                    <hr>
                    @if($school->idCountry == 2)
                    <small class="text-muted"><strong>Passport Number:  {{$student->father_panno}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Passport Issued Country:  {{$student->father_telephone}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>QID :  {{$student->father_aadhaar}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>QID Expiry :  {{$student->qid_expiry_father}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Passport Expiry :  {{$student->passport_expiry_father}}</strong></small>
                    <hr>
                    @endif
                    <small class="text-muted"><strong>Mother Name  :  {{$student->mother_fname}} {{$student->mother_lname}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Mother Qualification: {{$student->mother_qualification}}</strong> </small>
                    <hr>
                    <small class="text-muted"><strong>Mother Occupation   :  {{$student->mother_occupation}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Mother Designation   :  {{$student->mother_designation}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Mother Mobile :  {{$student->mother_mobile}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Mother Email  :  {{$student->mother_email}}</strong></small>
                    <hr>
                    @if($school->idCountry == 2)
                    <small class="text-muted"><strong>Passport Number:  {{$student->mother_panno}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Passport Issued Country:  {{$student->mother_telephone}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>QID :  {{$student->mother_aadhaar}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>QID Expiry :  {{$student->qid_expiry_mother}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Passport Expiry :  {{$student->passport_expiry_mother}}</strong></small>
                    <hr>
                    @endif
                </div>

            </div>
        </div>

    </div>

    <div class="col-4">
        <p style="margin-bottom: 0px;"><strong>Details of Last School Attended</strong></p>
        <div class="card">
            <div class="tab-content">
                <div class="tab-pane body active" id="about">
                    <small class="text-muted"><strong>Name of the School : {{$student->lastSchool}}  </strong></small>
                    <hr>
                    <small class="text-muted"><strong>Curriculum/Board   :  {{$student->board}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Percentage  :  {{$student->percentage}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Address  :  {{$student->lastSchoolAddress}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>City: {{$student->lastSchoolCity}}</strong> </small>
                    <hr>
                    <small class="text-muted"><strong>Postal/zipcoode :  {{$student->lastSchoolPincode}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>State :  @if($school->idCountry == 1) {{$student->lastschoolstate->stateName or ''}} @else  {{$student->qatarlastschoolstate->stateName or ''}} @endif</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Telephone :  {{$student->lastSchoolPincode}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Reason for Change :  {{$student->reasonForChange}}</strong></small>
                </div>

            </div>
        </div>

    </div>
</div>
<div class="row clearfix">
    <div class="col-4">
        <p style="margin-bottom: 0px;"><strong>Emergency Contact Information</strong></p>
        <div class="card">
            <div class="tab-content">
                <div class="tab-pane body active" id="about">
                    <small class="text-muted"><strong>Contact Person : {{$student->contactPerson}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Relationship with the Child   :  {{$student->contactPersonRelation}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Telephone  :  {{$student->contactPersonTel}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Mobile :  {{$student->contactPersonMobile}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Address of Contact Person: {{$student->contactPersonAddress}}</strong> </small>
                </div>

            </div>
        </div>
    </div>
    <div class="col-4">
        <p style="margin-bottom: 0px;"><strong>Contact Information:Residential</strong></p>
        <div class="card">
            <div class="tab-content">
                <div class="tab-pane body active" id="about">
                    <small class="text-muted"><strong>@if($school->idCountry == 1) Residential Address @else Area @endif: {{$student->resAddress}}</strong></small>
                    <br>
                    <small class="text-muted"><strong>@if($school->idCountry == 1) City @else Street No @endif : {{$student->resCity}}</strong></small>
                    <hr>
                    @if($school->idCountry == 1)
                    <small class="text-muted"><strong>Postal/Zipcode   :  {{$student->resPincode}}</strong></small>
                    <hr>
                    @endif
                    <small class="text-muted"><strong>@if($school->idCountry == 1) Landmark @else Building and Unit @endif  :  {{$student->landmark}}</strong></small>
                    <hr>
                    <small class="text-muted"><strong>State :  @if($school->idCountry == 1) {{$student->state->stateName or ''}} @else {{$student->stateQatar->stateName or ''}} @endif</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Telephone: {{$student->resTelephone}}</strong> </small>
                    <hr>
                    <p class="m-b-0"></p>
                </div>

            </div>
        </div>
    </div>


    <div class="col-4">
        <p style="margin-bottom: 0px;"><strong>Requirements</strong></p>
        <div class="card">
            <div class="tab-content">
                <div class="tab-pane body active" id="about">
                    @if($school->idCountry == 1)
                    <small class="text-muted"><strong>Do You require food service facility for your child.? : @if($student->food == 'Y') YES @else NO @endif</strong></small>
                    <hr>
                    <small class="text-muted"><strong>Do You require transport service facility for your child.?   :  @if($student->transport == 'Y') YES @else NO @endif</strong></small>
                    <hr>
                    @endif
                    <small class="text-muted"><strong>Has your child identified with any learning disability.?  :  @if($student->learningDisability == 'Y') YES @else NO @endif</strong></small>
                    <hr>
                    
                    <small class="text-muted"><strong>Please specify any requirement if any.? :  {{$student->otherRequirement}}</strong></small>
                    @if($school->idCountry == 2)
                    {{$student->remarks_disabilty}}
                    <hr>
                    @endif
                </div>

            </div>
        </div>
    </div>
</div>
@if(count($student->siblings)>0)
<div class="row clearfix">
    <div class="col-12">
        <p style="margin-bottom: 0px;"><strong>Details of Child's Sibling</strong></p>
        <div class="card">
            <div class="tab-content">
                <div class="tab-pane body active" id="about">
                    <table class="table table-bordered">
                        <thead>
                            <tr>
                                <th>Sibling Name</th>
                                <th>Age</th>
                                <th>Education</th>
                                <th>Name Of The School</th>
                            </tr>
                        </thead>
                        <tbody>
                            @foreach($student->siblings as $sdet)
                            <tr>
                                <td>{{$sdet->fName}} {{$sdet->lName}}</td>
                                <td>{{$sdet->age}}</td>
                                <td>{{$sdet->education}}</td>
                                <td>{{$sdet->schoolName}}</td>
                            </tr>
                            
                            @endforeach
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
@endif
<div class="hidden-print col-md-12 text-right">
    <a href="{{url('/school/print/'.$student->idStudent)}}" target="_blank" class="btn btn-success"><i class="zmdi zmdi-print"> Print </i></a>
</div>
@stop

Copyright © 2021 - 2025 IMMREX7