예제 #1
0
                    <p class="booking-item-payment-price-amount">
                        <?php 
    if (!empty($price_old)) {
        ?>
                        <?php 
        echo '<span class="onsale">' . $price_old . '</span> <i class="fa fa-arrow-right "></i>';
        ?>
                        <?php 
    }
    ?>
                        <strong><?php 
    echo TravelHelper::format_money($price_car);
    ?>
</strong>
                        <small>/<?php 
    echo STCars::get_price_unit();
    ?>
</small>
                    </p>
                </li>
                <li>
                    <p class="booking-item-payment-price-title"><?php 
    st_the_language('car_total');
    ?>
 </p>
                    <p class="booking-item-payment-price-amount"><?php 
    echo TravelHelper::format_money($item['data']['price_total']);
    ?>
                    </p>
                </li>
            </ul>
예제 #2
0
'>

    <input type="hidden" name="discount" value='<?php 
echo esc_attr($count_sale);
?>
'>
    <input type="hidden" name="price_old" value='<?php 
echo isset($price_sale) ? $price_sale : $cars_price;
?>
'>
    <input type="hidden" name="price" value='<?php 
echo esc_attr($cars_price);
?>
'>
    <input type="hidden" name="price_unit" value="<?php 
echo esc_attr(STCars::get_price_unit());
?>
">
    <input type="hidden" name="action" value='cars_add_to_cart'>
    <input type="hidden" name="data_price_cars"  class="data_price_cars" value='<?php 
echo json_encode($data);
?>
'>
    <input type="hidden" name="data_price_items"  class="data_price_items" value=''>
    <input type="hidden" name="selected_equipments" value="" class="st_selected_equipments">
    <?php 
if (!empty($field_list) and is_array($field_list)) {
    foreach ($field_list as $key => $value) {
        if (isset($field_type[$value['field_atrribute']])) {
            $field_name = isset($field_type[$value['field_atrribute']]['field_name']) ? $field_type[$value['field_atrribute']]['field_name'] : false;
            if ($field_name) {
예제 #3
0
                }
            }
        }
    }
}
?>
            </ul>
            <div>
                <?php 
if (!empty($count_sale)) {
    ?>
                    <span class="text-small lh1em  onsale">
                                    <?php 
    echo TravelHelper::format_money($price_sale);
    ?>
                                </span>
                    <i class="fa fa-long-arrow-right"></i>
                <?php 
}
?>
                <?php 
if (!empty($price)) {
    echo '<span class="text-darken mb0 text-color">' . TravelHelper::format_money($price) . '<small> /' . strtolower(STCars::get_price_unit('label')) . '</small></span>';
}
?>
            </div>
        </div>
    </div>
    <div class="gap"></div>
</div>
예제 #4
0
        ?>
                                     <span class=" onsale">
                                      <?php 
        echo TravelHelper::format_money($price_origin);
        ?>
                                     </span>
                                    <i class="fa fa-long-arrow-right"></i>
                                <?php 
    }
    ?>
                                <span class="text-lg">
                                        <?php 
    echo TravelHelper::format_money($price);
    ?>
                                </span>/<?php 
    echo strtolower(STCars::get_price_unit('label'));
    ?>
                            </p>
                        <?php 
}
?>
    
                    </div>
                </div>
            </header>
            <div class="gap gap-small"></div>
            <?php 
if ($detail_cars_layout) {
    echo STTemplate::get_vc_pagecontent($detail_cars_layout);
} else {
    echo st()->load_template('cars/single', 'default');
예제 #5
0
        ?>
 - <?php 
        echo esc_html($drop_off_date_html);
        ?>
 )</small>
                    <?php 
    } else {
        ?>
                        <small><?php 
        echo esc_attr($time);
        ?>
 <?php 
        if ($time > 1) {
            echo STCars::get_price_unit('plural');
        } else {
            STCars::get_price_unit('label');
        }
        ?>
 </small>
                    <?php 
    }
    ?>
                </li>
            <?php 
}
?>
                <li><p>
                        <?php 
st_the_language('car_equipment');
?>
                        <span class="st_data_car_equipment_total" data-value="0">
    if (!empty($price_by_number_of_day_hour)) {
        ?>
        <div class="table-responsive">
            <table class="table table-bordered">
                <tr>
                    <th><?php 
        _e("#", ST_TEXTDOMAIN);
        ?>
</th>
                    <th><?php 
        _e("Title", ST_TEXTDOMAIN);
        ?>
</th>
                    <th style="width: 120px;"><?php 
        _e("Number ", ST_TEXTDOMAIN);
        echo '(' . STCars::get_price_unit('label') . ')';
        ?>
</th>
                    <th><?php 
        _e("Price", ST_TEXTDOMAIN);
        ?>
</th>
                </tr>
                <?php 
        foreach ($price_by_number_of_day_hour as $k => $v) {
            ?>
                <tr>
                    <td><?php 
            echo esc_html($k + 1);
            ?>
</td>