NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Admin Extension // @license MIT // @updateURL https://openuserjs.org/meta/username/Admin_Extension.meta.js // @include https://app.levelset.com/admin/orders/view_order/* // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js // @grant GM_addStyle // ==/UserScript== var companyNum = $( "#wdgt_user_info a:first").attr("href").replace(/[^0-9]/gi, ''); var isAffiliate = $( "#wdgt_user_info .badge-label:last" ).text(); var overrides = { "179542": { "instruction": ["OS: Please reach out to Gracie Gonzales for any questions around notarizing and returning documents in Florida only. For other states, reach out to the assigned signor."] }, "24020": { "instruction": ["Please reach out to Daniela or carole.teague@sdpot.com"] }, "67150": { "instruction": ["Please contact Abe Syed for DALLAS jobs and Christine Dias for HOUSTON jobs."] }, "139773": { "instruction": ["Facilitating: Please contact the tagged credit manager on the job. See Project Tags on admin project page or job in-app."] }, "29216": { "instruction": ["OS: Ask for Sandra when calling."] }, "114945": { "instruction": ["Send all waiver requests to Creditnocalrelandnotices@hdsupply.com"] }, "18755": { "instruction": ["Forward lien waivers to lien.waiver@ramtool.com"] }, "107743": { "instruction": ["Ask for Samantha Poloski."] }, "156239": { "instruction": ["Call Dominique at 202-802-6000"] }, "47651": { "instruction": ["If order is in Derek's name, ask for Connie."] }, "57496": { "instruction": ["If order was created / approved by Demaz, call him at 303–994-3759."] }, "50668": { "instruction": ["Reach out to Rolf with any questions 817-609-6369"] }, "20587": { "instruction": ["Send waiver requests to creditbilling@carterlumber.com"] }, "129514": { "instruction": ["Select menu option 2, Ask for Ana or Sonya"] }, "143291": { "instruction": ["Call 401-781-3318"] }, "114945": { "instruction": ["Send all waiver requests to Creditnocalrelandnotices@hdsupply.com"] }, "14366": { "instruction": ["OS: Ask for Cassandra Lopez in Accounts Payable."] }, "137763": { "instruction": ["OS: Call 615-305-9931."] }, "25391": { "instruction": ["OS: Call the user's cell phone at 623-826-8090."] }, "127503": { "instruction": ["OS: Ask for Veronica, not John."] }, "66958": { "instruction": ["OS: Call Mia at 478-396-5304."] }, "25379": { "instruction": ["OS: Ask for Leah as she handles all orders."] }, "48804": { "instruction": ["Submit any requests for updates to Scout Ultimate - do not make any changes."] }, "22649": { "instruction": ["OS: to reach Doug directly, please call (770) 614-7231 Extension 302."] }, "95263": { "instruction": ["OS: Do not call David. Contact Allsion Cucholz 813-605-1624 for all Outbound questions."] }, "7186": { "instruction": ["IMPORTANT: any requests for information, updates, changes, retractions, etc. MUST come from a sub-user on the account. Others from L&W should be directed to the Credit Team."] }, "18724": { "instruction": ["OS: All jobs for Horizon Distributors and DFW Stone route to Tami (480-337-6756). All jobs for SCP Distributors/Superior route to Stephanie (985-263-0150)"] }, "85803": { "instruction": ["OS: Only contact Emily, Carrie, or Krista"] }, "59266": { "instruction": ["OS: Please check AR tab before sending alerts for missing invoices. Use all invoices in AR tab and documents the customer uploaded as supporting materials/written contract."] }, "3253": { "instruction": ["Received NOCs: Do not contact user, always add Owner Designee and send them a copy of the NOF. It doesn't need to be re-sent to all contacts, just contacts that weren't listed previously. DO NOT SEND TO LENDER."] }, "71261": { "instruction": ["Do not send Trustpilot invites to any user associated with this account."] }, "503": { "instruction": ["Call/email Amanda Rusk and/or Sarah Carl for anything related to this user."] }, "34840": { "instruction": ["Fix: All waiver requests should be sent to LienWaivers@faulknerhaynes.com"] }, "10149": { "instruction": ["OS: Call Martin Ray at (281) 200-9483."] }, "4096": { "instruction": ["OS: please reach out to Alexa Mclelland, 404-454-4955."] }, "20409": { "instruction": ["OS: Call Serena at 801-486-7231 and choose option 4 for accounting."] }, "39699": { "instruction": ["OS: Only call Kay in the afternoon shift."] }, "7294": { "instruction": ["OS: Ask for BJ (not Chet)"] }, "7083": { "instruction": ["If someone contacts us requesting a waiver, please send the request to releases@ahern.com"] }, "29956": { "instruction": ["OS: Place ONE call for all Restoration1 outbound items at 2PM - Tammy (973) 598-3125"] }, "31573": { "instruction": ["OS: Place ONE call for all Restoration1 outbound items at 2PM - Tammy (973) 598-3125"] }, "33578": { "instruction": ["OS: Place ONE call for all Restoration1 outbound items at 2PM - Tammy (973) 598-3125"] }, "48803": { "instruction": ["OS: When calling, ask for Teresa instead of Mohammad."] }, "46917": { "instruction": ["OS: This user's notices in CA will have a decimal point as the contract value (closest thing they can get to entering a blank field). Please do not contact them to have this updated."] }, "21136": { "instruction": ["OS: Contact Michelle Montrose at 573-607-0390. DO NOT CALL RANDY"] }, "23989": { "instruction": ["OS: Tammy’s direct line is 469-708-0258"] }, "28625": { "instruction": ["OS: Call Mike at 760-828-1778"] }, "6583": { "instruction": ["OS: Call employee listed for region. For urgent matters, email ACM@hajoca.com"] }, "10813": { "instruction": ["OS: Call Toby Brutsman"] }, "6767": { "instruction": ["OS: Contact Tim, Sunday or Kevin; one of the three should be listed on the order."] }, "477": { "instruction": ["OS: Contact Leslie Owens"] }, "17570": { "instruction": ["OS: Call Melissa Beyer."] }, "16091": { "instruction": ["Ambika Boyd is always responsive to us."] }, "11202": { "instruction": ["OS: Can call Holly at 224-313-5928"] }, "17291": { "instruction": ["Fix: Send to lienwaiver@bluelinerental.com"] }, "18053": { "instruction": ["Fix: Send to aps-powersolutionsnoticetoowner-ele@anixter.com"] }, "16200": { "instruction": ["Fix: Send to zlien@morsco.com"] }, "24147": { "instruction": ["OS: call Brittany Smith: 214.382.4700 Ext 1217. Any emails to bsmith@results-staffing.com, CC dcheslik@results-staffing.com"] }, "15083": { "instruction": ["Forward (do not assign) the Desk case to jennifer@zlien.com"] }, "14029": { "instruction": ["OS: Email Katie, ar@idedrills.com instead of contacting Michelle."]} }; var instList = ''; if (overrides[companyNum]) { var list = $.each(overrides[companyNum].instruction, function(i, inst) { var listItem = '<li>' + inst + '</li>'; instList += listItem; });} else { instList = "<li>No special instructions</li>"; } if (isAffiliate == "Affiliate") { instList += "<li>AFFILIATE ORDER</li>"; } var myHTML = '<div id="gmRightSideBar"><ul>' + instList + '</ul>' + '</div>'; $("body").append (myHTML); GM_addStyle ( " \ #gmRightSideBar { \ position: fixed; \ top: 0; \ right: 0; \ margin: 1ex; \ padding: 1em; \ background: orange; \ width: 200px; \ z-index: 6666; \ opacity: 0.9; \ } \ #gmRightSideBar p { \ font-size: 80%; \ } \ #gmRightSideBar ul { \ margin: 0ex; \ } \ #gmRightSideBar a { \ color: blue; \ } \ " );