invoice_no ?: $order->id ), esc_html( $order->customer->full_name ) ); ?>

' . esc_html( isset($error) ? $error : '' ) . '' ); ?>

' . esc_html( $nextRetryAt ) . '' ); } else { esc_html_e( 'No further automatic attempts are scheduled — the renewal order follows the normal overdue flow.', 'fluent-cart' ); } ?>

render('emails.parts.items_table', [ 'order' => $order, 'formattedItems' => $order->order_items, 'heading' => __('Renewal Summary', 'fluent-cart'), ]);