PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.7.1
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.7.1
1.7.1 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 All 51 releases
← All changes | app/Views/invoice/parts/subscription_items.php +7 -1 1.6.1 → 1.7.1 View file →
@@ -1,5 +1,11 @@
1 1 <?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
2 +<?php
3 +/**
4 + * @var \FluentCart\Framework\Database\Orm\Collection $subscriptions
5 + * @var \FluentCart\App\Models\Order $order
6 + */
7 +?>
2 8 <?php if ($subscriptions->count() > 0): ?>
3 9
4 10 <div style="font-size:16px;font-weight:600;color:rgb(44,62,80);margin: 16px 0 0 0;line-height:24px;">
5 11 <?php echo esc_html__('Subscription Details', 'fluent-cart'); ?>
@@ -35,9 +41,9 @@
35 41 printf(
36 42 /* translators: %s is the auto-renewal date and time */
37 43 esc_html__('- Auto renews on %s', 'fluent-cart'),
38 44 esc_html(
39 - \FluentCart\App\Services\DateTime\DateTime::gmtToTimezone($subs->next_billing_date)->format('M d, Y h:i A')
45 + \FluentCart\App\Services\DateTime\DateFormatter::format($subs->next_billing_date, true, $order)
40 46 )
41 47 );
42 48 ?>
43 49 </p>