IMMREX7

aku nok ndi : /home/spdtg/www/schoolmis/resources/views/students/
File Up :
aku nok ndi : /home/spdtg/www/schoolmis/resources/views/students/feepaid_royal.blade.php

@extends('students.student_layout')
@section('content')
<div class="row clearfix">
    <div class="col-sm-12">
        <div class="card">
            <div class="header">
                <h2><strong>Paid Data</strong></h2>
            </div>
                <table class="table table-bordered table-striped table-hover dataTable js-exportable">
                    <thead>
                        <tr>
                            <th>Receipt No.</th>
                            <th>Date</th>
                            <th>Ec No.</th>
                            <th>Name</th>
                            <th>Father </th>
                            <th>Mobile</th>
                            <th>Class</th>
                            <th>Section</th>
                            <th>Payment Mode</th>
                            <th>Total Fee</th>
                            <th>Discount</th>
                            <th>Penalty</th>
                            <th>Paid</th>
                            <th>Total Paid</th>
                            <th>Balance</th>
                            <!--<th>Print</th>-->
                            
                        </tr>
                    </thead>
                    <tbody>
                        <?php $i = 1; $totalPaid = 0;?>
                        @foreach($transactions as $var)
                        <tr>
                          <?php  
                            $student = \App\AdmEntry::where('idStudent', '=', $var->idStudent)->first();
                            ?>
                            <td>{{$var->receiptNo}}</td>
                            <td>{{$var->paymentDate}}</td>
                            <td>{{$var->ecNo}}</td>
                            <td>{{$var->firstName}} {{$var->middleName}} {{$var->lastName}}</td>
                            <td>{{$var->father_fname}} {{$var->father_lname}}</td>
                            <td>{{$var->father_mobile}}</td>
                            <td>{{$var->className}}</td>
                            <td>{{$var->sectionName}}</td>
                            <td>{{$var->paymentMode}}</td>
                            <td>{{$feetotal}}</td>
                            <td>{{$var->discount}}</td>
                            <td>{{$var->penaltyAmount + $var->fine}}</td>
                            <td>{{$var->totalPaid}}</td>
                            <?php 
                                    $totalPaid = $totalPaid + $var->totalPaid;
                                    $b = $feetotal - $totalPaid; 
                            ?>
                            <td>{{$totalPaid}}</td>
                            <td>
                                
                                {{$b}}
                            </td>
                            <!--<td><a href="{{url('school/stdtransaction/'.$var->idTransaction.'/print')}}" target="_blank" class="btn btn-sm btn-info">Re-Print</a></td>-->
                        </tr>
                        <?php $i++; ?>
                        @endforeach
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
@stop

Copyright © 2021 - 2025 IMMREX7