| @@ -23,9 +23,9 @@ | ||
| 23 | 23 | printf( |
| 24 | 24 | /* translators: %1$s is the customer name, %2$s is the subscription item name */ |
| 25 | 25 | esc_html__('%1$s just renewed their subscription: %2$s.', 'fluent-cart'), |
| 26 | 26 | esc_html($subscription->customer->full_name), |
| 27 | - '<b>' . esc_html($subscription->item_name) . '</b>' | |
| 27 | + '<b>' . esc_html($subscription->display_item_name) . '</b>' | |
| 28 | 28 | ); |
| 29 | 29 | ?></p> |
| 30 | 30 | </div> |
| 31 | 31 | |
| @@ -30,9 +30,9 @@ | ||
| 30 | 30 | </div> |
| 31 | 31 | |
| 32 | 32 | <div class="space_bottom_30"> |
| 33 | 33 | <p><b><?php esc_html_e('Subscription Renewal Summary:', 'fluent-cart'); ?></b></p> |
| 34 | - <p><?php esc_html_e('Renewal Date:', 'fluent-cart'); ?> <b><?php echo esc_html($transaction->created_at->format('d M Y, H:i')); ?></b></p> | |
| 34 | + <p><?php esc_html_e('Renewal Date:', 'fluent-cart'); ?> <b><?php echo esc_html(\FluentCart\App\Services\DateTime\DateFormatter::format($transaction->created_at, true, $order)); ?></b></p> | |
| 35 | 35 | <p><?php esc_html_e('Renewal Amount 💰:', 'fluent-cart'); ?> <b><?php echo esc_html(\FluentCart\App\Helpers\Helper::toDecimal($transaction->total)); ?></b></p> |
| 36 | 36 | <p><?php esc_html_e('Payment Method:', 'fluent-cart'); ?> <b><?php echo esc_html($transaction->getPaymentMethodText()); ?></b></p> |
| 37 | 37 | <p><?php esc_html_e('Vendor Transaction ID:', 'fluent-cart'); ?> <b><?php echo esc_html($transaction->vendor_charge_id); ?></b></p> |
| 38 | 38 | </div> |