trial_ends_at) ? $subscription->trial_ends_at : $subscription->next_billing_date ); $trialEndLabel = $trialEndDate ? \FluentCart\App\Services\DateTime\DateTime::gmtToTimezone($trialEndDate)->format('M d, Y h:i A') : ''; $stage = \FluentCart\Framework\Support\Arr::get($reminder, 'stage', ''); $daysBefore = preg_replace('/[^0-9]/', '', $stage); $daysText = !empty($daysBefore) ? sprintf(__('%d days', 'fluent-cart'), $daysBefore) : ''; $renewalAmount = $subscription->recurring_total ?? 0; $billingInterval = $subscription->billing_interval ?? ''; ?>

customer->full_name); ?>
item_name); ?>
()
render('emails.parts.call_to_action_box', [ 'content' => __('You can review subscription details and take action if needed from the admin dashboard.', 'fluent-cart'), 'link' => $subscription->getViewUrl('admin'), 'button_text' => __('View Subscription', 'fluent-cart'), ]);