Changeset 1580432
- Timestamp:
- 01/23/2017 03:45:51 PM (9 years ago)
- Location:
- vrpconnector/trunk
- Files:
-
- 8 added
- 11 edited
-
README.txt (modified) (2 diffs)
-
VRPConnector.php (modified) (1 diff)
-
lib/calendar.php (added)
-
lib/dummyresult.php (added)
-
lib/pms (added)
-
lib/pms/barefoot.php (added)
-
lib/vrpconnector.php (added)
-
lib/widgets (added)
-
lib/widgets/vrpsearchformwidget.php (added)
-
themes/mountainsunset/booking.php (modified) (2 diffs)
-
themes/mountainsunset/functions.php (modified) (1 diff)
-
themes/mountainsunset/js/vrp.checkout.barefoot.js (added)
-
themes/mountainsunset/js/vrp.unit.js (modified) (3 diffs)
-
themes/mountainsunset/step3.php (modified) (11 diffs)
-
themes/mountainsunset/unit.php (modified) (3 diffs)
-
vendor/composer/autoload_classmap.php (modified) (1 diff)
-
vendor/composer/autoload_namespaces.php (modified) (1 diff)
-
vendor/composer/autoload_psr4.php (modified) (1 diff)
-
vendor/composer/installed.json (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
vrpconnector/trunk/README.txt
r1557771 r1580432 3 3 Tags: Vacation Rental Platform, Gueststream, VRP Connector, ISILink, HomeAway, Escapia, Barefoot, VRMGR 4 4 Requires at least: 3.0.1 5 Tested up to: 4.7 5 Tested up to: 4.7.1 6 6 Stable tag: trunk 7 7 License: GPLv2 or later … … 53 53 54 54 == Changelog == 55 = 1.5.0 = 56 * Barefoot Property Management Software support established. 57 55 58 = 1.4.5 = 56 59 * Cleaning up code style in Theme files to better match WordPress code style standards. -
vrpconnector/trunk/VRPConnector.php
r1557771 r1580432 5 5 * Description: Vacation Rental Platform Connector. 6 6 * Author: Gueststream 7 * Version: 1. 4.57 * Version: 1.5.0 8 8 * Author URI: http://www.gueststream.com/ 9 9 * -
vrpconnector/trunk/themes/mountainsunset/booking.php
r1545576 r1580432 15 15 $query = $wp_query; 16 16 ?> 17 <div id="vrp"> 18 <div id="myModal2" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" 19 aria-hidden="true"> 20 <div class="modal-header"> 21 <h3>Reservation Details</h3> 22 </div> 23 <div class="modal-body"> 17 <div id="vrp"> 18 19 <div class="modal-header"> 20 <h3>Reservation Details</h3> 21 </div> 22 <div> 23 24 <table class="table table-striped"> 25 <tr> 26 <td><b>Property Name:</b></td> 27 <td><b><?php echo esc_html( $data->Name ); ?></b></td> 28 </tr> 29 30 <tr> 31 <td>Arrival:</td> 32 <td><b><?php echo esc_html( $data->Arrival ); ?></b></td> 33 </tr> 34 <tr> 35 <td>Departure:</td> 36 <td><b><?php echo esc_html( $data->Departure ); ?></b></td> 37 </tr> 38 <tr> 39 <td>Nights:</td> 40 <td><b><?php echo esc_html( $data->Nights ); ?></b></td> 41 </tr> 42 </table> 43 44 <table id="ratebreakdown" class="table table-striped"> 45 <?php 46 if ( isset( $data->Charges ) ) : 47 foreach ( $data->Charges as $v ) : 48 ?> 49 <tr> 50 <td><?php echo esc_html( $v->Description ); ?>:</td> 51 <td><?php if ( isset( $v->Type ) && 'discount' === $v->Type ) { 52 echo '-'; 53 } ?>$<?php echo esc_html( number_format( $v->Amount, 2 ) ); ?> 54 </td> 55 </tr> 56 <?php 57 endforeach; 58 endif; 59 ?> 60 61 <?php if ( isset( $data->booksettings->HasPackages ) ) { ?> 62 <tr> 63 <td>Add-on Package:</td> 64 <td id="packageinfo"> 65 $<?php echo esc_html( number_format( $data->package->packagecost, 2 ) ); ?> 66 </td> 67 </tr> 68 <?php } ?> 69 <tr> 70 <td>Tax:</td> 71 <td>$<?php echo esc_html( number_format( $data->TotalTax, 2 ) ); ?></td> 72 </tr> 73 <tr> 74 <td><b>Total Cost:</b></td> 75 <td id="TotalCost"> 76 $<?php echo esc_html( number_format( $data->TotalCost - $data->InsuranceAmount, 2 ) ); ?> 77 </td> 78 </tr> 79 </table> 80 81 <?php if ( isset( $data->HasInsurance ) && $data->HasInsurance ) { ?> 82 <h3>Optional Travel Insurance</h3> 24 83 <table class="table table-striped"> 25 84 <tr> 26 <td><b>Property Name:</b></td> 27 <td><b><?php echo esc_html( $data->Name ); ?></b></td> 28 </tr> 29 30 <tr> 31 <td>Arrival:</td> 32 <td><b><?php echo esc_html( $data->Arrival ); ?></b></td> 85 <td>Optional Travel Insurance:</td> 86 <td>$<?php echo esc_html( number_format( $data->InsuranceAmount, 2 ) ); ?></td> 33 87 </tr> 34 88 <tr> 35 <td>Departure:</td> 36 <td><b><?php echo esc_html( $data->Departure ); ?></b></td> 37 </tr> 38 <tr> 39 <td>Nights:</td> 40 <td><b><?php echo esc_html( $data->Nights ); ?></b></td> 41 </tr> 42 <?php 43 if ( isset( $data->Charges ) ) { 44 foreach ( $data->Charges as $v ) : 45 ?> 46 <tr> 47 <td><?php echo esc_html( $v->Description ); ?>:</td> 48 <td><?php if ( isset( $v->Type ) && 'discount' === $v->Type ) { 49 echo '-'; 50 } ?>$<?php echo esc_html( number_format( $v->Amount, 2 ) ); ?> 51 </td> 52 </tr> 53 <?php 54 endforeach; 55 } 56 ?> 57 58 <?php if ( isset( $data->booksettings->HasPackages ) ) { ?> 59 <tr> 60 <td>Add-on Package:</td> 61 <td id="packageinfo"> 62 $<?php echo esc_html( number_format( $data->package->packagecost, 2 ) ); ?> 63 </td> 64 </tr> 65 <?php } ?> 66 <tr> 67 <td>Tax:</td> 68 <td>$<?php echo esc_html( number_format( $data->TotalTax, 2 ) ); ?></td> 69 </tr> 70 <tr> 71 <td><b>Reservation Total:</b></td> 72 <td id="TotalCost"> 73 <?php 74 $total_cost = 0; 75 if ( isset( $data->package->TotalCost ) ) { 76 $total_cost = $data->package->TotalCost - $data->InsuranceAmount; 77 } else { 78 $total_cost = $data->TotalCost - $data->InsuranceAmount; 79 } 80 ?> 81 $<?php echo esc_html( number_format( $total_cost, 2 ) ); ?> 82 </td> 89 <td><b>Reservation Total with Insurance:</b></td> 90 <td>$<?php echo esc_html( number_format( $data->TotalCost, 2 ) ); ?></td> 83 91 </tr> 84 92 </table> 93 <?php } ?> 94 </div> 85 95 86 <?php if ( isset( $data->HasInsurance ) && $data->HasInsurance ) { ?>87 <h3>Optional Travel Insurance</h3>88 <table class="table table-striped">89 <tr>90 <td>Optional Travel Insurance:</td>91 <td>$<?php echo esc_html( number_format( $data->InsuranceAmount, 2 ) ); ?></td>92 </tr>93 <tr>94 <td><b>Reservation Total with Insurance:</b></td>95 <?php96 $total_ins = 0;97 if ( isset( $data->package->TotalCost ) ) {98 $total_ins = $data->package->TotalCost;99 } else {100 $total_ins = $data->TotalCost;101 }102 ?>103 <td>$<?php echo esc_html( number_format( $total_ins, 2 ) ); ?></td>104 </tr>105 </table>106 <?php } ?>107 </div>108 </div>109 96 <div class="alert alert-info" style='text-align:center'> 110 You are booking <?php echo esc_html( $data->Name ); ?> for <?php echo esc_html( $data->Nights ); ?> nights for 111 <a href="#myModal2" data-toggle="modal"> 112 <span id="TotalCost2"> 113 <?php if ( isset( $data->package ) && isset( $data->InsuranceAmount ) ) : 114 $grand_total = 0; 115 if ( isset( $data->package->TotalCost ) ) { 116 $grand_total = $data->package->TotalCost - $data->InsuranceAmount; 117 } else { 118 $grand_total = $data->TotalCost - $data->InsuranceAmount; 119 } 120 ?> 121 $<?php echo esc_html( number_format( $grand_total, 2 ) ); ?> 122 </span> 123 </a>. 124 <?php else : ?> 125 $<?php echo esc_html( $data->TotalCost ); ?></span></a>. 126 <?php 127 endif; 128 ?> 97 You are booking <?php echo esc_html( $data->Name ); ?> 98 for <?php echo esc_html( $data->Nights ); ?> nights 99 for $<?php echo esc_html( $data->TotalCost ); ?>. 100 129 101 <?php 130 102 if ( $data->TotalCost !== $data->DueToday ) { 131 echo 'A deposit of <a href="#myModal2">$' . esc_html( number_format( $data->DueToday, 2 ) ) . '</a> is due now.'; 103 echo 'A deposit of $<span id="vrp-booking-due-now">' . esc_html( number_format( $data->DueToday, 104 2 ) ) . '</span> is due now.'; 132 105 } 133 106 ?> … … 144 117 } 145 118 ?> 146 147 119 </div> 148 120 149 121 <div class="clear"></div> 150 151 <?php 122 <?php 152 123 } -
vrpconnector/trunk/themes/mountainsunset/functions.php
r1570860 r1580432 56 56 $this->enqueue_theme_script( 'VRPUnitPage', 'vrp.unit.js', [ 'jquery', 'googleMap' ] ); 57 57 58 $this->enqueue_theme_script( 'VRPCheckoutBarefoot', 'vrp.checkout.barefoot.js', [ 'jquery' ] ); 59 58 60 $script_vars = [ 59 61 'site_url' => site_url(), 60 62 'stylesheet_dir_url' => get_stylesheet_directory_uri(), 61 63 'plugin_url' => plugins_url( '', dirname( dirname( __FILE__ ) ) ), 64 'ajaxurl' => admin_url( 'admin-ajax.php' ), 65 'nonce' => wp_create_nonce( 'vrp-xsrf-prevention' ), 62 66 ]; 63 67 wp_localize_script( 'VRPthemeJS', 'url_paths', $script_vars ); -
vrpconnector/trunk/themes/mountainsunset/js/vrp.unit.js
r1566802 r1580432 109 109 function ratebreakdown(obj) { 110 110 var tbl = jQuery("#ratebreakdown"); 111 tbl.empty(); 112 111 113 for (var i in obj.Charges) { 112 var row = "<tr><td>" + obj.Charges[i].Description + "</td><td>$" + obj.Charges[i].Amount + "</td></tr>";113 tbl.append(row);114 } 114 tbl.append("<tr><td>" + obj.Charges[i].Description + "</td><td>$" + obj.Charges[i].Amount + "</td></tr>"); 115 } 116 115 117 if (obj.HasInsurance && obj.HasInsurance == 1) { 116 var row = "<tr><td>Insurance (optional)</td><td>$" + obj.InsuranceAmount + "</td></tr>";117 tbl.append(row);118 } 119 var tax = "<tr><td>Tax:</td><td>$" + obj.TotalTax + "</td></tr>";120 var total = "<tr><td><b>Total Cost:</b></td><td><b>$" + obj.TotalCost + "</b></td></tr>";121 var totaldue = "<tr class='success'><td><b>Total Due Now:</b></td><td><b>$" + obj.DueToday + "</b></td></tr>"; 122 123 tbl.append(tax);124 tbl.append(total);125 tbl.append(totaldue);118 tbl.append("<tr><td>Insurance (optional)</td><td>$" + obj.InsuranceAmount + "</td></tr>"); 119 } 120 121 tbl.append("<tr><td>Tax:</td><td>$" + obj.TotalTax + "</td></tr>"); 122 tbl.append("<tr><td><b>Total Cost:</b></td><td><b>$" + obj.TotalCost + "</b></td></tr>"); 123 124 if(obj.DueToday !== obj.TotalCost) { 125 // No sense in displaying something that says 'Due Now' if it isn't less than the total cost. 126 tbl.append("<tr class='success'><td><b>Total Due Now:</b></td><td><b>$" + obj.DueToday + "</b></td></tr>"); 127 } 126 128 127 129 if(obj.PromoCodeDiscount) { … … 130 132 tbl.append(promoCodeDiscount); 131 133 } 134 135 jQuery('#vrp-booking-due-now').html(obj.DueToday); 132 136 } 133 137 … … 185 189 // Unit Page Tabs 186 190 unitTabs = jQuery("#tabs").tabs(); 187 188 // Allow outside links to open tabs189 jQuery('.open-tab').click(function (event) {190 var tab = jQuery(this).attr('href');191 unitTabs.tabs("load", 2);192 });193 191 194 192 // Unit Page photo gallery -
vrpconnector/trunk/themes/mountainsunset/step3.php
r1533013 r1580432 8 8 ?> 9 9 <form 10 action="<?php echo site_url( ); ?>/vrp/book/confirm/?obj[Arrival]=<?php echo esc_attr( $data->Arrival ); ?>&obj[Departure]=<?php echo esc_attr( $data->Departure ); ?>&obj[PropID]=<?php echo esc_attr( $_GET['obj']['PropID'] ); ?>"10 action="<?php echo site_url('/vrp/book/confirm/'); ?>?obj[Arrival]=<?php echo esc_attr( $data->Arrival ); ?>&obj[Departure]=<?php echo esc_attr( $data->Departure ); ?>&obj[PropID]=<?php echo esc_attr( $_GET['obj']['PropID'] ); ?>" 11 11 id="vrpbookform" method="post"> 12 12 <div class="userbox" id="guestinfodiv"> … … 120 120 <td> 121 121 <input type="hidden" name="booking[adults]" 122 value="<?php echo esc_attr( $vrp->search->adults ); ?>"/>122 value="<?php echo esc_attr( $vrp->search->adults ); ?>"/> 123 123 <?php echo esc_html( $vrp->search->adults ); ?> 124 124 <input type="hidden" 125 name="booking[children]"126 value="0"/>125 name="booking[children]" 126 value="0"/> 127 127 </td> 128 128 </tr> … … 130 130 </div> 131 131 </div> 132 <br style="clear:both;"></div> 132 <br style="clear:both;"> 133 </div> 133 134 134 135 <?php if ( isset( $data->HasInsurance ) && $data->HasInsurance ) : ?> … … 142 143 Would you like to purchase the optional travel insurance? <br> 143 144 <br> 144 <input type="radio" name="booking[acceptinsurance]" value="1" required /> Yes145 <input type="radio" name="booking[acceptinsurance]" value="0" /> No145 <input type="radio" name="booking[acceptinsurance]" value="1" required/> Yes 146 <input type="radio" name="booking[acceptinsurance]" value="0"/> No 146 147 147 148 <input type="hidden" name="booking[InsuranceAmount]" 148 value="<?php echo esc_attr( $data->InsuranceAmount ); ?>">149 value="<?php echo esc_attr( $data->InsuranceAmount ); ?>"> 149 150 150 151 <?php if ( isset( $data->InsuranceID ) ) : // Escapia Insurance ID ?> 151 152 <input type="hidden" name="booking[InsuranceID]" 152 value="<?php echo $data->InsuranceID; ?>"/>153 value="<?php echo $data->InsuranceID; ?>"/> 153 154 <?php endif; ?> 154 155 … … 165 166 ?> 166 167 <input type="hidden" name="booking[InsuranceTaxAmount]" 167 value="<?php echo $data->InsuranceTaxAmount; ?>"/>168 value="<?php echo $data->InsuranceTaxAmount; ?>"/> 168 169 <?php endif; ?> 169 170 </div> … … 172 173 <input type="hidden" name="booking[acceptinsurance]" value="0"> 173 174 <?php endif; ?> 175 176 <?php if ( ! empty( $data->addons ) ) : 177 // Currently only applicable to Barefoot PMS. ?> 178 <div class="vrpgrid_12 alpha omega userbox"> 179 <h3>Addons</h3> 180 181 <?php foreach ( $data->addons as $addon ) : 182 $checked = ''; 183 foreach ( $data->Charges as $charge ) : 184 if ( ! empty( $charge->id ) && $charge->id === $addon->id ) : 185 $checked = 'checked'; 186 endif; 187 endforeach; 188 ?> 189 <input type="checkbox" 190 id="addon_<?php echo esc_attr( $addon->id ); ?>" 191 name="booking[addon][]" 192 class="vrp-booking-addon" 193 value="<?php echo esc_attr( $addon->id ); ?>" <?php echo esc_attr( $checked ); ?>/> 194 <label for="addon_<?php echo esc_attr( $addon->id ); ?>"> 195 <?php echo esc_attr( $addon->name ); ?> 196 </label> 197 <br/> 198 <?php endforeach; ?> 199 </div> 200 <?php endif; ?> 201 174 202 <div class="userbox" style="margin-top:20px;"> 175 203 <h3>Payment Information</h3> … … 201 229 <tr id="expYeartr"> 202 230 <td><b>Expiration*:</b></td> 203 <td><select name="booking[expMonth]"> 231 <td> 232 <select name="booking[expMonth]"> 204 233 <?php foreach ( range( 1, 12 ) as $month ) : ?> 205 <option value="<?php echo esc_attr(sprintf('%02d', 206 $month)); ?>"><?php echo esc_attr( sprintf( '%02d', $month ) ); ?></option> 234 <option value="<?php echo esc_attr( sprintf( '%02d', $month ) ); ?>"> 235 <?php echo esc_attr( sprintf( '%02d', $month ) ); ?> 236 </option> 207 237 <?php endforeach; ?> 208 238 </select>/<select name="booking[expYear]"> 209 239 <?php foreach ( range( date( 'Y' ), date( 'Y' ) + 10 ) as $year ) : ?> 210 <option 211 value="<?php echo esc_attr( $year ); ?>"><?php echo esc_attr( $year ); ?></option> 212 <?php endforeach; ?> 213 214 </select></td> 240 <option value="<?php echo esc_attr( $year ); ?>"> 241 <?php echo esc_attr( $year ); ?> 242 </option> 243 <?php endforeach; ?> 244 </select> 245 </td> 215 246 </tr> 216 247 <?php } else { ?> 217 248 <tr id="expYeartr"> 218 249 <td><b>Expiration*:</b></td> 219 <td><select name="booking[expMonth]"> 250 <td> 251 <select name="booking[expMonth]"> 220 252 <?php foreach ( range( 1, 12 ) as $month ) : ?> 221 <option value="<?php echo esc_attr(sprintf('%02d', 222 $month)); ?>"><?php echo esc_attr( sprintf( '%02d', $month ) ); ?></option> 253 <option value="<?php echo esc_attr( sprintf( '%02d', $month ) ); ?>"> 254 <?php echo esc_attr( sprintf( '%02d', $month ) ); ?> 255 </option> 223 256 <?php endforeach; ?> 224 257 </select>/<select name="booking[expYear]"> 225 258 <?php foreach ( range( date( 'y' ), date( 'y' ) + 10 ) as $year ) : ?> 226 <option 227 value="<?php echo esc_attr( $year ); ?>"><?php echo esc_attr( $year ); ?></option> 228 <?php endforeach; ?> 229 230 </select></td> 259 <option value="<?php echo esc_attr( $year ); ?>"> 260 <?php echo esc_attr( $year ); ?> 261 </option> 262 <?php endforeach; ?> 263 </select> 264 </td> 231 265 </tr> 232 266 <?php } ?> … … 245 279 246 280 </div> 281 247 282 <div class="" style="margin-top:20px; text-align:center"> 248 283 <div style="margin:0 auto;width:80%"> … … 251 286 <br><br> 252 287 253 <?php if ( isset( $data->ratecalc ) ) { ?> 254 <input type="hidden" name="booking[ratecalc]" value="1"> 255 <?php 256 if ( ! isset( $data->prop->ISIRate ) ) { 257 $newrate = $data->TotalCost; 258 foreach ( $data->Charges as $v ) { 259 if ( $v->Description == 'Rent' ) { 260 $newrate = $v->Amount; 261 } 262 } 263 } else { 264 $newrate = $data->prop->ISIRate; 265 } 266 ?> 267 <input type="hidden" name="booking[newrate]" value="<?php echo esc_attr( $newrate ); ?>"> 268 <?php } ?> 269 288 <?php if ( isset( $data->leaseid ) ) : 289 // Barefoot lease id. ?> 290 <input type="hidden" id="vrp-booking-leaseid" name="booking[leaseid]" 291 value="<?php echo esc_attr( $data->leaseid ); ?>"/> 292 <?php endif; ?> 270 293 271 294 <input type="hidden" name="booking[password]" value=" "> 272 295 <input type="hidden" name="booking[password2]" value=" "> 273 <input type="hidden" name="booking[PropID]" value="<?php echo esc_attr( $data->PropID ); ?>"> 296 <input type="hidden" id="vrp-prop-id" name="booking[PropID]" 297 value="<?php echo esc_attr( $data->PropID ); ?>"> 274 298 <input type="hidden" name="booking[arrival]" value="<?php echo esc_attr( $data->Arrival ); ?>"> 275 299 <input type="hidden" name="booking[depart]" value="<?php echo esc_attr( $data->Departure ); ?>"> … … 278 302 <input type="hidden" name="booking[TotalCost]" value="<?php echo esc_attr( $data->TotalCost ); ?>"> 279 303 <input type="hidden" name="booking[TotalBefore]" 280 value="<?php echo esc_attr( $data->TotalCost - $data->TotalTax ); ?>">304 value="<?php echo esc_attr( $data->TotalCost - $data->TotalTax ); ?>"> 281 305 <input type="hidden" name="booking[TotalTax]" value="<?php echo esc_attr( $data->TotalTax ); ?>"> 282 306 283 307 <?php if ( ! empty( $_GET['obj']['PromoCode'] ) || ! empty( $data->promocode ) ) : ?> 284 <?php $promoCode = ( ! empty( $_GET['obj']['PromoCode'] ) ) ? $_GET['obj']['PromoCode'] : $data->promocode; ?>308 <?php $promoCode = ( ! empty( $_GET['obj']['PromoCode'] ) ) ? $_GET['obj']['PromoCode'] : $data->promocode; ?> 285 309 <input type="hidden" name="booking[PromoCode]" value="<?php echo $promoCode ?>"> 286 310 <?php endif; ?> 287 311 288 <?php if ( ! empty( $_GET['obj']['Pets'] ) ) : ?> 289 <input type="hidden" name="booking[Pets]" value="<?php echo $_GET['obj']['Pets']; ?>"> 312 <?php if ( ! empty( $_GET['obj']['Pets'] ) ) : 313 // Currently, only applicable to Escapia PMS. ?> 314 <input type="hidden" name="booking[Pets]" value="<?php echo esc_attr( $_GET['obj']['Pets'] ); ?>"> 290 315 <?php endif; ?> 291 292 <?php if ( isset( $data->InsuranceAmount ) ) : ?>293 <?php $data->TotalCost = $data->TotalCost - $data->InsuranceAmount; ?>294 <?php endif; ?>295 296 <?php if ( isset( $data->booksettings->HasPackages )297 && (isset( $data->package->items ) && count( $data->package->items ) != 0)298 ) { ?>299 <input type="hidden" name="booking[packages]"300 value="<?php echo esc_attr( base64_encode( serialize( $data->package ) ) ); ?>">301 <?php } ?>302 316 303 317 <div id="vrploadinggif" style="display:none"><b>Processing Your Booking...</b></div> … … 318 332 </div> 319 333 </div> 320 321 </div>322 323 <style>324 325 </style> -
vrpconnector/trunk/themes/mountainsunset/unit.php
r1569131 r1580432 247 247 <?php endif; ?> 248 248 249 <tr> 250 <?php // Promo Codes work with Escapia/RNS/Barefoot & ISILink Powered Software. ?> 251 <td>Promo Code</td> 252 <td> 253 <input type="text" name="obj[PromoCode]" value="" 254 placeholder="Promo Code"> 255 </td> 256 </tr> 249 250 <?php if ( 'Barefoot' !== $data->manager->Name ) : 251 // Barefoot property management software requires Promo Codes are added during checkout and does not support using them on the initial quote request. 252 // All other PMS do support promo codes during the initial quote request: Escapia, ISILink, RNS, etc. 253 ?> 254 <tr> 255 <td>Promo Code</td> 256 <td> 257 <input type="text" 258 name="obj[PromoCode]" 259 value="" 260 placeholder="Promo Code"> 261 </td> 262 </tr> 263 <?php endif; ?> 257 264 258 265 <tr> … … 268 275 <tr> 269 276 <td> 270 <input type="hidden" name="obj[PropID]" 277 <input type="hidden" 278 name="obj[PropID]" 271 279 value="<?php echo esc_attr( $data->id ); ?>"> 272 280 <input type="button" … … 276 284 </td> 277 285 <td> 278 <input type="submit" value="Book Now!" 286 <input type="submit" 287 value="Book Now!" 279 288 id="booklink" 280 289 class="vrp-btn" -
vrpconnector/trunk/vendor/composer/autoload_classmap.php
r1095373 r1580432 7 7 8 8 return array( 9 'Gueststream\\Calendar' => $baseDir . '/lib/calendar.php', 10 'Gueststream\\DummyResult' => $baseDir . '/lib/dummyresult.php', 11 'Gueststream\\PMS\\Barefoot' => $baseDir . '/lib/pms/barefoot.php', 12 'Gueststream\\VRPConnector' => $baseDir . '/lib/vrpconnector.php', 13 'Gueststream\\Widgets\\vrpSearchFormWidget' => $baseDir . '/lib/widgets/vrpsearchformwidget.php', 9 14 ); -
vrpconnector/trunk/vendor/composer/autoload_namespaces.php
r1310416 r1580432 7 7 8 8 return array( 9 'Parsedown' => array($vendorDir . '/erusev/parsedown'),10 9 'Eluceo\\iCal' => array($vendorDir . '/eluceo/ical/src'), 11 10 ); -
vrpconnector/trunk/vendor/composer/autoload_psr4.php
r1095373 r1580432 7 7 8 8 return array( 9 'Gueststream\\' => array($baseDir . '/lib'),10 9 ); -
vrpconnector/trunk/vendor/composer/installed.json
r1462402 r1580432 54 54 "php calendar" 55 55 ] 56 },57 {58 "name": "erusev/parsedown",59 "version": "dev-master",60 "version_normalized": "9999999-dev",61 "source": {62 "type": "git",63 "url": "https://github.com/erusev/parsedown.git",64 "reference": "f671ae73647b6666c1442cbaac98e5d60208e409"65 },66 "dist": {67 "type": "zip",68 "url": "https://api.github.com/repos/erusev/parsedown/zipball/f671ae73647b6666c1442cbaac98e5d60208e409",69 "reference": "f671ae73647b6666c1442cbaac98e5d60208e409",70 "shasum": ""71 },72 "require": {73 "php": ">=5.3.0"74 },75 "time": "2016-07-27 08:05:24",76 "type": "library",77 "installation-source": "source",78 "autoload": {79 "psr-0": {80 "Parsedown": ""81 }82 },83 "notification-url": "https://packagist.org/downloads/",84 "license": [85 "MIT"86 ],87 "authors": [88 {89 "name": "Emanuil Rusev",90 "email": "hello@erusev.com",91 "homepage": "http://erusev.com"92 }93 ],94 "description": "Parser for Markdown.",95 "homepage": "http://parsedown.org",96 "keywords": [97 "markdown",98 "parser"99 ]100 56 } 101 57 ]
Note: See TracChangeset
for help on using the changeset viewer.