| @@ -158,9 +158,9 @@ | ||
| 158 | 158 | <?php endif; ?> |
| 159 | 159 | <?php |
| 160 | 160 | } elseif ( 'subscrpt_next_date' === $column ) { |
| 161 | 161 | $next_date = get_post_meta( $post_id, '_subscrpt_next_date', true ); |
| 162 | - echo ! empty( $next_date ) ? esc_html( wp_date( 'F d, Y', $next_date ) ) : '-'; | |
| 162 | + echo ! empty( $next_date ) && Helper::has_next_payment( get_post_status( $post_id ) ) ? esc_html( wp_date( 'F d, Y', $next_date ) ) : '-'; | |
| 163 | 163 | } elseif ( 'subscrpt_status' === $column ) { |
| 164 | 164 | $status_obj = get_post_status_object( get_post_status( $post_id ) ); |
| 165 | 165 | ?> |
| 166 | 166 | <span |