Skip to content

Commit

Permalink
Merge branch 'hotfix/1.1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
gkaicb committed Jan 24, 2024
2 parents cd45edf + a7b4f34 commit 8aac4c5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gnahs-wp-tools.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: GNA Hotel Solutions WordPress Tools
* Plugin URI: https://www.gnahs.com
* Description: WordPress Hotel Tools developed by GNAHS
* Version: 1.1.1
* Version: 1.1.2
* Author: GNA Hotel Solutions
* Author URI: https://www.gnahs.com
* License: GPLv2 o posterior
Expand Down
12 changes: 6 additions & 6 deletions views/engine.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<div id="GNAHSEngine" style="max-width: none !important;"></div>
<script>
window.BookingParams = window.BookingParams || {}
window.BookingParams.uuid = '<?= $atts['uuid'] ?>'
window.BookingParams = window.BookingParams || {};
window.BookingParams.uuid = '<?= $atts['uuid'] ?>';
<?php if ($atts['establishmentId']) { ?>
window.BookingParams.singleEstablishment = <?= $atts['establishmentId'] ?>
window.BookingParams.singleEstablishment = <?= $atts['establishmentId'] ?>;
<?php } ?>
window.BookingParams.language = window.BookingParams.language || '<?= get_locale() ?>'
window.BookingParams.api = 'https://<?= $atts['api'] ?>.gnahs.app'
window.BookingParams.assets = 'https://<?= $atts['api'] ?>.gnahs.app/dist/'
window.BookingParams.language = window.BookingParams.language || '<?= get_locale() ?>';
window.BookingParams.api = 'https://<?= $atts['api'] ?>.gnahs.app';
window.BookingParams.assets = 'https://<?= $atts['api'] ?>.gnahs.app/dist/';
</script>
<script src="https://assets.gnahs.com/scripts/rho-initialization/gnahs-get-rho-initial-settings-v2.js" onload="(new GNAHSGetRhoInitialSettings())"></script>
<script src="https://assets.gnahs.com/scripts/booking-engine/fetch.min.js"></script>

0 comments on commit 8aac4c5

Please sign in to comment.