?
Current Path : /home1/savoy/public_html/oscarerp.com/application/views/master/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/oscarerp.com/application/views/master/term_academic_details.php |
<?php $this->load->view('documentreadyfunctions'); ?> <style> #month_payment_list select{ width: 100px; } </style> <div class="grid_12" > <div class="box"> <div class="content no-padding"> <div class="header main">Fee Details</div> <?php $fee_particular = $this->mastermodel->getdatas('fee_particular'); $no_of_days = $this->mastermodel->getdatas('no_sessions'); ?> <table class="table" id="student_tb"> <tr> <th>Fee particular</th> <th>Term Fee Amount</th> <th>Monthly Fee Amount</th> <th>No Of Days</th> <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th> </tr> <tr> <td> <select id="fee_particular_id" name="fee_particular_id" class="chzn-done valid required"> <option value="">Select</option> <?php foreach ($fee_particular as $list) { echo '<option value="' . $list['fee_particular_id'] . '">' . $list['fee_particular_name'] . '</option>'; } ?> </select> </td> <td> <input type="text" name="fee_term_amount" id="fee_term_amount" class="num_only" /> </td> <td> <input type="text" name="fee_month_amount" id="fee_month_amount" class="num_only" /> </td> <td> <select id="fee_term_no_of_days" name="fee_term_no_of_days" class="chzn-done valid"> <option value="">Select</option> <?php foreach ($no_of_days as $list) { echo '<option value="' . $list['no_sessions'] . '">' . $list['no_sessions'] . '</option>'; } ?> </select> </td> <td> <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/> </td> </tr> </table> <div class="section _100"> <label>Due Dates (for Term)</label> <div> <input type="text" style="width: 150px;" class="required calfocus" name="fee_term_due_date" id="fee_term_due_date"/> </div> </div> <div class="section _100"> <label>Due Dates (for monthly)</label> <div id="month_payment_list"> <?php $start = $term_academic_details->term_start_date; $end = $term_academic_details->term_end_date; $dt = $term_academic_details->term_start_date; $options = " <select> <option></option> </select> "; while (strtotime($dt) <= strtotime($end)) { $month = date('m', strtotime($dt)); $year = date('Y', strtotime($dt)) ?> <label style="float:left;width:80px;"><?= date('M Y', strtotime($dt)) ?></label> <select name="month_date[]" class="required chzn-done" style="width: 50px;clear: right;float: left;margin-bottom:10px;"> <?php for ($i = 1; $i <= $num = cal_days_in_month(CAL_GREGORIAN, $month, $year); $i++) { $day = str_pad($i, 2, 0, STR_PAD_LEFT) ?> <option value="<?= $year . '-' . $month . '-' . $day ?>"><?= $day ?></option> <?php } ?> </select> <div class="clear"></div> <?php $dt = date('Y-m-01', strtotime("+1 months", strtotime($dt))); } //echo $end; //echo date('Y-m', strtotime("+1 months", strtotime("09-12-1989"))) ?> </div> </div> </div> </div> </div> <div class="grid_12" > <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset" /> <input type="hidden" name="tab_name" value="fee_term"/> <input type="hidden" name="resfunction" value="search_fee_term"/> </div> <div class="actions-right"> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </div> </div> </div> </div>