"); window.localStorage.setItem("ShoppingCart", JSON.stringify(data)); window.localStorage.setItem("NoOfPropertiesInCart", totalProperties); window.localStorage.setItem("ShoppingCartLastModifiedTime", Date()); $(this).hide(); $("#btnRemoveFromCart" + appendToIDText).show(); $("#btnPayMyBill" + taxYear).attr("disabled", "true"); $("#btnPayMyBill" + taxYear + "half").attr("disabled", "true"); $("#btnPayMyBill" + taxYear).attr("title", "Payment for the taxyear has already been added to cart."); $("#btnPayMyBill" + taxYear + "half").attr("title", "Payment for the taxyear has already been added to cart."); $("#btnAddToCart" + taxYear).attr("disabled", "true"); $("#btnAddToCart" + taxYear + "half").attr("disabled", "true"); $("#btnAddToCart" + taxYear).attr("title", "Payment for the taxyear has already been added to cart."); $("#btnAddToCart" + taxYear + "half").attr("title", "Payment for the taxyear has already been added to cart."); } }); $('.divPaymentOptionButton > .btnRemoveFromCart').click(function () { var taxYear = $(this).attr('data-taxYear'); var propertyQuickRefID = $(this).attr('data-quickRefID'); var shoppingCartData = window.localStorage.getItem("ShoppingCart"); if (shoppingCartData) { var totalPropertiesCount = window.localStorage.getItem("NoOfPropertiesInCart"); totalProperties = parseInt(totalPropertiesCount); var data = JSON.parse(shoppingCartData); var removeIndex = -1; var currentIndex = 0; $(data).each(function () { if (this.PropertyQuickRefID == propertyQuickRefID && this.TaxYear == taxYear) { removeIndex = currentIndex; } currentIndex++; }); if (removeIndex != -1) { data.splice(removeIndex, 1); totalProperties--; SetTotalProperties(totalProperties); if (typeof localStorage != "undefined") { window.localStorage.setItem("ShoppingCart", JSON.stringify(data)); window.localStorage.setItem("NoOfPropertiesInCart", totalProperties); window.localStorage.setItem("ShoppingCartLastModifiedTime", Date()); } } } $("#btnRemoveFromCart" + taxYear).hide(); $("#btnRemoveFromCart" + taxYear + "half").hide(); $("#btnAddToCart" + taxYear).show(); $("#btnAddToCart" + taxYear + "half").show(); $("#btnAddToCart" + taxYear).removeAttr("disabled"); $("#btnAddToCart" + taxYear + "half").removeAttr("disabled"); $("#btnAddToCart" + taxYear).removeAttr("title"); $("#btnAddToCart" + taxYear + "half").removeAttr("title"); $("#btnPayMyBill" + taxYear).removeAttr("disabled"); $("#btnPayMyBill" + taxYear + "half").removeAttr("disabled"); $("#btnPayMyBill" + taxYear).removeAttr("title"); $("#btnPayMyBill" + taxYear + "half").removeAttr("title"); }); $('#divPaymentOptions').css("display", ""); $(".divAltPaymentConfirmation").css("display", "inline-block"); $(".overlay").show(); } function PostSinglePaymentToGovPay(taxYear, quickRefID, ownerName, amount) { var postData = {}; postData["clientId"] = ""; postData["referenceId"] = "R349335"; postData["description"] = "PropertyTax"; postData["subTotal"] = $(".customAmount").val().length > 0 ? parseFloat($(".customAmount").val()) : parseFloat("0"); postData["readOnly"] = true; postData["callbackUrl"] = encodeURI(window.location.href); var paymentItems = []; paymentItems.push({ "Property ID": quickRefID, "Owner": ownerName, "Year": taxYear, "amount": amount }); postData["paymentItems"] = paymentItems; var form = $('
'); form.attr("target", "_blank"); form.attr("action", ""); form.attr("method", "post"); var input = $(''); input.attr("name", "paymentObject"); input.attr("value", JSON.stringify(postData)); form.append(input); $(document.body).append(form); form.submit(); } function PointAndPayPaymentConfirmation() { $('.titleMessage').text("Which amounts would you like to pay?"); //Clear the list items var parentDiv = $('#divPaymentOptions'); parentDiv.empty(); //Removes All Children Nodes var shoppingCartDataStorage = window.localStorage.getItem("ShoppingCart"); var shoppingCartData = []; if (shoppingCartDataStorage) { shoppingCartData = JSON.parse(shoppingCartDataStorage); } //Add Heading if (availablePayments.length > 0) { var elementYear = $(document.createElement("div")) .addClass("divPaymentOptionYear") .text("Tax Year"); var elementBalance = $(document.createElement("div")) .addClass("divPaymentOptionYear") .text("Balance"); var elementPaymentAmount = $(document.createElement("div")) .css("text-align", "left") .css("padding", "5px 5px") .css("width", "140px") .css("float", "left") .css("font-size", "110%") .css("font-weight", "bold") .text("Payment Amount"); var elementEmpty = $(document.createElement("div")) .addClass("divClearFloat"); parentDiv.append(elementYear, elementBalance, elementPaymentAmount, elementEmpty); } for (var i = 0; i < availablePayments.length; i++) { var taxyear = availablePayments[i].TaxYear; var elementYear = $(document.createElement("div")) .addClass("divPaymentOptionYear") .text(taxyear); var elementBalance = $(document.createElement("div")) .addClass("divPaymentOptionYear") .text(FormatMoney(availablePayments[i].Amount)); var elementAmount = $(document.createElement("input")) .attr("id", "txtPaymentAmount" + taxyear) .addClass("divPaymentOptionAmount") .addClass("inputHideLastPass") .attr("type", "textbox") .attr("value", FormatMoney(availablePayments[i].Amount)); var elementButtondiv = $(document.createElement("div")) .addClass("divPaymentOptionButton"); var elementAddToCartButton = $(document.createElement("input")) .addClass("normalButton btnAddToCart") .attr("id", "btnAddToCart" + taxyear) .attr("type", "button") .attr("data-taxYear", availablePayments[i].TaxYear) .attr("data-quickRefID", "R349335") .attr("data-ownerName", "BETENBOUGH HOMES LLC") .attr("data-partyQuickRefID", "O0289822") .attr("data-situsAddress", "2807 TRENTON AVE, LUBBOCK, TX 79407") .attr("data-amount", availablePayments[i].Amount) .attr("data-isHalfPay", "false") .val("Add To Cart"); var elementRemoveFromCartButton = $(document.createElement("input")) .addClass("removeButton discreetButton btnRemoveFromCart") .attr("id", "btnRemoveFromCart" + taxyear) .attr("type", "button") .attr("data-taxYear", availablePayments[i].TaxYear) .attr("data-quickRefID", "R349335") .attr("data-ownerName", "BETENBOUGH HOMES LLC") .attr("data-situsAddress", "2807 TRENTON AVE, LUBBOCK, TX 79407") .attr("data-amount", availablePayments[i].Amount) .attr("data-isHalfPay", "false") .val("Remove"); if (PaymentExistInShoppingCart("R349335", availablePayments[i].TaxYear, shoppingCartData)) { elementAddToCartButton.css("display", "none"); } else { elementRemoveFromCartButton.css("display", "none"); } elementButtondiv.append(elementAddToCartButton); elementButtondiv.append(elementRemoveFromCartButton); parentDiv.append(elementYear, elementBalance, elementAmount, elementButtondiv); } //Custom Amount var customAmount = allBillsDue.reduce((a, curr) => a + curr.Amount, 0); var elementYear = $(document.createElement("div")) .addClass("divPaymentOptionYear") .text("Custom Amt"); var elementBalance = $(document.createElement("div")) .addClass("divPaymentOptionYear") .text(""); var elementAmount = $(document.createElement("input")) .attr("id", "txtPaymentAmountCustom") .addClass("divPaymentOptionAmount") .attr("type", "textbox") .addClass("inputHideLastPass") .attr("value", FormatMoney(0)); var elementButtondiv = $(document.createElement("div")) .addClass("divPaymentOptionButton"); var elementAddToCartButton = $(document.createElement("input")) .addClass("normalButton btnAddToCart") .attr("id", "btnAddToCartCustom") .attr("type", "button") .attr("data-quickRefID", "R349335") .attr("data-ownerName", "BETENBOUGH HOMES LLC") .attr("data-partyQuickRefID", "O0289822") .attr("data-situsAddress", "2807 TRENTON AVE, LUBBOCK, TX 79407") .attr("data-amount", customAmount) .attr("data-isHalfPay", "false") .val("Add To Cart") .css("display", "none"); var elementRemoveFromCartButton = $(document.createElement("input")) .addClass("removeButton discreetButton btnRemoveFromCart") .attr("id", "btnRemoveFromCartCustom") .attr("type", "button") .attr("data-quickRefID", "R349335") .attr("data-ownerName", "BETENBOUGH HOMES LLC") .attr("data-situsAddress", "2807 TRENTON AVE, LUBBOCK, TX 79407") .attr("data-amount", customAmount) .attr("data-isHalfPay", "false") .val("Remove") .css("display", "none"); if (PaymentExistInShoppingCart("R349335", "Custom", shoppingCartData)) elementRemoveFromCartButton.css("display", "inline-block"); else elementAddToCartButton.css("display", "inline-block"); elementButtondiv.append(elementAddToCartButton); elementButtondiv.append(elementRemoveFromCartButton); parentDiv.append(elementYear, elementBalance, elementAmount, elementButtondiv); $('.divPaymentOptionAmount').kendoNumericTextBox({ decimals: 2, restrictDecimals: true, format: "c", max: 100000, min: 0, spinners: false }); $('.divPaymentOptionButton > .btnAddToCart').click(function () { var taxYear = $(this).attr('data-taxYear') != null ? $(this).attr('data-taxYear') : "Custom"; var paymentAmount = $('#txtPaymentAmount' + taxYear).val(); var propertyQuickRefID = $(this).attr('data-quickRefID'); var originalPaymentAmount = $(this).attr('data-amount'); var isPartialPayment = false; var isValid = true; if (paymentAmount <= 0.00) { isValid = false; alert("Payment must be greater than $0.00"); } if (isValid) { $('#txtPaymentAmount' + taxYear) .attr("disabled", "disabled"); var data; var totalProperties = 1; var shoppingCartData = window.localStorage.getItem("ShoppingCart"); if (shoppingCartData) { var totalPropertiesCount = window.localStorage.getItem("NoOfPropertiesInCart"); totalProperties = parseInt(totalPropertiesCount) + 1; data = JSON.parse(shoppingCartData); } else { data = []; } var propertyExistsInCart = false; $(data).each(function () { if (this.PropertyQuickRefID == propertyQuickRefID && this.TaxYear == taxYear) { propertyExistsInCart = true; } }); if (!propertyExistsInCart) { var newProp = { PropertyQuickRefID: $(this).attr("data-quickRefID"), OwnerName: $(this).attr("data-ownerName"), SitusAddress: $(this).attr("data-situsAddress"), PaymentAmount: paymentAmount, TaxYear: taxYear, PartyQuickRefID: $(this).attr("data-partyQuickRefID"), OwnerQuickRefID: "", IsPartialPayment: isPartialPayment }; data.unshift(newProp); $("#divShoppingCartIcon").html("
" + totalProperties + "
"); window.localStorage.setItem("ShoppingCart", JSON.stringify(data)); window.localStorage.setItem("NoOfPropertiesInCart", totalProperties); window.localStorage.setItem("ShoppingCartLastModifiedTime", Date()); $(this).hide(); $("#btnRemoveFromCart" + taxYear).show(); $("#btnAddToCart" + taxYear).attr("disabled", "true"); $("#btnAddToCart" + taxYear).attr("title", "Payment for the taxyear has already been added to cart."); } //propertyExistsInCart } //isValid }); $('.divPaymentOptionButton > .btnRemoveFromCart').click(function () { var taxYear = $(this).attr('data-taxYear') != null ? $(this).attr('data-taxYear') : "Custom"; var propertyQuickRefID = $(this).attr('data-quickRefID'); var shoppingCartData = window.localStorage.getItem("ShoppingCart"); if (shoppingCartData) { var totalPropertiesCount = window.localStorage.getItem("NoOfPropertiesInCart"); totalProperties = parseInt(totalPropertiesCount); var data = JSON.parse(shoppingCartData); var removeIndex = -1; var currentIndex = 0; $(data).each(function () { if (this.PropertyQuickRefID == propertyQuickRefID && this.TaxYear == taxYear) { removeIndex = currentIndex; } currentIndex++; }); if (removeIndex != -1) { data.splice(removeIndex, 1); totalProperties--; SetTotalProperties(totalProperties); if (typeof localStorage != "undefined") { window.localStorage.setItem("ShoppingCart", JSON.stringify(data)); window.localStorage.setItem("NoOfPropertiesInCart", totalProperties); window.localStorage.setItem("ShoppingCartLastModifiedTime", Date()); } } } $('#txtPaymentAmount' + taxYear) .removeAttr("disabled"); $("#btnRemoveFromCart" + taxYear).hide(); $("#btnAddToCart" + taxYear).show(); $("#btnAddToCart" + taxYear).removeAttr("disabled"); $("#btnAddToCart" + taxYear).removeAttr("title"); }); $('#divPaymentOptions').css("display", ""); $(".divAltPaymentConfirmation").css("display", "inline-block"); $(".overlay").show(); } function PostSinglePaymentToPointAndPay(taxYear, quickRefID, ownerName, amount) { var paramsXML = "
"; var queryString = encodeURI("" + "/cart?paramXML=" + paramsXML); var form = $('
'); form.attr("target", "_blank"); form.attr("action", queryString); form.attr("method", "post"); var input = $(''); //input.attr("name", "paymentObject"); //input.attr("value", JSON.stringify(postData)); form.append(input); $(document.body).append(form); form.submit(); } //Any Changes to this will need to be reflected in the Shopping Cart Module. function BuildPointAndPayBillXML(taxYear, quickRefID, ownerName, amount) { var bill = "
"; return bill; } $("#btnAddToCart").click(function () { var data; var totalProperties = 1; var shoppingCartData = window.localStorage.getItem("ShoppingCart"); var hasError = false; if (shoppingCartData) { var totalPropertiesCount = window.localStorage.getItem("NoOfPropertiesInCart"); totalProperties = parseInt(totalPropertiesCount) + 1; data = JSON.parse(shoppingCartData); } else { data = []; } var customPayRow = $("#trCustomAmount"); if (!customPayRow.is(':hidden')) { if (isNumeric($(".customAmount").val())) { $(".tdPaymentAmount").html('$' + parseFloat($(".customAmount").val(), 10).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1,").toString()); "R882920-00000-11550-000"; } else { ShowErrorMessage("Please enter proper payment amount"); hasError = true; } } else { HideErrorMessage(); //$(".tdPaymentAmount").html('$' + 0); } if (!hasError) { var propertyExistsInCart = false; $(data).each(function () { if (this.PropertyQuickRefID == "R349335") { propertyExistsInCart = true; } }); if (!propertyExistsInCart) { var paymentAmount; var isCustomPayment = false; if ($(".customAmount").val().length > 0) { paymentAmount = FormatMoney($(".customAmount").val()); isCustomPayment = true; } else { paymentAmount = FormatMoney("0"); } var newProp = { PropertyQuickRefID: "R349335", PropertyNumber: "R882920-00000-11550-000", OwnerName: "BETENBOUGH HOMES LLC", SitusAddress: "2807 TRENTON AVE, LUBBOCK, TX 79407", PartyQuickRefID: "O0289822", OwnerQuickRefID: "R349335", PaymentAmount: paymentAmount, IsCustomPayment: isCustomPayment }; data.unshift(newProp); $("#divShoppingCartIcon").html("
" + totalProperties + "
"); window.localStorage.setItem("ShoppingCart", JSON.stringify(data)); window.localStorage.setItem("NoOfPropertiesInCart", totalProperties); window.localStorage.setItem("ShoppingCartLastModifiedTime", Date()); $("#btnPayMyBills").hide(); ShowShoppingCartOperationModal(); } } }); $("#btnViewCart").click(function () { window.location = "/ShoppingCart"; }); $("#btnViewCart2").click(function () { window.location = "/ShoppingCart"; }); function ShowShoppingCartOperationModal() { $(".divAddToCartMessage").hide(); $(".divAddedToCartMessage").show(); $("#btnAddToCart").hide(); $("#btnViewCart").show(); $("#btnViewCart2").show(); } function FormatMoney(money) { return "$" + parseFloat(money).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, '$1,'); } $(".overlay").click(function () { $(".overlay").hide(); $(".divPaymentConfirmation").css("display", "none"); $(".divAltPaymentConfirmation").css("display", "none"); $(".divEnterEmailAddress").css("display", "none"); $(".divAddedToCart").css("display", "none"); $("#agRollbackCustomValuesModal").hide(); }); $("#btnContinuePayment").click(function () { $(".divPaymentConfirmation").css("display", "none"); $(".divAltPaymentConfirmation").css("display", "none"); var postData = {}; if ("CertifiedPayment" == "CertifiedPayment") { postData["RedirectURL"] = encodeURI(window.location.href); postData["BureauCode"] = "6729248"; postData["FeePercent"] = parseFloat("2.19"); var propertiesInfo = []; propertiesInfo.push({ PropertyNumber: "R882920-00000-11550-000", OwnerName: "BETENBOUGH HOMES LLC", OwnerQuickRefID: "R349335", PaymentAmount: $(".customAmount").val().length > 0 ? parseFloat($(".customAmount").val()) : parseFloat("0") }); postData["PropertiesInfo"] = propertiesInfo; $.ajax({ type: "POST", accept: "application/xml", url: "https://www.lubbockcad.org/ProxyT/tax/GenerateCertifiedPaymentsXML", data: postData, dataType: "xml", success: function (xml) { var strXML = escapeXML((new XMLSerializer()).serializeToString(xml)); postData = {}; postData["id"] = "TylerTech"; postData["accesscode"] = "9f1afaf235a119d08b3a865fc1c7907e96c4ec1665db22d2d3a0a3b8384e6af5"; postData["xmlTransaction"] = strXML; OpenWindowWithPost("https://certifiedpayments.net/sti/certgeneric/beginpayment.aspx", "", "_self", postData); }, }); } else if ("CertifiedPayment" == "TylerPayment") { postData["PaymentAmount"] = $(".customAmount").val().length > 0 ? parseFloat($(".customAmount").val()) : parseFloat("0"); postData["PropertyQuickrefID"] = "R349335"; postData["PropertyID"] = "1017578"; postData["ClientKey"] = ""; postData["RedirectURL"] = encodeURI(location.protocol + "//" + location.hostname + (location.port ? ':' + location.port : '') + "/Tyler-Payments-Receipt"); postData["PostBackURL"] = encodeURI("https://www.lubbockcad.org/ProxyT/tax/TylerPaymentPostback"); $.ajax({ type: "POST", accept: "application/xml", url: "https://www.lubbockcad.org/ProxyT/tax/GenerateTylerPaymentsXML", data: postData, dataType: "xml", success: function (xml) { postData = {}; postData["RequestXML"] = (new XMLSerializer()).serializeToString(xml); OpenWindowWithPost("", "", "_self", postData); }, }); } else if ("CertifiedPayment" == "OfficialPayment") { postData["cde-PropID-0"] = "R349335"; postData["clientId"] = "811600271028210824717291154569402"; switch ("R349335".substring(0, 1)) { case "R": postData["productId"] = "42336999099950820185928457364699320"; break; case "P": postData["productId"] = "42336999099950820185928611983521976"; break; case "N": postData["productId"] = "42336999099950820185928706472802488"; break; case "M": postData["productId"] = "42336999099950820185928800962083000"; break; } postData["paymentAmount"] = $(".customAmount").val().length > 0 ? parseFloat($(".customAmount").val()) : parseFloat("0"); postData["txtTSGLocalPMT"] = postData["paymentAmount"]; postData["lockAmount"] = "true"; var form = $('
'); form.attr("target", "_blank"); form.attr("action", "https://www.officialpayments.com/pc_entry_cobrand.jsp" + "?productId=" + postData["productId"]); form.attr("method", "post"); $.each(postData, function (key, value) { var input = $(''); input.attr("type", "hidden"); input.attr("name", key); input.attr("value", value); form.append(input); }); $(document.body).append(form); form.submit(); } else if ("CertifiedPayment" == "GovPay") { postData["clientId"] = ""; postData["referenceId"] = "R349335"; postData["description"] = "PropertyTax"; postData["subTotal"] = $(".customAmount").val().length > 0 ? parseFloat($(".customAmount").val()) : parseFloat("0"); postData["readOnly"] = true; postData["callbackUrl"] = encodeURI(window.location.href); var paymentItems = []; paymentItems.push({ "Property ID": "R349335", "Owner": "BETENBOUGH HOMES LLC", "Year": 2024, "amount": $(".customAmount").val().length > 0 ? parseFloat($(".customAmount").val()) : parseFloat("0") }); postData["paymentItems"] = paymentItems; var form = $('
'); form.attr("target", "_blank"); form.attr("action", ""); form.attr("method", "post"); var input = $(''); input.attr("name", "paymentObject"); input.attr("value", JSON.stringify(postData)); form.append(input); $(document.body).append(form); form.submit(); } else if ("CertifiedPayment" == "PointAndPay") { var taxYear = 2024; var quickRefID = "R349335"; var ownerName = "BETENBOUGH HOMES LLC"; var amount = $(".customAmount").val().length > 0 ? parseFloat($(".customAmount").val()) : parseFloat("0"); var paramsXML = "
"; var queryString = encodeURI("" + "/cart?paramXML=" + paramsXML); var p = []; OpenWindowWithPost(queryString, "", "", p); } }); function escapeXML(input) { return input.replace(/&/g, "&").replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(//g, ">"); } function OpenWindowWithPost(url, windowoption, name, params) { var form = document.createElement("form"); form.setAttribute("method", "post"); form.setAttribute("action", url); form.setAttribute("target", name); for (var currentParam in params) { if (params.hasOwnProperty(currentParam)) { var input = document.createElement('input'); input.type = 'hidden'; input.name = currentParam; input.value = params[currentParam]; form.appendChild(input); } } document.body.appendChild(form); window.open(url, name, windowoption); form.submit(); document.body.removeChild(form); } function isNumeric(n) { return !isNaN(parseFloat(n)) && isFinite(n); } function replaceAll(str, find, replace) { return str.replace(new RegExp(find, 'g'), replace); } $("#iCloseEmailModal").click(function () { closeEmailModal(); }); $("#btnEmailBackToProperty").click(function () { closeEmailModal(); }); function closeEmailModal() { $(".overlay").hide(); $(".divEnterEmailAddress").css("display", "none"); } $("#iClosePaymentConfirmModal").click(function () { closePaymentConfirmationModal(); }); $("#iClosePaymentConfirmModal2").click(function () { closePaymentConfirmationModal(); }); $("#btnBacktoProperty").click(function () { closePaymentConfirmationModal(); }); $("#btnBacktoProperty2").click(function () { closePaymentConfirmationModal(); }); $("#iCloseShoppingCartOpModal").click(function () { closeShoppingCartOpModal(); }); $("#btnCloseShoppingCartOpModal").click(function () { closeShoppingCartOpModal(); }); $("#btnViewShoppingCart").click(function () { window.open("/ShoppingCart", "_blank"); closeShoppingCartOpModal(); }); function closeShoppingCartOpModal() { $(".overlay").hide(); $(".divShoppingCartOperation").css("display", "none"); } function closePaymentConfirmationModal() { $(".overlay").hide(); $(".divPaymentConfirmation").css("display", "none"); $(".divAltPaymentConfirmation").css("display", "none"); } //TABS SETUP customMapLink = "https://gis.bisclient.com/lubbockcad/index.html?find=R349335"; if (customMapLink != "") { $("#MapLinkIcon").show(); } else { $("#MapLinkIcon").hide(); } $("#tdDetailsTab").click(function () { DetailsTabClicked(); sessionStorage.setItem('currentTab', '0'); }); $("#tdMapTab").click(function () { if (customMapLink != "") { window.open(customMapLink); $("#tdDetailsTab").trigger("click"); } else { MapTabClicked(); initializeMap(); } }); $("#tdBillsTab").click(function () { BillsTabClicked(); sessionStorage.setItem('currentTab', '1'); }); $("#tdPaymentHistoryTab").click(function () { PaymentHistoryTabClicked(); sessionStorage.setItem('currentTab', '2'); }); $("#tdAgRollbackTab").click(function () { AgRollbackTabClicked(); sessionStorage.setItem('currentTab', '3'); }); if ("True" == "True" && "RP" == "RP") { $("#tdMapTab").show(); } if ("True" == "True") { $("#tdBillsTab").show(); $("#selMobileTabDropdown").append(new Option("Property Bills", "1")); } if ("True" == "True") { $("#tdPaymentHistoryTab").show(); $("#selMobileTabDropdown").append(new Option("Property Payment History", "2")); } if ("False" == "True") { $("#tdAgRollbackTab").show(); } if ("False" == "False") { $("#tdAgRollbackTab").hide(); } $("#tdDetailsTab").width("130px"); $("#tdMapTab").width("130px"); $("#tdBillsTab").width("130px"); $("#tdPaymentHistoryTab").width("130px"); $("#tdAgRollbackTab").width("130px"); setSelectWidth(); if (sessionStorage.getItem('taxYearPostback') == "true") { SetDefaultTab(parseInt(sessionStorage.getItem('taxYearSelectedTabReload'))); sessionStorage.setItem('taxYearPostback', false); } else { SetDefaultTab("0"); sessionStorage.setItem('currentTab', "0"); } if ("8/13/2024" != "8/13/2024") { $("#tdCurrentDoesNotMatchShown").show(); } else { $("#tdCurrentDoesNotMatchShown").hide(); } //ICON LINKS AND DROP DOWN LINKS $("#divMoreResources").click(function () { MoreResourcesClicked(); }); $('body').on('click', ':not(#divMoreResources)', function (e) { if ($('#divMoreResources').hasClass('show')) { if (!(e.target.id.indexOf("divMoreResources") > -1) && !(e.target.className.indexOf("fa-caret-down") > -1)) { slideUpDropdownMenu(); } } }); $(".iconLink").tooltip(); function SetLinks() { var linksOptionsGridJson = $.parseJSON('[{"ItemID":1,"Show":true,"IconTypeName":"Calculator","IconTypeHTML":"","IconTooltip":"Click here to estimate taxes","ItemTitle":"Estimate Taxes","Link":"/Estimate-taxes?PropertyQuickRefID=\{PropertyQuickRef}&PartyQuickRefID=\{PartyQuickRef}","ItemTypeID":3},{"ItemID":2,"Show":true,"IconTypeName":"Exclamation","IconTypeHTML":"","IconTooltip":"Click Here to File an Online Appeal","ItemTitle":"Inquiry/Protest","Link":"/OnlineAppeals","ItemTypeID":3},{"ItemID":3,"Show":true,"IconTypeName":"Flag","IconTypeHTML":"","IconTooltip":"Click here to fill out Online Homestead Exemption Form","ItemTitle":"HS Exemption","Link":"/OnlineExemption/HS/Form/{PropertyID}/{PropertyOwnerID}","ItemTypeID":3},{"ItemID":4,"Show":true,"IconTypeName":"PDF","IconTypeHTML":"","IconTooltip":"Appraisal Notice","ItemTitle":"2024 Notice","Link":"/Notice/{PropertyQuickRef}.pdf","ItemTypeID":3}]'); var iconLinksHTML = ""; var divDropDownLinks = ""; if (linksOptionsGridJson != null) { $.each(linksOptionsGridJson, function (key, value) { if (value.ItemID != null) { if (value.IconTooltip == undefined) { value.IconTooltip = ""; } var link = value.Link; link = link.replace(/{PropertyQuickRef}/g, "R349335"); link = link.replace(/{PartyQuickRef}/g, "O0289822"); link = link.replace(/{PropertyID}/g, "1017578"); var propnum = "R882920-00000-11550-000"; propnum = propnum.replace(/[^0-9]+/g, ''); link = link.replace(/{PropertyNumber}/g, propnum); link = link.replace(/{PropertyOwnerID}/g, "1526564"); link = link.replace(/{MapNumber}/g, "122"); if (value.ItemTypeID == 3 && value.Show) { iconLinksHTML += "
"; } else if (value.ItemTypeID == 2 && value.Show) { divDropDownLinks += "
"; } else if (value.Show) { divDropDownLinks += "
"; } } }); } if (divDropDownLinks == "") { $("#tdDropDownLinks").css("display", "none"); } iconLinksHTML += "
"; if ("False" == "True") iconLinksHTML += "
eStatement Sign Up
"; if ("False" == "True" && "True" == "True") iconLinksHTML += "
Account Summary
"; $("#tdIconLinks").append("
"); $("#tdDropDownLinks").append("
"); } //SHOPPING CART HideErrorMessage(); $("#tdPaymentConfirmationWindowText").html("Please click below to continue to the payment processing site."); function setSelectWidth() { var sel = $('.OwnersDropDown option:selected'); $('#templateOption').text(sel.text()); $('.OwnersDropDown').width($('#template').width() * 1.5); } //Property Detail Header Icon Links CSS Attacher $('#tblIconLinks').find('td').each(function () { $(this).addClass("d-none d-md-table-cell"); $(this).find("i").each(function () { $(this).removeClass("fa-2x"); $(this).addClass("fa-lg"); }); }); //Property Detail Header Responsive Generator $('.table-responsive-stack-page-header').each(function (i) { var id = $(this).attr('id'); //alert(id); $(this).find("> tbody > tr > th").each(function (i) { $('#' + id + ' td.propertyData:nth-child(' + (i + 1) + ')').prepend('' + $(this).text() + ': '); $('.table-responsive-stack-thead').hide(); }); }); $('.table-responsive-stack-page-header').each(function () { var thCount = $(this).find("> tbody > tr > th").length; var rowGrow = 100 / thCount + '%'; //console.log(rowGrow); $(this).find("th, td").css('flex-basis', rowGrow); }); //Property Detail General Table Responsive Generator $('.table-responsive-stack-general').each(function (i) { var id = $(this).attr('id'); $(this).find("> tbody > tr > th").each(function (i) { $('#' + id + ' td.table-responsive-cell:nth-child(' + (i + 1) + ')').prepend('' + $(this).text() + ': '); $('.table-responsive-stack-thead').hide(); }); }); $('.table-responsive-stack-general').each(function () { //var thCount = $(this).find("th").length; //var rowGrow = 100 / thCount + '%'; $(this).find("th, td").css('flex-basis', 'auto'); $(this).find("th, td").css('width', '100%'); }); //Property Detail Improvements Table Responsive Generator $('.table-responsive-stack-improvements').each(function (i) { var id = $(this).attr('id'); $(this).find("> tbody > tr.improvementTableHeader > td").each(function (i) { $('#' + id + ' td.table-responsive-cell:nth-child(' + (i + 1) + ')').prepend('' + $(this).text() + ': '); $('.table-responsive-stack-thead').hide(); }); }); function flexTable() { if ($(window).width() <= mobileWidth) { $(".table-responsive-stack-page-header").each(function (i) { $(this).find(".table-responsive-stack-thead").show(); $(this).find('.trHeader').hide(); }); $(".table-responsive-stack-general").each(function (i) { $(this).find(".table-responsive-stack-thead").show(); $(this).find(".trHeader").hide(); }); $(".table-responsive-stack-improvements").each(function (i) { $(this).find(".table-responsive-stack-thead").show(); $(this).find(".trHeader").hide(); }); // window is less than 991px } else { $(".table-responsive-stack-page-header").each(function (i) { $(this).find(".table-responsive-stack-thead").hide(); $(this).find('.trHeader').show(); }); $(".table-responsive-stack-general").each(function (i) { $(this).find(".table-responsive-stack-thead").hide(); $(this).find(".trHeader").show(); }); $(".table-responsive-stack-improvements").each(function (i) { $(this).find(".table-responsive-stack-thead").hide(); $(this).find(".trHeader").show(); }); } } flexTable(); window.onresize = function (event) { flexTable(); }; $('#aRemovePropertiesFromCart').click(function ($e) { $e.preventDefault(); RemovePropertyFromCart(); }); $('#tblIconLinks tr').each(function () { $(this).find('td').each(function () { var anchorTag = $(this).find('a'); var cellText = $(this).text(); if (anchorTag.length > 0 && anchorTag.attr('href') != undefined) { var hrefValue = anchorTag.attr('href'); $("#selMobileTabDropdown").append(new Option(cellText, hrefValue)); } else if (anchorTag.length > 0 && anchorTag.attr('onclick') != undefined) { var onclickValue = anchorTag.attr('onclick'); $("#selMobileTabDropdown").append(new Option(cellText, onclickValue)); } }); }); $('#tblDropdownLinks tr').each(function () { $(this).find('td').each(function () { var anchorTag = $(this).find('a'); var cellText = $(this).text(); if (anchorTag.length > 0 && anchorTag.attr('href') != undefined) { var hrefValue = anchorTag.attr('href'); $("#selMobileTabDropdown").append(new Option(cellText, hrefValue)); } }); }); // End of Document Ready; }).ajaxStart(function () { $("body").addClass("loading") }) .ajaxStop(function () { $("body").removeClass("loading") }); function OnTaxYearSelected() { sessionStorage.setItem('taxYearPostback', true); var theCurrentTab = sessionStorage.getItem('currentTab'); sessionStorage.setItem('taxYearSelectedTabReload', theCurrentTab); }; function OnTaxYearSelected() { sessionStorage.setItem('taxYearPostback', true); var theCurrentTab = sessionStorage.getItem('currentTab'); sessionStorage.setItem('taxYearSelectedTabReload', theCurrentTab); }; function RemovePropertyFromCart() { var shoppingCartData = window.localStorage.getItem("ShoppingCart"); if (shoppingCartData) { var totalPropertiesCount = window.localStorage.getItem("NoOfPropertiesInCart"); totalProperties = parseInt(totalPropertiesCount); var data = JSON.parse(shoppingCartData); var removeIndex = -1; var currentIndex = 0; $(data).each(function () { if (this.PropertyQuickRefID == "R349335") { removeIndex = currentIndex; } currentIndex++; }); if (removeIndex != -1) { data.splice(removeIndex, 1); totalPropertiesCount--; SetTotalProperties(totalPropertiesCount); if (typeof localStorage != "undefined") { window.localStorage.setItem("ShoppingCart", JSON.stringify(data)); window.localStorage.setItem("NoOfPropertiesInCart", totalPropertiesCount); window.localStorage.setItem("ShoppingCartLastModifiedTime", Date()); } } } SetPayMyBills(); } function SetPayMyBills() { if (useAlternatePaymentMethod) { SetPayMyBillsAlternatePay(); } else { $("#btnPayMyBills").show(); $("#btnAddToCart").hide(); $("#btnViewCart").hide(); $(".divAddedToCartMessage").hide(); $(".divAddToCartMessage").hide(); var showPayMyBills = false; var totalDue = "-"; if ($(".totalDue").length) { totalDue = $(".totalDue").html().replace("$", ""); } if ("True" == "True") { showPayMyBills = true; if ("False" == "False" && totalDue == "0.00") { showPayMyBills = false; } } if (showPayMyBills) { $("#btnPayMyBills").show(); $(".customPay").show(); if ("CertifiedPayment" == "CertifiedPayment") { $("#btnAddToCart").show(); } } else { $("#btnPayMyBills").hide(); $(".customPay").hide(); } var shoppingCartData = window.localStorage.getItem("ShoppingCart"); if (shoppingCartData) { var totalPropertiesCount = window.localStorage.getItem("NoOfPropertiesInCart"); totalProperties = parseInt(totalPropertiesCount); if (totalProperties > 0) { $("#btnPayMyBills").hide(); var data = JSON.parse(shoppingCartData); var propertyExistsInCart = false; $(data).each(function () { if (this.PropertyQuickRefID == "R349335") { propertyExistsInCart = true; } }); if (propertyExistsInCart) { $(".divAddedToCartMessage").show(); $("#btnAddToCart").hide(); $("#btnViewCart").show(); } else { if (totalProperties == 1) { $(".divAddToCartMessage").html("There is currently 1 property in your cart.
You may add the property to cart with the total due amount or with a custom payment amount."); } else { $(".divAddToCartMessage").html("There are currently " + totalProperties + " properties in your cart.
You may add the property to cart with the total due amount or with a custom payment amount."); } $(".divAddToCartMessage").show(); } } } } } function SetPayMyBillsAlternatePay() { $("#btnPayMyBills").show(); $("#btnAddToCart").hide(); $("#btnViewCart").hide(); $(".divAddedToCartMessage").hide(); $(".divAddToCartMessage").hide(); var showPayMyBills = false; var totalDue = "-"; if ($(".totalDue").length) { totalDue = $(".totalDue").html().replace("$", ""); } if ("True" == "True") { showPayMyBills = true; if ("False" == "False" && totalDue == "0.00") { showPayMyBills = false; } } if (showPayMyBills) { $("#btnPayMyBills").show(); $(".customPay").hide(); } else { $("#btnPayMyBills").hide(); $(".customPay").hide(); } var shoppingCartData = window.localStorage.getItem("ShoppingCart"); if (shoppingCartData) { var totalPropertiesCount = window.localStorage.getItem("NoOfPropertiesInCart"); totalProperties = parseInt(totalPropertiesCount); if (totalProperties > 0) { $("#btnViewCart").show(); } } } function PaymentExistInShoppingCart(PropertyQuickRefID, TaxYear, shoppingCartData) { for (var itemIndex = 0; itemIndex < shoppingCartData.length; itemIndex++) { if (shoppingCartData[itemIndex].PropertyQuickRefID == PropertyQuickRefID && shoppingCartData[itemIndex].TaxYear == TaxYear) { return true; } } return false; } function SetTotalProperties(totalPropertiesCount) { if (totalPropertiesCount > 0) { $("#divShoppingCartIcon").html("
" + totalPropertiesCount + "
"); } else { $("#divShoppingCartIcon").html(""); } } function OpenPDF(propertyID, taxYear, partyID) { var postData = { PropertyID: propertyID, TaxYear: taxYear, EffectiveDate: document.getElementById("effectiveDatePicker").value, PartyID: partyID }; $.ajax({ type: "POST", accept: "application/json", url: "https://www.lubbockcad.org/ProxyT/tax/TaxStatement", data: postData, dataType: "json", beforeSend: function () { $("body").css("cursor", "progress"); }, success: function (filename) { window.location = "https://www.lubbockcad.org/ProxyT/documents/pdf/" + filename + "/"; $("body").css("cursor", "default"); }, error: function () { alert("Oops! Something went wrong. Try again later"); $("body").css("cursor", "default"); } }); return false; } function OpenReceiptPDF(quickRefID, transactionID, paymentDate, paymentAmount, paidForPartyID, payorPartyID, partyID) { var postData = { QuickRefID: quickRefID, TransactionID: transactionID, PaidForPartyID: paidForPartyID, PayorPartyID: payorPartyID, PartyID: partyID }; $.ajax({ type: "POST", accept: "application/json", url: "https://www.lubbockcad.org/ProxyT/tax/Receipt", data: postData, dataType: "json", beforeSend: function () { $("body").css("cursor", "progress"); }, success: function (filename) { window.location = "https://www.lubbockcad.org/ProxyT/documents/pdf/" + filename + "/"; $("body").css("cursor", "default"); } }); return false; } function OpenAccountSummaryPDF() { var postData = { PropertyID: "1017578", TaxYear: "2024", EffectiveDate: document.getElementById("effectiveDatePicker").value, PartyID: "1231781" }; $.ajax({ type: "POST", accept: "application/json", url: "https://www.lubbockcad.org/ProxyT/tax/AccountSummary", data: postData, dataType: "json", beforeSend: function () { $("body").css("cursor", "progress"); }, success: function (filename) { window.location = "https://www.lubbockcad.org/ProxyT/documents/pdf/" + filename + "/"; $("body").css("cursor", "default"); } }); return false;} function TableTooltip(element) { var pos = $(element).offset(); var tableTooltipModalDiv = $(element).parent().find('.tableTooltipModal'); $(tableTooltipModalDiv).css("top", pos.top + 30); $(tableTooltipModalDiv).css("left", pos.left - 125); if ($(tableTooltipModalDiv).is(':hidden')) { $(tableTooltipModalDiv).show(); } else { $(tableTooltipModalDiv).hide(); } } //This must exist because Firefox is a bad browser and allows non-numerical input even if an input tag has the attribue of number function isNumberKey(evt) { var charCode = (evt.which) ? evt.which : event.keyCode if (charCode > 31 && (charCode != 46 && (charCode < 48 || charCode > 57))) return false; return true; } function mobileTabDropdownController(selectElement) { if (Number.isInteger(parseInt(selectElement.value)) || isValidUrl(selectElement.value) == true) { mobileTabDropdownChanged(selectElement); } else { eval(selectElement.value); } } function isValidUrl(urlString) { var urlPattern = /^(https?|http):\/\/[^\s/$.?#].[^\s]*$/i; return urlPattern.test(urlString); }
Lubbock Central Appraisal District
| |||||||||||||
|
| ||||||||||||
| 2024 VALUE INFORMATION
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
You are continuing to another website | ||
Please click below to continue to the payment processing site. | ||
Payment Amount | ||
You are continuing to another website
Please click below to continue to the payment processing site.
Disclaimer
|
|
Please enter and confirm the email address to which you would like your eStatement to be sent. | |
| |
| |
Legal information for eStatement Sign-Up | |
This agreement is to provide for electronic delivery of tax bills pursuant to Tax Code 31.01. This agreement remains in effect for all subsequent tax bills pursuant to Tax Code 31.01 until the earlier of the following: (1) You are no longer entitled to receive a tax bill for this property (i.e. the property is sold or a change in ownership occurs): or (2) a written request to terminate electronic delivery of tax bills is submitted by an authorized individual to the Tax Assessor/Collector. Notice: Failure to send or receive a tax bill required by this section, including any tax bill to be delivered by electronic means, does not affect the validity of the tax, penalty or interest, the due date, the existence of a tax lien or any procedure instituted to collect a tax. By clicking Submit, you are agreeing to these terms, you certify that you are the individual or entity authorized to receive a tax bill for this property. If, by agreeing to these terms, you make a false statement, you could be found guilty of a Class A misdemeanor or a state jail felony under Section 37.10, Penal Code Due to the nature of electronic mail, junk mail trapping software and spam email software, we cannot guarantee that this confirmation email will reach the submitted email address. | |
Property has been added to the shopping cart. | |
Payment Amount | |