All you have to do is fill out your info. Then, choose the best service(s), date, and time for you! And we will confirm shortly!
'+data.message+'
'); $('.uploadOcrPic').dropify(); } $('#global-loader').remove(); } }); }); function processCamResponse(result, businessid, eventid, bayid){ if(result == 1){ swal({ title: 'Photos Captured', text: 'Your IP cameras have captured the photos', timer: 1500, type: 'success', showConfirmButton: true }); }else{ swal({ title: 'No Photos Captured', text: 'Something went wrong, try capturing your photos again.', timer: 3000, type: 'error', showConfirmButton: true }); } } function appCheck() { var appUsed = false; var appType = false; if(window.webkit){ appUsed = true; appType = 'iOS'; }else if (typeof android !== 'undefined' && android !== null) { appUsed = true; appType = 'android'; } if (appType == 'iOS') { $('.onlyWebFeature').hide(); // iOS fix for target="_blank" links (downloads + external) $('a[target="_blank"]').each(function () { const href = $(this).attr('href'); if (!href) return; // Match file downloads, allowing query strings too if (href.match(/\.(pdf|jpe?g|png|gif|webp|svg|heic|avif|docx?|xlsx?|zip|rar|csv)(\?.*)?$/i)) { $(this).removeAttr('target'); $(this).on('click', function (e) { e.preventDefault(); window.location.href = href; // Direct open or download }); } else { // Non-download links: open in same tab (avoids iOS blank failures) $(this).on('click', function (e) { e.preventDefault(); window.open(href, '_self'); }); } }); $('#cuerpo-principal .popoverShow').popover({ html: true, trigger: 'click' }); $('body').on('click', function (e) { if ($(e.target).data('toggle') !== 'popover' && $(e.target).parents('.popover.in').length === 0) { $('[data-toggle="popover"]').popover('hide'); $('.popoverShow').popover('hide'); } }); $('#cuerpo-principal').on('click', '.popoverShow', function(){ swal({ title: 'Additional Info', text: $(this).attr('data-content'), html: true, timer: 15000, type: 'info', showConfirmButton: true }); }); }else{ if (appUsed) { $('.onlyWebFeature').hide(); $('a[target="_blank"]').removeAttr('target'); $('.popoverShow').popover({ html: true, trigger: 'click' }); $('body').on('click', function (e) { if ($(e.target).data('toggle') !== 'popover' && $(e.target).parents('.popover.in').length === 0) { $('[data-toggle="popover"]').popover('hide'); $('.popoverShow').popover('hide'); } }); $('#cuerpo-principal').on('click', '.popoverShow', function(){ swal({ title: 'Additional Info', text: $(this).attr('data-content'), html: true, timer: 15000, type: 'info', showConfirmButton: true }); }); }else{ $('.onlyAppFeature').hide(); $('.popoverShow').popover({ html: true, trigger: 'hover' }); $('.nonAppPopover').popover({ html: true, trigger: 'hover' }); } } } $("#new-card").click(function(){ $("input[name=card_number], input[name=cvc]").attr("disabled",!this.checked); if($("#new-card").is(":checked")) { $("input[name=card_number]").focus().attr("oldcard", $("#card-number").val() ).val(""); }else{ $("#card-number").val($("input[name=card_number]").attr("oldcard")); } }); function get_lead_message_log(leadID){ $.post("https://orbisx.ca/app/exec", {dothis:'getSmsChatLead', leadID: leadID}, function(data) { data = $.parseJSON(data); if(data.success == true){ $('#modalGeneric .modal-body').html(data.html); $('#modalGeneric .chat-list').stop().animate({ scrollTop: $('#modalGeneric .chat-list')[0].scrollHeight }, 800); }else{ swal({ title: data.message_title, text: data.message, timer: 3000, type: 'error', showConfirmButton: true }); } }); } $(document).on('click', '.viewSmsChatLead', function(){ var leadID = $(this).attr('leadID'); var leadName = $(this).attr('leadName'); if(leadID){ $(this).find('i').removeClass('text-success'); $('#modalGeneric .modal-title').html('SMS Chat with '+leadName); $('#modalGeneric .modal-body').html('Loading chat...'); get_lead_message_log(leadID); $('#modalGeneric .modal-footer').html('Please do not refresh or navigate away from this page
' + 'Timer started for event #'+eventID+'
'); } else { swal({ title: 'Oops...', text: 'Something went wrong trying to start the timer', timer: 5000, type: 'error', showConfirmButton: true }); $(btn).prop('disabled', false).html(btnText); } }); }); $(document).on('click', '#checkAllEventChecklistTasks', function(e){ $('#modalGenericSecondary .modal-title').html('Confirm Bulk Action'); $('#modalGenericSecondary .modal-body').html('Are you sure you want to mark all tasks complete for this checklist?
Yes, mark all complete Cancel'); $('#modalGenericSecondary .modal-footer').html('Cancel and close popup'); $('#modalGenericSecondary').modal('show'); e.preventDefault(); }); $(document).on('click', '#checkAllEventChecklistTasksConfirm', function(e){ $('#eventChecklistTaskList input').each(function(){ if(!$(this).is(':checked')){ $(this).prop('checked', true).trigger('click'); } }); $('#modalGenericSecondary').modal('hide'); snackBar('Way to go champ! All done :)', 'success'); e.preventDefault(); }); $(document).on('click', '.sendCustomerProgressTrackerLink', function(){ var sendIt = false; var eventID = $(this).attr('eventID'); var elem = $(this); $(elem).prop('disabled', true); $('#eventChecklists'+eventID+' ul li').each(function(){ if($(this).attr('shareProgress') == 1){ sendIt = true; } }); if(sendIt){ $.post("https://orbisx.ca/app/exec", {dothis:'sendCustomerProgressTracker', eventID:eventID}, function(data){ data = $.parseJSON(data); if(data.success == true){ swal({ title: 'Progress Tracker Link Sent', text: data.message, timer: 3000, type: 'success', showConfirmButton: true }); }else{ swal({ title: 'Something Went Wrong', text: data.message, timer: 3000, type: 'error', showConfirmButton: true }); } $(elem).prop('disabled', false); return false; }); }else{ swal({ title: 'Progress Sharing Disabled', text: 'Checklists have progress sharing turned off. Turn on progress sharing on these checklist types to send progress tracker links to the customer.', timer: 3000, type: 'error', showConfirmButton: true }); } }); $(document).on('click', '.assocChecklistToEvent', function(){ var eventID = $(this).attr('eventID'); var checklistID = $('#eventChecklistsAvail'+eventID+' option:selected').val(); var checklistName = $('#eventChecklistsAvail'+eventID+' option:selected').text(); var shareProgress = $('#eventChecklistsAvail'+eventID+' option:selected').attr('shareProgress'); if($('#event'+eventID+'Checklist'+checklistID).length > 0){ swal({ title: 'Already Assigned', text: 'This checklist is already assigned to this event.', timer: 3000, type: 'error', showConfirmButton: true }); return false; } if(!checklistID){ swal({ title: 'Checklist Missing', text: 'Choose a checklist to assign it to this event.', timer: 3000, type: 'error', showConfirmButton: true }); } if(checklistID > 0 && eventID > 0){ $.post("https://orbisx.ca/app/exec", {dothis:'addChecklistToEvent', eventID:eventID, itemID:checklistID}, function(data){ data = $.parseJSON(data); if(data.success == true){ if($('#eventChecklists'+eventID+' ul li').length == 0){ $('#eventChecklists'+eventID).html('
Are you sure you want to remove the '+checklistName+' checklist from this event?
'); $('#modalGeneric .modal-footer').html('Cancel & close popup'); $('#modalGeneric').modal('show'); return false; }); $(document).on('click', '.confirmDeleteChecklistEventAssoc', function(){ var eventID = $(this).attr('eventID'); var checklistID = $(this).attr('checklistID'); $.post("https://orbisx.ca/app/exec", {dothis:'removeChecklistFromEvent', eventID:eventID, itemID:checklistID}, function(data){ data = $.parseJSON(data); if(data.success == true){ $('#event'+eventID+'Checklist'+checklistID).fadeOut().remove(); if($('#eventChecklists'+eventID+' ul li').length == 0){ $('#eventChecklists'+eventID).html(''); } $('#modalGeneric').modal('hide'); snackBar(data.message); }else{ swal({ title: 'Something Went Wrong', text: data.message, timer: 3000, type: 'error', showConfirmButton: true }); } return false; }); }); $('#modalGeneric').on('click', '.toggleChecklistTask', function(){ var parentElem = $(this).parents('.row'); var elem = $(parentElem).find('.supercheckbox'); var eventID = $(this).attr('eventID'); var taskID = $(this).attr('taskID'); var checklistID = $(this).attr('checklistID'); if($(elem).is(":checked")){ var toggle = 0; }else{ var toggle = 1; } $.post("https://orbisx.ca/app/exec", {dothis:'toggleEventChecklistTaskComplete', eventID:eventID, itemID:taskID, toggle:toggle, typeID:checklistID}, function(data){ data = $.parseJSON(data); if(data.success == true){ if(data.stats.percent){ $('#event'+eventID+'ChecklistProgressBar'+checklistID).css('width', data.stats.percent+'%'); $('#event'+eventID+'ChecklistProgressText'+checklistID).text(data.stats.percent+'% complete'); if(data.stats.percent >= 90){ $('#event'+eventID+'ChecklistProgressBar'+checklistID).addClass('bg-gradient-success').removeClass('bg-gradient-warning').removeClass('bg-gradient-info'); }else if(data.stats.percent > 50 && data.stats.percent '+txt+''); $(parentElem).after('
Processing application ...');
$('#modalGeneric .modal-title').html('Signup to Offer Your Customers Financing Options');
$('#modalGeneric .modal-body').html('
Continue signup application').removeClass('startSignupWisetack').addClass('continueSignupWisetack').attr('goto', data.signup_link);
}else{
$('#modalGeneric .modal-body').html(''+data.message+'
'); snackBar(data.message, 'error'); $(btn).html('Sign-up for
');
}
});
e.preventDefault();
});
$(document).on('click', '.continueSignupWisetack', function(e){
var link = $(this).attr('goto');
$('#modalGeneric .modal-title').html('Signup to Offer Your Customers Financing Options');
$('#modalGeneric .modal-body').html('');
$('#modalGeneric .modal-footer').html('Close popup window');
$('#modalGeneric').modal('show');
e.preventDefault();
});
$(document).on("click", ".modal .datepicker-single, .modal .datepicker", function() {
var offsetModal = $(this).parents('.modal').offset().top;
var offsetInput = $(this).offset().top;
var inputHeight = $(this).height();
var customPadding = 12;
var topDatepicker = (offsetInput + inputHeight + customPadding) - offsetModal;
$("#ui-datepicker-div").css({top: topDatepicker});
});
$(document).on('click', '.closeSpecialAlert', function(e){
var cual = $(this).attr('cual');
$('#'+cual).fadeOut('fast');
$('.'+cual).fadeOut('fast');
e.preventDefault();
});
function update_dark_mode_elems(){
var darkModeAltColor = '#000000';
if($('body').hasClass('dark-mode')){
darkModeAltColor = '#FFFFFF';
$('.header-brand-img').attr('src', 'https://orbisx.ca/app/img/orbisx-logo-white.png');
}else{
$('.header-brand-img').attr('src', 'https://orbisx.ca/app/image/dfman0hdv/t_bandwidthsaver/dktojyailey6gbleco0t');
}
try{
myBarChart.options.plugins.legend.labels.color = darkModeAltColor;
myBarChart.options.scales.y.ticks.color = darkModeAltColor;
myBarChart.options.scales.x.ticks.color = darkModeAltColor;
myBarChart.update();
}catch(e) {
}
try{
myChart.options.plugins.legend.labels.color = darkModeAltColor;
myChart.options.scales.y.ticks.color = darkModeAltColor;
myChart.options.scales.x.ticks.color = darkModeAltColor;
myChart.update();
}catch(e) {
}
try{
myBarChartOne.options.plugins.legend.labels.color = darkModeAltColor;
myBarChartOne.options.scales.y.ticks.color = darkModeAltColor;
myBarChartOne.options.scales.x.ticks.color = darkModeAltColor;
myBarChartOne.update();
}catch(e) {
}
try{
myBarChart2.options.plugins.legend.labels.color = darkModeAltColor;
myBarChart2.options.scales.y.ticks.color = darkModeAltColor;
myBarChart2.options.scales.x.ticks.color = darkModeAltColor;
myBarChart2.update();
}catch(e) {
}
try{
sourcesChart.options.plugins.legend.labels.color = darkModeAltColor;
sourcesChart.options.scales.y.ticks.color = darkModeAltColor;
sourcesChart.options.scales.x.ticks.color = darkModeAltColor;
sourcesChart.update();
}catch(e) {
}
try{
interestsChart.options.plugins.legend.labels.color = darkModeAltColor;
interestsChart.options.scales.y.ticks.color = darkModeAltColor;
interestsChart.options.scales.x.ticks.color = darkModeAltColor;
interestsChart.update();
}catch(e) {
}
try{
packagesChart.options.plugins.legend.labels.color = darkModeAltColor;
packagesChart.options.scales.y.ticks.color = darkModeAltColor;
packagesChart.options.scales.x.ticks.color = darkModeAltColor;
packagesChart.update();
}catch(e) {
}
try{
warrantiesChart.options.plugins.legend.labels.color = darkModeAltColor;
warrantiesChart.update();
}catch(e) {
}
try{
noshowsChart.options.plugins.legend.labels.color = darkModeAltColor;
noshowsChart.update();
}catch(e) {
}
try{
propinasChart.options.plugins.legend.labels.color = darkModeAltColor;
propinasChart.options.scales.y.ticks.color = darkModeAltColor;
propinasChart.options.scales.x.ticks.color = darkModeAltColor;
propinasChart.update();
}catch(e) {
}
try{
giftCertificatesChart.options.plugins.legend.labels.color = darkModeAltColor;
giftCertificatesChart.options.scales.y.ticks.color = darkModeAltColor;
giftCertificatesChart.options.scales.x.ticks.color = darkModeAltColor;
giftCertificatesChart.update();
}catch(e) {
}
try{
servicesChart.options.plugins.legend.labels.color = darkModeAltColor;
servicesChart.options.scales.y.ticks.color = darkModeAltColor;
servicesChart.options.scales.x.ticks.color = darkModeAltColor;
servicesChart.update();
}catch(e) {
}
try{
myChartDaily.options.plugins.legend.labels.color = darkModeAltColor;
myChartDaily.options.scales.y.ticks.color = darkModeAltColor;
myChartDaily.options.scales.x.ticks.color = darkModeAltColor;
myChartDaily.update();
}catch(e) {
}
try{
myCouponChart.options.plugins.legend.labels.color = darkModeAltColor;
myCouponChart.options.scales.y.ticks.color = darkModeAltColor;
myCouponChart.options.scales.x.ticks.color = darkModeAltColor;
myCouponChart.update();
}catch(e) {
}
//try{
//.options.plugins.legend.labels.color = darkModeAltColor;
//.options.scales.y.ticks.color = darkModeAltColor;
//.options.scales.x.ticks.color = darkModeAltColor;
//.update();
//}catch(e) {
//}
}
$(document).on('click', '.activateDarkMode', function(e){
var darkMode = '';
$('body').toggleClass('dark-mode');
if($('body').hasClass('dark-mode')){
$('.activateDarkMode').html('');
darkMode = 'active';
}else{
$('.activateDarkMode').html('');
}
$.post("https://orbisx.ca/app/exec", {dothis:'setUserDarkMode', opVal:darkMode, businessID: '3845' }, function(data) {});
update_dark_mode_elems();
e.preventDefault();
});
$(document).ready(function(){
update_dark_mode_elems();
});
var entityMap = {
"&": "&",
"": ">",
'"': '"',
"'": ''',
"/": '/'
};
function escapeHtml(string) {
return String(string).replace(/[&"'\/]/g, function (s) {
return entityMap[s];
});
}
const colors = [ '#ffc000', '#ff3b3b', '#ff8400' ];
const bubbles = 25;
const explode = (x, y) => {
let particles = [];
let ratio = window.devicePixelRatio;
let c = document.createElement('canvas');
let ctx = c.getContext('2d');
c.style.position = 'absolute';
c.style.left = (x - 100) + 'px';
c.style.top = (y - 100) + 'px';
c.style.pointerEvents = 'none';
c.style.width = 200 + 'px';
c.style.height = 200 + 'px';
c.style.zIndex = 1000000;
c.width = 200 * ratio;
c.height = 200 * ratio;
document.body.appendChild(c);
for(var i = 0; i document.body.removeChild(c), 1000);
}
const render = (particles, ctx, width, height) => {
requestAnimationFrame(() => render(particles, ctx, width, height));
ctx.clearRect(0, 0, width, height);
particles.forEach((p, i) => {
p.x += p.speed * Math.cos(p.rotation * Math.PI / 180);
p.y += p.speed * Math.sin(p.rotation * Math.PI / 180);
p.opacity -= 0.01;
p.speed *= p.friction;
p.radius *= p.friction;
p.yVel += p.gravity;
p.y += p.yVel;
if(p.opacity parseFloat((Math.random() * ((a ? a : 1) - (b ? b : 0)) + (b ? b : 0)).toFixed(c ? c : 0));
$(document).on('focus click', '.js-explosion', function(e){
var position = $(this).offset();
explode(position.left.toFixed(), position.top.toFixed());
});