| @@ -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 | |
| @@ -22,9 +22,9 @@ | ||
| 22 | 22 | <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 | 23 | </tr> |
| 24 | 24 | <tr> |
| 25 | 25 | <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> | |
| 26 | + <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 | 27 | </tr> |
| 28 | 28 | <?php if ($renewalAmount): ?> |
| 29 | 29 | <tr> |
| 30 | 30 | <td style="font-size:13px;color:#6b7280;padding:0 0 6px;"><?php esc_html_e('Renewal Amount', 'fluent-cart'); ?></td> |