<?php
/**
 * Admin Paid Referral Email Content Template
 *
 * Displays paid referral notifications to administrators.
 *
 * @since 2.15.0
 * @package wc-affiliate
 * @var string $greeting Greeting HTML
 * @var string $highlight Highlight HTML
 * @var string $stats Stats HTML
 * @var string $referral_id Referral ID
 * @var string $order_id Order ID
 * @var string $amount Paid amount
 * @var string $currency Currency symbol
 * @var string $affiliate_name Affiliate name
 * @var string $affiliate_email Affiliate email
 * @var string $order_date Order date
 * @var string $user_url Affiliate admin URL
 * @var string $button Button HTML
 * @var string $signature Signature HTML
 */

?>

<?php echo $greeting; ?>

<?php echo $highlight; ?>

<?php echo $stats; ?>

<p>A referral payment has been processed successfully. The affiliate has been notified and the commission has been credited to their account.</p>

<p><strong>Payment Summary:</strong></p>
<ul>
	<li><strong>Referral ID:</strong> #<?php echo esc_html( $referral_id ); ?></li>
	<li><strong>Order ID:</strong> #<?php echo esc_html( $order_id ); ?></li>
	<li><strong>Commission Paid:</strong> <span style="color: #059669; font-weight: bold;"><?php echo esc_html( $currency . number_format( $amount, 2 ) ); ?></span></li>
	<li><strong>Affiliate:</strong> <?php echo esc_html( $affiliate_name ); ?> (<?php echo esc_html( $affiliate_email ); ?>)</li>
	<li><strong>Order Date:</strong> <?php echo esc_html( $order_date ); ?></li>
</ul>

<?php echo $button; ?>

<p><strong>Commission Tracking:</strong></p>
<ul>
	<li>This payment has been recorded in the affiliate's transaction history</li>
	<li>The affiliate's total earnings have been updated</li>
	<li>Future payouts will be available once they reach the minimum threshold</li>
</ul>

<p>Regular commission payments help maintain affiliate engagement and trust in the program.</p>

<?php echo $signature; ?>
