PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / trunk
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder vtrunk
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 / subscriptions_table.php

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

28 lines 1.3 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 <table style="width: 100%;border: 1px solid #cbcbcb;margin-top: 0; margin-bottom: 15px;" class="table ffp_order_items_table ffp_table table_bordered">
8 <thead>
9 <tr>
10 <th><?php esc_html_e('Item', 'fluentform'); ?></th>
11 <th><?php esc_html_e('Status', 'fluentform'); ?></th>
12 </tr>
13 </thead>
14 <tbody>
15 <?php foreach ($subscriptions as $subscription): ?>
16 <tr>
17 <td>
18 <?php echo esc_html($subscription->plan_name . ' (' . $subscription->item_name . ')'); ?>
19 <?php if($subscription->original_plan): ?>
20 <p style="margin: 5px 0px 0px;font-size: 90%;"><?php echo fluentform_sanitize_html(\FluentForm\App\Modules\Payments\PaymentHelper::getPaymentSummaryText($subscription->original_plan, $subscription->form_id, $submission->currency, false)); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></p>
21 <?php endif; ?>
22 </td>
23 <td><span class="ff_trial_badge"><?php echo esc_html(ucfirst($subscription->status)); ?></span></td>
24 </tr>
25 <?php endforeach; ?>
26 </tbody>
27 </table>
28