<?php
/**
 * Cart summary data
 */
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}

global $fbbttm_cartobj,$cartsummary,$fbbttm_helperobj; 


$grandtotal = $cartsummary['grandtotal'];
$subtotal = $cartsummary['subtotal'];
$tax = $cartsummary['tax'];
$grandtotal_pricesy = $fbbttm_helperobj->fbbttm_get_price_with_currency($grandtotal);
$subtotal_pricesy = $fbbttm_helperobj->fbbttm_get_price_with_currency($subtotal);
$tax_sy = $fbbttm_helperobj->fbbttm_get_price_with_currency($tax);

?>

  <div class="cart-total-summary">
               
   <div class="fbbttmcart-summary">

     <div class="fbbttm-grandtotal">

        <div class="fbbttm-subtotal">

            <span class="fbbttm-lable-subtotal"><?php echo esc_html__('Subtotal','foodboxbooker');?>:</span>  <span class="fbbttm-lable-subtotal price-num">

                <?php echo esc_html($subtotal_pricesy);?>

            </span>

        </div>
        <div class="fbbttm-tax">
           <span class="fbbttm-lable-tax"><?php echo esc_html__('Tax','foodboxbooker');?>:</span><span class="fbbttm-lable-subtotal price-num">
            <?php echo esc_html($tax_sy);?>
            </span>
        </div>
     <div class="fbbttm-grandtotal">
       <span class="fbbttm-lable-tax"><?php echo esc_html__('Grandtotal','foodboxbooker');?>:</span><span class="fbbttm-lable-subtotal price-num">
        <?php echo esc_html($grandtotal_pricesy);?>
        </span>
     </div>
    </div>
  </div>
</div>