PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.6.6
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.6.6
1.6.6 1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 1.3.20 1.3.19 All 49 releases
← All changes | app/Views/emails/subscription/trial_end/admin.php +2 -2 1.3.21 → 1.6.6 View file →
@@ -9,9 +9,9 @@
9 9 $reminder = (isset($reminder) && is_array($reminder)) ? $reminder : [];
10 10 $trialEndDate = \FluentCart\Framework\Support\Arr::get($reminder, 'trial_end_date',
11 11 !empty($subscription->trial_ends_at) ? $subscription->trial_ends_at : $subscription->next_billing_date
12 12 );
13 -$trialEndLabel = $trialEndDate ? \FluentCart\App\Services\DateTime\DateTime::gmtToTimezone($trialEndDate)->format('M d, Y h:i A') : '';
13 +$trialEndLabel = \FluentCart\App\Services\DateTime\DateFormatter::format($trialEndDate, true, $order);
14 14 $stage = \FluentCart\Framework\Support\Arr::get($reminder, 'stage', '');
15 15 $daysBefore = preg_replace('/[^0-9]/', '', $stage);
16 16 $daysText = !empty($daysBefore) ? sprintf(__('%d days', 'fluent-cart'), $daysBefore) : '';
17 17 $renewalAmount = $subscription->recurring_total ?? 0;
@@ -27,9 +27,9 @@
27 27 <td style="font-size:13px;color:#111827;font-weight:600;padding:0 0 6px;text-align:right;"><?php echo esc_html($subscription->customer->full_name); ?></td>
28 28 </tr>
29 29 <tr>
30 30 <td style="font-size:13px;color:#6b7280;padding:0 0 6px;"><?php esc_html_e('Subscription', 'fluent-cart'); ?></td>
31 - <td style="font-size:13px;color:#111827;font-weight:600;padding:0 0 6px;text-align:right;"><?php echo esc_html($subscription->item_name); ?></td>
31 + <td style="font-size:13px;color:#111827;font-weight:600;padding:0 0 6px;text-align:right;"><?php echo esc_html($subscription->display_item_name); ?></td>
32 32 </tr>
33 33 <?php if ($daysText): ?>
34 34 <tr>
35 35 <td style="font-size:13px;color:#6b7280;padding:0 0 6px;"><?php esc_html_e('Trial Ends In', 'fluent-cart'); ?></td>