PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.7.0
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.7.0
1.7.0 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 All 50 releases
← All changes | app/Views/emails/subscription/reminder/customer.php +3 -3 1.3.21 → 1.7.0 View file →
@@ -7,9 +7,9 @@
7 7 */
8 8
9 9 $reminder = (isset($reminder) && is_array($reminder)) ? $reminder : [];
10 10 $billingDate = \FluentCart\Framework\Support\Arr::get($reminder, 'billing_date', $subscription->next_billing_date);
11 -$billingLabel = $billingDate ? \FluentCart\App\Services\DateTime\DateTime::gmtToTimezone($billingDate)->format('M d, Y h:i A') : '';
11 +$billingLabel = \FluentCart\App\Services\DateTime\DateFormatter::format($billingDate, true, $order);
12 12 $renewalAmount = $subscription->recurring_total ?? 0;
13 13 $billingInterval = $subscription->billing_interval ?? '';
14 14 ?>
15 15
@@ -27,9 +27,9 @@
27 27 <?php
28 28 printf(
29 29 /* translators: %s is subscription item name */
30 30 esc_html__('This is a friendly reminder that your subscription for %s will renew soon.', 'fluent-cart'),
31 - '<b>' . esc_html($subscription->item_name) . '</b>'
31 + '<b>' . esc_html($subscription->display_item_name) . '</b>'
32 32 );
33 33 ?>
34 34 </p>
35 35 <table role="presentation" cellpadding="0" cellspacing="0" width="100%" style="border:1px solid #e5e7eb;border-radius:8px;padding:14px 16px;margin:12px 0 0;">
@@ -35,9 +35,9 @@
35 35 <table role="presentation" cellpadding="0" cellspacing="0" width="100%" style="border:1px solid #e5e7eb;border-radius:8px;padding:14px 16px;margin:12px 0 0;">
36 36 <tbody>
37 37 <tr>
38 38 <td style="font-size:13px;color:#6b7280;padding:0 0 6px;"><?php esc_html_e('Subscription', 'fluent-cart'); ?></td>
39 - <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>
39 + <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>
40 40 </tr>
41 41 <?php if ($renewalAmount): ?>
42 42 <tr>
43 43 <td style="font-size:13px;color:#6b7280;padding:0 0 6px;"><?php esc_html_e('Renewal Amount', 'fluent-cart'); ?></td>