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.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 trunk All 48 releases
fluent-cart / app / Views / emails / subscription / past_due / admin.php

admin.php in FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler 1.6.5, at app/Views/emails/subscription/past_due/admin.php

38 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
2 <?php
3 /**
4 * @var \FluentCart\App\Models\Subscription $subscription
5 * @var \FluentCart\App\Models\Order $order
6 */
7 ?>
8
9 <div class="space_bottom_30">
10 <p><?php echo esc_html__('Hey there,', 'fluent-cart'); ?></p>
11 <p>
12 <?php
13 printf(
14 /* translators: 1: customer full name, 2: subscription item name */
15 esc_html__( 'The subscription for %1$s to %2$s has been marked as past due. The renewal order has exceeded the grace period without payment.', 'fluent-cart' ),
16 esc_html($subscription->customer->full_name),
17 esc_html( $subscription->item_name )
18 );
19 ?>
20 </p>
21 </div>
22
23 <?php
24
25 \FluentCart\App\App::make('view')->render('emails.parts.items_table', [
26 'order' => $order,
27 'formattedItems' => $order->order_items,
28 'heading' => __('Unpaid Renewal', 'fluent-cart'),
29 ]);
30
31 echo '<hr />';
32
33 \FluentCart\App\App::make('view')->render('emails.parts.call_to_action_box', [
34 'content' => __('To review this subscription and take action, please check the subscription detail page.', 'fluent-cart'),
35 'link' => $order->getViewUrl('admin'),
36 'button_text' => __('View Details', 'fluent-cart'),
37 ]);
38