| @@ -262,9 +262,9 @@ | ||
| 262 | 262 | $customer_url = $customer_id ? admin_url( 'user-edit.php?user_id=' . $customer_id ) : ''; |
| 263 | 263 | $customer_email = $order ? $order->get_billing_email() : ''; |
| 264 | 264 | |
| 265 | 265 | $start_date = $subscription_data['start_date'] ? strtotime( $subscription_data['start_date'] ) : 0; |
| 266 | - $renewal_date = $subscription_data['next_date'] && SpringDevs\Subscription\Illuminate\Helper::has_next_payment( $subscrpt_status ) ? strtotime( $subscription_data['next_date'] ) : 0; | |
| 266 | + $renewal_date = $subscription_data['next_date'] ? strtotime( $subscription_data['next_date'] ) : 0; | |
| 267 | 267 | |
| 268 | 268 | $is_trash = 'trash' === $subscription->post_status; |
| 269 | 269 | $is_grace_period = isset( $subscription_data['grace_period'] ); |
| 270 | 270 | $grace_remaining = $subscription_data['grace_period']['remaining_days'] ?? 0; |