{"id":5,"date":"2022-12-06T20:26:15","date_gmt":"2022-12-06T20:26:15","guid":{"rendered":"http:\/\/redsands.homesites.io\/467578\/checkout\/"},"modified":"2022-12-06T20:26:15","modified_gmt":"2022-12-06T20:26:15","slug":"checkout","status":"publish","type":"page","link":"https:\/\/redsands.homesites.io\/467578\/checkout\/","title":{"rendered":"Checkout"},"content":{"rendered":"<div id=\"checkout-container\" class=\"row content-area\" ng-controller=\"CheckoutController as cCtrl\">\n  <div ng-init=\"hash='';referrer_url='https:\/\/redsands.homesites.io\/467578\/checkout\/';unit_id='';location_id='';condo_type_id='';unit_name='';isCheckout=true;\">\n    <main id=\"main\" class=\"site-main\" role=\"main\" ng-init=\"initCheckout()\">\n\n              <div class=\"col-md-12\">\n          <div class=\"alert alert-danger\">\n            This form is being submitted insecurely. Please enable the setting on Settings -> Streamline Settings -> Checkout          <\/div>\n        <\/div>\n            <div class=\"col-md-12\">\n        <div class=\"alert alert-danger\" ng-show=\"error\" ng-cloak ng-bind=\"errorMessage\">\n        <\/div>\n      <\/div>\n              <div class=\"col-md-12\">\n          <div class=\"alert alert-danger\">\n            <p>\n              This unit is not availabile for online booking.                          <\/p>\n          <\/div>\n        <\/div>\n          <\/main>\n  <\/div>\n  <div class=\"modal fade\" id=\"myModal\" ng-init=\"getTermsAndConditions()\">\n    <div class=\"modal-dialog modal-lg\">\n      <div class=\"modal-content\">\n        <div class=\"modal-header\">\n          <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n            <span aria-hidden=\"true\">&times;<\/span>\n          <\/button>\n          <h4 class=\"modal-title\">Terms &amp; Conditions<\/h4>\n        <\/div>\n        <div class=\"modal-body\">\n          <div ng-bind-html=\"terms\"><\/div>\n        <\/div>\n        <div class=\"modal-footer\">\n          <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Close<\/button>\n        <\/div>\n      <\/div>\n      <!-- \/.modal-content -->\n    <\/div>\n    <!-- \/.modal-dialog -->\n  <\/div><!-- \/.modal -->\n  <div class=\"modal fade\" id=\"modalPrivacy\" ng-init=\"getPrivacyPolicy()\">\n    <div class=\"modal-dialog modal-lg\">\n      <div class=\"modal-content\">\n        <div class=\"modal-header\">\n          <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n            <span aria-hidden=\"true\">&times;<\/span>\n          <\/button>\n          <h4 class=\"modal-title\">Privacy Policy<\/h4>\n        <\/div>\n        <div class=\"modal-body\">\n          <div class=\"policy_and_privacy\" ng-bind-html=\"privacyPolicyHtml\"><\/div>\n        <\/div>\n        <div class=\"modal-footer\">\n          <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Close<\/button>\n        <\/div>\n      <\/div>\n      <!-- \/.modal-content -->\n    <\/div>\n    <!-- \/.modal-dialog -->\n  <\/div><!-- \/.modal -->\n  <div class=\"modal fade\" id=\"modalAmenities\">\n    <div class=\"modal-dialog\">\n      <div class=\"modal-content\">\n        <div class=\"modal-header\">\n          <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n            <span aria-hidden=\"true\">&times;<\/span>\n          <\/button>\n          <h4 class=\"modal-title\">Add Ons<\/h4>\n        <\/div>\n        <div class=\"modal-body\">\n          <div class=\"alert alert-info\">\n            Select item(s) and the quantity then press Add To Reservation          <\/div>\n          <table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" class=\"table table-striped table-condensed table-bordered\">\n            <thead>\n              <tr>\n                <th>Item Name \/ Description<\/th>\n                <th>Qty.<\/th>\n                <th>Price<\/th>\n              <\/tr>\n            <\/thead>\n            <tbody>\n              <tr ng-repeat=\"amenity in amenities\" ng-if=\"amenity.amenity_cost != '$0.00'\">\n                <td>\n                  <h3 style=\"margin:0\">\n                    <input type=\"checkbox\" class=\"addOn\" value=\"{[amenity.amenity_id]}\" \/>\n                    <span ng-bind=\"amenity.amenity_name\"><\/span>\n                  <\/h3>\n                  <p ng-if=\"!isEmptyObject(amenity.amenity_description)\" ng-bind=\"amenity.amenity_description\"><\/p>\n                <\/td>\n                <td class=\"text-center\" style=\"width: 80px;\">\n                  <input type=\"text\" class=\"form-control text-right\" id=\"qty-optional-fee-{[amenity.amenity_id]}\" value=\"1\" \/>\n                <\/td>\n                <td class=\"text-right\" style=\"width:80px;\" ng-bind=\"currencyValue(amenity.amenity_cost)\"><\/td>                \n              <\/tr>\n            <\/tbody>\n          <\/table>\n        <\/div>\n        <div class=\"modal-footer\">\n          <button type=\"button\" class=\"btn btn-success\" data-dismiss=\"modal\">Close<\/button>\n          <button type=\"button\" class=\"btn btn-primary\" ng-click=\"addToReservation()\">Add to reservation          <\/button>\n        <\/div>\n      <\/div>\n      <!-- \/.modal-content -->\n    <\/div>\n    <!-- \/.modal-dialog -->\n  <\/div><!-- \/.modal -->\n<\/div>\n<!-- .content-area -->\n<form method=\"post\" id=\"form_thankyou\" action=\"https:\/\/redsands.homesites.io\/467578\/thank-you\/\">\n  <input type=\"hidden\" id=\"confirmation_id\" name=\"confirmation_id\" value=\"\" \/>\n  <input type=\"hidden\" id=\"location_name\" name=\"location_name\" value=\"\" \/>\n  <input type=\"hidden\" id=\"condo_type_name\" name=\"condo_type_name\" value=\"\" \/>\n  <input type=\"hidden\" id=\"unit_name\" name=\"unit_name\" value=\"\" \/>\n  <input type=\"hidden\" id=\"startdate\" name=\"startdate\" value=\"\" \/>\n  <input type=\"hidden\" id=\"enddate\" name=\"enddate\" value=\"\" \/>\n  <input type=\"hidden\" id=\"occupants\" name=\"occupants\" value=\"\" \/>\n  <input type=\"hidden\" id=\"occupants_small\" name=\"occupants_small\" value=\"\" \/>\n  <input type=\"hidden\" id=\"pets\" name=\"pets\" value=\"\" \/>\n  <input type=\"hidden\" id=\"price_common\" name=\"price_common\" value=\"\" \/>\n  <input type=\"hidden\" id=\"price_balance\" name=\"price_balance\" value=\"\" \/>\n  <input type=\"hidden\" id=\"travelagent_name\" name=\"travelagent_name\" value=\"\" \/>\n  <input type=\"hidden\" id=\"email\" name=\"email\" value=\"\" \/>\n  <input type=\"hidden\" id=\"fname\" name=\"fname\" value=\"\" \/>\n  <input type=\"hidden\" id=\"lname\" name=\"lname\" value=\"\" \/>\n  <input type=\"hidden\" id=\"unit_id\" name=\"unit_id\" value=\"\" \/>\n<\/form>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":0,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-5","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/redsands.homesites.io\/467578\/wp-json\/wp\/v2\/pages\/5","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/redsands.homesites.io\/467578\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/redsands.homesites.io\/467578\/wp-json\/wp\/v2\/types\/page"}],"replies":[{"embeddable":true,"href":"https:\/\/redsands.homesites.io\/467578\/wp-json\/wp\/v2\/comments?post=5"}],"version-history":[{"count":0,"href":"https:\/\/redsands.homesites.io\/467578\/wp-json\/wp\/v2\/pages\/5\/revisions"}],"wp:attachment":[{"href":"https:\/\/redsands.homesites.io\/467578\/wp-json\/wp\/v2\/media?parent=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}