trial_ends_at) ? $subscription->trial_ends_at : $subscription->next_billing_date ); $trialEndLabel = \FluentCart\App\Services\DateTime\DateFormatter::format($trialEndDate, true, $order); $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); ?>
display_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'), ]);