PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
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
← All changes | stripe/views/payments/show.php +20 -3 6.25 → trunk View file →
@@ -56,9 +56,13 @@
56 56 </td>
57 57 </tr>
58 58 <?php } ?>
59 59
60 - <?php FrmTransLiteAppHelper::show_in_table( $payment->invoice_id, __( 'Invoice #', 'formidable' ) ); ?>
60 + <?php
61 + if ( isset( $payment->invoice_id ) ) {
62 + FrmTransLiteAppHelper::show_in_table( $payment->invoice_id, __( 'Invoice #', 'formidable' ) );
63 + }
64 + ?>
61 65
62 66 <?php if ( ! empty( $payment->sub_id ) ) { ?>
63 67 <tr>
64 68 <th scope="row"><?php esc_html_e( 'Subscription', 'formidable' ); ?>:</th>
@@ -151,11 +155,24 @@
151 155 <div class="inside">
152 156 <?php FrmTransLitePaymentsController::load_sidebar_actions( $payment ); ?>
153 157 <div class="clear"></div>
154 158
159 + <?php if ( FrmTransLiteAppHelper::payments_submodule_or_paypal_is_active() ) : ?>
160 + <div class="misc-pub-section">
161 + <a href="<?php echo esc_url( admin_url( 'admin.php?page=formidable-payments&action=edit&id=' . $payment->id ) ); ?>" title="<?php esc_attr_e( 'Edit', 'formidable' ); ?>">
162 + <?php
163 + FrmAppHelper::icon_by_class( 'frmfont frm_pencil_icon' );
164 + echo ' ';
165 + esc_html_e( 'Edit Payment', 'formidable' );
166 + ?>
167 + </a>
168 + <div class="clear"></div>
169 + </div>
170 + <?php endif; ?>
171 +
155 172 <div class="misc-pub-section">
156 - <a href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'frm_action', 'destroy' ) ) ); ?>" data-frmverify="<?php echo esc_attr__( 'Permanently delete this payment?', 'formidable' ); ?>" data-frmverify-btn="frm-button-red" title="<?php esc_attr_e( 'Delete', 'formidable' ); ?>">
157 - <?php FrmAppHelper::icon_by_class( 'frm_icon_font frm_delete_icon' ); ?>
173 + <a href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'frm_action', 'destroy' ) ) ); ?>" data-frmverify="<?php esc_attr_e( 'Permanently delete this payment?', 'formidable' ); ?>" data-frmverify-btn="frm-button-red" title="<?php esc_attr_e( 'Delete', 'formidable' ); ?>">
174 + <?php FrmAppHelper::icon_by_class( 'frmfont frm_delete_icon' ); ?>
158 175 <span class="frm_link_label">
159 176 <?php esc_html_e( 'Delete Payment', 'formidable' ); ?>
160 177 </span>
161 178 </a>