<?php
// templates/mail/en/credit_payment_confirmation.php

/**
 * @var int $order_id
 * @var float $total_amount
 * @var float $new_balance
 * @var string $order_details_link
 */
?>

<p>Hello,</p>
<p>We confirm that your payment of <?php echo format_money($total_amount, $lang, $db); ?> for order #<?php echo $order_id; ?> has been successfully processed using your trade credit.</p>
<p>Your new credit balance is <?php echo format_money($new_balance, $lang, $db); ?>.</p>
<p>You can view your order details here: <a href="<?php echo $order_details_link; ?>"><?php echo $order_details_link; ?></a></p>