| Server IP : 54.94.228.101 / 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/resources/views/emails/ |
Upload File : |
<?php
$style_fontblue = "font-weight:400;color: #313968; font-size: 14px; font-family: 'Montserrat',sans-serif;";
$style_fontorange = "color: #e1624a; font-size: 14px; font-family: 'Montserrat',sans-serif; font-weight:600;";
$style_td = "$style_fontblue";
$style_th = "$style_fontorange text-align: left;";
?>
<table style="width: 100%;">
<tr>
<td>
<center>
<table style="width: 680px;margin: 0 auto; text-align: left;">
<tr>
<td>
<div style="width:220px; text-align: center;margin: 0 auto;margin-bottom: 30px;margin-top: 30px;">
<img src="<?php echo url('img/site/logo-email.png'); ?>" alt="">
</div>
<p style="<?php echo $style_fontorange; ?> font-size: 22px;" >Olá <?php echo $pedidoVenda->cliente->nome; ?> <?php echo $pedidoVenda->cliente->sobrenome; ?>,</p>
<p style="<?php echo $style_fontblue; ?> line-height: 20px; padding: 0; margin:0;">Obrigado por comprar na VinumDay!</p>
<br>
<p style="<?php echo $style_fontblue; ?> line-height: 20px; padding: 0; margin:0;">Você pode verificar o andamento do seu pedido a qualquer momento, acessando sua conta em nosso site.</p>
<br>
<p style="<?php echo $style_fontblue; ?> line-height: 20px; padding: 0; margin:0;">Abaixo os dados do pedido <?php echo $pedidoVenda->id; ?>:</p>
<table style="background: #eae2df; width:100%;padding: 20px;margin-top: 20px;margin-bottom: 20px;">
<tr>
<th style="<?php echo $style_th; ?>border-bottom: 1px solid white;padding:5px 0;">OFERTA</th>
<th style="<?php echo $style_fontorange; ?>text-align: center;border-bottom: 1px solid white;padding:5px 0;">QTD</th>
<th style="<?php echo $style_th; ?>border-bottom: 1px solid white;padding:5px 0;text-align: right;">SUBTOTAL</th>
</tr>
<?php $total = 0; ?>
<?php foreach ($ofertas as $oferta): ?>
<tr>
<td style="<?php echo $style_td; ?>border-bottom: 1px solid white;padding:5px 0;"><?php echo $oferta->titulo; ?> <?php echo $oferta->sub_titulo; ?></td>
<td style="<?php echo $style_td; ?>text-align: center;border-bottom: 1px solid white;padding:5px 0;"><?php echo number_format($oferta->quantidade_no_pedido,0,'',''); ?> Un.</td>
<td style="<?php echo $style_td; ?>border-bottom: 1px solid white;padding:5px 0;text-align: right;">R$ <?php echo number_format($oferta->preco_oferta * $oferta->quantidade_no_pedido,2,',','.'); ?></td>
</tr>
<?php $total += ($oferta->preco_oferta * $oferta->quantidade_no_pedido); ?>
<?php endforeach ?>
<tr>
<td style="padding: 10px 0;"></td>
<td style="padding: 10px 0;"></td>
<td style="padding: 10px 0;"></td>
</tr>
<?php if($pedidoVenda->cupom){ ?>
<tr>
<td style="padding: 10px 0;"></td>
<td style="padding: 10px 0;"></td>
<td style="<?php echo $style_fontblue; ?>text-align: right;">
<b>Desconto </b>R$ <?php echo number_format(abs($pedidoVenda->ajuste), 2,',','.'); ?>
</td>
</tr>
<?php } ?>
<tr>
<td style="<?php echo $style_fontblue; ?>"><b>Forma de Pagamento </b><?php echo $pedidoVenda->tipo; ?></td>
<td></td>
<td style="<?php echo $style_fontblue; ?>text-align: right;">
<b>Valor Total </b>R$ <?php echo number_format($pedidoVenda->total, 2,',','.'); ?>
</td>
</tr>
</table><br>
<p style="<?php echo $style_fontblue; ?>">Lembramos que para compras realizadas via depósito bancário/DOC/TED é necessário anexar o comprovante do pagamento ao pedido.</p>
<p style="<?php echo $style_fontblue; ?>">Caso você não tenha feito isso durante a compra, é possível efetuar esse procedimento até às 10h da manhã do dia útil seguinte ao pedido (para tanto basta acessar a sua conta e localizar o pedido na seção “MEUS PAGAMENTOS”, que constará com status “PENDENTE”).</p>
<table style="background: #eae2df; width:100%;padding: 20px;margin-top: 20px;margin-bottom: 20px;">
<tr>
<td style="<?php echo $style_fontblue?>">
<p>
DADOS BANCÁRIOS: <br>
<?php if($pedidoVenda->cliente->empresa_id == 1): ?>
Banco Sicredi (748) <br>
Agência: 0101 <br>
Conta: 40339-2 <br>
CNPJ: 17.723.844/0001-63 <br>
Razão Social: Vinum Veritas Comércio e Importação Ltda <br>
<?php elseif($pedidoVenda->cliente->empresa_id == 2): ?>
Banco Sicredi (748) <br>
Agência: 0101 <br>
Conta: 40339-2 <br>
CNPJ: 17.723.844/0001-63 <br>
Razão Social: Vinum Veritas Comércio e Importação Ltda <br>
<?php else: ?>
Banco Sicredi (748) <br>
Agência: 0101 <br>
Conta: 40339-2 <br>
CNPJ: 17.723.844/0001-63 <br>
Razão Social: Vinum Veritas Comércio e Importação Ltda <br>
<?php endif; ?>
</p>
</td>
</tr>
</table>
<p style="<?php echo $style_fontblue; ?>">Nestes casos a confirmação da compra e consequente inclusão dos vinhos na adega virtual ocorrerá em até 1 (um) dia útil após a identificação da compensação bancária do pagamento.</p>
<p style="<?php echo $style_fontblue; ?>"><b>SOLICITAÇÃO DE ENTREGA:</b> O envio dos seus produtos não ocorre automaticamente após as compras superarem o valor mínimo para entrega com frete gratuito. É necessário registrar a solicitação de entrega no site, seguindo as etapas abaixo: </p>
<ul>
<li style="<?php echo $style_fontblue; ?>">efetuar login no site</li>
<li style="<?php echo $style_fontblue; ?>">clicar em <b>VINHOS NA ADEGA</b> (no menu superior direito)</li>
<li style="<?php echo $style_fontblue; ?>">selecionar um ENDEREÇO (caso deseje alterar o local de entrega basta informar um novo CEP, clicar em CALCULAR, depois em ADICIONAR ENDEREÇO)</li>
<li style="<?php echo $style_fontblue; ?>">alterar/validar os dados de entrega</li>
<li style="<?php echo $style_fontblue; ?>">clicar em <b>SOLICITAR ENTREGA</b></li>
</ul>
<br><br>
<p style="<?php echo $style_fontblue; ?> font-size:16px;">Ficou com alguma dúvida? Envie um e-mail para contato@vinumday.com.br</p>
<p style="<?php echo $style_fontblue; ?> font-size:16px;">Agradecemos muito por comprar conosco.</p>
<p style="<?php echo $style_fontblue; ?> font-size:16px;"><b>Um abraço da equipe VinumDay</b></p><br>
<a href="https://www.vinumday.com.br/" target="_blank" style="<?php echo $style_fontorange; ?>letter-spacing: 2px;text-decoration: none;">WWW.VINUMDAY.COM.BR</a><br>
<?php /* ?>
<a href="https://www.facebook.com/vinumday" target="_blank" style="<?php echo $style_fontorange; ?>letter-spacing: 2px; text-decoration: none;">WWW.FACEBOOK.COM/VINUMDAY</a>
<br><br>
<p style="<?php echo $style_fontblue; ?>">Copyright © <?php echo date('Y'); ?> VinumDay - Todos os direitos reservados.</p>
<p style="<?php echo $style_fontblue; ?> margin-bottom: 30px;">Você recebeu este e-mail pois cadastrou-se no site da VinumDay (www.vinumday.com.br).</p>
<div style="width:120px; position:absolute; right:0; bottom: 0;">
<img src="<?php echo url('img/site/logo-vd-email.png'); ?>" alt="">
</div>
<?php */ ?>
</td>
</tr>
</table>
</center>
</td>
</tr>
</table>