<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Fee Definition Report(Student Wise)</title>
    <?php echo $__env->make('backend.pdf.layouts.css', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</head>
<body >
<?php echo $__env->make('backend.pdf.layouts.report-header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<main>


    <table class="table" width="100%" cellspacing="0">
        <thead>
        <tr>
        	<th style="text-align: left;" width="15%"><?php echo e(_lang('SL#')); ?></th>
        	<th style="text-align: left;" width="35%"><?php echo e(_lang('Student Information')); ?></th>
            <th style="text-align: left;" width="15%"><?php echo e(_lang('Father Name')); ?></th>
            <th style="text-align: left;" width="15%"><?php echo e(_lang('Amount')); ?></th>
        </tr>
        </thead>
        <tbody>
        	<?php if(count($studentFeeAssign) > 0): ?>
            <?php $grand_total = 0; ?>

            <?php $__currentLoopData = $studentFeeAssign; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $student): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php $grand_total += $student->amount; ?>
                <tr>
                    <td style="text-align: left;"><?php echo e($key + 1); ?></td>
                    <td style="text-align: left;"><?php echo e($student->first_name); ?> - <?php echo e($student->class_name); ?> - <?php echo e($student->section_name); ?></td>
                    <td style="text-align: left;"><?php echo e($student->father_name); ?></td>
                    <td style="text-align: left;"><?php echo e(number_format($student->amount, 2)); ?></td>
                </tr>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <tr>
                <td colspan="3" style="text-align: right; font-weight: bold;">Grand Total:</td>
                <td style="text-align: left; font-weight: bold;"><?php echo e(number_format($grand_total, 2)); ?></td>
            </tr>
            <?php endif; ?>

        </tbody>
    </table>


</main>
<?php echo $__env->make('backend.pdf.layouts.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</body>
</html><?php /**PATH C:\htdocs\hostel\resources\views/backend/pdf/reports/fee_definition_student_wise.blade.php ENDPATH**/ ?>