Changeset 3322168
- Timestamp:
- 07/04/2025 08:54:07 AM (9 months ago)
- Location:
- zeevou/trunk
- Files:
-
- 3 edited
-
js/search.js (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
-
zeevou.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
zeevou/trunk/js/search.js
r3309608 r3322168 1473 1473 if (rp_key == 0) { 1474 1474 1475 jQuery('#zeevou-unittype-item-' + value.id + ' .zeevou-price-text').html('<div class="zeevou-pbc-promotion-discount" ></div><div style="text-decoration: line-through; text-decoration-color: red; width:fit-content; float:left; margin-left: 10px;">' + currency + rp_value.total_price_without_promotion.toFixed(2) + '</div><div style="float:left; margin-left: 10px;">'+ currency + rp_value.total_price.toFixed(2));1475 jQuery('#zeevou-unittype-item-' + value.id + ' .zeevou-price-text').html('<div class="zeevou-pbc-promotion-discount" ></div><div class="zeevou-price-with-line-through" style="text-decoration: line-through; text-decoration-color: red; width:fit-content; float:left; margin-left: 10px;">' + currency + rp_value.total_price_without_promotion.toFixed(2) + '</div><div style="float:left; margin-left: 10px;">'+ currency + rp_value.total_price.toFixed(2)); 1476 1476 jQuery('#zeevou-unittype-item-' + value.id + ' .zeevou-price-select').prop('disabled', 'disabled'); 1477 1477 jQuery('#zeevou-unittype-item-' + value.id + ' .zeevou-tooltip-text').text(rp_value.name); 1478 1478 1479 if(value.zv_accomodation_price > 0) {1480 1481 if (typeof value.zv_accomodation_price !== 'undefined' && value.zv_accomodation_price > 0){1482 promotion_discount = Math.round((value.zv_promotion_price / (value.zv_accomodation_before_tax_price + value.zv_promotion_price)) *100);1479 if(value.zv_accomodation_price > 0) { 1480 1481 if (typeof value.zv_accomodation_price !== 'undefined' && value.zv_accomodation_price > 0) { 1482 promotion_discount = Math.round((value.zv_promotion_price / (value.zv_accomodation_before_tax_price + value.zv_promotion_price)) * 100); 1483 1483 } 1484 jQuery('.zeevou-pbc-promotion-discount').text(promotion_discount+"%"); 1485 jQuery('.zeevou-pbc-promotion-discount').show(); 1484 jQuery('#zeevou-unittype-item-' + value.id + ' .zeevou-pbc-promotion-discount').text(promotion_discount + "%"); 1485 } 1486 if(promotion_discount > 0) { 1487 jQuery('#zeevou-unittype-item-' + value.id + ' .zeevou-pbc-promotion-discount').show(); 1488 jQuery('#zeevou-unittype-item-' + value.id + ' .zeevou-price-with-line-through').show(); 1486 1489 }else{ 1487 jQuery('.zeevou-pbc-promotion-discount').hide(); 1490 jQuery('#zeevou-unittype-item-' + value.id + ' .zeevou-pbc-promotion-discount').hide(); 1491 jQuery('#zeevou-unittype-item-' + value.id + ' .zeevou-price-with-line-through').hide(); 1488 1492 } 1489 1493 … … 1983 1987 1984 1988 1985 if(value.zv_promotion_price > 0){ 1986 if(typeof value.zv_accomodation_price !== 'undefined' && value.zv_accomodation_price > 0){ 1987 promotion_discount = Math.round((value.zv_promotion_price / (value.zv_accomodation_before_tax_price + value.zv_promotion_price))*100); 1989 if(value.zv_promotion_price > 0) { 1990 if (typeof value.zv_accomodation_price !== 'undefined' && value.zv_accomodation_price > 0) { 1991 promotion_discount = Math.round((value.zv_promotion_price / (value.zv_accomodation_before_tax_price + value.zv_promotion_price)) * 100); 1992 }else { 1993 promotion_discount = 0; 1988 1994 } 1989 jQuery('.zeevou-pbc-promotion-discount').text(promotion_discount+"%"); 1990 jQuery('.zeevou-pbc-promotion-discount').show(); 1995 jQuery('#zeevou-reserve-modal' + ' .zeevou-pbc-promotion-discount').text(promotion_discount + "%"); 1996 }else { 1997 promotion_discount = 0; 1998 } 1999 2000 if(promotion_discount > 0) { 2001 jQuery('#zeevou-reserve-modal' + ' .zeevou-pbc-promotion-discount').show(); 1991 2002 }else{ 1992 jQuery(' .zeevou-pbc-promotion-discount').hide();2003 jQuery('#zeevou-reserve-modal' + ' .zeevou-pbc-promotion-discount').hide(); 1993 2004 } 1994 2005 -
zeevou/trunk/readme.txt
r3309608 r3322168 4 4 Requires at least: 3.1.0 5 5 Tested up to: 6.8 6 Stable tag: 0.7.8 26 Stable tag: 0.7.83 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
zeevou/trunk/zeevou.php
r3309608 r3322168 5 5 * Plugin URI: https://zeevou.com 6 6 * Description: Zeevou is a global community that helps you grow your hospitality business through cutting-edge automation, industry-leading training, and world-class support. 7 * Version: 0.7.8 28 * Stable tag: 0.7.8 27 * Version: 0.7.83 8 * Stable tag: 0.7.83 9 9 * Tags: Booking Website Engine, Airbnb, Booking.com, Expedia, Agoda, VRBO, HomeAway, Hotel, iCal, Zeevou, Short Term Accommodation, Serviced Apartment, Hospitality, Vacation Rentals, Property Management System, Property Management Software (PMS), Central Reservation System (CRS), Holiday Homes, Channel Manager, Guesthouse, Booking System, Free Booking Engine, Direct Booking Website 10 10 * Requires at least: 3.1.0 … … 77 77 //============================================================================ 78 78 if (!defined('ZEEVOU_PLUGIN_VERSION')) 79 define('ZEEVOU_PLUGIN_VERSION', '0.7.8 2');79 define('ZEEVOU_PLUGIN_VERSION', '0.7.83'); 80 80 81 81 function zeevou_plugin_check_version() {
Note: See TracChangeset
for help on using the changeset viewer.