IMMREX7
<?php $__env->startSection('content'); ?>
<style>
label{
font-size: 11px;
color: #6572b8;
font-weight: 500;
}
</style>
<div class="row clearfix">
<div class="col-lg-12 col-sm-12">
<div class="card">
<div class="header">
<h2><strong>Transfer Form</strong></h2>
<a class="btn btn-raised btn-primary btn-round waves-effect" style="float: right;" href="javascript:void(0)" onclick="submitTransferForm()">Print Form</a>
</div>
<div class="body">
<p style="font-size:18px;"><b><u>SCHOOL LEAVING CERTIFICATE FORM</u></b></p>
<?php echo Form::open(['url' => 'school/transfer-data', 'class' => 'form-horizontal', 'id'=>'transfer-form']); ?>
<input type="hidden" value="<?php echo e($id); ?>" name="idStudent"/>
<div class="row clearfix form-group">
<div class="col-md-3">
<label>Student ID No.</label>
<input type="text" class="form-control" name="student_id" <?php if($saved != null): ?> value="<?php echo e($saved->student_id); ?>" <?php endif; ?>>
</div>
<div class="col-md-3">
<label>UID No.</label>
<input type="text" class="form-control" name="udise_no" <?php if($saved != null): ?> value="<?php echo e($saved->udise_no); ?>" <?php endif; ?>>
</div>
<div class="col-md-4">
<label>Gen. Reg No.</label>
<input type="text" class="form-control" name="affiliation_no" <?php if($saved != null): ?> value="<?php echo e($saved->affiliation_no); ?>" <?php endif; ?>>
</div>
<div class="col-md-4">
<label>Sr No.</label>
<input type="text" class="form-control" name="book_no" <?php if($saved != null): ?> value="<?php echo e($saved->book_no); ?>" <?php endif; ?>>
</div>
<div class="col-md-4">
<label>Index No.</label>
<input type="text" class="form-control" name="school_code" <?php if($saved != null): ?> value="<?php echo e($saved->school_code); ?>" <?php endif; ?>>
</div>
<div class="col-md-4" style="margin-top:20px;">
<label>Name of Pupil</label>
<input type="text" class="form-control" name="name_of_pupil" <?php if($saved != null): ?> value="<?php echo e($saved->name_of_pupil); ?>" <?php else: ?> value="<?php echo e($student->firstName . " " . $student->middleName . " " . $student->lastName); ?>" <?php endif; ?>>
</div>
<div class="col-md-4" style="margin-top:20px;">
<label>Mother’s Name</label>
<input type="text" class="form-control" name="mother_name" <?php if($saved != null): ?> value="<?php echo e($saved->mother_name); ?>" <?php else: ?> value="<?php echo e($student->mother_fname . " " . $student->mother_lname); ?>" <?php endif; ?>>
</div>
<div class="col-md-4" style="margin-top:20px;">
<label>Father’s / Guardian’s Name</label>
<input type="text" class="form-control" name="father_name" <?php if($saved != null): ?> value="<?php echo e($saved->father_name); ?>" <?php else: ?> value="<?php echo e($student->father_fname ." ". $student->father_lname); ?>"<?php endif; ?> >
</div>
<div class="col-md-6" style="margin-top:20px;">
<label>Date of Birth (in Christian Era) according to Admission & Withdrawal Register (in Figures)</label>
<input type="date" class="form-control" name="dob_figures" <?php if($saved != null): ?> value="<?php echo e(\Carbon\Carbon::parse($saved->dob_figures)->format('Y-m-d')); ?>" <?php else: ?>
<?php if($student->studentDob != null): ?> value="<?php echo e(\Carbon\Carbon::parse($student->studentDob)->format('Y-m-d')); ?>" <?php endif; ?> <?php endif; ?>>
</div>
<?php
$dob = \Carbon\Carbon::parse($student->studentDob)->format('d.F.Y');
$pieces = explode(".", $dob);
?>
<div class="col-md-6" style="margin-top:20px;">
<label>Date of Birth (in Words)</label>
<input type="text" class="form-control" name="dob_words" <?php if($saved != null): ?> value="<?php echo e($saved->dob_words); ?>" <?php else: ?> value="<?php if(count($pieces) > 1): ?> <?php echo e(str_replace("only","",figToWordDob($pieces[0]))); ?> <?php echo e($pieces[1]); ?> <?php echo e(str_replace("only","",figToWordDob($pieces[2]))); ?> <?php endif; ?>" <?php endif; ?>>
</div>
<div class="col-md-2" style="margin-top:20px;">
<label>Nationality</label>
<input type="text" class="form-control" name="nationality" <?php if($saved != null): ?> value="<?php echo e($saved->nationality); ?>" <?php else: ?> value="Indian" <?php endif; ?>>
</div>
<div class="col-md-2" style="margin-top:20px;">
<label>Mother Tongue</label>
<input type="text" class="form-control" name="belongs_sc_st_obc" <?php if($saved != null): ?> value="<?php echo e($saved->belongs_sc_st_obc); ?>" <?php else: ?> value="<?php echo e($student->belongs_sc_st_obc); ?>" <?php endif; ?>>
</div>
<div class="col-md-2" style="margin-top:20px;">
<label>Religion</label>
<input type="text" class="form-control" name="general_conduct" <?php if($saved != null): ?> value="<?php echo e($saved->general_conduct); ?>" <?php endif; ?>>
</div>
<div class="col-md-4" style="margin-top:20px;">
<label>Caste and sub-caste</label>
<input type="text" class="form-control" name="first_admission_date_class" <?php if($saved != null): ?> value="<?php echo e($saved->first_admission_date_class); ?>" <?php endif; ?>>
</div>
<div class="col-md-4" style="margin-top:20px;">
<label>Place of Birth</label>
<input type="text" class="form-control" name="last_exam_result" <?php if($saved != null): ?> value="<?php echo e($saved->last_exam_result); ?>" <?php else: ?> value="<?php echo e($student->studentPob); ?>" <?php endif; ?>>
</div>
<div class="col-md-4" style="margin-top:20px;">
<label>Tal.</label>
<input type="text" class="form-control" name="promotion_class_figures" <?php if($saved != null): ?> value="<?php echo e($saved->promotion_class_figures); ?>" <?php endif; ?>>
</div>
<div class="col-md-4" style="margin-top:20px;">
<label>District</label>
<input type="text" class="form-control" name="extra_curricular" <?php if($saved != null): ?> value="<?php echo e($saved->extra_curricular); ?>" <?php endif; ?>>
</div>
<div class="col-md-4" style="margin-top:20px;">
<label>State</label>
<input type="text" class="form-control" name="dues_paid_upto" <?php if($saved != null): ?> value="<?php echo e($saved->dues_paid_upto); ?>" <?php endif; ?>>
</div>
<div class="col-md-4" style="margin-top:20px;">
<label>Country</label>
<input type="text" class="form-control" name="fee_concession" <?php if($saved != null): ?> value="<?php echo e($saved->fee_concession); ?>" <?php endif; ?>>
</div>
<div class="col-md-3" style="margin-top:20px;">
<label>Last School Attended</label>
<input type="text" class="form-control" name="last_class_figures" <?php if($saved != null): ?> value="<?php echo e($saved->last_class_figures); ?>" <?php else: ?> value="<?php echo e($student->lastSchool); ?>" <?php endif; ?>>
</div>
<div class="col-md-4" style="margin-top:20px;">
<label>Date of Admission</label>
<input type="date" class="form-control" name="application_date" <?php if($saved != null): ?> value="<?php echo e(\Carbon\Carbon::parse($saved->application_date)->format('Y-m-d')); ?>" <?php endif; ?>>
</div>
<div class="col-md-3" style="margin-top:20px;">
<label>Progress</label>
<input type="text" class="form-control" name="last_class_words" <?php if($saved != null): ?> value="<?php echo e($saved->last_class_words); ?>" <?php else: ?> value="GOOD" <?php endif; ?>>
</div>
<div class="col-md-6" style="margin-top:20px;">
<label>Conduct</label>
<input type="text" class="form-control" name="ncc_scout_guide" <?php if($saved != null): ?> value="<?php echo e($saved->ncc_scout_guide); ?>" <?php else: ?> value="GOOD" <?php endif; ?>>
</div>
<div class="col-md-4" style="margin-top:20px;">
<label>Date of leaving school</label>
<input type="date" class="form-control" name="certificate_issue_date" <?php if($saved != null): ?> value="<?php echo e(\Carbon\Carbon::parse($saved->certificate_issue_date)->format('Y-m-d')); ?>" <?php endif; ?>>
</div>
<div class="col-md-6" style="margin-top:20px;">
<label>Standard in which Studying and since when (in words & Figures) </label>
<input type="text" class="form-control" name="promotion_class_words" <?php if($saved != null): ?> value="<?php echo e($saved->promotion_class_words); ?>" <?php else: ?> value="<?php echo e($student->className); ?>" <?php endif; ?>>
</div>
<div class="col-md-4" style="margin-top:20px;">
<label>Reasons for leaving the school</label>
<input type="text" class="form-control" name="reason_for_leaving" <?php if($saved != null): ?> value="<?php echo e($saved->reason_for_leaving); ?>" <?php endif; ?>>
</div>
<div class="col-md-12" style="margin-top:20px;">
<label>Remarks</label>
<textarea class="form-control" name="remarks" rows="2"><?php if($saved != null): ?> <?php echo e($saved->remarks); ?> <?php endif; ?></textarea>
</div>
</div>
<div class="row clearfix">
<div class="col-sm-3">
<?php echo Form::submit('SAVE',['class' => 'btn btn-raised btn-primary btn-round waves-effect']); ?>
<?php echo Form::close(); ?>
</div>
</div>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
<script>
function submitTransferForm() {
const $form = $('#transfer-form');
if ($form.length) {
$form.submit();
console.log('Form with ID "transfer-form" submitted programmatically using jQuery.');
}
}
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('schools.school_layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
Copyright © 2021 -