403Webshell
Server IP : 54.233.248.239  /  Your IP : 172.28.1.13
Web Server : Apache
System : Linux ip-172-28-29-189 6.5.0-1014-aws #14~22.04.1-Ubuntu SMP Thu Feb 15 15:27:06 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.2.34-43+ubuntu22.04.1+deb.sury.org+1
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,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/vinumday2_0/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/vinumday2_0/storage/framework/views/7878841c3808432e1e14177d1c888915a361edcb.php
<?php if ($listaOfertas) { ?>
	<table class="table table-bordered table-striped">
		<tr>
			<th width="15%"><a href="javascript:void(0)" data-url="<?php echo e(Order::url('oferta.titulo')); ?>" class="sorting">Nome</a></th>
			<th width="7%"><a href="javascript:void(0)" data-url="<?php echo e(Order::url('canal_has_oferta.ordenacao')); ?>" class="sorting">Ordenação</a></th>
			<th width="7%"><a href="javascript:void(0)" data-url="<?php echo e(Order::url('canal_has_oferta.data_inicial')); ?>" class="sorting">Data Inicial</a></th>
			<th width="7%"><a href="javascript:void(0)" data-url="<?php echo e(Order::url('canal_has_oferta.data_final')); ?>" class="sorting">Data Final</a></th>
			<th width="9%"><a href="javascript:void(0)" data-url="<?php echo e(Order::url('oferta.preco_oferta')); ?>" class="sorting">Preço de Venda</a></th>
			<th width="9%"><a href="javascript:void(0)" data-url="<?php echo e(Order::url('oferta.preco_custo')); ?>" class="sorting">Preço de Custo</a></th>
			<th width="9%"><a href="javascript:void(0)" data-url="<?php echo e(Order::url('oferta.percentual_desconto')); ?>" class="sorting">% Desconto</a></th>
			<th width="7%"><a href="javascript:void(0)" data-url="<?php echo e(Order::url('oferta.estoque')); ?>" class="sorting">Disp. Oferta</a></th>
			<th width="7%">Disp. Produto</th>
			<th width="7%"></th>
		</tr>
		<?php foreach ($listaOfertas as $objOferta):  ?>
				<tr class="produto__row">
					<td class="produto__nome">
						<input type="hidden" name="oferta-checkbox[]" value="<?php echo $objOferta->id; ?>"/>
						
						<span><a data-slug="<?php echo e($objOferta->slug); ?>" class="open-offer" href="<?php echo e(url('admin/oferta/edit/'.$objOferta->slug)); ?>"><?php echo $objOferta->titulo.' '.$objOferta->sub_titulo; ?></a></span><br/>
					</td>

					<td>
						<input type="number" class="form-control" name="oferta-ordenacao[]" value="<?php echo $objOferta->ordenacao; ?>">
					</td>

					<td>
						<input type="date" class="form-control" name="oferta-data-inicial[]" value="<?php echo $objOferta->data_inicial; ?>">
					</td>

					<td>
						<input type="date" class="form-control" name="oferta-data-final[]" value="<?php echo $objOferta->data_final; ?>"/>
					</td>

					<td><input type="number" disabled class="form-control" name="oferta-preco-oferta[]" value="<?php echo $objOferta->preco_oferta; ?>"/></td>

					<td><input type="number" disabled class="form-control" name="oferta-preco-custo[]" value="<?php echo $objOferta->preco_custo; ?>"/></td>

					<td><input type="number" disabled class="form-control" name="oferta-percentual-desconto[]" value="<?php echo $objOferta->percentual_desconto; ?>"/></td>

					<td>
						<input type="number" disabled class="form-control" name="oferta-estoque[]" value="<?php echo $objOferta->estoque; ?>"/>
					</td>

					<td>
						<?php if(isset($objOferta->produtos) && count($objOferta->produtos) == 1): ?>
						<input type="number" disabled class="form-control" name="oferta-disponibilidade[]" id="disponibilidade_oferta_<?php echo e($objOferta->id); ?>" value="<?php echo e($objOferta->produtos[0]->produto->disponibilidade); ?>"/>
						<?php endif; ?>
					</td>
					
					<td>
						<?php if(isset($objOferta->produtos) && count($objOferta->produtos) == 1): ?>
						<button type="button" data-id="<?php echo $objOferta->id; ?>" data-produto-id="<?php echo ((isset($objOferta->produtos) && count($objOferta->produtos) == 1) ? $objOferta->produtos[0]->produto->id : 0); ?>" class="btn btn-sm btn-success atualizarSaldos" style="margin-bottom: 5px;" title="Atualizar Saldos"><i class="fa fa-fw fa-sync"></i></button>
						<?php endif; ?>
						<button type="button" data-id="<?php echo $objOferta->id; ?>" class="btn btn-sm btn-danger removeOferta" title="Excluir Oferta"><i class="fa fa-trash fa-fw"></i></button>
					</td>
				</tr>
			<?php endforeach ?>
	</table>
<?php } ?>
	
<script type="text/javascript">
	
	$(document).ready(function(){

		$('.sorting').click(function(){
			var url = $(this).data('url');
			listaOfertas(url);
		});

	});

</script>

Youez - 2016 - github.com/yon3zu
LinuXploit