IMMREX7
<?php $__env->startSection('content'); ?>
<?php $isCollectionAllowed = "N";?>
<div role="tabpanel" class="tab-pane in active" id="details" aria-expanded="true">
<div class="card" id="details">
<div class="body">
<div class="row">
<div class="col-sm-11 col-sm-offset-1">
<a class="btn btn-raised btn-primary btn-round waves-effect" href="<?php echo e(url('/school/registered-students')); ?>" style="float:right;">View Registered Students</a>
<address>
<strong> Student Name : </strong><?php echo e($reg_student->firstName); ?> <?php echo e($reg_student->middleName); ?> <?php echo e($reg_student->lastName); ?><br>
<strong> Father Name : </strong><?php echo e($reg_student->father_fname); ?> <?php echo e(isset($reg_student->father_lname) ? $reg_student->father_lname : ''); ?><br>
<strong> Mobile : </strong><?php echo e($reg_student->father_mobile); ?><br>
<strong> Registration No. : </strong><?php echo e($reg_student->registrationNo); ?><br>
<?php $class = \App\ClassM::where('idSchool', '=', Auth::guard('school')->user()->idSchool)->where('idClass',$reg_student->idClass)->first(); ?>
<?php if($class != null): ?>
<strong> Admission For Class : </strong><?php echo e($class->className); ?><br>
<?php endif; ?>
</address>
</div>
</div>
<div class="mt-40"></div>
<?php if($school->admissionFee > 0): ?>
<div class="row">
<div class="col-sm-12">
<div class="table-responsive">
<?php echo Form::open(['url' => 'school/update-regpaystatus', 'class' => 'form-horizontal','method'=>'POST']); ?>
<input type="hidden" name="idRegistration" value="<?php echo e($reg_student->idRegistration); ?>"/>
<table class="table table-hover">
<thead>
<tr>
<th></th>
<th>Particular</th>
<th>Amount</th>
<th>Amount Collected</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<input type="checkbox" value="" class="feeclass" disabled="disabled" checked="checked">
</td>
<td>Registration Fee</td>
<td>
<?php echo e($school->admissionFee); ?>
</td>
<td>
<?php if($reg_student->paymentStatus == "Paid"): ?> <?php echo e($reg_student->admissionFee); ?> <?php else: ?> 0.00 <?php endif; ?>
</td>
<td>
<?php if($reg_student->paymentStatus == "Paid"): ?>
<span class="badge badge-success">Paid </span>
<?php else: ?>
<span class="badge badge-danger">DUE</span>
<?php endif; ?>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<?php endif; ?>
<hr>
<div class="row">
<div class="col-md-5">
<div class="row clearfix">
<div class="col-sm-5 form-control-label">
<label for="classname">Payment Date</label>
</div>
<div class="col-sm-6">
<div class="form-group">
<input type="text" name="paymentDate" class="form-control datepicker" id="payment_date">
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-sm-5 form-control-label">
<label for="classname">Pay Amount</label>
</div>
<div class="col-sm-6">
<div class="form-group">
<input type="text" name="totalPaid" class="form-control" onkeypress = 'return onlyNumbersandSpecialChar(event)'
<?php if($school->admissionFee > 0): ?> value="<?php echo e($school->admissionFee); ?>"
readonly <?php endif; ?>>
<?php if($errors->has('totalPaid')): ?>
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong><?php echo e($errors->first('totalPaid')); ?></strong>
</label>
<?php endif; ?>
<span id='totalerror'></span>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-sm-5 form-control-label">
<label for="classname">Select Payment Mode</label>
</div>
<div class="col-sm-6">
<div class="form-group">
<?php echo Form::select('paymentMode',[''=>'--Select Mode --','Cash'=>'Cash','Online'=>'Online','Bank Transfer'=>'Bank Transfer'],null,['class' => 'form-control show-tick ms paymentMode','id'=>'paymode']); ?>
</div>
</div>
</div>
</div>
<div class="col-md-6 text-right">
<p class="m-b-0"><b>Fee Total: </b><span id='total_fee'><?php if($school->admissionFee > 0): ?><?php echo e($school->admissionFee); ?><?php endif; ?></span>
</p>
<p class="m-b-0">
<b>Discount: </b>
<span id='total_discount'></span>
0
</p>
<p class="m-b-0">
<b>Additional Amount: </b> 0
</p>
<p class="m-b-0">
<b>Fine: </b>
0
</p>
<p class="m-b-0"><b>Excess Amount : </b>0
</p>
<p class="m-b-0"><b>Fine Amount : </b>0
</p>
<p class="m-b-0"><b>Total Paid: </b>
<span id='total_paid'>
<?php if($reg_student->paymentStatus == "Paid"): ?> <?php echo e($reg_student->admissionFee); ?> <?php else: ?> 0.00 <?php endif; ?>
</span>
</p>
</div>
</div>
<hr>
<?php if($reg_student->paymentStatus != "Paid"): ?>
<div class="hidden-print col-md-12 text-right">
<button class="btn btn-primary btn-round" id='submit-btn'>Submit</button>
</div>
<?php endif; ?>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('schools.school_layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
Copyright © 2021 -