PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.8
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.8
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
formidable / stripe / views / subscriptions / show.php

show.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 6.8, at stripe/views/subscriptions/show.php

143 lines 4.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 die( 'You are not allowed to call this page directly.' );
4 }
5 ?>
6 <div class="frm_wrap">
7 <div>
8 <?php
9 FrmAppHelper::get_admin_header(
10 array(
11 'label' => __( 'View Subscription', 'formidable' ),
12 'form' => $form_id,
13 'hide_title' => true,
14 )
15 );
16 ?>
17
18 <div class="columns-2">
19
20 <div id="post-body-content" class="frm-fields">
21
22 <div class="wrap frm-with-margin frm_form_fields">
23 <div class="postbox">
24
25 <h3 class="hndle">
26 <span><?php esc_html_e( 'Subscription', 'formidable' ); ?></span>
27 </h3>
28
29 <table class="frm-alt-table">
30 <tbody>
31 <tr>
32 <th scope="row"><?php esc_html_e( 'Status', 'formidable' ); ?>:</th>
33 <td><?php echo esc_html( FrmTransLiteAppHelper::show_status( $subscription->status ) ); ?></td>
34 </tr>
35
36 <tr>
37 <th scope="row"><?php esc_html_e( 'User', 'formidable' ); ?>:</th>
38 <td>
39 <?php echo wp_kses_post( $user_name ); ?>
40 </td>
41 </tr>
42
43 <tr>
44 <th scope="row"><?php esc_html_e( 'Entry', 'formidable' ); ?>:</th>
45 <td>
46 <?php FrmTransLitePaymentsController::show_entry_link( $payment ); ?>
47 </td>
48 </tr>
49
50 <?php if ( ! empty( $subscription->sub_id ) ) { ?>
51 <tr>
52 <th scope="row"><?php esc_html_e( 'Receipt', 'formidable' ); ?>:</th>
53 <td>
54 <?php FrmTransLiteSubscriptionsController::show_receipt_link( $subscription ); ?>
55 </td>
56 </tr>
57 <?php } ?>
58
59 <?php if ( isset( $subscription->test ) ) { ?>
60 <tr valign="top">
61 <th scope="row"><?php esc_html_e( 'Mode', 'formidable' ); ?>:</th>
62 <td><?php echo esc_html( FrmTransLiteAppHelper::get_test_mode_display_string( $subscription ) ); ?></td>
63 </tr>
64 <?php } ?>
65
66 <tr>
67 <th scope="row"><?php esc_html_e( 'Billing Cycle', 'formidable' ); ?>:</th>
68 <td><?php echo esc_html( FrmTransLiteAppHelper::format_billing_cycle( $subscription ) ); ?></td>
69 </tr>
70
71 <tr>
72 <th scope="row"><?php esc_html_e( 'Next Payment Date', 'formidable' ); ?>:</th>
73 <td>
74 <?php echo esc_html( FrmTransLiteAppHelper::format_the_date( $subscription->next_bill_date, $date_format ) ); ?>
75 </td>
76 </tr>
77
78 <?php FrmTransLiteAppHelper::show_in_table( $subscription->fail_count, __( 'Fail Count', 'formidable' ) ); ?>
79
80 <?php
81 if ( $subscription->meta_value ) {
82 $subscription->meta_value = maybe_unserialize( $subscription->meta_value );
83 ?>
84 <tr>
85 <th scope="row"><?php esc_html_e( 'Payment Status Updates', 'formidable' ); ?>:</th>
86 <td>
87
88 <?php foreach ( $subscription->meta_value as $k => $metas ) { ?>
89 <table class="widefat" style="border:none;">
90 <?php
91
92 foreach ( $metas as $key => $meta ) {
93 ?>
94 <tr>
95 <th><?php echo esc_html( $key ); ?></th>
96 <td><?php echo esc_html( $meta ); ?></td>
97 </tr>
98 <?php
99 }
100 ?>
101 </table>
102 <br/>
103 <?php } ?>
104
105 </td>
106 </tr>
107 <?php
108 }//end if
109 ?>
110 </tbody>
111 </table>
112 </div>
113 </div>
114 </div>
115
116 <div class="frm-right-panel">
117 <div class="frm_with_icons frm_no_print">
118 <h3><?php esc_html_e( 'Subscription Details', 'formidable' ); ?></h3>
119 <div class="inside">
120 <div class="submitbox">
121 <div id="minor-publishing" style="border:none;">
122 <div class="misc-pub-section">
123 <?php FrmTransLiteSubscriptionsController::load_sidebar_actions( $subscription ); ?>
124 <div class="clear"></div>
125 </div>
126 </div>
127
128 <div id="misc-pub-section">
129 <a class="submitdelete deletion" href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'frm_action', 'destroy' ) ) ); ?>" data-frmverify="<?php echo esc_attr__( 'Permanently delete this subscription?', 'formidable' ); ?>" data-frmverify-btn="frm-button-red" title="<?php esc_attr_e( 'Delete', 'formidable' ); ?>">
130 <?php FrmAppHelper::icon_by_class( 'frm_icon_font frm_delete_icon' ); ?>
131 <span class="frm_link_label">
132 <?php esc_html_e( 'Delete Subscription', 'formidable' ); ?>
133 </span>
134 </a>
135 </div>
136 </div>
137 </div>
138 </div>
139 </div>
140 </div>
141 </div>
142 </div>
143