PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.6.5
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.6.5
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/canceled/admin.php +10 -3 1.3.21 → 1.6.5 View file →
@@ -7,8 +7,9 @@
7 7 */
8 8
9 9 $renewalAmount = $subscription->recurring_total ?? 0;
10 10 $billingInterval = $subscription->billing_interval ?? '';
11 +$accessUntilLabel = \FluentCart\App\Services\DateTime\DateFormatter::format($subscription->next_billing_date, false, $order);
11 12 ?>
12 13
13 14 <div class="space_bottom_30">
14 15 <p><?php esc_html_e('A subscription has been canceled.', 'fluent-cart'); ?></p>
@@ -19,9 +20,9 @@
19 20 <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>
20 21 </tr>
21 22 <tr>
22 23 <td style="font-size:13px;color:#6b7280;padding:0 0 6px;"><?php esc_html_e('Subscription', 'fluent-cart'); ?></td>
23 - <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>
24 + <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>
24 25 </tr>
25 26 <?php if ($renewalAmount): ?>
26 27 <tr>
27 28 <td style="font-size:13px;color:#6b7280;padding:0 0 6px;"><?php esc_html_e('Amount', 'fluent-cart'); ?></td>
@@ -34,10 +35,16 @@
34 35 </tr>
35 36 <?php endif; ?>
36 37 <?php if (!empty($reason)): ?>
37 38 <tr>
38 - <td style="font-size:13px;color:#6b7280;padding:0;"><?php esc_html_e('Reason', 'fluent-cart'); ?></td>
39 - <td style="font-size:13px;color:#111827;font-weight:600;padding:0;text-align:right;"><?php echo esc_html($reason); ?></td>
39 + <td style="font-size:13px;color:#6b7280;padding:0 0 6px;"><?php esc_html_e('Reason', 'fluent-cart'); ?></td>
40 + <td style="font-size:13px;color:#111827;font-weight:600;padding:0 0 6px;text-align:right;"><?php echo esc_html($reason); ?></td>
41 + </tr>
42 + <?php endif; ?>
43 + <?php if ($accessUntilLabel): ?>
44 + <tr>
45 + <td style="font-size:13px;color:#6b7280;padding:0;"><?php esc_html_e('Access Until', 'fluent-cart'); ?></td>
46 + <td style="font-size:13px;color:#111827;font-weight:600;padding:0;text-align:right;"><?php echo esc_html($accessUntilLabel); ?></td>
40 47 </tr>
41 48 <?php endif; ?>
42 49 </tbody>
43 50 </table>