| @@ -10,18 +10,19 @@ | ||
| 10 | 10 | <div class="inside"> |
| 11 | 11 | <?php |
| 12 | 12 | foreach ( $payments as $payment ) { |
| 13 | 13 | if ( empty( $payment->status ) && ! empty( $payment->completed ) ) { |
| 14 | - $payment->status = 'complete'; // PayPal fallback | |
| 14 | + // PayPal fallback. | |
| 15 | + $payment->status = 'complete'; | |
| 15 | 16 | } |
| 16 | 17 | |
| 17 | 18 | if ( $payment->status === 'complete' ) { |
| 18 | - $entry_total += $payment->amount; | |
| 19 | + $entry_total += $payment->amount; | |
| 19 | 20 | $total_payment = $payment; |
| 20 | 21 | } |
| 21 | 22 | ?> |
| 22 | 23 | <div class="misc-pub-section"> |
| 23 | - <?php FrmAppHelper::icon_by_class( 'frm_icon_font frm_calendar_icon' ); ?> | |
| 24 | + <?php FrmAppHelper::icon_by_class( 'frmfont frm_calendar_icon' ); ?> | |
| 24 | 25 | <span> |
| 25 | 26 | <?php esc_html_e( 'Created:', 'formidable' ); ?> |
| 26 | 27 | </span> |
| 27 | 28 | <span> |
| @@ -30,9 +31,9 @@ | ||
| 30 | 31 | </a></b> |
| 31 | 32 | </span> |
| 32 | 33 | </div> |
| 33 | 34 | <div class="misc-pub-section"> |
| 34 | - <?php FrmAppHelper::icon_by_class( 'frm_icon_font frm_total_icon' ); ?> | |
| 35 | + <?php FrmAppHelper::icon_by_class( 'frmfont frm_total_icon' ); ?> | |
| 35 | 36 | <span> |
| 36 | 37 | <?php esc_html_e( 'Amount:', 'formidable' ); ?> |
| 37 | 38 | </span> |
| 38 | 39 | <span> |
| @@ -41,9 +42,9 @@ | ||
| 41 | 42 | <?php do_action( 'frm_pay_' . $payment->paysys . '_refund_link', $payment ); ?> |
| 42 | 43 | </div> |
| 43 | 44 | <div class="misc-pub-section"> |
| 44 | 45 | <?php |
| 45 | - FrmAppHelper::icon_by_class( 'frm_icon_font ' . ( $payment->status === 'complete' ? 'frm_check1_icon' : 'frm_x_icon' ) ); | |
| 46 | + FrmAppHelper::icon_by_class( 'frmfont ' . ( $payment->status === 'complete' ? 'frm_check1_icon' : 'frm_x_icon' ) ); | |
| 46 | 47 | ?> |
| 47 | 48 | <span> |
| 48 | 49 | <?php esc_html_e( 'Status:', 'formidable' ); ?> |
| 49 | 50 | </span> |
| @@ -50,13 +51,15 @@ | ||
| 50 | 51 | <span> |
| 51 | 52 | <b><?php echo esc_html( FrmTransLiteAppHelper::show_status( $payment->status ) ); ?></b> |
| 52 | 53 | </span> |
| 53 | 54 | </div> |
| 54 | - <?php } ?> | |
| 55 | + <?php | |
| 56 | + }//end foreach | |
| 57 | + ?> | |
| 55 | 58 | |
| 56 | 59 | <?php foreach ( $subscriptions as $sub ) { ?> |
| 57 | 60 | <div class="misc-pub-section"> |
| 58 | - <?php FrmAppHelper::icon_by_class( 'frm_icon_font frm_repeater_icon' ); ?> | |
| 61 | + <?php FrmAppHelper::icon_by_class( 'frmfont frm_repeater_icon' ); ?> | |
| 59 | 62 | <span> |
| 60 | 63 | <a href="?page=formidable-payments&action=show&type=subscriptions&id=<?php echo absint( $sub->id ); ?>"> |
| 61 | 64 | <?php esc_html_e( 'Subscription:', 'formidable' ); ?> |
| 62 | 65 | <?php echo esc_html( FrmTransLiteAppHelper::format_billing_cycle( $sub ) ); ?> |
| @@ -65,9 +68,9 @@ | ||
| 65 | 68 | </div> |
| 66 | 69 | |
| 67 | 70 | <?php if ( $sub->status === 'active' ) { ?> |
| 68 | 71 | <div class="misc-pub-section"> |
| 69 | - <?php FrmAppHelper::icon_by_class( 'frm_icon_font frm_x_icon' ); ?> | |
| 72 | + <?php FrmAppHelper::icon_by_class( 'frmfont frm_x_icon' ); ?> | |
| 70 | 73 | <?php |
| 71 | 74 | FrmTransLiteSubscriptionsController::show_cancel_link( |
| 72 | 75 | $sub, |
| 73 | 76 | array( |
| @@ -76,9 +79,11 @@ | ||
| 76 | 79 | ); |
| 77 | 80 | ?> |
| 78 | 81 | </div> |
| 79 | 82 | <?php } ?> |
| 80 | - <?php } ?> | |
| 83 | + <?php | |
| 84 | + }//end foreach | |
| 85 | + ?> | |
| 81 | 86 | |
| 82 | 87 | <?php |
| 83 | 88 | if ( $entry_total ) { |
| 84 | 89 | $total_payment->amount = $entry_total; |
| @@ -83,9 +88,9 @@ | ||
| 83 | 88 | if ( $entry_total ) { |
| 84 | 89 | $total_payment->amount = $entry_total; |
| 85 | 90 | ?> |
| 86 | 91 | <div class="misc-pub-section"> |
| 87 | - <?php FrmAppHelper::icon_by_class( 'frm_icon_font frm_product_icon' ); ?> | |
| 92 | + <?php FrmAppHelper::icon_by_class( 'frmfont frm_product_icon' ); ?> | |
| 88 | 93 | <span> |
| 89 | 94 | <?php esc_html_e( 'Total Paid:', 'formidable' ); ?> |
| 90 | 95 | </span> |
| 91 | 96 | <span> |