403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/vinumday2_0/storage/framework/views/244ca1a75f4b73f1ba1fe26be5dd072a5c2b6c68.php
<?php if(count($pagamentos)): ?>
    <?php ($tamanho = count($pagamentos)); ?>

    <?php $__currentLoopData = $pagamentos; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $pagamento): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <table class="tabela pagamento-item" data-pagamento="<?php echo e($pagamento->id); ?>" id="pedido-venda-<?php echo e($pagamento->id); ?>" data-saldo-expirado="<?php echo (isset($saldo_expirado) ? $saldo_expirado : 0)?>">
            <?php if($loop->first): ?>
                <tr>
                    <th>Data</th>
                    <th class="hide-mobile">Pedido</th>
                    <th class="text-center hide-mobile">Qtd</th>
                    <th class="hide-mobile">Pagamento</th>
                    <th class="hide-desktop">Qtd/Ped.</th>
                    <th class="hide-desktop text-center">Pgto.</th>
                    <th class="text-right">Valor</th>
                    <th class="text-center hide-mobile">Situação</th>
                    <th class="hide-desktop text-center">Sit.</th>
                    <th></th>
                </tr>
            <?php endif; ?>
                <tr style="border-top:2px solid #e1e1e1">
                    <td class="hide-mobile" width="15%"><?php echo e(strtoupper(strftime('%d %b %y', strtotime($pagamento->data_fechamento)))); ?></td>
                    <td class="hide-desktop" width="14%">
                        <?php echo e(date('d/m', strtotime($pagamento->data_fechamento))); ?>

                        <p class="table-sub"><?php echo e(date('Y', strtotime($pagamento->data_fechamento))); ?></p>
                        </td>
                    <td class="hide-mobile" width="10%"><?php echo e($pagamento->pedidoEntrega ? $pagamento->pedidoEntrega->id : $pagamento->id); ?></td>
                    <td class="text-center hide-mobile" width="15%">
                        <?php if($pagamento->pedidoEntrega): ?>
                            Frete
                        <?php else: ?>
                            <?php echo e($pagamento->nr_ofertas); ?> Un.
                        <?php endif; ?>
                    </td>
                    <td class="hide-desktop text-center" width="21%;">
                        <?php if($pagamento->pedidoEntrega): ?>
                            Frete
                        <?php else: ?>
                            <?php echo e($pagamento->nr_ofertas); ?> Un.
                        <?php endif; ?>
                        <p class="table-sub"<?php echo e($pagamento->id); ?></p>
                    </td>
                    <td class="hide-mobile" width="20%">
                        <?php if($pagamento->transacao_id): ?>
                            <?php echo e(ucfirst($pagamento->transaction->getCard()->brand)); ?> * <?php echo e($pagamento->transaction->getCard()->last_digits); ?>

                            <p class="table-sub"><?php echo e($pagamento->condicaoComercial->nome); ?></p>
                        <?php else: ?>
                            <?php echo e($pagamento->tipo); ?>

                            <?php if($pagamento->comprovante): ?>
                                <a target="_blank" class="comprovante" href="<?php echo e(config('filesystems.path') . "/pedido-venda/comprovante/" . $pagamento->comprovante); ?>">Ver Comprovante</a>
                            <?php elseif($pagamento->status->id != 5): ?>
                                <form class="form-comprovante">
                                    <input type="hidden" name="pagamento" value="<?php echo e($pagamento->id); ?>">
                                    <a target="_blank" href="#" class="comprovante enviarComprovanteButton">Enviar comprovante</a>
                                    <input type="file" class="hidden" name="enviar-comprovante">
                                </form>
                            <?php endif; ?>
                        <?php endif; ?>
                        <?php if($pagamento->cupom): ?>
                            <h5 class="label-cupom"><?php echo e($pagamento->cupom->cupom->codigo); ?></h5>
                        <?php endif; ?>
                    </td>

                    <td class="hide-desktop text-center" width="15%">
                        <?php if($pagamento->transacao_id): ?>
                            <img style="width:35px;" src="img/site/pagamento/<?php echo e($pagamento->transaction->getCard()->brand); ?>.svg">
                            <p class="table-sub"><?php echo e($pagamento->condicaoComercial->nome); ?></p>
                        <?php else: ?>
                            <img style="width:35px;" src="/img/site/pagamento/deposito-bancario.svg">
                            <?php if($pagamento->comprovante): ?>
                                <a target="_blank" class="comprovante" href="<?php echo config('filesystems.path') . "/pedido-venda/comprovante/{$pagamento->comprovante}"; ?>">Ver</a>
                            <?php else: ?>
                                <form class="form-comprovante">
                                    <input type="hidden" name="pagamento" value="<?php echo e($pagamento->id); ?>">
                                    <a target="_blank" href="#" class="comprovante enviarComprovanteButton">Enviar</a>
                                    <input type="file" class="hidden" name="enviar-comprovante">
                                </form>
                            <?php endif; ?>
                        <?php endif; ?>
                    </td>
                    <td class="valor text-right hide-mobile" width="15%">
                        <?php if($pagamento->cupom): ?>
                            <h4 class="sem-desconto">R$ <?php echo e(number_format($pagamento->subtotal, 2,',','.')); ?></h4>
                        <?php endif; ?>
                        R$ <?php echo e(number_format($pagamento->total,2,',','.')); ?>

                    </td>
                    <td class="valor text-right hide-desktop" width="25%" style="font-size: 12px;font-weight: 800;">
                        <?php if($pagamento->cupom): ?>
                            <h4 class="sem-desconto">R$ <?php echo e(number_format($pagamento->subtotal, 2,',','.')); ?></h4>
                        <?php endif; ?>
                        R$ <?php echo e(number_format($pagamento->total,2,',','.')); ?>

                    </td>
                    <td class="text-center hide-mobile" width="20%"><button class="btn-<?php echo e($pagamento->status->cor); ?>"><?php echo e(($pagamento->id_status_pedido_venda == 7) ? 'Aprovado' : $pagamento->status->nome); ?></button></td>

                    <td class="text-center hide-desktop" width="20%">
                        <i class="fa fa-circle <?php echo e($pagamento->status->cor); ?>"></i>
                        <p class="table-sub"><?php echo e(substr($pagamento->status->nome,0,5)); ?>.</p>
                    </td>
                    <td width="5%">
                        <?php if($pagamento->pedidoEntrega): ?>
                            <div class="tooltip">
                                <i class="fa fa-truck"></i>
                                <div class="tooltiptext">
                                    Valor Frete
                                </div>
                            </div>
                        <?php else: ?>
                            <?php if($pagamento->id == $pedido_id): ?>
                                <i class="fa fa-minus-circle esconder-detalhes"></i>
                                <script type="text/javascript">
                                    $(document).ready(function(){
                                        var pagamentoItem = $('#pedido-venda-<?php echo e($pagamento->id); ?>');
                                        verDetalhesPagamento(pagamentoItem);
                                    });
                                </script>
                            <?php else: ?>
                                <i class="fa fa-plus-circle ver-detalhes"></i>
                            <?php endif; ?>
                        <?php endif; ?>
                    </td>
                </tr>
        </table>
        <div class="detalhes-pagamento">

        </div>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    <?php echo e($pagamentos->render()); ?>

<?php else: ?>
    <div class="spacer">
        <h4><i>Você não possui pagamentos.</i></h4>
    </div>
<?php endif; ?>


Youez - 2016 - github.com/yon3zu
LinuXploit