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/cbbd57d1f73d3e72a06bd854c40eaee53d6a16e0.php
<?php if(count($vinhos)){ ?>
	<table class="tabela inside">
		<tr>
			<th>Produto</th>
			<th class="text-center hide-mobile">Quant.</th> 
			<th class="text-center hide-desktop">Qtd.</th> 
			<th class="text-right hide-mobile">Preço Unitário</th>
			<th class="text-right hide-mobile">Total Produto</th>
			<th class="text-right hide-desktop">Total</th>
		</tr>
		<?php 
		$total      = 0;
		$quantidade = 0;
		$total_pagamento = floatval($pagamento->total);
		foreach ($vinhos as $oferta): 
			$total      += $oferta->preco_oferta * $oferta->quantidade_no_pedido;
			$quantidade += $oferta->quantidade_no_pedido;
		?>
			<tr>
				<td class="nome-produto hide-mobile">
					<a href="<?php echo url('/oferta/'.$oferta->slug); ?>">
						<?php echo $oferta->titulo; ?> <?php echo $oferta->sub_titulo; ?> 
						<?php if(count($oferta->produtos) == 1 && $oferta->produtos[0]->produto->atributosVariacao): ?>
							<br><?php echo helperMontarAtributos($oferta->produtos[0]->produto->atributosVariacao); ?>
						<?php endif; ?>
					</a>
				</td>
				<td class="nome-produto hide-desktop" width="90%">
					<a href="<?php echo url('/oferta/'.$oferta->slug); ?>">
						<?php echo $oferta->titulo; ?> <?php echo $oferta->sub_titulo; ?> 
						<?php if(count($oferta->produtos) == 1 && $oferta->produtos[0]->produto->atributosVariacao): ?>
							<br><?php echo helperMontarAtributos($oferta->produtos[0]->produto->atributosVariacao); ?>
						<?php endif; ?>
					</a>
				</td>
				<td class="text-center hide-desktop" width="15%"><?php echo number_format($oferta->quantidade_no_pedido,0,'',''); ?> Un.</td>
				<td class="text-center hide-mobile"><?php echo number_format($oferta->quantidade_no_pedido,0,'',''); ?> Un.</td>
				<td class="text-right hide-mobile">R$ <?php echo number_format($oferta->preco_oferta,2,',','.'); ?> </td>
				<td class="text-right hide-mobile">R$ <?php echo number_format($oferta->preco_oferta * $oferta->quantidade_no_pedido,2,',','.'); ?></td>
				<td class="text-right hide-desktop" width="25%">R$ <?php echo number_format($oferta->preco_oferta * $oferta->quantidade_no_pedido,2,',','.'); ?></td>
			</tr>
		<?php endforeach ?>
		<?php if(md5($total + $pagamento->ajuste) != md5($total_pagamento)): ?>
			<tr>
				<td class="nome-produto hide-mobile">Produto(s) indisponível(is)</td>
				<td class="nome-produto hide-desktop" width="90%">Produto(s) indisponível(is)</td>
				<td class="text-center hide-desktop" width="15%"></td>
				<td class="text-center hide-mobile"></td>
				<td class="text-right hide-mobile"></td>
				<td class="text-right hide-mobile">R$ <?php echo number_format($pagamento->total - $total,2,',','.'); ?></td>
				<td class="text-right hide-desktop" width="25%">R$ <?php echo number_format($pagamento->total - $total,2,',','.'); ?></td>
			</tr>
		<?php endif; ?>

		<?php if($pagamento->ajuste != "0"): ?>
			<tr>
				<td class="nome-produto hide-mobile">Desconto<?php echo ($pagamento->contaCorrente && $pagamento->contaCorrente->tipo_movimento == 'S' ? ' (Cashback)' : '')?></td>
				<td class="nome-produto hide-desktop" width="90%">Desconto<?php echo ($pagamento->contaCorrente && $pagamento->contaCorrente->tipo_movimento == 'S' ? ' (Cashback)' : '')?></td>
				<td class="text-center hide-desktop" width="15%"></td>
				<td class="text-center hide-mobile"></td>
				<td class="text-right hide-mobile"></td>
				<td class="text-right hide-mobile">R$ <?php echo number_format($pagamento->ajuste,2,',','.'); ?></td>
				<td class="text-right hide-desktop" width="25%">R$ <?php echo number_format($pagamento->ajuste,2,',','.'); ?></td>
			</tr>
		<?php endif; ?>

		<?php if(isset($saldo_expirado) && $saldo_expirado == 1): ?>
			<tr>
				<td class="nome-produto hide-mobile" style="color: red">Cashback Expirado</td>
				<td class="nome-produto hide-desktop" width="90%" style="color: red">Cashback Expirado</td>
				<td class="text-center hide-desktop" width="15%"></td>
				<td class="text-center hide-mobile"></td>
				<td class="text-right hide-mobile"></td>
				<td class="text-right hide-mobile" style="color: red">R$ <?php echo number_format($pagamento->saldoExpirado->valor,2,',','.'); ?></td>
				<td class="text-right hide-desktop" style="color: red" width="25%">R$ <?php echo number_format($pagamento->saldoExpirado->valor,2,',','.'); ?></td>
			</tr>
		<?php elseif($pagamento->contaCorrente && $pagamento->contaCorrente->tipo_movimento == 'E'): ?>
			<tr>
				<td class="nome-produto hide-mobile" style="color: #29c55e">Cashback</td>
				<td class="nome-produto hide-desktop" width="90%" style="color: #29c55e">Cashback</td>
				<td class="text-center hide-desktop" width="15%"></td>
				<td class="text-center hide-mobile"></td>
				<td class="text-right hide-mobile"></td>
				<td class="text-right hide-mobile" style="color: #29c55e">R$ <?php echo number_format($pagamento->contaCorrente->valor,2,',','.'); ?></td>
				<td class="text-right hide-desktop" style="color: #29c55e" width="25%">R$ <?php echo number_format($pagamento->contaCorrente->valor,2,',','.'); ?></td>
			</tr>
		<?php endif; ?>

	</table>
<?php }else{ ?>
	<h4>
		<i> Esse pedido não possui vinhos. </i>
	</h4>
<?php } ?>


Youez - 2016 - github.com/yon3zu
LinuXploit