-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix:Corrigido a indentação e o estilo do código do arquivo credit-car…
…d-download.html
- Loading branch information
1 parent
9d09fe2
commit d9af081
Showing
1 changed file
with
41 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,47 @@ | ||
<?php | ||
if (!defined('ABSPATH')) { | ||
exit; | ||
exit; | ||
} | ||
?> | ||
<?php if (isset($vindi_order)) : ?> | ||
<div class="vindi_payment_listing"> | ||
<div class="info_message"> | ||
<div class="icon"></div> | ||
<div class="message"> | ||
<p class="message_title"> | ||
<?php _e('Aqui estão os links de suas compras.', VINDI); ?> | ||
</p> | ||
<p class="message_description"> | ||
<?php _e('Você pode acessar-los e pagá-los via sistema Vindi. Após recebermos a confirmação do pagamento, seu pedido será processado.', VINDI); ?> | ||
</p> | ||
</div> | ||
</div> | ||
<div class="charges"> | ||
<?php foreach ($order_to_iterate as $subscription) : ?> | ||
<?php if (is_array($subscription) && array_key_exists('product', $subscription) && !in_array($subscription['bill']['status'], array('paid', 'canceled'))): ?> | ||
<div class="charge"> | ||
<span class="product_title"> | ||
<?php echo $subscription['product']; ?> | ||
</span> | ||
<a class="download_button" href="<?php echo esc_url($subscription['bill']['vindi_url']); ?>" target="_blank"> | ||
<?php _e('Acessar link', VINDI); ?> | ||
</a> | ||
</div> | ||
<?php else: ?> | ||
<?php foreach ($subscription as $item): ?> | ||
<?php if (is_array($item) && array_key_exists('product', $item) && !in_array($item['bill']['status'], array('paid', 'canceled'))): ?> | ||
<div class="charge"> | ||
<span class="product_title"> | ||
<?php echo $item['product']; ?> | ||
</span> | ||
<a class="download_button" href="<?php echo esc_url($item['bill']['vindi_url']); ?>" target="_blank"> | ||
<?php _e('Acessar link', VINDI); ?> | ||
</a> | ||
</div> | ||
<?php endif; ?> | ||
<?php endforeach; ?> | ||
<?php endif; ?> | ||
<?php endforeach; ?> | ||
</div> | ||
</div> | ||
<div class="vindi_payment_listing"> | ||
<div class="info_message"> | ||
<div class="icon"></div> | ||
<div class="message"> | ||
<p class="message_title"> | ||
<?php _e('Aqui estão os links de suas compras.', VINDI); ?> | ||
</p> | ||
<p class="message_description"> | ||
<?php _e('Você pode acessar-los e pagá-los via sistema Vindi. Após recebermos a confirmação do pagamento, seu pedido será processado.', VINDI); ?> | ||
</p> | ||
</div> | ||
</div> | ||
<div class="charges"> | ||
<?php foreach ($order_to_iterate as $subscription) : ?> | ||
<?php if (is_array($subscription) && array_key_exists('product', $subscription) && !in_array($subscription['bill']['status'], array('paid', 'canceled'))): ?> | ||
<div class="charge"> | ||
<span class="product_title"> | ||
<?php echo $subscription['product']; ?> | ||
</span> | ||
<a class="download_button" href="<?php echo esc_url($subscription['bill']['vindi_url']); ?>" target="_blank"> | ||
<?php _e('Acessar link', VINDI); ?> | ||
</a> | ||
</div> | ||
<?php else: ?> | ||
<?php foreach ($subscription as $item): ?> | ||
<?php if (is_array($item) && array_key_exists('product', $item) && !in_array($item['bill']['status'], array('paid', 'canceled'))): ?> | ||
<div class="charge"> | ||
<span class="product_title"> | ||
<?php echo $item['product']; ?> | ||
</span> | ||
<a class="download_button" href="<?php echo esc_url($item['bill']['vindi_url']); ?>" target="_blank"> | ||
<?php _e('Acessar link', VINDI); ?> | ||
</a> | ||
</div> | ||
<?php endif; ?> | ||
<?php endforeach; ?> | ||
<?php endif; ?> | ||
<?php endforeach; ?> | ||
</div> | ||
</div> | ||
<?php endif; ?> |