PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 6.2.2
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v6.2.2
6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 3.6.65 All 196 releases
fluentform / app / Views / receipt / user_subscription_payments.php

user_subscription_payments.php in Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder 6.2.2, at app/Views/receipt/user_subscription_payments.php

40 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 defined('ABSPATH') or die;
4
5 // phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- Template variables in view files
6 ?>
7 <div class="ff_subscription_payments">
8 <table style="width: 100%;border: 1px solid #cbcbcb;margin-top: 0;" class="table ffp_order_items_table ffp_table table_bordered">
9 <thead>
10 <tr>
11 <th><?php esc_html_e('Amount', 'fluentform'); ?></th>
12 <th><?php esc_html_e('Date', 'fluentform'); ?></th>
13 <?php if($config['has_view_action']): ?>
14 <th><?php esc_html_e('Actions', 'fluentform'); ?></th>
15 <?php endif; ?>
16 </tr>
17 </thead>
18 <tbody>
19 <?php foreach ($transactions as $transaction): ?>
20 <tr>
21 <td>
22 <span class="table_payment_amount"><?php echo fluentform_sanitize_html($transaction->formatted_amount); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Formatted amount contains decoded currency symbols ?> <?php echo esc_html(strtoupper($transaction->currency)) ?></span>
23 <span class="ff_pay_status_badge ff_pay_status_<?php echo esc_attr($transaction->status); ?>">
24 <?php echo esc_html($transaction->status); ?>
25 </span>
26 </td>
27 <td>
28 <?php echo esc_html($transaction->formatted_date); ?>
29 </td>
30 <?php if($transaction->view_url): ?>
31 <td>
32 <a class="ff_pat_action_view" href="<?php echo esc_url($transaction->view_url) ?>"><?php echo esc_html($config['view_text']); ?></a>
33 </td>
34 <?php endif; ?>
35 </tr>
36 <?php endforeach; ?>
37 </tbody>
38 </table>
39 </div>
40