session->flashdata('success_msg'))) { ?>
× Success! session->flashdata('success_msg'); ?>
session->flashdata('error_msg'))) { ?>
× Failed! session->flashdata('error_msg'); ?>
0) { if (isset($_POST['filter_fee_types']) && !empty($_POST['filter_fee_types'])) { $f_f_types = $_POST['filter_fee_types']; } } // print_r($_POST); ?>
Scholarships
0) { $sql = "SELECT s.id as section_id,s.section_name FROM course_sections cs JOIN section s ON s.id=cs.section_id WHERE cs.course_id='$search_course_id' ORDER BY s.id DESC"; $section_list = $this->Admin_model->get_query_result($sql); ?>
0) { // var_dump($selected_feetype); ?>
'; // var_dump($selected_fee_types); if (isset($selected_fee_types) && !empty($selected_fee_types)) { if (isset($selected_fee_types) && !empty($selected_fee_types)) { // Check if the fee type is trapnsport or monthly $fees = json_decode($selected_fee_types[0]['fees_name']); if (in_array(8, $f_f_types) || in_array(4, $f_f_types) || in_array(5, $f_f_types)) { ?> '; // var_dump($students); $sno = 1; if (isset($students) && !empty($students)) { // echo '
';
                                                    // print_r($students);
                                                    foreach ($students as $svalue) {

                                                        if ($svalue['scholarship'] != null) {
                                                            $scholarshipFee = $svalue['scholarship'];
                                                        }
                                                ?>
                                                        
'; var_dump($svalue['scholarship']); $scholarshipFee = $svalue['scholarship']; } // var_dump($scholarshipFee); ?> 0) { foreach ($scholarshipFee as $sf_key => $sf_value) { var_dump($sf_value['scholarship_amount']); array_push($scholarShipAmountArray, $sf_value['scholarship_amount']); array_push($scholarShipPercentageArray, $sf_value['scholarship_discount']); } } else { echo 'Not'; } $scholarShipAmountArray = array_unique($scholarShipAmountArray); $scholarShipPercentageArray = array_unique($scholarShipPercentageArray); $scholarShipAmount = count($scholarShipAmountArray) > 0 ? $scholarShipAmountArray[0] : ''; $scholarShipPercentage = count($scholarShipPercentageArray) > 0 ? $scholarShipPercentageArray[0] : ''; ?>
Student Id Student Name Section Scholarship Type Scholarship
'; $sTypes = []; if ($svalue['scholarship'] != null) { foreach ($svalue['scholarship'] as $ss_value) { if (isset($ss_value['scholarship_type']) && ($ss_value['scholarship_type'] != null)) { array_push($sTypes, $ss_value['scholarship_type']); } } $sTypes = array_unique($sTypes); } // var_dump($sTypes); ?> _' placeholder="In Percentage (%)" value= />
_' placeholder="In Rs." value= />
_' placeholder="In Percentage (%)" value='' />
_' placeholder="In Rs." value='' />
$s_value) { if ($s_value['id'] == $scholarshipFee['scholarship_type']) { echo '

*

'; } ?>
Fee Not Assigned