<?php

if ( !defined( 'ABSPATH' ) ) {
    exit;
}

?><div class="pricely_checkout_item_subtotal">
    <?php
    
    $allowed_html = Pricely_Main::get_instance()->get_allow_html();// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
    
    echo wp_kses( wc_price( $view_data[ 'new_total' ] ), $allowed_html );

    if ( false !== $view_data[ 'tax_label' ] ) {
        ?>
        <small class="tax_label"><?php echo esc_html( $view_data[ 'tax_label' ] ); ?></small>
        <?php
    }
    ?>
</div>

