<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}
?>
<div class="academy-course-bundle__discount">
	<?php if ( 'percent' === $discount_type ) : ?> 
		<h5 class="academy-course-bundle__discount-amount"><?php echo esc_html( $discount ); ?>% <?php esc_html_e( 'OFF', 'academy-pro' ); ?></h5>
	<?php else : ?>
		<h5 class="academy-course-bundle__discount-amount"><?php echo wp_kses_post( wc_price( $discount ) ); ?> <?php esc_html_e( 'OFF', 'academy-pro' ); ?></h5>
	<?php endif; ?>
</div>
