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/764d9132265e460118a623f9c56dd6765be596e5.php
<?php $__env->startSection('content'); ?>

<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
	<!-- Content Header (Page header) -->
	<section class="content-header">
		<h1>
			Ordem Compra
			<small>Detalhe</small>
		</h1>
		<ol class="breadcrumb">
			<li><a href="<?php echo e(url('admin')); ?>"><i class="fa fa-dashboard"></i> Dashboard</a></li>
			<li class="active">Ordem Compra</li>
		</ol>
	</section>

	<!-- Main content -->
	<section class="content">
		<div class="row">
			<div class="col-xs-12">

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

						<table class="table">
                        <tr>
                            <td width="50%">
                                <img src="<?php echo e(url('/img/site/footer_logo.png')); ?>">
                            </td>
                            <td width="50%" class="text-right">
                                <p>
                                	<?php if($ordem->empresa_id == 1): ?>
	                                	<strong>Vinum Veritas Comércio e Importação Ltda.</strong> <br>
	                                	17.723.844/0001-63 <br>
                                	<?php elseif($ordem->empresa_id == 2): ?>
                                        <strong>VD Comércio de Bebidas Eireli</strong> <br>
                                        31.871.141/0001-03 <br>
                                    <?php else: ?>
                                        <strong>SW Curadoria em Vinhos Eireli</strong> <br>
                                        37.765.580/0001-18 <br>
                                	<?php endif; ?>
                                	(54) 3419.6698 <br>
                                	Olavo Bilac, 61 <br>
                                	Rio Branco, Caxias do Sul - RS <br>
                                	95010-080 <br>
                                	<?php echo ($ordem->empresa_id == 1 ? "029/0572720" : ($ordem->empresa_id == 2 ? "029/0641047" : "029/0663210")); ?>
                                </p>
                            </td>
                        </tr>
                        </table>

                        <table class="table">
                        	<tr>
                        		<td class="text-center">
                        			<h4>Ordem de Compra Nº <?php echo e($ordem->id); ?></h4>
                        		</td>
                        	</tr>
                        </table>

                        <table class="table">
                        	<tr>
                        		<td class="text-center">
                        			<p><strong>Fornecedor</strong></p>
                        		</td>
                        	</tr>
                        </table>

						<table class="table table-bordered">
                        	<tr>
                        		<td width="60%">
                        			<p>
                        				<strong><?php echo e($fornecedor->nome); ?></strong>
                        			</p>
                        		</td>
                        		<td width="40%">
                        			<table class="table table-bordered">
                        			<tr>
                        				<td><strong>Número do pedido</strong></td>
                        				<td><?php echo e($ordem->id); ?></td>
                        			</tr>
                        			<tr>
                        				<td><strong>Data</strong></td>
                        				<td><?php echo e(date('d/m/Y')); ?></td>
                        			</tr>
                        			<tr>
                        				<td><strong>Data Prevista</strong></td>
                        				<td><?php echo e((!empty($ordem->data_prevista) ? date('d/m/Y', strtotime($ordem->data_prevista)) : '')); ?></td>
                        			</tr>
                        			</table>
                        		</td>
                        	</tr>
                        </table>

                        <br>

                        <table class="table">
                        	<tr>
                        		<td class="text-center">
                        			<p><strong>Itens da Compra</strong></p>
                        		</td>
                        	</tr>
                        </table>

                        <br>

                        <table class="table table-bordered">
                        	<tr>
                        		<th>ID Estoque</th>
                        		<th>Item</th>
                        		<th>Código (SKU)</th>
                        		<th>Qtde</th>
                        		<th>Un</th>
                        		<th>Valor unitário</th>
                        		<th>IPI %</th>
                        		<th>Valor total</th>
                        	</tr>
                        	<?php $total_produtos = 0; ?>
                        	<?php $__currentLoopData = $ordem->produtos; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        	<?php $total_produtos += $item->valor_total; ?>
                        	<tr>
								<td><?php echo e($item->produto->id_estoque); ?></td>
                        		<td><?php echo e($item->produto->nome); ?></td>
                        		<td><?php echo e($item->produto->sku); ?></td>
                        		<td><?php echo e($item->quantidade); ?></td>
                        		<td>Gr</td>
                        		<td><?php echo e(number_format($item->preco_unitario, 2, ',', '.')); ?></td>
                        		<td>0,00</td>
                        		<td><?php echo e(number_format($item->valor_total, 2, ',', '.')); ?></td>
                        	</tr>
                        	<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        	<tr>
                        		<td colspan="6" class="text-right">
                        			<p>
                        				<strong>Total de produtos</strong> <br>
                        				<strong>Total do IPI</strong> <br>
                        				<strong>Total do pedido</strong>
                        			</p>
                        		</td>
                        		<td>
                        			<p>
                        				<?php echo e(number_format($total_produtos, 2, ',', '.')); ?> <br>
                        				0,00 <br>
                        				<?php echo e(number_format($total_produtos, 2, ',', '.')); ?>

                        			</p>
                        		</td>
                        	</tr>
                        </table>

                        <br>

                        <table class="table">
                        	<tr>
                        		<td class="text-center">
                        			<p><strong>Observações</strong></p>
                        		</td>
                        	</tr>
                        </table>

                        <br>

                        <table class="table table-bordered">
                        	<tr>
                        		<td class="text-left">
                        			<p><?php echo e($ordem->observacoes); ?></p>
                        		</td>
                        	</tr>
                        </table>

					</div>
					<!-- /.box-body -->
				</div>
				<!-- /.box -->
			</div>
			<!-- /.col -->
		</div>
		<!-- /.row -->
	</section>
	<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<?php $__env->stopSection(); ?>

<?php echo $__env->make($current_template, array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit