| Server IP : 54.94.228.101 / Your IP : 172.28.20.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 : |
<td colspan="2"></td>
<td colspan="10" style="padding: 5px;">
<div class="row">
<div class="col-md-5">
<table class="table table-bordered" style="margin-bottom: 0px;">
<thead>
<tr>
<th>Ofertas</th>
<th>Data</th>
<th>Origem</th>
<th class="text-center">Qtde. Vendida</th>
</tr>
</thead>
<tbody>
<?php foreach ($produto->ofertas as $oferta) { ?>
<tr>
<td><?php echo e($oferta->id_oferta); ?></td>
<td><?php echo e(isset($oferta->oferta) && !empty($oferta->oferta->data) ? date('d/m/Y', strtotime($oferta->oferta->data)) : ''); ?></td>
<td>
<?php
if($oferta->oferta->tipo == 'D'){
echo 'Oferta Diária';
}elseif($oferta->oferta->tipo == 'S'){
echo 'Oferta Semanal';
}elseif($oferta->oferta->tipo == 'E'){
echo 'Oferta Exclusiva';
}elseif($oferta->oferta->tipo == 'M'){
echo 'Oferta Mercado';
}elseif($oferta->oferta->tipo == 'C'){
echo 'Oferta Canal <br>';
if(isset($oferta->oferta->canal)){
echo '<span>' . $oferta->oferta->canal->slug . '</span>';
}
}
?>
</td>
<td class="text-center"><?php echo e(number_format($oferta->quantidade, 0, ',', '.')); ?></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
<div class="col-md-7">
<table class="table table-bordered" style="margin-bottom: 0px;">
<thead>
<tr>
<th class="text-center">Estoque</th>
<th class="text-center">Adega</th>
<th class="text-center">Em proc.</th>
<th class="text-center">Disp.</th>
<th class="text-center">Ped. Extras</th>
<th class="text-center">Reposição</th>
<th class="text-center">O.C. Pen/Apr/Enc</th>
<th class="text-center">O.C. Parc. Atend.</th>
<th class="text-center">Saldo</th>
<th class="text-center">Reserva</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-center"><?php echo e($produto->estoque['estoque']); ?></td>
<td class="text-center"><?php echo e($produto->estoque['adega']); ?></td>
<td class="text-center"><?php echo e($produto->estoque['em_processamento']); ?></td>
<td class="text-center"><?php echo e($produto->estoque['disponibilidade']); ?></td>
<td class="text-center"><?php echo e($produto->pedidos_extras); ?></td>
<td class="text-center"><?php echo e($produto->requisicoes); ?></td>
<td class="text-center"><?php echo e($produto->ultimas_compras); ?></td>
<td class="text-center"><?php echo e($produto->ultimas_compras_parcial); ?></td>
<td class="text-center"><?php echo e($produto->saldo); ?></td>
<td class="text-center"><?php echo e($produto->reserva); ?></td>
</tr>
</tbody>
</table>
</div>
</div>
</td>