Guest Header
Guest Access Company Name
HeaderTfalseGuest Access LoginContinueJfalseContinue as GuestLoginTitleTfalse0Login PageLoginTitleGuestTfalse0Guest Access Log InLoginTitleARTfalse0Authorized Returns Log InLoginHeaderTfalse0Login HeaderLoginHeaderGuestTfalse0Guest HeaderLoginHeaderARTfalse0Authorized Returns HeaderLoginIDSfalse0RequiredLogin IDLoginIDGuestSfalse0Guest Access Login IDLoginIDARSfalse0Authorized Returns Login IDPasswordSfalse0RequiredPasswordForgotPasswordTfalse0ChangePasswordTfalse0RegisterTfalse0ChangePasswordTitleTfalse0RequiredChange Password TitleOldPasswordSfalse0RequiredOld PasswordNewPasswordSfalse0RequiredNew PasswordConfirmPasswordSfalse0RequiredConfirm PasswordExpireMessageTfalse0Password ExpireForgotPasswordTitleTfalse0Forgot Password TitleForgotMessageTfalse0Your Password is sent by E-Mail to youCompanyNameSfalse0Company NameCompanyNameGuestSfalse0Guest Access Company NameCompanyNameARSfalse0Authorized Returns Company NameB2CDirectLoginCfalse0B2CSelfInviteCfalse0B2CRemoveLinkCfalse0ShippingHeaderHeaderTfalse0Intelligent Reverse LogisticsHeaderAdminstrationLinkSectionAfalse0AdministrationHeaderAdminTransactionsLinkSectionAfalse0TransactionsHeaderAdminVoidShipmentsLinkZfalse0Void ShipmentsHeaderAdminLabelRetrievalZfalse0Label RetrievalHeaderAdminPackageHistoryLinkZfalse0Package HistoryHeaderAdminManageLinkSectionAfalse0ManageHeaderAdminUsersLinkZfalse0UsersHeaderAdminAddressesLinkZfalse0AddressesHeaderAdminAccountsLinkZfalse0AccountsHeaderAdminAnnouncementsLinkZfalse0AnnouncementHeaderAdminImportExportLinkSectionAfalse0Import/ExportHeaderAdminImportLinkZfalse0ImportHeaderAdminExportLinkZfalse0ExportHeaderAdminExportConfigLinkZfalse0Export ConfigHeaderAdminShipSettingsSectionLinkAfalse0Ship SettingsHeaderAdminCompanyKeysLinkZfalse0Company KeysHeaderAdminReferencesLinkZfalse0ReferencesHeaderAdminProductsLinkZfalse0ProductsHeaderAdminWeightsLinkZfalse0WeightsHeaderAdminThermalPrintSetupLinkZfalse0Thermal Printer SetupHeaderHistoryLinkZfalse0HistoryHeaderShippingZfalse0ShippingUserMenuChangePasswordLinkZfalse0Change PasswordUserMenuEnvironmentLinkZfalse0EnvironmentUserMenuLogOffLinkZfalse0Log OffUserMenuDiagnosticsLinkZfalse0DiagnosticsUserMenuCompanyListLinkZfalse0Company ListSupportMenuContactLinkZfalse0Contact PSI SupportHeaderAdminBranchesLinkZfalse0BranchesHeaderAdminOrdersLinkSectionZfalse0OrdersHeaderAdminOrdersLinkZfalse0OrdersHeaderAdminOrderReasonsLInkZfalse0ReasonsFooterCopyrightAfalse0Copyright © 2011 - 2025, United Parcel Service of America, Inc. All rights reserved.FooterWebSiteTermsLinkZfalse0Web Site Terms of UseFooterPolicyLinkZfalse0Privacy PolicyFooterCookieDisclosureLinkZfalse0Cookie DisclosureFooterTermsConditionsLinkZfalse0Service Terms and ConditionsSFTitleTfalse0Ship FromShipmentFormHeaderTfalse0Shipment InformationSFAddressBookKfalse0SFNameSfalse0RequiredRestaurant NameSFAttnSfalse0AttentionSFAddr1Sfalse0RequiredAddress 1SFAddr2Sfalse0Address 2SFAddr3Sfalse0SFCitySfalse0RequiredCitySFStateXfalse0RequiredStateSFZipSfalse0RequiredZipSFPhoneSfalse0PhoneSFEmailSfalse0RequiredEmailSFQVLabelNotCfalse0SFQVInTranNotCfalse0SFQVExcNotCfalse0SFQVDelNotCfalse0SFCust01Xfalse0SFCust02Xfalse0SFCust03Xfalse0SFCust04Xfalse0SFCust05Xfalse0SFCust06Xfalse0SFCust07Xfalse0SFCust08Xfalse0SFCust09Xfalse0SFCust10Xfalse0SFManualValidateXfalse0STTitleTfalse0STAddrBookKfalse0Address Book785928288STBranchKfalse0STNameSfalse0Company NameSTAttnSfalse0AttentionSTAddr1Sfalse0RequiredAddress Line 1STAddr2Sfalse0Address Line 2STAddr3Sfalse0STCitySfalse0RequiredCitySTStateXfalse0StateSTZipSfalse0RequiredPostal CodeSTPhoneSfalse0Phone NumberSTEmailSfalse0E-Mail AddressSTAddEmail1Sfalse0STAddEmail2Sfalse0STAddEmail3Sfalse0STQVLabelNotCfalse0STQVInTranNotCfalse0STQVExcNotCfalse0STQVDelNotCfalse0STResidentialCfalse0Residential AddressSTCust01Xfalse0STCust02Xfalse0STCust03Xfalse0STCust04Xfalse0STCust05Xfalse0STCust06Xfalse0STCust07Xfalse0STCust08Xfalse0STCust09Xfalse0STCust10Xfalse0STManualValidateXfalse0STLocationIDSfalse0ShipTitleTfalse0DescriptionXfalse0RequiredDescription of MerchandiseRETURNSCarbonNeutralCfalse0SatDeliveryCfalse0AdultSignatureCfalse0PrePaidAccountKfalse0ThirdPartyAccountKfalse0AdvancedPaymentOptionsTfalse0DutyVATPrePaidAccountKfalse0DutyVATThirdPartyAccountKfalse0SplitDutyVATCfalse0AreGoodsNotInFreeCirculationCfalse0InvoiceCfalse0International Special CommoditiesQfalse0UploadDocumentsCfalse0UseDifferentSoldToCfalse0DocOnlyCfalse0MonValueMfalse0PackTitleTfalse0Package(s)PackageHeaderTfalse0PackageNumPkgsNfalse01|20|Number of Packages must be between 1 and 20|WeightNfalse0Total WeightLengthNfalse0HeightNfalse0WidthNfalse0InsuredValMfalse0Proactive ResponseCfalse0DryIceCfalse0DryIceWeightNfalse0DataTitleTfalse0Check01Cfalse0Check02Cfalse0CommentSfalse0Ref01Rfalse0RequiredRMA Reference #Ref02Rfalse0Ref03Rfalse0Hardware TypeReturn Products|UniqueCode|Description|0Ref04Rfalse0Qty 1Ref05Rfalse0Hardware TypeReturn Products|UniqueCode|Description|0Ref06Rfalse0Qty 2Ref07Rfalse0Hardware TypeReturn Products|UniqueCode|Description|0Ref08Rfalse0Qty 3Ref09Rfalse0Hardware TypeReturn Products|UniqueCode|Description|0Ref10Rfalse0Qty 4PackageAddBtnJfalse0AddPackageRemoveBtnJfalse0RemovePackageSelectTxtAfalse0PackagePaymentMethodPfalse0RequiredBill pickup charges to:MYUPSCCHolderNameSfalse0RequiredCredit Card Holder NameCardNumberSfalse0RequiredCredit Card NumberSecurityCodeSfalse0RequiredSecurity CodeExpirationMonthSfalse0RequiredExpiration MonthExpirationYearSfalse0RequiredExpiration YearCCAddressLine1Sfalse0RequiredAddress Line 1CCAddressLine2Sfalse0Address Line 2CCAddressLine3Sfalse0Address Line 3CCCitySfalse0RequiredCityCCStateXfalse0RequiredStateCCPostalcodeSfalse0RequiredPostal codePackageIdSfalse0CostCenterSfalse0OrderNumberKfalse0OrderItemSkuKfalse0ShipProcessButtonTfalse0Process ShipmentShipClearButtonTfalse0ShipHistoryButtonTfalse0ShipRateButtonTfalse0RateShipBackButtonTfalse0BackShipAddItemsButtonTfalse0Add ItemsCancelButtonTfalse0CancelPickupLinkTfalse0Create PickupCreatePickupCfalse0PickupTitleTfalse0Pickup InformationPickupDateHfalse0Pickup Date2025-12-15PickupEarliestTimeIfalse0Earliest Pickup Time05:32PickupLatestTimeIfalse0Latest Pickup Time05:32PickupContactNameSfalse0Contact NamePickupPhoneXfalse0Phone NumberPickupRoomXfalse0Room NumberPickupFloorSfalse0Floor NumberPickupInstructionsSfalse0InstructionsPickupPointXfalse0PickupTomorrowCfalse0PurchaseOrderSfalse0RequiredPurchase Order NumberCommentsSfalse0CommentsCommoditiesXfalse0CommoditiesAutoFinishCfalse0InvoiceTitleTfalse0Commercial InvoiceAdditionalDocumentCfalse0Additional Documents (Paperless)SignatureWfalse0ShowInvoiceCfalse0Show Invoice (Override Paperless)ProductTitleTfalse0Invoice ItemsProductPartNumberKfalse0RequiredPart NumberProductDescriptionXfalse0RequiredDescriptionProductDescSecondaryXfalse0Description SecondaryProductDescOtherXfalse0Description OtherProductHarmCodeXfalse0Harmonized CodeProductPriceMfalse0RequiredPriceProductCountNfalse0RequiredCountProductCustom01Xfalse0ProductCustom02Xfalse0ProductCustom03Xfalse0ProductCustom04Xfalse0ProductCustom05Xfalse0ProductCustom06Xfalse0ProductCustom07Xfalse0ProductCustom08Xfalse0ProductCustom09Xfalse0ProductCustom10Xfalse0InvoiceHeaderTfalse0Commercial InvoiceInvoiceSubHeaderAfalse0Create International InvoiceInvoiceDetailsTxtAfalse0Invoice DetailsInvoiceLineHeaderTxtAfalse0LineInvoiceTotalHeaderTxtAfalse0TotalInvoiceItemAddBtnJfalse0AddInvoiceItemEditBtnJfalse0EditInvoiceItemDeleteBtnJfalse0DeleteInvoiceItemFinishBtnJfalse0FinishInvoiceItemSearchBtnJfalse0SearchInvoiceItemSaveBtnJfalse0SaveInvoiceItemCancelBtnJfalse0CancelInvoiceItemClearBtnJfalse0ClearInvoiceItemFilterBtnJfalse0FilterInvoiceProductSelectBtnJfalse0SelectInvoiceProductSearchTitleJfalse0Search Results (Max of 50)InvoiceProductSearchRequiredInfoJfalse0The id field is required.DocumentHeaderTfalse0DocumentsLoginCSSGuestSfalse0CSS Guest AccessLoginCSSARSfalse0CSS Authorized ReturnsDocumentINoPackageFromEmailAfalse0This link has expired. Please contact the company that sent you the return email.DocumentNoPackageNotFromEmailAfalse0There are no labels to displayDocumentFoldHereAfalse0FOLD HEREPrintPageSuccessHeaderAfalse0Shipment successfulPrintPageDeliveryMethod1MInstructionsAfalse0UPS will print and mail your return label.PrintPageDeliveryMethod11-15InstructionsAAfalse0Once UPS arrives to collect the return, the UPS driver will package the item.PrintPageDeliveryMethod16-20InstructionsAAfalse0Once UPS arrives to collect the return, the UPS driver will package the item.PrintPageDeliveryMethod4Eor6AAfalse0Return label has been e-mailed.PrintPageDefaultSchedulePickupTextAfalse0Click here to Schedule a pickupARPrintPageNoLabelsAfalse0No Labels AvailableDocumentLabelInstructionsHeaderTfalse0InstructionsDocumentLabelDefaultInstructionsYfalse0UPS Electronic Return Label: View/Print LabelDocumentLabelFlexibleAccessInstructionsYfalse0UPS Electronic Return Label: View/Print LabelTender your package to either UPS or the United States Postal Service. UPS locations include The UPS Store®, UPS Drop Box, UPS Customer Centers, authorized retail outlets and UPS drivers. Find your closest UPS location at {UPSDropOffLocator}DocumentLabelFlexibleAccessPostalLocationsEfalse0Postal LocationsPostal Service locations include your own mailbox, your local Post Office™ or postal collection boxes. You may also schedule a free postal carrier pick up at: {USPSCarrierPickup}DocumentLabelMailInnovationsInstructionsYfalse0MI Electronic Return Label: View/Print LabelPackages can be given to your mail carrier, left in your mail box or dropped off at your local U.S. Post Office or blue collection box. You can also schedule a U.S. Postal Service pick-up of the Return package at {UPSPWebPage}. For more information call UPS Mail Innovations® at 1-800-500-2224. Your return package will be viewable on ups.com within 24-48 hours.DocumentLabelDirectToMobileInstuctionsYfalse0UPS® Direct to MobileUPSWebPageZfalse0www.ups.com/content/us/en/index.jsxhttps://www.ups.com/content/us/en/index.jsxUPSDropOffLocatorZfalse0Drop Off Locatorhttp://www.ups.com/dropoff?autosubmit=1&lang=engUSPSCarrierPickupZfalse0https://carrierpickup.usps.comhttps://carrierpickup.usps.comUSPSWebPageZfalse0www.usps.comwww.usps.comDocumentInvoiceHeaderTfalse0InvoiceDocumentInvoiceFromSectionHeaderAfalse0FromDocumentInvoiceFromContactNameAfalse0Contact NameDocumentInvoiceFromCompanyNameAfalse0Company NameDocumentInvoiceFromWaybillNumberAfalse0Waybill NumberDocumentInvoiceFromAddressAfalse0AddressDocumentInvoiceFromCityAfalse0City/State-ProvinceDocumentInvoiceFromdateAfalse0DateDocumentInvoiceFromPostalCodeAfalse0Postal CodeDocumentInvoiceFromInvoiceNumberAfalse0Invoice NumberDocumentInvoiceFromPhoneAfalse0PhoneDocumentInvoiceFromPurchaseOrderNumberAfalse0Purchase Order NumberDocumentInvoiceFromFaxAfalse0FaxDocumentInvoiceFromTermsofSaleAfalse0Terms of sale (Incoterm)DocumentInvoiceFromEmailAfalse0E-Mail AddressDocumentInvoiceFromReasonForExportAfalse0Reason For ExportDocumentInvoiceshipToAfalse0Ship ToDocumentInvoicesoldToAfalse0Sold ToDocumentInvoicesUnitAfalse0UnitsDocumentInvoicesUnitofMeasureAfalse0Unit of MeasurementDocumentInvoiceDescriptionOfGoodsAfalse0Description of GoodsDocumentInvoicePartNumberAfalse0Part NumberDocumentInvoiceCommodityCodeAfalse0Commodity CodeDocumentInvoiceCOAfalse0C/ODocumentInvoiceValueAfalse0ValueDocumentInvoiceTotalAfalse0TotalDocumentInvoiceCurrencyAfalse0CurrencyDocumentInvoiceAddCommentsAfalse0Additional CommentsDocumentInvoiceLineTotalAfalse0Invoice Line TotalDocumentInvoiceDiscountAfalse0Discount/RebateDocumentInvoiceInvSubTotalAfalse0Invoice Sub-TotalDocumentInvoiceFreightAfalse0FreightDocumentInvoiceInsuranceAfalse0InsuranceDocumentInvoiceOtherAfalse0OtherDocumentInvoiceTotalInvoiceAmountAfalse0Total Invoice AmountDocumentInvoiceDecstatementAfalse0Declaration StatementDocumentInvoiceShipperSignAfalse0Shipper's Signature/ TitleDocumentInvoicePackCountAfalse0Package CountDocumentInvoiceTotalWeightAfalse0Total WeightProductUnitDfalse0RequiredUnit of MeasureEAProductOriginCountryDfalse0RequiredOrigin CountryUSTermsOfShipmentDfalse0RequiredTerms of ShipmentCurrencyCodeDfalse0RequiredCurrency CodeReasonForExportDfalse0RequiredReasonForExportOrderItemDfalse0OrderItemStaticCCCountryDfalse0RequiredCountry or TerritoryUSCCCardTypeDfalse0RequiredCredit Card Type00DropOffTypeIdDfalse00DryIcePurposeDfalse0DryIceUOMDfalse0International LanguageDfalse0InsuredCurDfalse0MeasureUnitDfalse0INWeightUnitDfalse01LPackTypeDfalse01CDutyVATPayInfoDfalse00PayInfoDfalse0DelMethodDfalse0Label Delivery Method6AServiceDfalse0ServiceGNDServiceIntlDfalse0UPS Service InternationalServiceCodeDfalse0UPS Service1GRSTypeDfalse02RDirectionDfalse00LabelFormatDfalse01GSTCountryDfalse0Country or TerritoryUSSFCountryDfalse0Country or TerritoryUS2956ToastIncTsJ9qJkFENxL5100Toast Inc-Woburn13b91b5b-0e53-4e98-96a1-621e303da93d58c2e996-68e6-4222-9a43-dd5651aa85e1//Toast Inc - Woburn - Modified - 07.29.2025
// Updated UIKit show/hide 10.02.24
function checkTerminalLimit(refSelectId, qtyInputId) {
const select = document.getElementById(refSelectId);
const qtyInput = document.getElementById(qtyInputId);
const packagesDiv = document.getElementById("Packages");
const addPkgBtn = document.getElementById("AddPackage");
const processShipmentButton = document.getElementById("ProcessShipment");
if (!select || !qtyInput || !packagesDiv || !addPkgBtn) return;
const qty = parseInt(qtyInput.value, 10) || 0;
const type = select.selectedOptions[0]?.text || '';
const existingAlert = document.getElementById('package_exceeds_alert_02');
if (qty >= 2 && type === 'Terminal') {
if (!existingAlert) {
const p = document.createElement('p');
p.id = 'package_exceeds_alert_02';
p.style.cssText = 'color: red; margin: 21px 0 0; clear: both; padding: 10px 80px 42px 0;';
p.innerText = 'There is a limit of 1 Terminal per box.';
packagesDiv.appendChild(p);
}
UIKit.hideElement([addPkgBtn]);
UIKit.hideElement([processShipmentButton]);
} else {
existingAlert?.remove();
UIKit.showElement([addPkgBtn]);
UIKit.showElement([processShipmentButton]);
}
}
// Removes any "required" message in the container element
function removeRequiredMessage(container) {
const existingMsg = container.querySelector(".required-message");
if (existingMsg) {
existingMsg.remove();
}
}
document.addEventListener('DOMContentLoaded', () => {
// Move elements
const boxRef1False = document.getElementById('boxReference1_false');
const mainShipForm = document.getElementById('main_ship_form');
if (boxRef1False && mainShipForm) {
mainShipForm.prepend(boxRef1False);
}
const cnsLogo = document.getElementById('cns_logo');
const buttonBar = document.getElementById('ButtonBarDiv');
if (cnsLogo && buttonBar) {
buttonBar.appendChild(cnsLogo);
}
// Create alert paragraph
const alertP = document.createElement('p');
alertP.className = 'd-none';
alertP.style.cssText = 'color: red; margin: 21px 0 0; clear: both; padding: 10px 80px 42px 0;';
alertP.id = 'package_exceeds_alert';
alertP.innerText = 'Package exceeds the 49lb limit, please modify the quantity and click the Add Button to add an additional package';
const packagesDiv = document.getElementById('Packages');
if (packagesDiv) {
packagesDiv.appendChild(alertP);
// hide via UIKit
UIKit.hideElement([alertP]);
}
// Remove duplicate alerts
const allAlerts = document.querySelectorAll('p#package_exceeds_alert');
if (allAlerts.length > 1) {
allAlerts.forEach((p, idx) => { if (idx > 0) p.remove(); });
}
// Insert Reference1_false input
const wrapperDiv = boxRef1False?.querySelector('div');
if (wrapperDiv) {
const ref1Input = document.createElement('input');
ref1Input.className = 'required valid';
ref1Input.id = 'Reference1_false';
ref1Input.name = 'Reference1_false';
ref1Input.maxLength = 35;
ref1Input.style.width = '220px';
ref1Input.type = 'text';
wrapperDiv.after(ref1Input);
// Sync on keyup
ref1Input.addEventListener('keyup', () => {
document.getElementById('Reference1').value = ref1Input.value;
});
}
// Insert explanatory paragraph before errorMessagePackageTypeId
const errMsg = document.getElementById('errorMessagePackageTypeId');
if (errMsg) {
const infoP = document.createElement('p');
infoP.innerHTML = 'You will need a new label for each box that you are returning. Please use the “<strong>Add Package</strong>” button below for additional packages.';
errMsg.before(infoP);
}
// After certain boxes, insert weight input divs
['4', '6', '8', '10'].forEach(num => {
const boxRef = document.getElementById('boxReference' + num);
if (boxRef) {
const div = document.createElement('div');
div.className = 'new_weight';
div.innerHTML = `<span>Weight</span> <input id="Reference${num}_w" maxlength="35" name="Reference${num}_w" style="width: 220px;" type="text" disabled>`;
boxRef.after(div);
}
});
// Set button values and disable
const processBtn1 = document.getElementById('ProcessShipment');
if (processBtn1) {
processBtn1.value = 'Process RMA Label';
processBtn1.disabled = true;
}
const addPkgBtn = document.getElementById('AddPackage');
if (addPkgBtn) {
addPkgBtn.value = 'Add Package';
}
// Small note under boxReference1_false
if (wrapperDiv) {
const small = document.createElement('small');
small.innerText = 'You can find the RMA reference # in RMA shipping notification email.';
wrapperDiv.appendChild(small);
}
// Prevent Enter, Tab, Ctrl, Alt globally
document.addEventListener('keydown', e => {
if (e.key === 'Enter' || e.key === 'Tab' || e.ctrlKey || e.altKey) {
e.preventDefault();
}
});
// Add hidden Custom_Reference1
const shipForm = document.getElementById('shipForm');
if (shipForm) {
const customRef = document.createElement('input');
customRef.type = 'text';
customRef.id = 'Custom_Reference1';
customRef.name = 'Custom_Reference1';
customRef.className = 'd-none';
shipForm.prepend(customRef);
const ref1 = document.getElementById('Reference1');
ref1?.addEventListener('keyup', () => {
customRef.value = ref1.value;
});
}
// Disable Weight textbox on Main Form
const weightMain = document.getElementById('Weight');
if (weightMain) weightMain.disabled = true;
// Move boxWeight to Packages
const boxWeight = document.getElementById('boxWeight');
if (boxWeight && packagesDiv) {
packagesDiv.prepend(boxWeight);
}
const pairs = [
['Reference3', 'Reference4'],
['Reference5', 'Reference6'],
['Reference7', 'Reference8'],
['Reference9', 'Reference10'],
];
pairs.forEach(([selId, qtyId]) => {
const sel = document.getElementById(selId);
const qty = document.getElementById(qtyId);
sel?.addEventListener('change', () => checkTerminalLimit(selId, qtyId));
qty?.addEventListener('keyup', () => checkTerminalLimit(selId, qtyId));
});
const input = document.getElementById("Reference1_false");
const processBtn = document.getElementById("ProcessShipment");
if (!input || !processBtn) return; // Optional: handle missing elements gracefully
input.addEventListener("keyup", function () {
let getval = this.value.replace(/[^0-9\.]/g, "");
let getNumber = getval.length;
this.value = getval;
if (getNumber <= 2) {
displayError(this, "Must be at least 6 characters", "limitofcharacters2");
} else {
removeError(this, "limitofcharacters2");
}
if (getNumber > 6) {
this.value = this.getAttribute("enteredval") || ""; // fallback
displayError(this, "There is a limit of 6 characters", "limitofcharacters");
} else {
removeError(this, "limitofcharacters");
this.setAttribute("enteredval", getval);
}
if (getNumber >= 6) {
processBtn.disabled = false;
}
// Event for RMA Detail field (#Reference1_false) - Blur event
document.getElementById("Reference1_false").addEventListener("blur", function () {
let getval = this.value;
let getNumber = getval.length;
// Quick validate and remove non-numeric characters
this.value = this.value.replace(/[^0-9\.]/g, "");
// Handle error for minimum 6 characters
if (getNumber < 6) {
displayError(this, "Must be at least 6 characters", "limitofcharacters2");
} else {
removeError(this, "limitofcharacters2");
}
// Handle error for maximum 6 characters
if (getNumber > 6) {
this.value = this.getAttribute("enteredval"); // Restore the previous value
displayError(this, "There is a limit of 6 characters", "limitofcharacters");
} else {
removeError(this, "limitofcharacters");
this.setAttribute("enteredval", getval); // Save the current value
}
// Enable Process Shipment button when input length is 6 or more
if (getNumber >= 6) {
document.getElementById("ProcessShipment").disabled = false;
}
});
function displayError(input, msg, cls) {
if (!input.classList.contains(cls)) {
const span = document.createElement("span");
span.className = cls;
span.style.color = "red";
span.innerHTML = `<br>${msg}`;
input.insertAdjacentElement("afterend", span);
input.classList.add(cls);
}
}
function removeError(input, cls) {
if (input.classList.contains(cls)) {
const next = input.nextElementSibling;
if (next && next.classList.contains(cls)) {
next.remove();
}
input.classList.remove(cls);
}
}
});
// Reload on Clear click
const clearBtn = document.getElementById('Clear');
clearBtn?.addEventListener('click', () => location.reload());
});
// Chris Q - Code (safe DOM version)
function ShipmentSection() {
const mainTable = document.getElementById("mainTable");
if (!mainTable) return;
// Create and insert custom-shipment div
const customShipmentDiv = document.createElement("div");
customShipmentDiv.id = "custom-shipment";
mainTable.insertAdjacentElement("afterend", customShipmentDiv);
const shipmentCell = mainTable.querySelector("tbody:nth-child(1) > tr:nth-child(2) > td:nth-child(3)");
if (shipmentCell) {
customShipmentDiv.appendChild(shipmentCell);
}
}
ShipmentSection();
// Update contact label text
const contactLabel = document.querySelector("th.text-center:nth-child(1) > h4:nth-child(1) > label:nth-child(1)");
if (contactLabel) {
contactLabel.innerText = "Contact information";
}
// Create First Name and Last Name fields
const boxSFAttn = document.getElementById("boxSFAttn");
if (boxSFAttn) {
const boxFName = document.createElement("div");
boxFName.id = "boxSFFName";
boxFName.style.width = "220px";
const labelF = document.createElement("label");
labelF.setAttribute("for", "SFFName");
labelF.innerText = "First Name ";
const brF = document.createElement("br");
const inputF = document.createElement("input");
inputF.type = "text";
inputF.id = "fname";
inputF.className = "valid";
inputF.setAttribute("aria-invalid", "false");
boxFName.appendChild(labelF);
boxFName.appendChild(brF);
boxFName.appendChild(inputF);
const boxLName = document.createElement("div");
boxLName.id = "boxSFLName";
boxLName.style.width = "220px";
const labelL = document.createElement("label");
labelL.setAttribute("for", "SFLName");
labelL.innerText = "Last Name ";
const brL = document.createElement("br");
const inputL = document.createElement("input");
inputL.type = "text";
inputL.id = "lname";
boxLName.appendChild(labelL);
boxLName.appendChild(brL);
boxLName.appendChild(inputL);
boxSFAttn.insertAdjacentElement("afterend", boxLName);
boxSFAttn.insertAdjacentElement("afterend", boxFName);
// Sync logic
function updateSFAttn() {
const fName = inputF.value || "";
const lName = inputL.value || "";
const attnField = document.getElementById("SFAttn");
if (attnField) attnField.value = `${fName} ${lName}`.trim();
}
inputF.addEventListener("keyup", updateSFAttn);
inputL.addEventListener("keyup", updateSFAttn);
}
// Reorder fields
const boxSFPhone = document.getElementById("boxSFPhone");
const boxSFEmail = document.getElementById("boxSFEmail");
const boxSFName = document.getElementById("boxSFName");
if (boxSFPhone && boxSFEmail && boxSFName) {
boxSFPhone.insertAdjacentElement("afterend", boxSFEmail);
boxSFEmail.insertAdjacentElement("afterend", boxSFName);
}
// Move custom info box
const customInfoBox = document.getElementById("custom_information_box");
const mastMain = document.querySelector(".MastMain");
if (customInfoBox && mastMain) {
mastMain.insertBefore(customInfoBox, mastMain.firstChild);
}
// Shipment header text
const shipmentHeader = document.querySelector("#custom-shipment > td > h4");
if (shipmentHeader) {
shipmentHeader.textContent = "Shipment details";
const span = document.createElement("span");
span.textContent =
"Please ensure proper packaging for safe transportation. You will be responsible for any damage that occurs to the Toast Product during the shipping process. The best practice is to ship all hardware products you are returning in the box Toast provided for your replacement device(s).";
shipmentHeader.appendChild(document.createTextNode(" "));
shipmentHeader.appendChild(span);
}
// Validation on AddPackage click
const addPackageBtn = document.getElementById("AddPackage");
if (addPackageBtn) {
addPackageBtn.addEventListener("click", () => {
const fnameInput = document.getElementById("fname");
const lnameInput = document.getElementById("lname");
const boxFName = document.getElementById("boxSFFName");
const boxLName = document.getElementById("boxSFLName");
if (fnameInput && fnameInput.value.trim() === "") {
fnameInput.style.backgroundColor = "#ffeeee";
const existingSpan = boxFName.querySelector("span");
if (!existingSpan) {
const span = document.createElement("span");
span.textContent = "Required";
boxFName.insertBefore(span, fnameInput);
boxFName.insertBefore(document.createElement("br"), span);
}
} else {
fnameInput.style.backgroundColor = "";
const spans = boxFName.querySelectorAll("span");
const brs = boxFName.querySelectorAll("br");
spans.forEach(span => span.remove());
if (brs.length > 1) brs[1].remove(); // remove second <br>
}
if (lnameInput && lnameInput.value.trim() === "") {
lnameInput.style.backgroundColor = "#ffeeee";
const existingSpan = boxLName.querySelector("span");
if (!existingSpan) {
const span = document.createElement("span");
span.textContent = "Required";
boxLName.insertBefore(span, lnameInput);
boxLName.insertBefore(document.createElement("br"), span);
}
} else {
lnameInput.style.backgroundColor = "";
const spans = boxLName.querySelectorAll("span");
const brs = boxLName.querySelectorAll("br");
spans.forEach(span => span.remove());
if (brs.length > 1) brs[1].remove(); // remove second <br>
}
});
}
// Backup original XMLHttpRequest methods
const originalOpen = XMLHttpRequest.prototype.open;
const originalSend = XMLHttpRequest.prototype.send;
// Replace .open to track URL
function openReplacement(method, url, async, user, password) {
this._url = url;
return originalOpen.apply(this, arguments);
}
// Replace .send to intercept and handle response state
function sendReplacement(data) {
if (this.onreadystatechange) {
this._onreadystatechange = this.onreadystatechange;
}
this.onreadystatechange = onReadyStateChangeReplacement;
return originalSend.apply(this, arguments);
}
// Override native methods
XMLHttpRequest.prototype.open = openReplacement;
XMLHttpRequest.prototype.send = sendReplacement;
// Counter
var indexExample = 0;
// Function to handle logic after AddPackage, SelectPackage, or RemovePackage
function onReadyStateChangeReplacement() {
const urlMatch = ["AddPackage", "SelectPackage", "RemovePackage"];
if (urlMatch.includes(this._url)) {
const packagesEl = document.getElementById("Packages");
if (packagesEl) packagesEl.classList.add("loading");
// Add alert message
setTimeout(() => {
if (!document.getElementById("package_exceeds_alert")) {
const p = document.createElement("p");
p.id = "package_exceeds_alert";
p.style.color = "red";
p.style.margin = "21px 0 0";
p.style.clear = "both";
p.style.padding = "10px 80px 42px 0";
p.classList.add("d-none");
const textNode = document.createTextNode(
"Package exceeds the 49lb limit, please modify the quantity and click the Add Button to add an additional package"
);
p.appendChild(textNode);
packagesEl.appendChild(p);
}
}, 1500);
var fakeCounter = indexExample++;
if (fakeCounter == 0) {
// Sync Reference1 from backup
setTimeout(() => {
const ref1False = document.getElementById("Reference1_false");
const ref1 = document.getElementById("Reference1");
if (ref1 && ref1False) {
ref1.value = ref1False.value;
}
}, 200);
// Move boxWeight after boxReference10
setTimeout(() => {
const weightBox = document.getElementById("boxWeight");
const ref10 = document.getElementById("boxReference10");
if (weightBox && ref10) {
ref10.insertAdjacentElement("afterend", weightBox);
}
}, 100);
// Inject instructions and weight inputs
setTimeout(() => {
const errorBox = document.getElementById("errorMessagePackageTypeId");
const weightBox = document.getElementById("boxWeight");
if (errorBox) {
const p = document.createElement("p");
const strong = document.createElement("strong");
strong.appendChild(document.createTextNode("Add Package"));
const textNode = document.createTextNode(
"You will need a new label for each box that you are returning. Please use the "
);
p.appendChild(textNode);
p.appendChild(strong);
p.appendChild(document.createTextNode(" button below for additional packages."));
errorBox.parentNode.insertBefore(p, errorBox);
}
if (weightBox && packagesEl) {
packagesEl.insertBefore(weightBox, packagesEl.firstChild);
}
const ids = ["4", "6", "8", "10"];
ids.forEach(num => {
const refBox = document.getElementById(`boxReference${num}`);
if (refBox && !document.getElementById(`Reference${num}_w`)) {
const div = document.createElement("div");
div.classList.add("new_weight");
const label = document.createElement("span");
label.appendChild(document.createTextNode("Weight"));
div.appendChild(label);
const input = document.createElement("input");
input.type = "text";
input.id = `Reference${num}_w`;
input.name = `Reference${num}_w`;
input.style.width = "220px";
input.maxLength = 35;
input.disabled = true;
div.appendChild(input);
refBox.insertAdjacentElement("afterend", div);
}
});
// Set up weight calculator
setupWeightCalc();
}, 1000);
// Remove loading class
setTimeout(() => {
if (packagesEl) packagesEl.classList.remove("loading");
}, 1500);
}
setTimeout(() => {
const pairs = [
['Reference3', 'Reference4'],
['Reference5', 'Reference6'],
['Reference7', 'Reference8'],
['Reference9', 'Reference10'],
];
pairs.forEach(([selId, qtyId]) => {
const qtyInput = document.getElementById(qtyId);
if (qtyInput) {
qtyInput.addEventListener('keyup', () => {
checkTerminalLimit(selId, qtyId);
});
}
});
}, 1000);
}
// Counter
// FIX | Display the printing message more than 1 time
if (fakeCounter >= 2) {
indexExample = 0;
}
// Call original onreadystatechange if present
if (this._onreadystatechange) {
return this._onreadystatechange.apply(this, arguments);
}
}
// Function to set up weight calculation handlers
function setupWeightCalc() {
const refs = ["Reference4", "Reference6", "Reference8", "Reference10"];
refs.forEach(id => {
const el = document.getElementById(id);
if (el) {
el.addEventListener("keyup", calcWgt);
}
});
const mainWeight = document.getElementById("Weight");
if (mainWeight) {
mainWeight.disabled = true;
}
}
// Dummy weight calculator logic (to be replaced with real logic)
calcWgt();
// Trigger initial request to activate interception
const request = new XMLHttpRequest();
request.open("GET", ".", true);
request.send();
// Attach event listeners to dropdowns
["Reference3", "Reference5", "Reference7", "Reference9"].forEach(id => {
const el = document.getElementById(id);
if (el) {
el.addEventListener("change", calcWgt);
}
});
// Attach event listeners to quantity inputs
["Reference4", "Reference6", "Reference8", "Reference10"].forEach(id => {
const el = document.getElementById(id);
if (el) {
el.addEventListener("keyup", calcWgt);
}
});
function calcWgt() {
const weightInput = document.getElementById("Weight");
if (weightInput) {
weightInput.value = "";
}
// Get selected values from dropdowns
const resultWgt1 = getSelectedValue("Reference3");
const resultWgt2 = getSelectedValue("Reference5");
const resultWgt3 = getSelectedValue("Reference7");
const resultWgt4 = getSelectedValue("Reference9");
// Get quantity input values
const qtyitem1 = getInputValue("Reference4");
const qtyitem2 = getInputValue("Reference6");
const qtyitem3 = getInputValue("Reference8");
const qtyitem4 = getInputValue("Reference10");
// Calculate individual total weights
const ttwgt_item1 = resultWgt1 * qtyitem1 || 0;
const ttwgt_item2 = resultWgt2 * qtyitem2 || 0;
const ttwgt_item3 = resultWgt3 * qtyitem3 || 0;
const ttwgt_item4 = resultWgt4 * qtyitem4 || 0;
// Fill weight display inputs
setInputText("Reference4_w", `${ttwgt_item1} lbs`);
setInputText("Reference6_w", `${ttwgt_item2} lbs`);
setInputText("Reference8_w", `${ttwgt_item3} lbs`);
setInputText("Reference10_w", `${ttwgt_item4} lbs`);
const totalwgt = ttwgt_item1 + ttwgt_item2 + ttwgt_item3 + ttwgt_item4;
if (weightInput) {
weightInput.value = totalwgt;
}
const packageAlert = document.querySelectorAll("#package_exceeds_alert");
// const addPackage = document.getElementById("#AddPackage");
const addPackage = document.querySelector(".marginTopTenpX"); //Remove Add button and pkg selection
const processShipmentButton = document.getElementById("ProcessShipment");
// Select all <p> elements inside the #Packages container
const pElements = document.querySelectorAll("#Packages > p");
if (totalwgt >= 50) {
// Show alert and hide the "Add Package" button
UIKit.showElement(packageAlert);
UIKit.hideElement([addPackage]);
weightInput?.classList.add("error");
// Loop through each <p> element and remove the bottom border
pElements.forEach(pElement => {
pElement.style.borderBottom = "none";
});
// Hide the "Process Shipment" button when weight exceeds the limit
if (processShipmentButton) {
UIKit.hideElement([processShipmentButton]);
}
} else {
// Show "Add Package" button and hide alert if weight is valid
UIKit.showElement([addPackage]);
UIKit.hideElement(packageAlert);
weightInput?.classList.remove("error");
// Show the "Process Shipment" button when weight is valid
if (processShipmentButton) {
UIKit.showElement([processShipmentButton]);
}
}
}
// Utility Functions
function getSelectedValue(selectId) {
const select = document.getElementById(selectId);
if (select && select.options[select.selectedIndex]) {
const val = select.options[select.selectedIndex].value;
const parts = val.split(" ");
return parseFloat(parts[0]) || 0;
}
return 0;
}
function getInputValue(inputId) {
const input = document.getElementById(inputId);
return input ? parseFloat(input.value) || 0 : 0;
}
function setInputText(inputId, text) {
const input = document.getElementById(inputId);
if (input) {
input.value = text;
}
}
document.getElementById("ProcessShipment").addEventListener("click", function (event) {
const fnameInput = document.getElementById("fname");
const lnameInput = document.getElementById("lname");
const weightInput = document.getElementById("Weight");
const packages = document.getElementById("Packages");
const boxFName = document.getElementById("boxSFFName");
const boxLName = document.getElementById("boxSFLName");
// Validate First Name
if (!fnameInput || fnameInput.value.trim() === "") {
clearElement(boxFName);
addRequiredField(boxFName, "First Name", "fname");
fnameInput.style.backgroundColor = "#ffeeee";
} else {
removeRequiredMessage(boxFName);
fnameInput.style.backgroundColor = "";
}
// Validate Last Name
if (!lnameInput || lnameInput.value.trim() === "") {
clearElement(boxLName);
addRequiredField(boxLName, "Last Name", "lname");
lnameInput.style.backgroundColor = "#ffeeee";
} else {
removeRequiredMessage(boxLName);
lnameInput.style.backgroundColor = "";
}
// Validate weight
const weightVal = parseFloat(weightInput?.value || "0");
if (weightVal >= 50) {
// Show only one alert
let alert = document.getElementById("package_exceeds_alert");
if (!alert) {
alert = document.createElement("p");
alert.id = "package_exceeds_alert";
alert.style.color = "red";
alert.style.margin = "21px 0 0";
alert.style.clear = "both";
alert.style.padding = "10px 80px 42px 0";
alert.innerText = "Package exceeds the 49lb limit, please modify the quantity and click the Add Button to add an additional package.";
if (packages) {
packages.insertBefore(alert, packages.firstChild);
}
}
weightInput.classList.add("error");
// Hide Add Package button
UIKit.hideElement(document.querySelectorAll("#AddPackage"));
// Show alert
UIKit.showElement([alert]);
// Stop form submission
event.preventDefault();
return false;
} else {
// Hide alert if weight is valid
const existingAlert = document.getElementById("package_exceeds_alert");
if (existingAlert) {
UIKit.hideElement([existingAlert]);
}
UIKit.showElement(document.querySelectorAll("#AddPackage"));
weightInput?.classList.remove("error");
}
});
// States object
var statesJson = {
WY: "Reno", SD: "Reno", ND: "Reno", MT: "Reno", NM: "Reno", ID: "Reno", HI: "Reno",
NE: "Reno", UT: "Reno", NV: "Reno", OR: "Reno", AZ: "Reno", WA: "Reno", CO: "Reno",
TX: "Reno", CA: "Reno", VT: "Reno", RI: "Reno", ME: "Reno", NH: "Reno", CT: "Reno",
NJ: "Reno", PA: "Reno", MA: "Reno", NY: "Reno", WV: "Reno", AR: "Reno", DE: "Reno",
KS: "Reno", MS: "Reno", OK: "Reno", IA: "Reno", KY: "Reno", AL: "Reno", LA: "Reno",
DC: "Reno", MN: "Reno", MO: "Reno", SC: "Reno", IN: "Reno", WI: "Reno", TN: "Reno",
MD: "Reno", MI: "Reno", VA: "Reno", GA: "Reno", NC: "Reno", OH: "Reno", IL: "Reno",
FL: "Reno"
};
document.getElementById("SFState").addEventListener("change", function () {
const selectedState = this.value;
const targetValue = statesJson[selectedState];
const addressList = document.getElementById("STAddressBookList");
// Clear any existing selection
Array.from(addressList.options).forEach(function (option) {
option.selected = false;
});
// Select the correct option if it matches the mapped value
Array.from(addressList.options).forEach(function (option) {
if (option.text === targetValue) {
option.selected = true;
addressList.dispatchEvent(new Event("change")); // Trigger change
console.log(targetValue);
}
});
});
// Helper function to display an error message
function displayError(inputElement, errorMessage, errorClass) {
if (!inputElement.classList.contains(errorClass)) {
// Create the error span element
const errorSpan = document.createElement("span");
errorSpan.classList.add(errorClass);
errorSpan.style.color = "red";
const errorText = document.createTextNode(errorMessage);
errorSpan.appendChild(errorText);
// Insert the error message after the input element
inputElement.parentNode.insertBefore(errorSpan, inputElement.nextSibling);
// Add the error class to the input
inputElement.classList.add(errorClass);
}
}
// Helper function to remove an error message
function removeError(inputElement, errorClass) {
if (inputElement.classList.contains(errorClass)) {
// Remove the error message if it exists
const errorSpan = inputElement.nextElementSibling;
if (errorSpan && errorSpan.classList.contains(errorClass)) {
errorSpan.remove();
}
// Remove the error class from the input
inputElement.classList.remove(errorClass);
}
}
// Helper function to display error message
function displayError(inputElement, errorMessage, errorClass) {
if (!inputElement.classList.contains(errorClass)) {
// Create the error span element
const errorSpan = document.createElement("span");
errorSpan.classList.add(errorClass);
errorSpan.style.color = "red";
const errorText = document.createTextNode(errorMessage);
errorSpan.appendChild(errorText);
// Insert the error message after the input element
inputElement.parentNode.insertBefore(errorSpan, inputElement.nextSibling);
// Add the error class to the input
inputElement.classList.add(errorClass);
}
}
// Helper function to remove error message
function removeError(inputElement, errorClass) {
if (inputElement.classList.contains(errorClass)) {
// Remove the error message if it exists
const errorSpan = inputElement.nextElementSibling;
if (errorSpan && errorSpan.classList.contains(errorClass)) {
errorSpan.remove();
}
// Remove the error class from the input
inputElement.classList.remove(errorClass);
}
}
//*******************************************
//Modal Code - 07.02.2025
//*******************************************
document.addEventListener("DOMContentLoaded", function () {
// Try to get the element
const inputEl = document.getElementById("CompanyAccountAuthorizedDTHidden");
// Check if the element exists and has a value
if (inputEl && inputEl.value.trim() === "") {
(function () {
// Inject styles
const style = document.createElement("style");
// style.type = "text/css";
style.appendChild(
document.createTextNode(`
.ups-modal-overlay {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background-color: rgba(0, 0, 0, 0.6);
display: flex;
justify-content: center;
align-items: center;
z-index: 10000;
font-family: sans-serif;
opacity: 1;
visibility: visible;
transition: opacity 0.3s ease;
}
.ups-modal {
background: white;
width: 90%;
max-width: 700px;
border: 3px solid orange;
border-radius: 8px;
display: flex;
flex-direction: column;
box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
.ups-modal-body a {
text-decoration: underline;
color: #007bff; /* optional: a typical link color */
}
.ups-modal-header {
background-color: #351c15;
color: #ffc107;
display: flex;
justify-content: center;
padding: 1rem;
}
.ups-modal-title {
color: #ffc107;
margin: 0;
font-size: 1.25rem;
font-weight: bold;
}
.ups-modal-close {
background: none;
border: none;
color: white;
font-size: 1.5rem;
cursor: pointer;
}
.ups-modal-body {
padding: 1rem;
color: #212529;
}
.ups-modal-footer {
padding: 1rem;
text-align: right;
align-self: center;
}
.ups-modal-close-footer {
background-color: #ffc107;
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 4px;
cursor: pointer;
}
.ups-modal-hidden {
opacity: 0;
pointer-events: none;
visibility: hidden;
}
`)
);
document.head.appendChild(style);
// Build overlay and modal
const overlay = document.createElement("div");
overlay.className = "ups-modal-overlay";
const modal = document.createElement("div");
modal.className = "ups-modal";
// Header with always-visible close button
const header = document.createElement("div");
header.className = "ups-modal-header";
const title = document.createElement("h4");
title.className = "ups-modal-title";
title.innerText = "Immediate Action Required";
const closeBtn = document.createElement("button");
closeBtn.className = "ups-modal-close";
closeBtn.setAttribute("aria-label", "Close");
// closeBtn.innerText = '×'; // Always visible
header.appendChild(title);
header.appendChild(closeBtn);
// Body
const body = document.createElement("div");
body.className = "ups-modal-body";
const heading = document.createElement("p");
heading.innerText = "UPS IRL Company Admin / IRL User,";
const p1 = document.createElement("p");
p1.innerText = "This site needs to be updated to the new protocol.";
const p2 = document.createElement("p");
p2.appendChild(document.createTextNode("The "));
const strong1 = document.createElement("strong");
strong1.innerText = "UPS Intelligent Reverse Logistics";
p2.appendChild(strong1);
p2.appendChild(document.createTextNode(" application transitioned to a new authentication protocol. The administrator must take specific actions to authenticate with a "));
const strong2 = document.createElement("strong");
strong2.innerText = "UPS.com account";
p2.appendChild(strong2);
p2.appendChild(document.createTextNode("."));
const p3 = document.createElement("p");
p3.appendChild(document.createTextNode("For questions or assistance, please contact: "));
const emailLink = document.createElement("a");
emailLink.href = "mailto:psisupport@ups.com";
emailLink.innerText = "psisupport@ups.com";
p3.appendChild(emailLink);
body.appendChild(heading);
body.appendChild(p1);
body.appendChild(p2);
body.appendChild(p3);
// Footer with delayed button
const footer = document.createElement("div");
footer.className = "ups-modal-footer";
const closeFooterBtn = document.createElement("button");
closeFooterBtn.className = "ups-modal-close-footer";
closeFooterBtn.innerText = "Close";
closeFooterBtn.style.display = "none"; // hide initially
footer.appendChild(closeFooterBtn);
// Assemble and inject
modal.appendChild(header);
modal.appendChild(body);
modal.appendChild(footer);
overlay.appendChild(modal);
document.body.appendChild(overlay);
// // Close modal function
function closeModal() {
overlay.classList.add("ups-modal-hidden");
setTimeout(() => overlay.remove(), 300);
}
closeBtn.addEventListener("click", closeModal);
closeFooterBtn.addEventListener("click", closeModal);
// Show footer "Close" after xx seconds
setTimeout(() => {
closeFooterBtn.style.display = "inline-block";
}, 10000);
})();
}
});
/***************************/
/* Toast Code 04.21.2022 */
/***************************/
#boxWeight:after {
content: 'lbs';
float: right;
color: #999;
position: relative;
top: -21px;
left: -10px;
font-weight: bold;
}
.MastMain {margin:0px !important;}
.new_weight {
width: 87px;
display: inline-block;
margin: 0 0 0 11px;
}
.new_weight input,
.input_validation_error {
background-color: white;
}
#boxWeight {
float: right;
}
#boxWeight > label {
color: #999;
}
#boxReference1_false > h4 {
font-size: 24px;
}
#Packages > p {
background: transparent;
color: #999;
font-weight: bold;
display: block;
border-bottom: 1px solid rgba(0,0,0,0.2);
margin: 0 0 30px 0;
padding: 0px 140px 29px 29px;
}
#labelPack {
background-size: 20px auto;
background-repeat: no-repeat;
padding: 10px 0px 10px 28px;
background-position: center left;
color: #999 !important;
background-image: url('https://row.ups.com/Home/GetImage?id=797d34e9-5431-46dd-a50f-f95c3093bdde');
}
#Packages {
background: rgba(0,0,0,0.04);
display: block;
padding: 20px 30px 22px 30px;
margin: 0 0 18px 0;
border-radius: 12px;
overflow: hidden;
}
#boxReference1 {display:none;}
.MastMain {background-color: #f4f4f4;}
/* Hides the Shipment Section | Make sure to add Classes */
.shipment, .ship_To {visibility: hidden;}
.FormModule h4 {background-color: #fff !important;}
.FormModule hr {display: none;}
.FormModule {background-color: #fff !important; border: 0 solid #f4f4f4; margin-left:405px}
/* Widens the Announcement Section */
.MastLeft {width:380px !important;}
.FirstColumnModule {background-color: #fff !important; margin-top:25px !important;}
.Header {color: #000 !important; background-color: #fff !important;}
#ButtonBarDiv {background-color: #fff !important;}
#labelPack {text-align: left !important; color: red; font-size: medium;}
.Copyright {text-align: center;}
/*
==================
Chris Q. CSS
==================
*/
body > div:nth-child(1) {
height: auto;
min-width: auto;
width: 960px !important;
display: block;
margin: 0 auto;
}
.MastLeft {
width: 600px !important;
display: block;
float: none;
position: relative;
text-align: left;
min-height: auto;
border: none;
padding: 10px 0 0 0 !important;
}
.MastLeft p {
background: transparent;
line-height: 1.5;
}
.MastLeft h1,
.MastLeft h2,
.MastLeft h3,
.MastLeft h4,
.MastLeft h5 {
font-size: 20px;
color: black;
}
.MastMain {
display: block !important;
float: none;
width: 100% !important;
height: auto !important;
min-height: auto !important;
background-color: transparent;
position: relative;
}
#main_ship_form {
overflow-y: hidden;
width: 100% !important;
margin: 0px !important;
}
.Header {
display: none;
}
th.text-center:nth-child(2),
#mainTable > tbody:nth-child(1) > tr:nth-child(2) > td:nth-child(2) {
display: none;
}
/* DIV[What is being shipped?] */
#itemTopBorder,
#mainTable > tbody:nth-child(1) > tr:nth-child(6),
#mainTable > tbody:nth-child(1) > tr:nth-child(7),
#itemBottomBorder,
#packageBorder {
display: none !important;
}
th.text-center:nth-child(3) {
display: none;
}
.FirstColumnModule {
margin: 0px !important;
border-top: none !important;
border-right: none !important;
border-left: none !important;
border-bottom: 4px solid black !important;
padding: 0px 0px 20px 0px !important;
}
/*Adjusting font-size to the "Replace RMA Return Label" section*/
body > div.page-layout > main > div.MastLeft > div > p {
font-size: 11pt;
}
#mainTable {
width: 100% !important;
display: block !important;
}
.MastHead > img:nth-child(1) {
height: auto !important;
min-width: auto !important;
border-width: 0px !important;
width: 59% !important;
display: block;
padding: 24px 0 38px 0 !important;
position: relative;
left: -38px;
}
#SFAttn {
display: none;
}
#boxSFAttn {
display: none !important;
}
#boxSFCountry {
display: none;
}
#mainTable > tbody:nth-child(1) {
display: block;
width: 100%;
position: relative;
}
#mainTable > tbody:nth-child(1) > tr {
width: 100% !important;
position: relative;
}
#mainTable > tbody th {
width: 100% !important;
text-align: left;
}
#boxSFName {
width: 100% !important;
display: block;
}
#shipFromAddressBook > div {
display: inline-block;
position: relative;
min-width: auto;
min-height: auto;
width: 45% !important;
margin: 0 10px 16px 0;
font-size: 15px;
}
input[type='text'], select, textarea {
display: block !important;
width: 100% !important;
max-width: initial !important;
min-width: auto !important;
height: auto !important;
outline: none !important;
padding: 6px 12px !important;
box-sizing: border-box !important;
border: 1px solid rgba(0,0,0,0.15) !important;
border-radius: 6px !important;
margin: 8px 0px 0px 0px !important;
}
#shipFromAddressBook {
font-size: 0px;
border: none !important;
}
th.text-center:nth-child(1) > h4:nth-child(1) > label:nth-child(1) {
font-size: 24px;
}
#shipForm {
width: 660px !important;
}
#shipFromAddressBook #boxSFName,
#shipFromAddressBook #boxSFAddr1,
#shipFromAddressBook #boxSFAddr2 {
width: 600px !important;
}
#boxServiceCode,
#boxDeliveryMethod,
#boxDescription {
display: none !important;
}
#custom_information_box {
display: block;
width: 223px;
float: right;
padding: 18px;
position: absolute;
top: 81px;
right: 0;
z-index: 99;
font-size: 14px;
color: #000;
line-height: 1.3;
}
#custom_information_box h2 {
font-size: 17px;
color: black;
font-weight: initial;
margin: 0 0 9px 0;
}
#custom_information_box::before {
content: 'i';
color: red;
display: block;
float: left;
margin: 13px 0 0 -54px;
font-size: 24px;
font-weight: normal;
width: 35px;
height: 35px;
text-align: center;
border: 2px solid #2b4fb9;
border-radius: 50%;
line-height: 1.5;
}
#custom-shipment {
width: 100%;
display: block;
position: relative;
}
#custom-shipment > td > h4 {
text-align: left !important;
font-size: 24px;
display: block;
margin: 5px 0 20px 0;
}
#custom-shipment > td > h4 strong {
display: block;
}
#custom-shipment > td > h4 span {
display: block;
font-size: 16px;
font-weight: normal;
}
#custom-shipment > td > h4 span {
display: block;
font-size: 16px;
margin: 9px 0 0 0;
font-weight: normal;
}
/*
#custom-shipment > td:nth-child(1) {
width: 100%;
display: block;
position: relative;
}
#custom-shipment > td:nth-child(1) > h4:nth-child(38) {
text-align: left !important;
font-size: 24px;
display: block;
margin: 5px 0 20px 0;
}
#custom-shipment > td:nth-child(1) > h4:nth-child(38) strong {
display: block;
}
#custom-shipment > td:nth-child(1) > h4:nth-child(38) span {
display: block;
font-size: 16px;
font-weight: normal;
}
#custom-shipment > td:nth-child(1) > h4:nth-child(38) span {
display: block;
font-size: 16px;
margin: 9px 0 0 0;
font-weight: normal;
}
*/
.MastFoot {
padding-top: 61px !important;
}
/* Mike - 03.02.2022 */
#shipFromAddressBook #boxSFCity {
width: 379px !important;
}
#shipFromAddressBook #boxSFState {
width: 212px !important;
}
#boxSFFName > label, #boxSFLName > label {
font-weight: 600;
}
#boxSFFName > label::after, #boxSFLName > label::after {
content: url('/Content/Images/icn_required.gif')
}
#boxSFFName > span, #boxSFLName > span {
color: red;
font-weight: 100;
}
/* Item 1 Selection */
#boxReference3 {
display: inline-block;
}
/* Item 1 Qty */
#boxReference4 {
width: 45px !important;
display: inline-block;
margin-left: 1%;
padding-right: 0;
}
/* Item 2 Selection */
#boxReference5 {
display: inline-block;
}
/* Item 2 Qty */
#boxReference6 {
width: 45px !important;
display: inline-block;
margin-left: 1%;
padding-right: 0;
}
/* Item 3 Selection */
#boxReference7 {
display: inline-block;
}
/* Item 3 Qty */
#boxReference8 {
width: 45px !important;
display: inline-block;
margin-left: 1%;
padding-right: 0;
}
/* Item 4 Selection */
#boxReference9 {
display: inline-block;
}
/* Item 4 Qty */
#boxReference10 {
width: 45px !important;
display: inline-block;
margin-left: 1%;
padding-right: 0;
}
/* Weight */
#boxWeight {
display: inline-block;
width: 17%
}
/* Move word "Package" */
/* #Packages > div:nth-child(39) > div:nth-child(2) {
float: left !important;
margin-left: 18%;
} */
/* Rearrange the Package Selector to right of word "Package" */
/* #SelectedPackage {
position: relative !important;
left: 105%;
top: -29px;
} */
/* Add Hardware */
/* #AddHardware {
display: inline-block;
left: 0px;
top: 350px;
} */
#ButtonBarDiv {
background-color: #fff !important;
height: auto;
margin: 58px 0 130px 0 !important;
text-align: right;
}
#ButtonBarDiv input,
#ButtonBarDiv img {
display: inline-block;
vertical-align: middle;
}
#ProcessShipment {
height: auto;
width: auto;
padding: 17px 27px !important;
line-height: initial;
background: #2b4fb9;
border: none;
border-radius: 9px;
margin: 0 !important;
color: white !important;
}
#cns_logo {
float: left;
}
#boxReference3 > label,
#boxReference4 > label,
#boxReference5 > label,
#boxReference6 > label,
#boxReference7 > label,
#boxReference8 > label,
#boxReference9 > label,
#boxReference10 > label
{
font-weight: bold;
}
/*Section 2
#boxReference5,
#boxReference6,
#Packages > div:nth-child(26) {
display: none;
}
#boxReference7,
#boxReference8,
#Packages > div:nth-child(29) {
display: none;
}
#boxReference9,
#boxReference10,
#Packages > div:nth-child(32) {
display: none;
}*/
#boxReference3,
#boxReference5,
#boxReference7,
#boxReference9 {
width: 430px !important;
}
#Weight.error {
color: red !important;
}
#Packages.loading:after {
content: '';
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255,255,255,0.7);
backdrop-filter: blur(5px);
border: 1px solid rgba(0,0,0,0.1);
border-radius: 13px;
box-sizing: border-box;
background-image: url('https://row.ups.com/Content/Images/icn_ajax_grey.gif');
background-position: center;
background-repeat: no-repeat;
}
.FormModule h4 {
text-align: left;
}
#boxReference1_false {
width: 80% !important;
}
#Reference1_false {
width: 230px !important;
}
#boxReference1_false > div > small {
font-weight: normal;
display: inline-block;
margin: 0 0 0 8px;
}
#AddPackage, #RemovePackage {
height: auto;
width: auto;
padding: 17px 27px !important;
line-height: initial;
background: peru;
border: none;
border-radius: 9px;
margin: 0 !important;
color: white !important;
}
#RemovePackage {
background:gray !important;
margin-left: 13px !important;
}
#boxServiceInternational {display:none !important;}<h3>Replace RMA Return Label</h3>
<p>
<strong>Important:</strong> Use this form to request a replacement label for a lost RMA return label <br>
Please make sure to return your damaged hardware within the 30 day return window.
<br>For more information on Toast's Limited Warranty Policy and RMA procedure, please see: <br>
<a target="_blank" href="https://pos.toasttab.com/limited-warranty">https://pos.toasttab.com/limited-warranty</a>
<br>
To start a new RMA or new hardware return please contact Toast Customer Support at 617-682-0225. <br>
Please note: Any hardware shipped to Toast that’s not part of the approved RMA request will not be accepted.
</p>
ToastInc90falsefalsefalsefalsefalsefalsefalsetruetrue501041falsefalse0falsefalse1753-01-01T00:00:00falsefalsefalsefalsefalsefalsefalsetrue5falsefalsefalsefalsefalsetruefalsefalsefalse<div id="custom_information_box">
<h2>Pro Tip</h2>
You will need a new label for each box that you are
returning. Please select the hardware that you are
returning below and print the label(s) once complete
and drop off at any UPS Access Point or the UPS
Store. There is no additional charge for this RMA
return label replacement request.
<br><br>
Keep in mind, you can always hand off a pre-labelled
package to your UPS driver when they are delivering
to your home or place of business.
<br><br>
Note: When returning faulty devices be sure to
include all cables in the box for validation by our
Hardware team. This includes power and ethernet
cables.
</div>
<div style="width: 230px; " id="boxReference1_false"><h4>RMA Details</h4>
<div style="font-weight: bold;">RMA Reference # *</div>
<span class="field-validation-valid" data-valmsg-for="Reference1_false" data-valmsg-replace="false" style="color: Red"></span> <br>
<span id="Reference1_false_ErrorMessage" style="color:red"></span>
</div>
<img id="cns_logo" src="https://row.ups.com/UPSAdmin/ImageManager/Show/41ce9638-9c29-44ad-b0e9-d4f92c6c111b" alt="img" />trueVG9hc3RJbmM=falseP220910falsefalsed92814ed-ac9f-45c9-8105-f4f5e8c35c4bfalsefalsefalsefalsefalse0ASIA9000204efdb0-9dbe-4be7-bcb5-a5652106e3c1e8eff43c-c6b9-447d-8cbb-04bf00b759cbfalsefalse1falseToastInc29561Guest Accesstrue0de1f5270-87ed-4018-b227-cadd577d3a95Guest Access2022-05-27T00:00:0010000