| @@ -7,11 +7,9 @@ | ||
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | 9 | $renewalAmount = $subscription->recurring_total ?? 0; |
| 10 | 10 | $billingInterval = $subscription->billing_interval ?? ''; |
| 11 | -$accessUntilLabel = !empty($subscription->next_billing_date) | |
| 12 | - ? \FluentCart\App\Services\DateTime\DateTime::gmtToTimezone($subscription->next_billing_date)->format('M d, Y') | |
| 13 | - : ''; | |
| 11 | +$accessUntilLabel = \FluentCart\App\Services\DateTime\DateFormatter::format($subscription->next_billing_date, false, $order); | |
| 14 | 12 | ?> |
| 15 | 13 | |
| 16 | 14 | <div class="space_bottom_30"> |
| 17 | 15 | <p><?php esc_html_e('A subscription has been canceled.', 'fluent-cart'); ?></p> |
| @@ -22,9 +20,9 @@ | ||
| 22 | 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> |
| 23 | 21 | </tr> |
| 24 | 22 | <tr> |
| 25 | 23 | <td style="font-size:13px;color:#6b7280;padding:0 0 6px;"><?php esc_html_e('Subscription', 'fluent-cart'); ?></td> |
| 26 | - <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> | |
| 27 | 25 | </tr> |
| 28 | 26 | <?php if ($renewalAmount): ?> |
| 29 | 27 | <tr> |
| 30 | 28 | <td style="font-size:13px;color:#6b7280;padding:0 0 6px;"><?php esc_html_e('Amount', 'fluent-cart'); ?></td> |