Report Details
'; // print_r($studentlist); $sno = 1; $colTotalFeeAmt = array(); foreach ($studentlist as $student) { // echo '
';
                                            // var_dump($student);
                                            $tdCnt = 4;



                                            $totalPaid = 0;
                                    ?>
                                            
$sf_value) { // print_r($sf_value); if (isset($student['fees'][$sf_value['id']])) { if ($student['fees'][$sf_value['id']] != 0) { array_push($totalFeeAmt, $student['fees'][$sf_value['id']]['paid_amount']); // echo '
';
                                                                // dd($student['fees']);
                                                                $rowpaidAmt = ($rowpaidAmt + ($student['fees'][$sf_value['id']]['paid_amount']));
                                                                $rowdidAmt = ($rowdidAmt + ($student['fees'][$sf_value['id']]['deducted_amount']));
                                                                $rowdueAmt = ($rowdueAmt + ($student['fees'][$sf_value['id']]['pending_amount']));
                                                                $rowFineAmt = ($rowFineAmt + ($student['fees'][$sf_value['id']]['fine_amount']));

                                                                $rowtotalAmt = (($rowpaidAmt + $rowdueAmt));

                                                                $paidAmount = $student['fees'][$sf_value['id']]['paid_amount'];
                                                            } else {
                                                                array_push($totalFeeAmt, 0);

                                                                $paidAmount = 0;
                                                            }
                                                        } else {
                                                            array_push($totalFeeAmt, 0);

                                                            $paidAmount = 'N.A';
                                                        }

                                                ?>
                                                        
$sfl_value) { // $t_fee_amount = 0; // foreach ($colTotalFeeAmt as $ctfa_key => $ctfa_value) { // if ($ctfa_key == $sfl_key) { // $t_fee_amount = // $t_fee_amount + $ctfa_value[$ctfa_key]; // echo '
';
                                                //         print_r($ctfa_value[$ctfa_key]);
                                                //     } else {
                                                //         $t_fee_amount = 0;
                                                //     }

                                        ?>
                                                
S.No Roll No Student Name Section Diduction Amount Fine Amount Total Assigned Amount Paid Amount Due Amount
In