<?php
/**
 * Transaction Created Email Content Template
 *
 * Displays transaction creation 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 $transaction_id Transaction ID
 * @var string $transaction_type Transaction type
 * @var string $amount Transaction amount
 * @var string $currency Currency symbol
 * @var string $affiliate_name Affiliate name
 * @var string $dashboard_url Dashboard URL
 * @var string $button Button HTML
 * @var string $signature Signature HTML
 */

?>

<?php echo $greeting; ?>

<?php echo $highlight; ?>

<?php echo $stats; ?>

<p>A new transaction has been created in the affiliate system. Please review the details and take any necessary actions.</p>

<p><strong>Transaction Overview:</strong></p>
<ul>
	<li><strong>Transaction ID:</strong> <?php echo esc_html( $transaction_id ); ?></li>
	<li><strong>Type:</strong> <?php echo esc_html( $transaction_type ); ?></li>
	<li><strong>Amount:</strong> <?php echo esc_html( $currency . number_format( $amount, 2 ) ); ?></li>
	<li><strong>Affiliate:</strong> <?php echo esc_html( $affiliate_name ); ?></li>
</ul>

<?php echo $button; ?>

<p><strong>Recommended Actions:</strong></p>
<ul>
	<li>Verify transaction details and amounts</li>
	<li>Check affiliate account status</li>
	<li>Monitor for any irregularities</li>
	<li>Process according to your payout schedule</li>
</ul>

<p>This transaction has been recorded in the system and will be visible in the affiliate's transaction history.</p>

<?php echo $signature; ?>
