{"id":2022,"date":"2025-02-04T01:34:30","date_gmt":"2025-02-04T01:34:30","guid":{"rendered":"https:\/\/rubyservices.net\/?page_id=2022"},"modified":"2025-02-04T01:57:26","modified_gmt":"2025-02-04T01:57:26","slug":"schedule-a-meeting","status":"publish","type":"page","link":"https:\/\/rubyservices.net\/?page_id=2022","title":{"rendered":"Schedule A Meeting"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code><\/code><\/pre>\n\n\n<script>var ea_settings = {\"trans.service\":\"Service\",\"trans.location\":\"Location\",\"trans.worker\":\"Worker\",\"trans.service_option\":\"Select Service\",\"trans.location_option\":\"Select Location\",\"trans.worker_option\":\"Select Worker\",\"trans.customer_search_label\":\"Search Customer\",\"trans.done_message\":\"Done\",\"trans.submit_button_text\":\"Submit\",\"time_format\":\"h:mm a\",\"trans.currency\":\"$\",\"price.hide\":\"0\",\"price.hide.service\":\"0\",\"hide.decimal_in_price\":\"0\",\"datepicker\":\"en-US\",\"form.label.above\":\"0\",\"show.iagree\":\"0\",\"show.display_thankyou_note\":\"0\",\"show.customer_search_front\":\"0\",\"customer_search_password_only\":\"0\",\"delete_data_on_uninstall\":\"0\",\"customer_search_roles\":\"[]\",\"cancel.scroll\":\"calendar\",\"compatibility.mode\":\"0\",\"css.off\":\"0\",\"submit.redirect\":\"\",\"advance.redirect\":\"[]\",\"advance_cancel.redirect\":\"[]\",\"block.time\":\"0\",\"cancel_time\":\"0\",\"max.appointments\":\"5\",\"pre.reservation\":\"0\",\"currency.before\":\"0\",\"gdpr.on\":\"0\",\"gdpr.label\":\"By using this form you agree with the storage and handling of your data by this website.\",\"gdpr.link\":\"\",\"gdpr.message\":\"You need to accept the privacy checkbox\",\"sort.workers-by\":null,\"sort.services-by\":null,\"sort.locations-by\":null,\"order.workers-by\":null,\"order.services-by\":null,\"order.locations-by\":null,\"captcha.site-key\":\"\",\"captcha3.site-key\":\"\",\"label.from_to\":\"0\",\"is_multiple_booking_allowed\":\"0\",\"webhook.endpoints\":\"[]\",\"pending_message\":\"Your appointment has been submitted and is currently pending approval. You will be notified once it is confirmed.\",\"confirmed_message\":\"Your appointment has been confirmed. Thank you!\",\"reservation_message\":\"Your appointment has been reserved. You will be notified once it is confirmed.\",\"trans.confirmation-title\":\"Thank You for Booking!\",\"check\":\"afce7c6066\",\"scroll_off\":false,\"start_of_week\":\"1\",\"default_date\":\"2026-09-11\",\"min_date\":null,\"max_date\":null,\"show_remaining_slots\":\"0\",\"save_form_content\":true,\"show_week\":\"0\",\"trans.please-select-new-date\":\"Please select another day\",\"trans.date-time\":\"Date & time\",\"trans.price\":\"Price\",\"date_format\":\"MMMM D, YYYY\",\"default_datetime_format\":\"YYYY-MM-DD HH:mm\",\"trans.nonce-expired\":\"Form validation code expired. Please refresh page in order to continue.\",\"trans.internal-error\":\"Internal error. Please try again later.\",\"trans.ajax-call-not-available\":\"Unable to make ajax request. Please try again later.\",\"default.status\":\"pending\",\"default_status_message\":\"Your appointment has been submitted and is currently pending approval. You will be notified once it is confirmed.\",\"is_user_logged_in\":0,\"allow_customer_search\":0};<\/script><script>var ea_vacations = [];<\/script><script>var ea_connections = [];<\/script><script>var ea_service_start_data = [];<\/script><style><\/style><style> body .wp-block-post-content a:not(.wp-element-button) { color: #000000; text-decoration: none !important; } .ea-standard .selected-time { background-color: green !important; color: white !important; } <\/style> <script type=\"text\/template\" id=\"ea-appointments-overview\"> <small id=\"ea-overview-message\"><%- settings['trans.overview-message'] %><\/small> <table> <tbody> <% if(settings['rtl'] == '1') { %> <% if(data.location.indexOf('_') !== 0) { %> <tr class=\"row-location\"> <td class=\"ea-label\"><%- settings['trans.location'] %><\/td> <td class=\"value\"><%- data.location %><\/td> <\/tr> <% } %> <% if(data.service.indexOf('_') !== 0) { %> <tr class=\"row-service\"> <td class=\"ea-label\"><%- settings['trans.service'] %><\/td> <td class=\"value\"><%- data.service %><\/td> <\/tr> <% if(data.service_description) { %> <% if(data.service_description.length > 0) { %> <tr class=\"row-service-description\"> <td class=\"ea-label\"><%- settings['trans.description'] || 'Description' %><\/td> <td class=\"value\" style=\"white-space: pre-line;\"><%= data.service_description %><\/td> <\/tr> <% } %> <% } %> <% } %> <% if(data.worker.indexOf('_') !== 0) { %> <tr class=\"row-worker\"> <td class=\"ea-label\"><%- settings['trans.worker'] %><\/td> <td class=\"value\"><%- data.worker %><\/td> <\/tr> <% } %> <% if (settings['price.hide'] !== '1') { %> <tr class=\"row-price\"> <td class=\"ea-label\"><%- settings['trans.price'] %><\/td> <td class=\"value\"><%- settings['hide.decimal_in_price'] == '1' ? Math.round(parseFloat(data.price)) : data.price %> <%- settings['trans.currency'] %><\/td> <\/tr> <% } %> <tr class=\"row-datetime\"> <td class=\"ea-label\"><%- settings['trans.date-time'] %><\/td> <td class=\"value\"><%- data.date %> <%- data.time %><\/td> <\/tr> <% } else { %> <% if(data.location.indexOf('_') !== 0) { %> <tr class=\"row-location\"> <td class=\"ea-label\"><%- settings['trans.location'] %><\/td> <td class=\"value\"><%- data.location %><\/td> <\/tr> <% } %> <% if(data.service.indexOf('_') !== 0) { %> <tr class=\"row-service\"> <td class=\"ea-label\"><%- settings['trans.service'] %><\/td> <td class=\"value\"><%- data.service %><\/td> <\/tr> <% if(data.service_description) { %> <% if(data.service_description.length > 0) { %> <tr class=\"row-service-description\"> <td class=\"ea-label\"><%- settings['trans.description'] || 'Description' %><\/td> <td class=\"value\" style=\"white-space: pre-line;\"><%= data.service_description %><\/td> <\/tr> <% } %> <% } %> <% } %> <% if(data.worker.indexOf('_') !== 0) { %> <tr class=\"row-worker\"> <td class=\"ea-label\"><%- settings['trans.worker'] %><\/td> <td class=\"value\"><%- data.worker %><\/td> <\/tr> <% } %> <% if (settings['price.hide'] !== '1') { %> <tr class=\"row-price\"> <td class=\"ea-label\"><%- settings['trans.price'] %><\/td> <% if (settings['currency.before'] == '1') { %> <td class=\"value\"><%- settings['trans.currency'] %><%- settings['hide.decimal_in_price'] == '1' ? Math.round(parseFloat(data.price)) : data.price %><\/td> <% } else { %> <td class=\"value\"><%- settings['hide.decimal_in_price'] == '1' ? Math.round(parseFloat(data.price)) : data.price %><%- settings['trans.currency'] %><\/td> <% } %> <\/tr> <% } %> <tr class=\"row-datetime\"> <td class=\"ea-label\"><%- settings['trans.date-time'] %><\/td> <td class=\"value\"><%- data.date_time %><\/td> <\/tr> <% } %> <\/tbody> <\/table> <div id=\"ea-total-amount\" style=\"display: none;\" data-total=\"<%- data.price %>\"><\/div> <div id=\"ea-meta-data\" data-location=\"<%- data.location %>\" data-service=\"<%- data.service %>\" data-worker=\"<%- data.worker %>\" data-date-time=\"<%- data.date_time %>\" data-currency=\"<%- settings['trans.currency'] %>\"><\/div> <div id=\"ea-success-box\" style=\"display:none; width:100%; max-width:600px; margin: 0 auto; padding: 10px 0; text-align: center; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background: transparent; border: none; box-shadow: none;\" class=\"ea-confirmation-card\"> <div style=\"display: flex; justify-content: center; margin: 4px 0 16px;\"> <div style=\"background: #f0fdf4; color: #16a34a; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid #bbf7d0;\"> <svg width=\"32\" height=\"32\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#16a34a\" stroke-width=\"3\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"fill:none !important; stroke:#16a34a !important; width:32px !important; height:32px !important;\"> <polyline points=\"20 6 9 17 4 12\"><\/polyline> <\/svg> <\/div> <\/div> <h3 style=\"color: #0f172a !important; margin: 0 0 10px 0 !important; font-size: 22px !important; font-weight: 700 !important; letter-spacing: -0.01em !important; display: block !important; visibility: visible !important;\" class=\"ea-confirmation-title\"> <%- settings['trans.confirmation-title'] || 'Thank You for Booking!' %> <\/h3> <div style=\"margin: 0 0 20px 0;\"> <p style=\"font-size: 14.5px; color: #475569; line-height: 1.6; margin: 0; word-wrap: break-word; white-space: normal; max-width: 100%; display: block !important; visibility: visible !important;\" class=\"ea-status-note\"> <\/p> <\/div> <div id=\"ea-overview-details\" style=\"width: 100%; font-size: 14px; color: #1e293b; text-align: left; margin: 0 auto 20px; background: #f8fafc; border-radius: 12px; padding: 18px 20px; border: 1px solid #e2e8f0; box-sizing: border-box;\"> <\/div> <div id=\"ea-overview-buttons\" style=\"display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap;\"> <a href=\"#\" onclick=\"window.location.reload();\" style=\"padding: 10px 20px; background: #2563eb; color: #ffffff !important; text-decoration: none !important; border-radius: 8px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2); transition: all 0.2s ease;\" class=\"ea-button-book-again\"> <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#ffffff\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"fill:none !important; stroke:#ffffff !important; width:16px !important; height:16px !important; flex-shrink:0;\"><path d=\"M21.5 2v6h-6M21.34 15.57a10 10 0 1 1-.57-8.38l5.67-5.67\"\/><\/svg> <span><%- settings['trans.book-again'] || 'Book New Appointment' %><\/span> <\/a> <a id=\"ea-add-to-calendar\" href=\"#\" target=\"_blank\" style=\"padding: 10px 20px; background: #16a34a; color: #ffffff !important; text-decoration: none !important; border-radius: 8px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 2px 4px rgba(22, 163, 74, 0.2); transition: all 0.2s ease;\"> <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#ffffff\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"fill:none !important; stroke:#ffffff !important; width:16px !important; height:16px !important; flex-shrink:0;\"><rect x=\"3\" y=\"4\" width=\"18\" height=\"18\" rx=\"2\" ry=\"2\"><\/rect><line x1=\"16\" y1=\"2\" x2=\"16\" y2=\"6\"><\/line><line x1=\"8\" y1=\"2\" x2=\"8\" y2=\"6\"><\/line><line x1=\"3\" y1=\"10\" x2=\"21\" y2=\"10\"><\/line><\/svg> <span><%- settings['trans.add-to-calendar'] || 'Add to Google Calendar' %><\/span> <\/a> <\/div> <\/div> <\/script> <script type=\"text\/javascript\"> var ea_ajaxurl = \"https:\/\/rubyservices.net\/wp-admin\/admin-ajax.php\"; <\/script> <div class=\"ea-standard\"> <form> <div class=\"step\"> <div class=\"block\"><\/div> <label class=\"ea-label\">Location<\/label><select name=\"location\" data-c=\"location\" class=\"filter\"><option value=\"\" selected=\"selected\">Select Location<\/option><\/select> <\/div> <div class=\"step\"> <div class=\"block\"><\/div> <label class=\"ea-label\">Service<\/label><select name=\"service\" data-c=\"service\" class=\"filter\" data-currency=\"$\"><option value=\"\" selected=\"selected\">Select Service<\/option><\/select> <\/div> <div class=\"step\"> <div class=\"block\"><\/div> <label class=\"ea-label\">Worker<\/label><select name=\"worker\" data-c=\"worker\" class=\"filter\"><option value=\"\" selected=\"selected\">Select Worker<\/option><\/select> <\/div> <div class=\"step calendar\" class=\"filter\"> <div class=\"block\"><\/div> <div class=\"date\"><\/div> <\/div> <div class=\"step\" class=\"filter\"> <div class=\"block\"><\/div> <div class=\"time\"><\/div> <\/div> <div class=\"step final\"> <div class=\"ea_hide_show\"> <div class=\"block\"><\/div> <p class=\"section\">Personal information<\/p> <small>Fields with * are required<\/small> <br> <p><label>EMail * : <\/label><input class=\"custom-field\" type=\"text\" name=\"email\" data-rule-required=\"true\" data-msg-required=\"This field is required.\" data-msg-email=\"Please enter a valid email address\" data-rule-email=\"true\" \/><\/p><p><label>Name * : <\/label><input class=\"custom-field\" type=\"text\" name=\"name\" data-rule-required=\"true\" data-msg-required=\"This field is required.\" \/><\/p><p><label>Phone * : <\/label><input class=\"custom-field\" type=\"text\" name=\"phone\" data-rule-required=\"true\" data-msg-required=\"This field is required.\" \/><\/p><p><label>Description : <\/label><textarea class=\"form-control custom-field\" rows=\"3\" style=\"height: auto;\" name=\"description\" ><\/textarea><\/p> <br> <p class=\"section\">Booking overview<\/p> <\/div> <div id=\"booking-overview\"><\/div> <div class=\"ea_hide_show\"> <div style=\"display: inline-flex;\"> <button class=\"ea-btn ea-submit\" style=\" display:inline-flex; align-items:center; justify-content:center; \">Submit<\/button> <button class=\"ea-btn ea-cancel\">Cancel<\/button> <\/div> <\/div> <\/div> <\/form> <div id=\"ea-loader\"><\/div> <\/div> \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"pgc_sgb_lightbox_settings":"","footnotes":""},"class_list":["post-2022","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/rubyservices.net\/index.php?rest_route=\/wp\/v2\/pages\/2022","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rubyservices.net\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/rubyservices.net\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/rubyservices.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rubyservices.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2022"}],"version-history":[{"count":3,"href":"https:\/\/rubyservices.net\/index.php?rest_route=\/wp\/v2\/pages\/2022\/revisions"}],"predecessor-version":[{"id":2028,"href":"https:\/\/rubyservices.net\/index.php?rest_route=\/wp\/v2\/pages\/2022\/revisions\/2028"}],"wp:attachment":[{"href":"https:\/\/rubyservices.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2022"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}