<div class="booking-item-payment-total text-right"> <?php $item_price = STPrice::getRentalPriceOnlyCustomPrice($item_id, strtotime($check_in), strtotime($check_out)); $price = $item_price; $sale_price = STPrice::getSalePrice($item_id, $item_price, strtotime($check_in), strtotime($check_out)); $extra_price = isset($item['data']['extra_price']) ? floatval($item['data']['extra_price']) : 0; $price_with_tax = STPrice::getPriceWithTax($sale_price + $extra_price); ?> <table border="0" class="table_checkout"> <tr> <td class="text-left title"> <?php echo __('Origin Price', ST_TEXTDOMAIN); ?> <?php $include_tax = STPrice::checkIncludeTax(); if ($include_tax) { echo '(' . __('tax included', ST_TEXTDOMAIN) . ')'; } ?> </td> <td class="text-right "><strong><?php echo TravelHelper::format_money($price); ?> </strong></td> </tr> <tr> <td class="text-left title"><?php echo __('Sale Price', ST_TEXTDOMAIN); ?> </td>