| 1 |
<?php |
| 2 |
|
| 3 |
defined('ABSPATH') or die; |
| 4 |
|
| 5 |
if($transaction->payer_name || $transaction->payer_email) : ?> |
| 6 |
<div class="ffp_customer_details"> |
| 7 |
<h4><?php esc_html_e('Customer Details', 'fluentform'); ?></h4> |
| 8 |
<div class="ffp_submission_details"> |
| 9 |
<ul> |
| 10 |
<?php if($transaction->payer_name): ?> |
| 11 |
<li><?php esc_html_e('Customer Name:', 'fluentform');?> <?php echo esc_html($transaction->payer_name); ?></li> |
| 12 |
<?php endif; ?> |
| 13 |
<?php if($transaction->payer_email): ?> |
| 14 |
<li><?php esc_html_e('Customer Email:', 'fluentform');?> <?php echo esc_html($transaction->payer_email); ?></li> |
| 15 |
<?php endif; ?> |
| 16 |
<?php if($transaction->billing_address && strlen($transaction->billing_address) > 2): ?> |
| 17 |
<li><?php esc_html_e('Billing Address:', 'fluentform');?> <?php echo esc_html($transaction->billing_address); ?></li> |
| 18 |
<?php endif; ?> |
| 19 |
<?php if($transaction->shipping_address && strlen($transaction->shipping_address) > 2): ?> |
| 20 |
<li><?php esc_html_e('Shipping Address:', 'fluentform');?> <?php echo esc_html($transaction->shipping_address); ?></li> |
| 21 |
<?php endif; ?> |
| 22 |
</ul> |
| 23 |
</div> |
| 24 |
</div> |
| 25 |
<?php endif; ?> |
| 26 |
|