{"version":3,"sources":["components/history/history.js","components/Footer.js","components/searchData/searchOptions.js","helpers.js","utils/errorHandling/errorHelper.js","components/componentUtils/DownshiftSearch.js","components/SearchBox.js","components/RecentlyViewed.js","components/SingleSearch.js","components/Search.js","components/GetDataTable.js","components/GetMBTTable.js","components/SearchResults.js","components/GetUniDataTable.js","components/GetUniMBTTable.js","components/SearchResultsUni.js","components/Portfolio.js","components/helper.js","components/City.js","components/MBTCity.js","components/County.js","components/MBTCounty.js","utils/googleChartHelper.js","components/InfoWindow.js","components/GoogleMapMarker.js","utils/API.js","components/GoogleMap.js","components/HotelInfo.js","components/Brands.js","components/Trends.js","components/MBTHotelInfo.js","components/test/BillingForm.js","components/CheckoutForm.js","utils/logo/SttLogoExport.js","components/Settings.js","components/UpdateCard.js","components/UpdatePayment.js","components/Footerhome.js","components/Login.js","components/NotFound.js","components/HotelInfoRedirect.js","components/Admin.js","components/routing/PrivateAdminRoute.js","components/routing/PaymentUpdateRoute.js","components/PortfolioHotel.js","components/BrandInsights.js","components/BrandParent.js","components/MainRoute.js","layouts/tileData.js","layouts/HomeNav.js","components/Trial.js","components/TrialCity.js","components/TrialCounty.js","components/TrialRoute.js","layouts/TrialTileData.js","layouts/TrialNav.js","components/PrivateRoute.js","components/PaymentRoute.js","components/routing/ReturnUserRoute.js","components/Logout.js","context/Alert/AlertContext.js","components/Register.js","components/PaymentForm.js","components/PasswordRequest.js","components/PasswordReset.js","components/PaymentPlan.js","components/UserFeedback.js","components/routing/Maitenance.js","components/NotFound2.js","components/App.js","index.js"],"names":["createBrowserHistory","Footer","className","moment","format","href","filters","value","label","months","quarters","years","searches","apiUrl","STRIPE_KEY","handleError","error","url","errorUrl","errorMessage","config","eConfigUrl","split","method","toUpperCase","message","stack","toString","console","log","axios","headers","authorization","localStorage","getItem","data","then","res","catch","e","DownshiftSearch","Component","constructor","props","super","this","state","options","filter","type","componentDidMount","query","get","map","location","location_city","setState","verified_county","ReactGA","exception","description","window","replace","componentDidUpdate","prevProps","getSuggestions","inputValue","deburr","trim","toLowerCase","inputLength","length","count","option","keep","slice","render","classes","selectedItem","id","onChange","handleDownShiftChange","getInputProps","getItemProps","isOpen","inputValue2","selectedItem2","highlightedIndex","container","inputProps","InputProps","ref","other","TextField","inputRef","root","inputRoot","input","inputInput","variant","renderInput","fullWidth","startAdornment","handleDownshiftInputChange","onKeyDown","DownshiftHandleKeyDown","placeholder","Paper","paper","square","suggestion","index","itemProps","isHighlighted","isSelected","indexOf","MenuItem","key","selected","component","style","fontWeight","renderSuggestion","item","withStyles","theme","flexGrow","position","zIndex","marginTop","spacing","left","right","chip","margin","flexWrap","width","divider","height","pathname","SearchBox","React","selectedOption1","selectedOption","event","target","handleChange","name","showMonth","searchTerm","handleChange1","handleChangeTest","handleChange2","handleSimpleSearch","formInput","multiline","month","quarter","year","search","single","multi","posts","zip","cities","counties","errormsg","redirect","latestYear","latestMonth","showDetailed","hideSimple","isMounted","handleClick","bind","preventDefault","filterSelections","searchValue","history","push","err","componentWillUnmount","Grid","downShiftWrapper","textField","zipWrapper","xs","Typography","noValidate","autoComplete","onSubmit","select","SelectProps","MenuProps","menu","Button","size","color","button","onClick","withRouter","display","marginLeft","marginRight","dense","padding","valueContainer","flex","alignItems","chipFocused","backgroundColor","emphasize","palette","grey","noOptionsMessage","singleValue","fontSize","paddingTop","withTheme","RecentlyViewed","token","dataLoadingStatus","chartData","portfolio","handleMenu","anchorEl","currentTarget","handleClose","document","title","initialize","pageview","filterPosts","post","self","findIndex","t","location_number","location_name","columns","rowData","to","taxpayer_number","scrollTo","recent","Avatar","pinkAvatar","greenAvatar","pageSize","columnsButton","exportButton","showEmptyDataSourceMessage","rel","background","avatar","borderRadius","fab","absolute","bottom","__MUI_USE_NEXT_TYPOGRAPHY_VARIANTS__","call","cancel","CancelToken","source","cancelToken","makeRequestCreator","SingleSearch","onInputChange","filteredValue","getOptions","checkType","handleClickOpen","open","mapOptionsToValues","mergedOptions","firstOption","zipcodes","noResults","isSearching","properties","concat","apply","optionsStore","filter2","errormsg1","errormsg2","errormsg3","defaultOption","urlHotelSearch","type2","filter3","debounce","downshiftOnChange","gridRow","displayBreak","Radio","checked","aria-label","htmlFor","itemToString","city","county","defaultHighlightedIndex","wrap","Fragment","bolded","breakpoint","typography","breakword","typography3","address","status","respDate","responsibility_end_date","Divider","nowrap","typography4","Dialog","onClose","aria-labelledby","dialog","DialogContent","DialogContentText","autoFocus","overflow","menuitem","breakpoints","down","overFlow","placeItem","verticalAlign","link","textDecoration","marginBottom","typography2","icon","paddingBotthom","justifyContent","Search","querySearchBox","viewTable","viewMBTTable","latestTime","callbackFromParent","Callback","mixins","gutters","paddingBottom","GetDataTable","getposts","isLoading","noOptions","displayMessage","match","params","itemvalue","i","Object","date","filer_type","taxpayer_name","taxpayer_address","taxpayer_city","taxpayer_phone","obligation_end_date","responsibility_begin_date","location_phone","location_address","location_county","location_zip","room_receipts","taxable_receipts","RevPAR","room_capacity","nextProps","queryFromSearch","filename","Icon","field","hidden","pageSizeOptions","actionsColumnIndex","loadingType","localization","body","emptyDataSourceMessage","flexDirection","GetMBTTable","postscity","total_receipts","SearchResults","GetUniDataTable","GetUniMBTTable","newUrl","portfoliotypes","Portfolio","test","nameValidation","pid","confirmDelete","loading","toggleDeleteConfirm","setTimeout","handleClickDelete","handleConfirmedDelete","Boolean","Tooltip","Fab","anchorOrigin","vertical","horizontal","transformOrigin","IconButton","aria-describedby","DialogTitle","DialogActions","float","dollar","number","parseFloat","formatted","String","toFixed","integer","fraction","strnumber","dotpos","substr","Math","abs","temparray","unshift","join","sum","obj","el","hasOwnProperty","TabContainer","children","durations","City","rawposts","newposts","yearposts","duration","labelWidth","age","monthlyLoading","yearlyLoading","completeLoading","getRowsFromDataFromYearsAgo","yearsAgo","currentDate","startOf","fromDate","subtract","thisElementDate","set","Total_Revenue","RevPar","toDate","rows","j","a","january","february","march","april","may","june","july","august","september","october","november","december","current","Date","getFullYear","k","total_revenue","l","totalRevChange","chartdisplay","chartType","loader","chartArea","hAxis","vAxis","series","0","axis","1","axes","y","Total_Receipts","all","pattern","x","rootProps","CircularProgress","subtext","AppBar","Tabs","scrollable","scrollButtons","Tab","defaultSort","undefined","includes","sm","Red","Green","Grey","ordering","top","formControl","minWidth","selectEmpty","progress","MBTCity","n","row","openedPopoverId","legend","newOwner","propertyChange","textAlign","popoverCell","maxWidth","County","citygraph","chartDataCity","dataLoadingStatusCity","cityposts","durationcity","handleChangecity","citypostsgraph","forEach","p","ab","parse","flag","m","sort","b","chartdisplaycity","MBTCounty","durations1","durationsttm","durationsttmrevpar","InfoWindow","GoogleMapMarker","backgrounColor","cursor","onMouseOver","mouseOver","onMouseOut","mouseOut","content","taxPayerNum","locationNum","hotelName","filerType","taxPayerNumber","GoogleMap","showInfoWindow","handleMouseOver","handleMouseExit","renderInfoWindow","googleMapRender","bootstrapURLKeys","center","lat","Number","lng","long","defaultZoom","zoom","text","defaultProps","up","chartColors","Transition","Slide","direction","addSpace","num","str","HotelInfo","signal","handleChangePanel","panel","expanded","portfolioSelected","handleChangetab","rawposts1","updatedposts","noPortfoliosMsg","handleCloseSnack","reason","opensnack","descendingPosts","handleChangetaxable","columns1","rows1","row1","revpar","chartData1","dataLoadingStatus1","handleChangettm","q","ttmposts","columnsttm","ttm","chartDatattm","dataLoadingStatusttm","handleChangettmrevpar","ttmpostsrevpar","columnsttmrevpar","ttmrevpar","days","getDate","ceil","chartDatattmrevpar","dataLoadingStatusttmrevpar","postsaddress","postscounty","postsfiler","postszip","poststimeline","yearlyfiler","duration1","durationttm","durationttmrevpar","showyear","taxname","taxnum","taxaddress","taxcity","taxstate","taxzip","filtertable","otherTaxProperties","matchedAdresses","hotelname","postsHotelName","postsLocationNum","dataLoadingStatustimeline","selectedRow","timelineDate","chartColorsIndex","latitude","longitude","onSave","taxpayernumber","locationnumber","axiosCancelSource","columnstimeline","rowstimeline","API","unsortedPoststimeline","latest","element","chartDatatimeline","add","unsortedPosts","taxpayer_state","taxpayer_zip","latestFiler_type","yearlyposts","RevPARChange","res1","ttmpostsSorted","ttmpostsrevparSorted","locationName","newpostsReversed","reverse","Year","January","February","March","Q1","April","May","June","Q2","July","August","September","Q3","October","November","December","Q4","otherProperties","taxProperties","matchLocation","chartdisplaytime","chartdisplay1","chartdisplayttm","chartdisplayttmrevpar","graph_id","shortid","generate","timeline","groupByRowLabel","avoidOverlappingGridLines","colors","justify","md","postsCountyName","placement","card","CardHeader","CardContent","listItem","propertyLink","location_state","List","ListItem","Chip","mx","ListItemText","primary","secondary","popId","handlePopoverClose","handlePopoverOpen","createRef","cellStyle","headerStyle","onRowClick","evt","rowStyle","tableData","colMinWidth","checkedData","RevParMinWidth","TransitionComponent","keepMounted","noPortfolioMsg","linkMsg","Snackbar","autoHideDuration","ContentProps","portfolioLink","action","minHeight","maxHeight","popover","pointerEvents","textTransform","subtext2","paddingLeft","mbt","mbtDot","paddingRight","hotelDot","hotel","propertyName","propertyAddress","dotContainer","taxInfo","taxHeading","taxTitle","marging","taxAddress","expansionDetails","expansionDetails2","taxInfoWrapper","PopoverComponent","popOpen","timelineData","popoverId","componentWillMount","colorBackground","Popover","opacity","disableRestoreFocus","aria-owns","aria-haspopup","onMouseEnter","onMouseLeave","Brands","brandNot","brand","parentId","parent","Trends","barArray","newHotels","seconddonut","MBTHotelInfo","urlType","multiProperties","openPopover","hotelMBTFinanceData","Array","location_county_name","newArr","changeInTotalRev","toLocaleString","changeInTotalRevPercent","auth","textOverflow","whiteSpace","wine_receipts","liquor_receipts","beer_receipts","iconHover","inline","google","BillingForm","cardErrorMsg","expiryErrorMsg","cvcErrorMsg","stripeError","elementType","checkoutForm","lg","billingDetailsWrapper","fullstreet_address","address_line2","locality","administrative_area_level_1","country","postal_code","paymentDetailsWrapper","monthlyPlan","confirmWrapper","checkWrapper","Checkbox","checkMonthly","handleCheck","checkoutButton","submitPayment","disabled","updateCardWrapper","updateCardMsg","mg","submitUpdate","onLoad","initAutocomplete","GridMargin","formWrapper","injectStripe","autocomplete","zipAutocomplete","componentForm","CheckoutForm","complete","country_code","paymentprocessing","updateProcessing","clicked","checkedMonthly","checkedYearly","termsOpen","errorInput","zipErrorMsg","fillInAddress","fillInAddress2","place","getPlace","getElementById","address_components","types","short_name","addressType","val","place2","maps","places","Autocomplete","setFields","addListener","ev","stripe","createToken","address_line1","address_city","address_country","address_state","address_zip","subscriptionPlan","response","setItem","STT_SVG","viewBox","xmlns","xmlnsXlink","d","fill","addRealMonth","fm","fmEnd","endOf","isSame","Settings","handleTextChange","otherError","handleClickOpenYearly","openyearly","handleCloseYearly","handleCloseUpdate","opennew","handleClickOpenUpdate","handlePasswordReset","pwdResetSuccess","pwdResetLoad","timer","email","pwdResetSucessMsg","pwdResetFail","memberUpdate","invoices","subscription","subscriptionType","fname","lname","unsubscribed","free","admin","cardupdated","dataready","legacyMember","unsubMsg","upgraded","menuOpen","userEmail","showText","loadingSubmit","success","redirectMsg","feedback","processing","handleClickMenu","handleCloseMsg","pwdResetClose","closeFeedback","unsubSubmit","handleFormChange","nextHandleFeedback","unsubError","amount_paid","pagerender","prevState","handleClickUpgrade","buttonClassname","classNames","buttonSuccess","pagedisplay","pagedisplaybutton","pagedisplayupgrade","pagedisplaypayment","memberStatus","invoice_pdf","resubButton","linkStyle","unsubButton","upgradeButton","updatePayment","freshStyle","helpButton","accountInfoWrapper","pwdResetWrapper","buttonProgress","btnOptionsWrapper","subheader","ListSubheader","expandIcon","Collapse","in","timeout","unmountOnExit","collapseMenu","disablePadding","apiKey","formType","onCardUpdate","handleCardUpdate","unsubMsgWrapper","closeIcon","unsubWrapper","formContainer","logoWrapper","FormControl","FormControlLabel","groupLabel","control","option1Msg","maxLength","option2Msg","linkBtnStyle","sendButton","loaderCircle","close","actionsWrapper","pwdDialogTitle","green","border","surveyContentWrapper","blue","bottomBtnWrapper","rightIcon","between","borderWidth","borderColor","borderStyle","UpdateCard","redirectTimout","enableEnterKey","_addEventListener","addEventListener","listener","_listener","suggestion_selected","getElementsByClassName","JSON","stringify","code","successDialog","successUpdateWrapper","dialogclose","Footerhome","Login","stripeStatus","password","invalidmsg","loginclick","recaptchastatus","returningUser","recaptchaFail","recaptchaTriggerd","onLoadRecaptcha","verifyCallback","captcha","reset","execute","recaptchaToken","reCaptchaToken","result","removeItem","handleClickRegister","Toolbar","noWrap","src","alt","grow","validators","errormessages","sitekey","onloadCallback","menuButton","NotFound","grid","HotelInfoRedirect","query1","pieHole","customeroptions","Admin","donutarray","customertrend","notAdmin","monthlycount","yearlycount","freecount","activecount","inactivecount","stripeActive","firstdonut","stripeCustomerId","lastLogin","blueAvatar","greyButton","greenButton","orangeButton","getData","WrapperComponent","useState","isAdmin","setAdmin","setNotAdmin","useEffect","PrivateAdminRoute","rest","PaymentUpdateRoute","from","PortfolioHotel","postsrev","dataLoadingStatusrev","chartDatarev","latestrows","noPostsMsg","portfolioName","currentPortfolio","handleChangerev","revcolumns","revrows","countrev","handleChangeportfolio","parseInt","rev","lengthpost","pink","BrandInsights","brandposts","Accept","currentyear","sum_room_receipts","brandId","dateConvert","BrandParent","MainRoute","exact","path","SearchResultsUni","UpdatePayment","mailFolderListItems","ListItemIcon","otherMailFolderListItems","ResponsiveDrawer","handleDrawerToggle","isMobile","mobileOpen","loadingAccount","handleDrawerClose","drawer","toolbar","CssBaseline","appBar","Hidden","smUp","implementation","Drawer","anchor","drawerPaper","ModalProps","xsDown","flexShrink","Trial","updatepost","handleClicklogin","sorting","cityLoading","durationscity","TrialCity","TrialCounty","mailFolderListItemsTrial","handleClickregister","registerclick","TrialRoute","PrivateRoute","_isMounted","PaymentRoute","ReturnUserRoute","verifyReturningUser","decode","exp","isTokenExpired","Logout","tokenid","AlertContext","createContext","Register","vemail","logged","initializeReactGA","category","alertContext","PaymentForm","logoutclick","handleClicklogout","msg","passwordReset","counter","errorMessages","passwordchanged","showfield","vpassword","showbox","headerText","cardWrapper","Card","priceBody","gutterBottom","pos","CardActions","UserFeedback","handleSubmit","redirectToLogin","setUserEmail","decoded","clearTimeout","redirectTimer","surveyWrapper","FormLabel","RadioGroup","group","Maitenance","class","gear-status","gear-duration","transform","Idle","require","default","App","maitenanceMode","loadReCaptcha","idle","HomeNav","TrialNav","PasswordReset","PasswordRequest","PaymentPlan","NotFound2"],"mappings":"wPAEeA,gB,0ICUAC,MAVA,IACb,yBAAKC,UAAU,UAEb,mCAAMC,MAASC,OAAO,QAAtB,6CAAmE,6BAAM,uBAAGC,KAAK,oCAAR,WAAzE,WAAkI,uBAAGA,KAAK,kCAAR,W,yHCL/H,MAAMC,EAAU,CACrB,CACEC,MAAO,UACPC,MAAO,mBAET,CACED,MAAO,YACPC,MAAO,qBAET,CACED,MAAO,mBACPC,MAAO,+BAET,CACED,MAAO,MACPC,MAAO,2BAKEC,EAAS,CACpB,CACEF,MAAO,IACPC,MAAO,WAET,CACED,MAAO,IACPC,MAAO,YAET,CACED,MAAO,IACPC,MAAO,SAGT,CACED,MAAO,IACPC,MAAO,SAET,CACED,MAAO,IACPC,MAAO,OAET,CACED,MAAO,IACPC,MAAO,QAET,CACED,MAAO,IACPC,MAAO,QAET,CACED,MAAO,IACPC,MAAO,UAET,CACED,MAAO,IACPC,MAAO,aAET,CACED,MAAO,KACPC,MAAO,WAET,CACED,MAAO,KACPC,MAAO,YAET,CACED,MAAO,KACPC,MAAO,aAIEE,EAAW,CACtB,CACEH,MAAO,IACPC,MAAO,KAET,CACED,MAAO,IACPC,MAAO,KAET,CACED,MAAO,IACPC,MAAO,KAGT,CACED,MAAO,IACPC,MAAO,MAKEG,EAAQ,CACnB,CACEJ,MAAO,OACPC,MAAO,QAET,CACED,MAAO,OACPC,MAAO,QAET,CACED,MAAO,OACPC,MAAO,QAET,CACED,MAAO,OACPC,MAAO,QAET,CACED,MAAO,OACPC,MAAO,QAET,CACED,MAAO,OACPC,MAAO,QAET,CACED,MAAO,OACPC,MAAO,QAET,CACED,MAAO,OACPC,MAAO,QAET,CACED,MAAO,OACPC,MAAO,QAET,CACED,MAAO,OACPC,MAAO,QAGT,CACED,MAAO,OACPC,MAAO,QAET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,kBAAC,IAAD,KACE,kBAAC,IAAD,CAAOlkC,UAAWyjC,MAGpB,kBAAC,IAAD,KACE,kBAAC,GAAD,CAAcrF,OAAK,EAACC,KAAK,SAASr+B,UAAWqkC,KAC7C,kBAAC,IAAD,CAAOjG,OAAK,EAACC,KAAK,WAAWr+B,UAAWskC,KACxC,kBAAC,IAAD,CAAOlG,OAAK,EAACC,KAAK,UAAUr+B,UAAWkhC,KACvC,kBAAC,IAAD,CAAO9C,OAAK,EAACC,KAAK,SAASr+B,UAAW24B,KACtC,kBAAC,GAAD,CAAiByF,OAAK,EAACC,KAAK,IAAIr+B,UAAW24B,KAC3C,kBAAC,IAAD,CACEyF,OAAK,EACLC,KAAK,8BACLr+B,UAAWukC,KAEb,kBAAC,IAAD,CACEnG,OAAK,EACLC,KAAK,mBACLr+B,UAAWwkC,KAEb,kBAAC,IAAD,CAAOpG,OAAK,EAACC,KAAK,YAAYr+B,UAAWshC,KACzC,kBAAC,IAAD,CAAOlD,OAAK,EAACC,KAAK,mBAAmBr+B,UAAWshC,KAChD,kBAAC,IAAD,CAAOlD,OAAK,EAACC,KAAK,YAAYr+B,UAAW8iC,KACzC,kBAAC,GAAD,CACE1E,OAAK,EACLC,KAAK,gBACLr+B,UAAWykC,KAEb,kBAAC,GAAD,CACEpG,KAAK,iCACLr+B,UAAW4hC,KAEb,kBAAC,IAAD,CAAO5hC,UAAW0kC,WAcvBT,U,OCrJf5mC,iBAEE,kBAAC,IAAD,CAAQsG,QAASA,GACf,yBAAKhL,UAAU,OACb,kBAAC,GAAD,QAIHkO,SAAS6nB,eAAe,W","file":"static/js/main.b70d3f91.chunk.js","sourcesContent":["import { createBrowserHistory } from 'history';\r\n\r\nexport default createBrowserHistory();","import React from 'react';\r\nimport moment from 'moment';\r\nconst Footer = () => (\r\n
\r\n\r\n

© {moment().format(\"YYYY\")} Search Texas Tax • Abilene v1.19.10
PrivacyTerms

\r\n\r\n
\r\n\r\n\r\n)\r\n\r\nexport default Footer","export const filters = [\r\n {\r\n value: \"monthly\",\r\n label: \"Lodging Monthly\",\r\n },\r\n {\r\n value: \"quarterly\",\r\n label: \"Lodging Quarterly\",\r\n },\r\n {\r\n value: \"quarterlymonthly\",\r\n label: \"Lodging Monthly + Quarterly\",\r\n },\r\n {\r\n value: \"mbt\",\r\n label: \"Mixed Beverage Monthly\",\r\n },\r\n];\r\n\r\n// Months\r\nexport const months = [\r\n {\r\n value: \"1\",\r\n label: \"January\",\r\n },\r\n {\r\n value: \"2\",\r\n label: \"February\",\r\n },\r\n {\r\n value: \"3\",\r\n label: \"March\",\r\n },\r\n\r\n {\r\n value: \"4\",\r\n label: \"April\",\r\n },\r\n {\r\n value: \"5\",\r\n label: \"May\",\r\n },\r\n {\r\n value: \"6\",\r\n label: \"June\",\r\n },\r\n {\r\n value: \"7\",\r\n label: \"July\",\r\n },\r\n {\r\n value: \"8\",\r\n label: \"August\",\r\n },\r\n {\r\n value: \"9\",\r\n label: \"September\",\r\n },\r\n {\r\n value: \"10\",\r\n label: \"October\",\r\n },\r\n {\r\n value: \"11\",\r\n label: \"November\",\r\n },\r\n {\r\n value: \"12\",\r\n label: \"December\",\r\n },\r\n];\r\n// Quarters of the Year\r\nexport const quarters = [\r\n {\r\n value: \"1\",\r\n label: \"1\",\r\n },\r\n {\r\n value: \"2\",\r\n label: \"2\",\r\n },\r\n {\r\n value: \"3\",\r\n label: \"3\",\r\n },\r\n\r\n {\r\n value: \"4\",\r\n label: \"4\",\r\n },\r\n];\r\n\r\n// Year\r\nexport const years = [\r\n {\r\n value: \"2025\",\r\n label: \"2025\",\r\n },\r\n {\r\n value: \"2024\",\r\n label: \"2024\",\r\n },\r\n {\r\n value: \"2023\",\r\n label: \"2023\",\r\n },\r\n {\r\n value: \"2022\",\r\n label: \"2022\",\r\n },\r\n {\r\n value: \"2021\",\r\n label: \"2021\",\r\n },\r\n {\r\n value: \"2020\",\r\n label: \"2020\",\r\n },\r\n {\r\n value: \"2019\",\r\n label: \"2019\",\r\n },\r\n {\r\n value: \"2018\",\r\n label: \"2018\",\r\n },\r\n {\r\n value: \"2017\",\r\n label: \"2017\",\r\n },\r\n {\r\n value: \"2016\",\r\n label: \"2016\",\r\n },\r\n\r\n {\r\n value: \"2015\",\r\n label: \"2015\",\r\n },\r\n {\r\n value: \"2014\",\r\n label: \"2014\",\r\n },\r\n {\r\n value: \"2013\",\r\n label: \"2013\",\r\n },\r\n {\r\n value: \"2012\",\r\n label: \"2012\",\r\n },\r\n\r\n {\r\n value: \"2011\",\r\n label: \"2011\",\r\n },\r\n {\r\n value: \"2010\",\r\n label: \"2010\",\r\n },\r\n {\r\n value: \"2009\",\r\n label: \"2009\",\r\n },\r\n {\r\n value: \"2008\",\r\n label: \"2008\",\r\n },\r\n\r\n {\r\n value: \"2007\",\r\n label: \"2007\",\r\n },\r\n {\r\n value: \"2006\",\r\n label: \"2006\",\r\n },\r\n {\r\n value: \"2005\",\r\n label: \"2005\",\r\n },\r\n {\r\n value: \"2004\",\r\n label: \"2004\",\r\n },\r\n\r\n {\r\n value: \"2003\",\r\n label: \"2003\",\r\n },\r\n {\r\n value: \"2002\",\r\n label: \"2002\",\r\n },\r\n {\r\n value: \"2001\",\r\n label: \"2001\",\r\n },\r\n\r\n {\r\n value: \"2000\",\r\n label: \"2000\",\r\n },\r\n];\r\n\r\n// Search options\r\nexport const searches = [\r\n {\r\n value: \"city\",\r\n label: \"City\",\r\n },\r\n {\r\n value: \"county\",\r\n label: \"County\",\r\n },\r\n {\r\n value: \"zip\",\r\n label: \"Zip Code\",\r\n },\r\n];\r\n","export const apiUrl = \"https://api.searchtexastax.com\";\r\n// export const apiUrl = \"https://api-dev.searchtexastax.com\";\r\nexport const TEST_STRIPE_KEY = \"pk_test_cgxtYgq9haMuyFLdDMJJJaBK\";\r\nexport const STRIPE_KEY = \"pk_live_axE2h5roRUpqf3AlMHbupm6n\";\r\nexport const RECAPTCHA_SITE_KEY = \"6Lf3n6wUAAAAAJOctgkaFRBKlAjDoCN15srEJZmr\";\r\n// roxanne's key below\r\n//export const RECAPTCHA_SITE_KEY = \"6LcNj3oUAAAAANc4bazisYk960Wq4L0NfSFqSJlt\";\r\nexport const GM_KEY = \"AIzaSyDjmwSKus5TViafCXw_52tKauOpTbKbvy4\";\r\n\r\n \r\n\r\n","import axios from \"axios\";\r\nimport { apiUrl } from \"../../helpers\";\r\n\r\nexport const handleError = (error, url) => {\r\n //console.log(error.stack.toString());\r\n //console.log('raw error ' + error.message);\r\n let errorUrl;\r\n let errorMessage;\r\n // If error came from axios call\r\n if (error.config) {\r\n let eConfigUrl = error.config.url.split(`${apiUrl}/rest`);\r\n let eConfigMethod = error.config.method.toUpperCase();\r\n errorMessage = \"Api call failed at \" + eConfigMethod + \" \" + eConfigUrl[1];\r\n errorUrl = \"Site URL: \" + url;\r\n\r\n //errorMessage = \" failed at \" + eConfigUrl[1];\r\n } else {\r\n // pass cauth error with url\r\n errorUrl = url;\r\n errorMessage =\r\n error.message ||\r\n \"\" + \" \" + error.stack.toString() ||\r\n error.toString() ||\r\n \"\";\r\n }\r\n console.log(errorUrl, errorMessage);\r\n axios({\r\n method: \"post\",\r\n headers: { authorization: \"Bearer \" + localStorage.getItem(\"token\") },\r\n url: `${apiUrl}/rest/basic/errorlog`,\r\n data: { error: errorMessage, url: errorUrl },\r\n })\r\n .then(res => {\r\n //console.log(\"error response\", res);\r\n })\r\n .catch(e => {\r\n //console.log(e);\r\n });\r\n};\r\n","import React, { Component } from \"react\";\r\nimport deburr from \"lodash/deburr\";\r\nimport Downshift from \"downshift\";\r\nimport TextField from \"@material-ui/core/TextField\";\r\nimport Paper from \"@material-ui/core/Paper\";\r\nimport PropTypes from \"prop-types\";\r\nimport MenuItem from \"@material-ui/core/MenuItem\";\r\nimport axios from \"axios\";\r\nimport { apiUrl } from \"../../helpers\";\r\nimport { withStyles } from \"@material-ui/core/styles\";\r\nimport { handleError } from \"../../utils/errorHandling/errorHelper\";\r\nimport ReactGA from \"react-ga\";\r\n\r\nconst styles = theme => ({\r\n root: {\r\n flexGrow: 1,\r\n //height: 250,\r\n },\r\n container: {\r\n flexGrow: 1,\r\n position: \"relative\",\r\n },\r\n paper: {\r\n position: \"absolute\",\r\n zIndex: 1,\r\n marginTop: theme.spacing(1),\r\n left: 0,\r\n right: 0,\r\n },\r\n chip: {\r\n margin: `${theme.spacing(1 / 2)}px ${theme.spacing(1 / 4)}px`,\r\n },\r\n inputRoot: {\r\n flexWrap: \"wrap\",\r\n },\r\n inputInput: {\r\n width: \"auto\",\r\n flexGrow: 1,\r\n },\r\n divider: {\r\n height: theme.spacing(2),\r\n },\r\n});\r\n\r\n// func component for INPUT area\r\nfunction renderInput(inputProps) {\r\n const { InputProps, classes, ref, ...other } = inputProps;\r\n\r\n return (\r\n \r\n );\r\n}\r\n\r\n// renders the \"dropwdown\" suggestions\r\nfunction renderSuggestion({\r\n suggestion,\r\n index,\r\n itemProps,\r\n highlightedIndex,\r\n selectedItem,\r\n}) {\r\n const isHighlighted = highlightedIndex === index;\r\n const isSelected = (selectedItem || \"\").indexOf(suggestion.label) > -1;\r\n\r\n return (\r\n \r\n {suggestion.label}\r\n \r\n );\r\n}\r\n\r\nrenderSuggestion.propTypes = {\r\n highlightedIndex: PropTypes.number,\r\n index: PropTypes.number,\r\n itemProps: PropTypes.object,\r\n selectedItem: PropTypes.string,\r\n suggestion: PropTypes.shape({ label: PropTypes.string }).isRequired,\r\n};\r\n\r\nclass DownshiftSearch extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n options: [],\r\n filter: props.filter,\r\n type: props.type,\r\n };\r\n }\r\n\r\n componentDidMount() {\r\n let { type, filter } = this.props;\r\n let query;\r\n\r\n // ==== determine query =======\r\n switch (true) {\r\n case filter === \"monthly\" && type === \"city\":\r\n query = `${apiUrl}/rest/basic/cities`;\r\n break;\r\n case filter === \"monthly\" && type === \"county\":\r\n query = `${apiUrl}/rest/basic/counties`;\r\n break;\r\n case filter === \"mbt\" && type === \"city\":\r\n query = `${apiUrl}/rest/mbt/cities`;\r\n break;\r\n case filter === \"mbt\" && type === \"county\":\r\n query = `${apiUrl}/rest/mbt/counties`;\r\n break;\r\n default:\r\n // no default\r\n }\r\n //console.log(query);\r\n\r\n // General api call to set options\r\n axios\r\n .get(query, {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n if (type === \"city\") {\r\n let options = res.data.map(location => ({\r\n value: location.location_city,\r\n label: location.location_city,\r\n }));\r\n this.setState({ options: options });\r\n } else if (type === \"county\") {\r\n let options = res.data.map(location => ({\r\n value: location.verified_county,\r\n label: location.verified_county,\r\n }));\r\n this.setState({ options: options });\r\n }\r\n })\r\n\r\n .catch(e => {\r\n ReactGA.exception({\r\n description: \"An error occurred\",\r\n });\r\n handleError(e);\r\n window.location.replace(\"/logout\");\r\n });\r\n }\r\n\r\n componentDidUpdate(prevProps) {\r\n if (\r\n prevProps.filter !== this.props.filter ||\r\n prevProps.type !== this.props.type\r\n ) {\r\n //console.log(\"the component updated\");\r\n let { type, filter } = this.props;\r\n let query;\r\n\r\n // ==== determine query =======\r\n switch (true) {\r\n case filter === \"monthly\" && type === \"city\":\r\n query = `${apiUrl}/rest/basic/cities`;\r\n break;\r\n case filter === \"monthly\" && type === \"county\":\r\n query = `${apiUrl}/rest/basic/counties`;\r\n break;\r\n case filter === \"mbt\" && type === \"city\":\r\n query = `${apiUrl}/rest/mbt/cities`;\r\n break;\r\n case filter === \"mbt\" && type === \"county\":\r\n query = `${apiUrl}/rest/mbt/counties`;\r\n break;\r\n case (filter === \"quarterly\" || filter === \"quarterlymonthly\") &&\r\n type === \"city\":\r\n query = `${apiUrl}/rest/basic/cities`;\r\n break;\r\n case (filter === \"quarterly\" || filter === \"quarterlymonthly\") &&\r\n type === \"county\":\r\n query = `${apiUrl}/rest/mbt/counties`;\r\n break;\r\n default:\r\n // no default\r\n }\r\n //console.log(query);\r\n\r\n // General api call to set options\r\n axios\r\n .get(query, {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n if (type === \"city\") {\r\n let options = res.data.map(location => ({\r\n value: location.location_city,\r\n label: location.location_city,\r\n }));\r\n this.setState({ options: options });\r\n } else if (type === \"county\") {\r\n let options = res.data.map(location => ({\r\n value: location.verified_county,\r\n label: location.verified_county,\r\n }));\r\n this.setState({ options: options });\r\n }\r\n })\r\n .catch(e => {\r\n ReactGA.exception({\r\n description: \"An error occurred\",\r\n });\r\n handleError(e);\r\n window.location.replace(\"/logout\");\r\n });\r\n }\r\n }\r\n\r\n // method that takes user's input and filters options\r\n getSuggestions(value) {\r\n let { options } = this.state;\r\n const inputValue = deburr(value.trim()).toLowerCase();\r\n const inputLength = inputValue.length;\r\n let count = 0;\r\n\r\n return inputLength === 0\r\n ? []\r\n : options.filter(option => {\r\n const keep =\r\n count < 5 &&\r\n option.label.slice(0, inputLength).toLowerCase() === inputValue;\r\n\r\n if (keep) {\r\n count += 1;\r\n }\r\n\r\n return keep;\r\n });\r\n }\r\n\r\n render() {\r\n const { classes } = this.props;\r\n const { inputValue, selectedItem } = this.state;\r\n\r\n return (\r\n \r\n {({\r\n getInputProps,\r\n getItemProps,\r\n isOpen,\r\n inputValue: inputValue2,\r\n selectedItem: selectedItem2,\r\n highlightedIndex,\r\n }) => (\r\n
\r\n {renderInput({\r\n fullWidth: true,\r\n classes,\r\n InputProps: getInputProps({\r\n startAdornment: selectedItem,\r\n onChange: this.props.handleDownshiftInputChange,\r\n onKeyDown: this.props.DownshiftHandleKeyDown,\r\n placeholder: this.props.placeholder,\r\n }),\r\n label: this.props.label,\r\n })}\r\n {isOpen ? (\r\n \r\n {this.getSuggestions(inputValue2).map((suggestion, index) =>\r\n renderSuggestion({\r\n suggestion,\r\n index,\r\n itemProps: getItemProps({ item: suggestion.label }),\r\n highlightedIndex,\r\n selectedItem: selectedItem2,\r\n })\r\n )}\r\n \r\n ) : null}\r\n
\r\n )}\r\n \r\n );\r\n }\r\n}\r\n\r\n// DownshiftSearch.propTypes = {\r\n// classes: PropTypes.object.isRequired,\r\n// //options: PropTypes.array.isRequired,\r\n// };\r\n\r\nexport default withStyles(styles)(DownshiftSearch);\r\n","import React, { Component } from \"react\";\r\nimport PropTypes from \"prop-types\";\r\nimport classNames from \"classnames\";\r\nimport Select from \"react-select\";\r\nimport { withStyles } from \"@material-ui/core/styles\";\r\nimport MenuItem from \"@material-ui/core/MenuItem\";\r\nimport TextField from \"@material-ui/core/TextField\";\r\nimport Typography from \"@material-ui/core/Typography\";\r\nimport Paper from \"@material-ui/core/Paper\";\r\nimport Chip from \"@material-ui/core/Chip\";\r\nimport CancelIcon from \"@material-ui/icons/Cancel\";\r\nimport { emphasize } from \"@material-ui/core/styles/colorManipulator\";\r\nimport Button from \"@material-ui/core/Button\";\r\nimport Grid from \"@material-ui/core/Grid\";\r\nimport axios from \"axios\";\r\nimport ReactGA from \"react-ga\";\r\nimport { FixedSizeList as List } from \"react-window\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport {\r\n filters,\r\n months,\r\n quarters,\r\n years,\r\n searches,\r\n} from \"./searchData/searchOptions\";\r\nimport { apiUrl } from \"../helpers\";\r\nimport { handleError } from \"../utils/errorHandling/errorHelper\";\r\nimport DownshiftSearch from \"./componentUtils/DownshiftSearch\";\r\n\r\nlet pathname = window.location.pathname;\r\n\r\nconst styles = theme => ({\r\n container: {\r\n display: \"flex\",\r\n flexWrap: \"wrap\",\r\n },\r\n textField: {\r\n marginLeft: theme.spacing(1),\r\n marginRight: theme.spacing(1),\r\n },\r\n dense: {\r\n marginTop: 16,\r\n },\r\n menu: {\r\n width: 200,\r\n },\r\n root: {\r\n flexGrow: 1,\r\n height: 250,\r\n },\r\n input: {\r\n display: \"flex\",\r\n padding: 0,\r\n },\r\n valueContainer: {\r\n display: \"flex\",\r\n flexWrap: \"wrap\",\r\n flex: 1,\r\n alignItems: \"center\",\r\n },\r\n chip: {\r\n margin: `${theme.spacing(1 / 2)}px ${theme.spacing(1 / 4)}px`,\r\n },\r\n chipFocused: {\r\n backgroundColor: emphasize(\r\n theme.palette.type === \"light\"\r\n ? theme.palette.grey[300]\r\n : theme.palette.grey[700],\r\n 0.08\r\n ),\r\n },\r\n noOptionsMessage: {\r\n padding: `${theme.spacing(1)}px ${theme.spacing(2)}px`,\r\n },\r\n singleValue: {\r\n fontSize: 16,\r\n },\r\n placeholder: {\r\n position: \"absolute\",\r\n left: 2,\r\n fontSize: 16,\r\n },\r\n paper: {\r\n position: \"absolute\",\r\n zIndex: 4,\r\n marginTop: theme.spacing(1),\r\n left: 0,\r\n right: 0,\r\n },\r\n divider: {\r\n height: theme.spacing(2),\r\n },\r\n button: {\r\n margin: theme.spacing(1),\r\n },\r\n select: {\r\n zIndex: 4,\r\n // position:'absolute'\r\n },\r\n downShiftWrapper: {\r\n marginLeft: \"5px\",\r\n paddingTop: \"15px\",\r\n width: \"100%\",\r\n },\r\n zipWrapper: {\r\n marginLeft: \"5px\",\r\n //paddingTop: '-50px',\r\n width: \"100%\",\r\n },\r\n});\r\n\r\n// Method that returns no option message\r\nfunction NoOptionsMessage(props) {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n}\r\n\r\n// returns input\r\nfunction inputComponent({ inputRef, ...props }) {\r\n return
;\r\n}\r\n\r\nfunction Control(props) {\r\n return (\r\n \r\n );\r\n}\r\n\r\nfunction Option(props) {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n}\r\n\r\nfunction Placeholder(props) {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n}\r\n\r\nfunction SingleValue(props) {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n}\r\n\r\nfunction ValueContainer(props) {\r\n return (\r\n
\r\n {props.children}\r\n
\r\n );\r\n}\r\n\r\nfunction MultiValue(props) {\r\n return (\r\n }\r\n />\r\n );\r\n}\r\n\r\nfunction Menu(props) {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n}\r\n\r\nconst components = {\r\n Control,\r\n Menu,\r\n MultiValue,\r\n NoOptionsMessage,\r\n Option,\r\n Placeholder,\r\n SingleValue,\r\n ValueContainer,\r\n};\r\n\r\n//@StorageContext(\"your-storage-id\")\r\nclass SearchBox extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n\r\n this.state = {\r\n multiline: \"Controlled\",\r\n filter: \"monthly\",\r\n month: \"\",\r\n quarter: \"2\",\r\n year: \"\",\r\n search: \"city\",\r\n showMonth: true,\r\n searchTerm: 1,\r\n single: null,\r\n multi: null,\r\n posts: [],\r\n zip: \"\",\r\n selectedOption: null,\r\n selectedOption1: null,\r\n cities: [],\r\n counties: [],\r\n errormsg: false,\r\n redirect: false,\r\n latestYear: \"\",\r\n latestMonth: \"\",\r\n // ===== extras\r\n showDetailed: false,\r\n hideSimple: false,\r\n isMounted: true,\r\n inputValue: \"\",\r\n selectedItem: [],\r\n };\r\n this.handleClick = this.handleClick.bind(this);\r\n }\r\n\r\n // Looks through local storage by key name and sets state\r\n // hydrateStateWithLocalStorage() {\r\n // // for all items in state\r\n // for (let key in this.state) {\r\n // // if the key exists in localStorage\r\n // if (localStorage.hasOwnProperty(key)) {\r\n // // get the key's value from localStorage\r\n // let value = localStorage.getItem(key);\r\n\r\n // // parse the localStorage string and setState\r\n // try {\r\n // value = JSON.parse(value);\r\n // this.setState({ [key]: value });\r\n // } catch (e) {\r\n // // handle empty string\r\n // this.setState({ [key]: value });\r\n // }\r\n // }\r\n // }\r\n // //console.log(localStorage);\r\n // }\r\n\r\n handleDownShiftChange = item => {\r\n let { selectedItem } = this.state;\r\n\r\n if (selectedItem.indexOf(item) === -1) {\r\n selectedItem = [...selectedItem, item];\r\n }\r\n\r\n this.setState({\r\n inputValue: \"\",\r\n selectedItem,\r\n selectedOption1: selectedItem[0],\r\n selectedOption: selectedItem[0],\r\n });\r\n };\r\n\r\n DownshiftHandleKeyDown = event => {\r\n const { inputValue, selectedItem } = this.state;\r\n if (\r\n selectedItem.length &&\r\n !inputValue.length &&\r\n event.key === \"Backspace\"\r\n ) {\r\n this.setState({\r\n selectedItem: selectedItem.slice(0, selectedItem.length - 1),\r\n });\r\n }\r\n };\r\n\r\n handleDownshiftInputChange = event => {\r\n this.setState({ inputValue: event.target.value });\r\n };\r\n\r\n // Takes in the name and set's the state of the selected elements name\r\n handleChange = name => event => {\r\n //console.log(event.target.value)\r\n this.setState({\r\n [name]: event.target.value,\r\n });\r\n //localStorage.setItem(name, event.target.value);\r\n //console.log(localStorage);\r\n\r\n /* ===== Checking the user selection to output correct info ========= */\r\n if (event.target.value === \"monthly\" || event.target.value === \"mbt\") {\r\n this.setState(state => {\r\n state.showMonth = true;\r\n });\r\n } else if (\r\n event.target.value === \"quarterly\" ||\r\n event.target.value === \"quarterlymonthly\"\r\n ) {\r\n this.setState(state => {\r\n state.showMonth = false;\r\n });\r\n }\r\n if (event.target.value === \"city\") {\r\n this.setState(state => {\r\n state.searchTerm = 1;\r\n });\r\n } else if (event.target.value === \"county\") {\r\n this.setState(state => {\r\n state.searchTerm = 2;\r\n });\r\n } else if (event.target.value === \"zip\") {\r\n this.setState({ searchTerm: 3 });\r\n }\r\n };\r\n\r\n /* ===== Method to handle set state of selectedOption or SelectedOption1 property ===== */\r\n handleChange1 = selectedOption => {\r\n this.setState({ selectedOption });\r\n };\r\n handleChangeTest = selectedOption => {\r\n this.setState({ selectedOption });\r\n };\r\n\r\n handleChange2 = selectedOption1 => {\r\n this.setState({ selectedOption1 });\r\n };\r\n\r\n // method to set the from input state\r\n handleSimpleSearch = formInput => {\r\n this.setState({ formInput });\r\n };\r\n\r\n // Save all state to localstorage\r\n // saveStateToLocalStorage() {\r\n // // for every item in React state\r\n // for (let key in this.state) {\r\n // // save to localStorage\r\n // localStorage.setItem(key, JSON.stringify(this.state[key]));\r\n // }\r\n // }\r\n\r\n // Method to handle user's click of button to select filter option\r\n handleClick(e) {\r\n e.preventDefault();\r\n let filterSelections = \"\";\r\n let searchValue = \"\";\r\n\r\n try {\r\n if (\r\n this.state.filter === \"quarterly\" ||\r\n this.state.filter === \"quarterlymonthly\"\r\n ) {\r\n filterSelections =\r\n this.state.filter + \"/\" + this.state.quarter + \"/\" + this.state.year;\r\n } else {\r\n filterSelections =\r\n this.state.filter + \"/\" + this.state.month + \"/\" + this.state.year;\r\n }\r\n\r\n /* ====== Check which Term is used ====== */\r\n if (this.state.searchTerm === 1) {\r\n // error handling....\r\n if (this.state.selectedOption == null) {\r\n this.setState({ errormsg: true });\r\n } else {\r\n this.setState({ errormsg: false });\r\n }\r\n //searchValue = \"/city/\" + this.state.selectedOption.value;\r\n searchValue = \"/city/\" + this.state.selectedOption;\r\n }\r\n\r\n if (this.state.searchTerm === 2) {\r\n if (this.state.selectedOption1 == null) {\r\n this.setState({ errormsg: true });\r\n return;\r\n } else {\r\n this.setState({ errormsg: false });\r\n }\r\n //searchValue = \"/county/\" + this.state.selectedOption1.value;\r\n searchValue = \"/county/\" + this.state.selectedOption1;\r\n }\r\n\r\n if (this.state.searchTerm === 3) {\r\n if (this.state.zip === \"\" || this.state.zip === null) {\r\n this.setState({ errormsg: true });\r\n return;\r\n } else if (this.state.zip) {\r\n this.setState({ errormsg: false });\r\n //searchValue = \"/zip/\" + this.state.zip;\r\n searchValue = \"/zip/\" + this.state.zip;\r\n }\r\n }\r\n this.props.history.push({\r\n pathname: `/stt/results/${filterSelections}${searchValue}`,\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n }\r\n\r\n // ==== on initlization call cites and counties\r\n componentDidMount() {\r\n this.setState({ isMounted: true });\r\n //this.hydrateStateWithLocalStorage();\r\n\r\n try {\r\n // Making call to get Latest Month+Year DB updated\r\n axios\r\n .get(`${apiUrl}/rest/search/latest/`, {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n //console.log(res.data);\r\n let latestYear = res.data.year.toString();\r\n let latestMonth = res.data.month.toString();\r\n // first make sure state is blank\r\n if (this.state.year === \"\" && this.state.month === \"\") {\r\n this.setState({ year: latestYear });\r\n this.setState({ month: latestMonth });\r\n //console.log(typeof this.state.latestMonth + ' ' + typeof this.state.latestYear);\r\n } else {\r\n this.setState({ year: 2020 });\r\n this.setState({ month: 1 });\r\n }\r\n })\r\n .catch(e => {\r\n ReactGA.exception({\r\n description: \"An error occurred\",\r\n });\r\n handleError(e, pathname);\r\n //window.location.replace('/logout');\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n }\r\n\r\n componentWillUnmount() {\r\n this.setState({ isMounted: false });\r\n\r\n // window.removeEventListener(\r\n // \"beforeunload\",\r\n // this.saveStateToLocalStorage.bind(this)\r\n // );\r\n\r\n // saves if component has a chance to unmount\r\n //this.saveStateToLocalStorage();\r\n }\r\n\r\n render() {\r\n let errormsg;\r\n if (this.state.errormsg === true) {\r\n errormsg = (\r\n

\r\n Please Enter a city, county or zip code to view results\r\n

\r\n );\r\n }\r\n\r\n if (this.state.redirect === true) {\r\n window.location.replace(\"/logout\");\r\n }\r\n const { classes } = this.props;\r\n const selectStyles = {\r\n input: base => ({\r\n ...base,\r\n \"& input\": {\r\n font: \"inherit\",\r\n },\r\n }),\r\n };\r\n\r\n const { selectedOption } = this.state;\r\n const { selectedOption1 } = this.state;\r\n\r\n let searchTerm;\r\n\r\n if (this.state.searchTerm === 1) {\r\n // console.log(this.state.cities);\r\n\r\n // setting the compoenent to var searchTerm\r\n\r\n searchTerm = (\r\n \r\n \r\n \r\n );\r\n } else if (this.state.searchTerm === 2) {\r\n searchTerm = (\r\n \r\n \r\n \r\n );\r\n } else if (this.state.searchTerm === 3) {\r\n searchTerm = (\r\n \r\n );\r\n }\r\n\r\n return (\r\n \r\n \r\n {errormsg}\r\n \r\n Classic Search\r\n \r\n

\r\n \r\n This is our legacy search. Complete the fields below to search.\r\n \r\n

\r\n \r\n \r\n \r\n \r\n {filters.map(option => (\r\n \r\n {option.label}\r\n \r\n ))}\r\n \r\n \r\n \r\n {this.state.showMonth ? (\r\n \r\n {months.map(option => (\r\n \r\n {option.label}\r\n \r\n ))}\r\n \r\n ) : (\r\n \r\n {quarters.map(option => (\r\n \r\n {option.label}\r\n \r\n ))}\r\n \r\n )}\r\n \r\n \r\n \r\n {years.map(option => (\r\n \r\n {option.label}\r\n \r\n ))}\r\n \r\n \r\n \r\n \r\n {searches.map(option => (\r\n \r\n {option.label}\r\n \r\n ))}\r\n \r\n \r\n \r\n {searchTerm}\r\n \r\n\r\n \r\n \r\n Get Data\r\n \r\n \r\n
\r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nSearchBox.propTypes = {\r\n classes: PropTypes.object.isRequired,\r\n theme: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default withRouter(withStyles(styles, { withTheme: true })(SearchBox));\r\n","import React from \"react\";\r\nimport axios from \"axios\";\r\nimport MaterialTable from \"material-table\";\r\nimport { Link } from \"react-router-dom\";\r\nimport PropTypes from \"prop-types\";\r\nimport { withStyles } from \"@material-ui/core/styles\";\r\nimport ReactGA from \"react-ga\";\r\nimport Avatar from \"@material-ui/core/Avatar\";\r\nimport Grid from \"@material-ui/core/Grid\";\r\nimport { apiUrl } from \"../helpers\";\r\nimport { handleError } from \"../utils/errorHandling/errorHelper\";\r\n\r\nlet pathname = window.location.pathname;\r\n\r\nconst styles = theme => ({\r\n root: {\r\n flexGrow: 1,\r\n backgroundColor: theme.palette.background.paper,\r\n },\r\n avatar: {\r\n margin: 0,\r\n },\r\n pinkAvatar: {\r\n margin: 0,\r\n color: \"#fff\",\r\n backgroundColor: \"#d50000\",\r\n width: 50,\r\n height: 30,\r\n borderRadius: 5,\r\n fontSize: 13,\r\n },\r\n greenAvatar: {\r\n margin: 0,\r\n color: \"#fff\",\r\n backgroundColor: \"#0d47a1\",\r\n width: 50,\r\n height: 30,\r\n borderRadius: 5,\r\n fontSize: 12,\r\n },\r\n recent: {},\r\n fab: {\r\n margin: theme.spacing(2),\r\n },\r\n absolute: {\r\n position: \"relative\",\r\n bottom: theme.spacing(10),\r\n left: theme.spacing(170),\r\n },\r\n});\r\n\r\nclass RecentlyViewed extends React.Component {\r\n state = {\r\n posts: [],\r\n token: \"\",\r\n dataLoadingStatus: \"loading\",\r\n chartData: [],\r\n value: 0,\r\n type: \"\",\r\n portfolio: \"\",\r\n errormsg: false,\r\n };\r\n\r\n handleChange = name => event => {\r\n this.setState({\r\n [name]: event.target.value,\r\n });\r\n };\r\n\r\n handleMenu = event => {\r\n this.setState({ anchorEl: event.currentTarget });\r\n };\r\n\r\n handleClose = () => {\r\n this.setState({ anchorEl: null });\r\n this.setState({ errormsg: false });\r\n this.setState({ portfolio: \"\" });\r\n };\r\n\r\n componentDidMount() {\r\n document.title = \"Recently Viewed- Search Texas Tax\";\r\n ReactGA.initialize(\"UA-80211377-3\");\r\n ReactGA.pageview(window.location.pathname);\r\n\r\n axios({\r\n method: \"get\",\r\n url: `${apiUrl}/rest/history`,\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n const posts = res.data;\r\n\r\n try {\r\n // filter out the posts history that are the same location number and name, so when user\r\n // clicks on same property it does not show more than once\r\n let filterPosts = posts.filter(\r\n (post, index, self) =>\r\n index ===\r\n self.findIndex(\r\n t =>\r\n t.location_number === post.location_number &&\r\n t.location_name === post.location_name\r\n )\r\n );\r\n this.setState({ posts: filterPosts });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n //window.location.replace('/logout');\r\n });\r\n }\r\n\r\n render() {\r\n const { classes } = this.props;\r\n\r\n return (\r\n \r\n {\r\n if (rowData.type === \"0\") {\r\n return (\r\n window.scrollTo(0, 0)}\r\n className={classes.recent}\r\n >\r\n {rowData.location_name}\r\n \r\n );\r\n } else {\r\n return (\r\n window.scrollTo(0, 0)}\r\n className={classes.recent}\r\n >\r\n {rowData.location_name}\r\n \r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"Type\",\r\n render: rowData => {\r\n if (rowData.type === \"0\") {\r\n return Hotel;\r\n } else {\r\n return MBT;\r\n }\r\n },\r\n },\r\n ]}\r\n data={this.state.posts}\r\n title=\"Recently Viewed\"\r\n options={{\r\n pageSize: 5,\r\n search: false,\r\n columnsButton: false,\r\n exportButton: false,\r\n showEmptyDataSourceMessage: true,\r\n }}\r\n />\r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nRecentlyViewed.propTypes = {\r\n classes: PropTypes.object.isRequired,\r\n};\r\nexport default withStyles(styles)(RecentlyViewed);\r\n","/* eslint-disable no-new-object */\r\nimport React, { Component } from \"react\";\r\nimport Downshift from \"downshift\";\r\n//import deburr from 'lodash/deburr';\r\nimport debounce from \"debounce-promise\";\r\nimport axios from \"axios\";\r\nimport Grid from \"@material-ui/core/Grid\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport ReactGA from \"react-ga\";\r\nimport TextField from \"@material-ui/core/TextField\";\r\nimport Paper from \"@material-ui/core/Paper\";\r\nimport Typography from \"@material-ui/core/Typography\";\r\nimport Divider from \"@material-ui/core/Divider\";\r\nimport { withStyles } from \"@material-ui/core/styles\";\r\nimport Radio from \"@material-ui/core/Radio\";\r\nimport DialogContent from \"@material-ui/core/DialogContent\";\r\nimport DialogContentText from \"@material-ui/core/DialogContentText\";\r\nimport Dialog from \"@material-ui/core/Dialog\";\r\nimport Button from \"@material-ui/core/Button\";\r\nimport MenuItem from \"@material-ui/core/MenuItem\";\r\nimport { apiUrl } from \"../helpers\";\r\nimport { handleError } from \"../utils/errorHandling/errorHelper\";\r\n\r\nlet pathname = window.location.pathname;\r\n\r\nwindow.__MUI_USE_NEXT_TYPOGRAPHY_VARIANTS__ = true;\r\n\r\nconst styles = theme => ({\r\n container: {\r\n display: \"flex\",\r\n flexWrap: \"wrap\",\r\n },\r\n root: {\r\n flexGrow: 1,\r\n overflow: \"hidden\",\r\n },\r\n paper: {\r\n position: \"absolute\",\r\n zIndex: 3,\r\n left: 0,\r\n right: 0,\r\n },\r\n menuitem: {\r\n padding: 18,\r\n height: 24,\r\n fontSize: 25,\r\n flexGrow: 1,\r\n\r\n // display: 'flex',\r\n [theme.breakpoints.down(\"sm\")]: {\r\n //flexGrow: 1,\r\n fontSize: 22,\r\n height: \"6vh\",\r\n overFlow: \"hidden\",\r\n placeItem: \"center\",\r\n verticalAlign: \"middle\",\r\n },\r\n },\r\n input: {\r\n display: \"flex\",\r\n padding: 0,\r\n },\r\n placeholder: {\r\n position: \"absolute\",\r\n left: 2,\r\n fontSize: 10,\r\n },\r\n link: {\r\n color: \"\",\r\n \":hover\": {\r\n textDecoration: \"none\",\r\n },\r\n },\r\n divider: {\r\n zIndex: 3,\r\n },\r\n button: {\r\n color: \"white\",\r\n margin: theme.spacing(1),\r\n },\r\n dialog: {\r\n marginTop: 0,\r\n marginBottom: 500,\r\n },\r\n typography2: {\r\n marginTop: 0,\r\n padding: 0,\r\n fontSize: \"66%\",\r\n // [theme.breakpoints.down('sm')]: {\r\n // fontSize: 14,\r\n // display: 'block',\r\n // overFlow: 'hidden',\r\n // whiteSpace: 'nowrap',\r\n // textOverflow: 'ellipsis',\r\n // width: '100%',\r\n // },\r\n // [theme.breakpoints.down('xs')]: {\r\n // fontSize: 14,\r\n // display: 'block',\r\n // overFlow: 'hidden',\r\n // whiteSpace: 'nowrap',\r\n // textOverflow: 'ellipsis',\r\n // width: 260,\r\n // },\r\n },\r\n typography: {\r\n margin: 0,\r\n padding: 0,\r\n },\r\n typography3: {\r\n marginTop: 0,\r\n padding: 0,\r\n fontSize: \"70%\",\r\n // [theme.breakpoints.down('xs')]: {\r\n // fontSize: '.5rem',\r\n // },\r\n // [theme.breakpoints.down('sm')]: {\r\n // fontSize: '1rem',\r\n // },\r\n },\r\n typography4: {\r\n marginTop: 0,\r\n padding: 0,\r\n fontSize: \"1rem\",\r\n // [theme.breakpoints.down('xs')]: {\r\n // fontSize: '.8rem',\r\n // },\r\n // [theme.breakpoints.down('sm')]: {\r\n // fontSize: '1rem',\r\n // },\r\n },\r\n bolded: {\r\n fontWeight: \"bold\",\r\n color: \"#242a33\",\r\n },\r\n breakpoint: {\r\n // [theme.breakpoints.down('sm')]: {\r\n // display: 'block'\r\n // },\r\n },\r\n icon: {\r\n paddingBotthom: 40,\r\n },\r\n chip: {\r\n fontSize: \".7rem\",\r\n fontWeight: \"bold\",\r\n padding: \".1rem .2rem\",\r\n borderRadius: \"20px\",\r\n backgroundColor: \"#f44336\",\r\n color: \"white\",\r\n },\r\n gridRow: {\r\n marginTop: 10,\r\n display: \"flex\",\r\n justifyContent: \"flex-start\",\r\n },\r\n respDate: {\r\n fontSize: \".7rem\",\r\n color: \"red\",\r\n },\r\n displayBreak: {\r\n [theme.breakpoints.down(\"sm\")]: {\r\n display: \"block\",\r\n },\r\n },\r\n});\r\n\r\nfunction renderInput(inputProps) {\r\n const { InputProps, classes, ref, ...other } = inputProps;\r\n\r\n return (\r\n \r\n );\r\n}\r\n\r\nconst makeRequestCreator = () => {\r\n let call;\r\n return url => {\r\n if (call) {\r\n call.cancel(\"Only one request allowed at a time.\");\r\n //console.log(\"call\", call);\r\n }\r\n call = axios.CancelToken.source();\r\n return axios.get(url, {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n //cancelToken: this.axiosCancelSource.token\r\n cancelToken: call.token,\r\n });\r\n };\r\n};\r\n\r\nconst get = makeRequestCreator();\r\n\r\nclass SingleSearch extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n options: [],\r\n optionsStore: {\r\n filter2: \"hotel\",\r\n },\r\n selectedItem: \"\",\r\n filter2: \"hotel\",\r\n type: \"monthly\",\r\n showMonth: true,\r\n errormsg1: false,\r\n errormsg2: false,\r\n errormsg3: false,\r\n inputValue: \"\",\r\n query: \"\",\r\n open: false,\r\n latestYear: \"\",\r\n latestMonth: \"\",\r\n defaultOption: \"\",\r\n urlHotelSearch: \"hotelinfo\",\r\n type2: 0,\r\n noResults: false,\r\n filter3: \"all\",\r\n isSearching: false,\r\n };\r\n this.getOptions = debounce(this.getOptions.bind(this), 350);\r\n this.onInputChange = this.onInputChange.bind(this);\r\n this.downshiftOnChange = this.downshiftOnChange.bind(this);\r\n }\r\n\r\n componentDidMount() {\r\n //this.axiosCancelSource = axios.CancelToken.source()\r\n }\r\n\r\n onInputChange = e => {\r\n try {\r\n let inputValue = e.target.value;\r\n let filteredValue = inputValue.replace(/[^0-9a-z ']/gi, \"\");\r\n this.setState({ inputValue: filteredValue });\r\n this.getOptions(filteredValue);\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n };\r\n\r\n checkType(type) {\r\n //console.log(type);\r\n try {\r\n if (type === \"mbt\") {\r\n this.setState({ type: \"mbt\" });\r\n this.setState({ urlHotelSearch: \"mbthotelinfo\" });\r\n this.setState({ type2: 1 });\r\n } else if (type === \"hotel\") {\r\n this.setState({ type: \"monthly\" });\r\n this.setState({ urlHotelSearch: \"hotelinfo\" });\r\n this.setState({ type2: 0 });\r\n }\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n }\r\n\r\n // Takes in the name and set's the state of the selected elements name\r\n handleChange = name => event => {\r\n this.setState({\r\n [name]: event.target.value,\r\n });\r\n this.checkType(event.target.value);\r\n };\r\n\r\n // for info button\r\n handleClickOpen = () => {\r\n this.setState({\r\n open: true,\r\n });\r\n };\r\n\r\n handleClose = () => {\r\n this.setState({ open: false });\r\n };\r\n\r\n downshiftOnChange(inputValue) {\r\n this.setState({ selectedItem: inputValue });\r\n\r\n // first check if 'property' was checked\r\n try {\r\n if (inputValue.location_name) {\r\n this.props.history.push(\r\n `/stt/${this.state.urlHotelSearch}/${inputValue.location_name\r\n .trim()\r\n .replace(\"/\", \"(slash)\")\r\n .replace(\"#\", \"(hash)\")}/${inputValue.taxpayer_number}/${\r\n inputValue.location_number\r\n }`\r\n );\r\n } else if (inputValue.zipcodes) {\r\n this.props.history.push({\r\n pathname: `/stt/results/${this.state.type}/zip/${inputValue.zipcodes}`,\r\n });\r\n } else if (inputValue.cities) {\r\n this.props.history.push({\r\n pathname: `/stt/results/${this.state.type}/city/${inputValue.cities}`,\r\n });\r\n } else if (inputValue.counties) {\r\n this.props.history.push({\r\n pathname: `/stt/results/${this.state.type}/county/${inputValue.counties}`,\r\n });\r\n }\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n }\r\n\r\n mapOptionsToValues = options => {\r\n let firstOption = [];\r\n let mergedOptions;\r\n\r\n try {\r\n if (options.zipcodes.length > 0) {\r\n firstOption.push({ zipcodes: options.zipcodes });\r\n }\r\n if (options.cities.length > 0) {\r\n firstOption.push({ cities: options.cities });\r\n }\r\n if (options.counties.length > 0) {\r\n firstOption.push({ counties: options.counties });\r\n }\r\n\r\n //console.log(firstOption);\r\n if (firstOption.length === 0) {\r\n this.setState({ noResults: true });\r\n this.setState({ isSearching: false });\r\n }\r\n // push all properties\r\n firstOption.push(options.properties);\r\n mergedOptions = [].concat.apply([], firstOption);\r\n //mergedOptions = [mergedOptions, ...firstOption];\r\n this.setState({ options: mergedOptions });\r\n\r\n return mergedOptions;\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n };\r\n\r\n async getOptions(inputValue) {\r\n //this.axiosCancelSource.cancel('Component unmounted.')\r\n\r\n const minimumInput = 3;\r\n //const noResults = -1;\r\n\r\n if (\r\n inputValue.trim().length < minimumInput &&\r\n this.state.inputValue.length < minimumInput\r\n ) {\r\n this.setState({\r\n options: [],\r\n noResults: false,\r\n isSearching: false,\r\n });\r\n } else {\r\n this.setState({ isSearching: true });\r\n\r\n try {\r\n this.setState({\r\n errormsg1: false,\r\n errormsg2: false,\r\n errormsg3: false,\r\n });\r\n const res = await get(\r\n `${apiUrl}/rest/search/${this.state.filter2}/${this.state.filter3}/${inputValue}/`\r\n );\r\n this.mapOptionsToValues(res.data);\r\n this.setState({ isSearching: false });\r\n } catch (err) {\r\n if (err.config) {\r\n handleError(err, pathname);\r\n this.setState({ errormsg3: true });\r\n }\r\n }\r\n }\r\n }\r\n\r\n render() {\r\n let errormsg1;\r\n if (this.state.errormsg1 === true) {\r\n errormsg1 = (\r\n \r\n Input too short. Please Enter full property Name, Zip, or City.\r\n \r\n );\r\n }\r\n\r\n let errormsg2;\r\n if (this.state.errormsg2 === true) {\r\n errormsg2 = (\r\n Input field must not be blank.\r\n );\r\n }\r\n\r\n let errormsg3;\r\n if (this.state.errormsg3 === true) {\r\n errormsg2 = (\r\n Could not get response from server.\r\n );\r\n }\r\n\r\n // styling\r\n const { classes } = this.props;\r\n // state variables\r\n const { selectedItem, options } = this.state;\r\n\r\n return (\r\n \r\n \r\n
\r\n \r\n {\" \"}\r\n \r\n Speed Search\r\n {\" \"}\r\n \r\n BETA\r\n
\r\n \r\n First select an option:\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {/*
*/}\r\n \r\n \r\n item\r\n ? item.location_name || item.zip || item.city || item.county\r\n : \"\"\r\n }\r\n selectedItem={selectedItem}\r\n defaultHighlightedIndex={0}\r\n inputValue={this.state.inputValue}\r\n // isOpen={true}\r\n >\r\n {({\r\n selectedItem,\r\n getInputProps,\r\n getItemProps,\r\n isOpen,\r\n highlightedIndex,\r\n }) => (\r\n //
\r\n
\r\n {renderInput({\r\n fullWidth: true,\r\n variant: \"outlined\",\r\n error: this.state.errormsg2 || this.state.errormsg1,\r\n classes,\r\n InputProps: getInputProps({\r\n // value: this.state.selectedItem,\r\n onChange: this.onInputChange,\r\n onKeyDown: event => {\r\n if (event.key === \"Enter\") {\r\n if (this.state.inputValue.trim() === \"\") {\r\n this.setState({ errormsg2: true });\r\n } else if (this.state.inputValue.trim().length < 3) {\r\n this.setState({ errormsg1: true });\r\n }\r\n }\r\n },\r\n }),\r\n label: \"Start typing a name, ZIP, city, or county\",\r\n })}\r\n {isOpen ? (\r\n \r\n \r\n {this.state.isSearching === true ? (\r\n \r\n Searching...\r\n \r\n ) : (\r\n options.slice(0, 10).map((item, index) => (\r\n \r\n \r\n \r\n {item.zipcodes ? (\r\n \r\n Search all properties in '\r\n \r\n {item.zipcodes}\r\n \r\n ' ?\r\n \r\n ) : null}\r\n {item.cities ? (\r\n \r\n Search all properties in City of{\" \"}\r\n \r\n '\r\n \r\n {item.cities}\r\n \r\n '?\r\n \r\n \r\n \r\n ) : null}\r\n {item.location_name ? (\r\n
\r\n \r\n \r\n {item.location_name}\r\n \r\n \r\n \r\n {item.address},\r\n \r\n {item.city},\r\n {item.state}\r\n \r\n {\" \"}\r\n {item.zip} -{\" \"}\r\n {item.status === \"1\" ? (\r\n \r\n \r\n {\" \"}\r\n Current{\" \"}\r\n \r\n \r\n ) : (\r\n \r\n \r\n {\" \"}\r\n Permit Ended{\" \"}\r\n \r\n \r\n \r\n {\" \"}\r\n (\r\n {\r\n item.responsibility_end_date\r\n }\r\n )\r\n \r\n {\" \"}\r\n \r\n )}\r\n \r\n \r\n \r\n
\r\n ) : null}\r\n {item.counties ? (\r\n \r\n Search all properties in County of{\" \"}\r\n \r\n '\r\n \r\n {item.counties}\r\n \r\n '?\r\n \r\n \r\n ) : null}\r\n \r\n \r\n
\r\n
\r\n ))\r\n )}\r\n {this.state.noResults === true &&\r\n options.length === 0 ? (\r\n \r\n \r\n No Results Found.\r\n \r\n \r\n ) : null}\r\n
\r\n
\r\n ) : null}\r\n
\r\n )}\r\n \r\n

{errormsg2}

\r\n

{errormsg1}

\r\n

{errormsg3}

\r\n \r\n \r\n \r\n \r\n \r\n We can possibly put additional info?\r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nexport default withRouter(\r\n withStyles(styles, { withTheme: true })(SingleSearch)\r\n);\r\n","import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\nimport { withStyles } from \"@material-ui/core/styles\";\r\nimport SearchBox from \"./SearchBox\";\r\nimport RecentlyViewed from \"./RecentlyViewed\";\r\nimport Grid from \"@material-ui/core/Grid\";\r\nimport SingleSearch from \"./SingleSearch\";\r\n\r\nconst styles = theme => ({\r\n root: {\r\n ...theme.mixins.gutters(),\r\n paddingTop: theme.spacing(2),\r\n paddingBottom: theme.spacing(2),\r\n },\r\n});\r\nclass Search extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n querySearchBox: \"\",\r\n // querySearchBox1: \"\",\r\n viewTable: false,\r\n viewMBTTable: false,\r\n latestTime: \"\",\r\n };\r\n //console.log(\"Search props\");\r\n //console.log(this.props);\r\n }\r\n\r\n componentDidMount() {\r\n document.title = \"Search - Search Texas Tax\";\r\n }\r\n\r\n // GETTABLE AXIOS URL -- GETMBTTABLE.Js\r\n // `https://appnode.searchtexastax.com/rest${this.props.queryFromSearch1}`\r\n\r\n render() {\r\n return (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n );\r\n }\r\n}\r\n\r\nSearch.propTypes = {\r\n classes: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default withStyles(styles)(Search);\r\n","/* eslint-disable no-new-object */\r\nimport React from \"react\";\r\nimport axios from \"axios\";\r\nimport MaterialTable from \"material-table\";\r\nimport { Link } from \"react-router-dom\";\r\nimport Grid from \"@material-ui/core/Grid\";\r\nimport Button from \"@material-ui/core/Button\";\r\nimport { CSVLink } from \"react-csv\";\r\nimport Icon from \"@material-ui/core/Icon\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport { apiUrl } from \"../helpers\";\r\nimport { handleError } from \"../utils/errorHandling/errorHelper\";\r\nimport { withStyles } from \"@material-ui/core/styles\";\r\n\r\nlet pathname = window.location.pathname;\r\n\r\nconst styles = theme => ({\r\n root: {\r\n display: \"flex\",\r\n flexDirection: \"column\",\r\n alignItems: \"center\",\r\n height: 350,\r\n paddingTop: 100,\r\n },\r\n});\r\n\r\nclass GetDataTable extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n posts: [],\r\n token: \"\",\r\n getposts: [],\r\n isLoading: true,\r\n noOptions: false,\r\n displayMessage: \"SEARCHING...\",\r\n };\r\n //console.log(\"this is the getdata table props\");\r\n //console.log(this.props);\r\n }\r\n\r\n // on component initialization, get results and save to state as array of objects -- posts & getPosts\r\n componentDidMount() {\r\n axios\r\n .get(\r\n `${apiUrl}/rest/${this.props.match.params.type}/${this.props.match.params.month}/${this.props.match.params.year}/${this.props.match.params.item}/${this.props.match.params.itemvalue}`,\r\n {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n }\r\n )\r\n .then(res => {\r\n const posts = res.data;\r\n //console.log(\"this is the data that the table is receiveing from query\")\r\n //console.log(posts);\r\n var getposts = [];\r\n for (var i = 0; i < posts.length; i++) {\r\n getposts.push(new Object());\r\n getposts[i].date = posts[i].date;\r\n getposts[i].filer_type = posts[i].filer_type;\r\n getposts[i].taxpayer_name = posts[i].taxpayer_name;\r\n getposts[i].taxpayer_address = posts[i].taxpayer_address;\r\n getposts[i].taxpayer_number = posts[i].taxpayer_number;\r\n getposts[i].taxpayer_city = posts[i].taxpayer_city;\r\n getposts[i].taxpayer_phone = posts[i].taxpayer_phone;\r\n getposts[i].obligation_end_date = posts[i].obligation_end_date;\r\n getposts[i].responsibility_begin_date =\r\n posts[i].responsibility_begin_date;\r\n getposts[i].responsibility_end_date =\r\n posts[i].responsibility_end_date;\r\n getposts[i].location_name = posts[i].location_name;\r\n getposts[i].location_phone = posts[i].location_phone;\r\n getposts[i].location_address = posts[i].location_address;\r\n getposts[i].location_city = posts[i].location_city;\r\n getposts[i].location_county = posts[i].verified_county;\r\n getposts[i].location_zip = posts[i].location_zip;\r\n getposts[i].room_receipts = posts[i].room_receipts;\r\n getposts[i].taxable_receipts = posts[i].taxable_receipts;\r\n getposts[i].RevPAR = posts[i].RevPAR;\r\n getposts[i].room_capacity = posts[i].room_capacity;\r\n getposts[i].month = posts[i].month;\r\n getposts[i].year = posts[i].year;\r\n }\r\n // console.log(getposts);\r\n // the the state to array of objects\r\n if (getposts.length === 0 || getposts) {\r\n this.setState({ displayMessage: \"No Records Found.\" });\r\n }\r\n this.setState({ getposts: getposts });\r\n this.setState({ posts: posts });\r\n this.setState({ isLoading: false });\r\n })\r\n .catch(e => {\r\n this.setState({ isLoading: false });\r\n handleError(e, pathname);\r\n //window.location.replace('/login');\r\n });\r\n }\r\n\r\n componentDidUpdate(nextProps) {\r\n if (nextProps.queryFromSearch !== this.props.queryFromSearch) {\r\n axios\r\n .get(this.props.queryFromSearch, {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n const posts = res.data;\r\n var getposts = [];\r\n try {\r\n for (var i = 0; i < posts.length; i++) {\r\n getposts.push(new Object());\r\n getposts[i].date = posts[i].date;\r\n getposts[i].filer_type = posts[i].filer_type;\r\n getposts[i].taxpayer_name = posts[i].taxpayer_name;\r\n getposts[i].taxpayer_address = posts[i].taxpayer_address;\r\n getposts[i].taxpayer_number = posts[i].taxpayer_number;\r\n getposts[i].taxpayer_city = posts[i].taxpayer_city;\r\n getposts[i].taxpayer_phone = posts[i].taxpayer_phone;\r\n getposts[i].obligation_end_date = posts[i].obligation_end_date;\r\n getposts[i].responsibility_begin_date =\r\n posts[i].responsibility_begin_date;\r\n getposts[i].responsibility_end_date =\r\n posts[i].responsibility_end_date;\r\n getposts[i].location_name = posts[i].location_name;\r\n getposts[i].location_phone = posts[i].location_phone;\r\n getposts[i].location_address = posts[i].location_address;\r\n getposts[i].location_city = posts[i].location_city;\r\n getposts[i].location_county = posts[i].verified_county;\r\n getposts[i].location_zip = posts[i].location_zip;\r\n getposts[i].room_receipts = posts[i].room_receipts;\r\n getposts[i].taxable_receipts = posts[i].taxable_receipts;\r\n getposts[i].RevPAR = posts[i].RevPAR;\r\n getposts[i].room_capacity = posts[i].room_capacity;\r\n getposts[i].month = posts[i].month;\r\n getposts[i].year = posts[i].year;\r\n }\r\n this.setState({\r\n getposts,\r\n posts,\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n //window.location.replace('/login');\r\n });\r\n }\r\n }\r\n\r\n render() {\r\n const { classes } = this.props;\r\n //const columns = [\"Name\", \"Location City\", \"Total Revenue\", \"Taxable Revenue\"];\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n {\r\n return (\r\n \r\n {rowData.location_name}\r\n \r\n );\r\n },\r\n type: \"html\",\r\n },\r\n {\r\n title: \"TaxPayer Number\",\r\n field: \"taxpayer_number\",\r\n hidden: true,\r\n },\r\n { title: \"TaxPayer Name\", field: \"taxpayer_name\", hidden: true },\r\n { title: \"Address\", field: \"location_address\" },\r\n {\r\n title: \"City\",\r\n render: rowData => {\r\n return (\r\n window.scrollTo(0, 0)}\r\n >\r\n {rowData.location_city}\r\n \r\n );\r\n },\r\n },\r\n {\r\n title: \"County\",\r\n render: rowData => {\r\n return (\r\n window.scrollTo(0, 0)}\r\n >\r\n {rowData.verified_county}\r\n \r\n );\r\n },\r\n },\r\n { title: \"Zip\", field: \"location_zip\" },\r\n { title: \"Year\", field: \"year\", type: \"numeric\", hidden: true },\r\n {\r\n title: \"Total Revenue\",\r\n field: \"room_receipts\",\r\n type: \"html\",\r\n render: rowData => {\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.room_receipts\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"Taxable Revenue\",\r\n field: \"taxable_receipts\",\r\n type: \"html\",\r\n render: rowData => {\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.taxable_receipts\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"RevPAR\",\r\n field: \"RevPAR\",\r\n type: \"html\",\r\n render: rowData => {\r\n return
$ {rowData.RevPAR}
;\r\n },\r\n },\r\n {\r\n title: \"Total Number of Rooms\",\r\n field: \"room_capacity\",\r\n type: \"numeric\",\r\n },\r\n ]}\r\n data={this.state.posts}\r\n title=\"Hotel Search Results\"\r\n options={{\r\n columnsButton: true,\r\n pageSizeOptions: [10, 20, 50, 100],\r\n pageSize: 10,\r\n search: true,\r\n showEmptyDataSourceMessage: true,\r\n actionsColumnIndex: 10,\r\n loadingType: \"linear\",\r\n //maxBodyHeight: 800\r\n }}\r\n localization={{\r\n body: {\r\n emptyDataSourceMessage: this.state.displayMessage,\r\n },\r\n }}\r\n //isLoading={this.state.isLoading}\r\n />\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default withRouter(withStyles(styles)(GetDataTable));\r\n","import React from \"react\";\r\nimport axios from \"axios\";\r\nimport MaterialTable from \"material-table\";\r\nimport { Link } from \"react-router-dom\";\r\nimport Grid from \"@material-ui/core/Grid\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport Button from \"@material-ui/core/Button\";\r\nimport { CSVLink } from \"react-csv\";\r\nimport Icon from \"@material-ui/core/Icon\";\r\nimport { withStyles } from \"@material-ui/core/styles\";\r\nimport { apiUrl } from \"../helpers\";\r\nimport { handleError } from \"../utils/errorHandling/errorHelper\";\r\n\r\nlet pathname = window.location.pathname;\r\n\r\nconst styles = theme => ({\r\n root: {\r\n display: \"flex\",\r\n flexDirection: \"column\",\r\n alignItems: \"center\",\r\n height: 350,\r\n paddingTop: 100,\r\n },\r\n});\r\n\r\nclass GetMBTTable extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n //console.log(\"this is props gtom mbt table\");\r\n //console.log(props);\r\n this.state = {\r\n posts: [],\r\n token: \"\",\r\n postscity: \"\",\r\n isLoading: true,\r\n displayMessage: \"SEARCHING...\",\r\n //query: this.props.queryFromSearch1\r\n };\r\n }\r\n\r\n // ${apiUrl}/rest/monthly/2/2015/city/harlingen\r\n componentDidMount() {\r\n axios\r\n .get(\r\n `${apiUrl}/rest/${this.props.match.params.type}/${this.props.match.params.month}/${this.props.match.params.year}/${this.props.match.params.item}/${this.props.match.params.itemvalue}`,\r\n {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n }\r\n )\r\n .then(res => {\r\n try {\r\n const posts = res.data;\r\n if (posts.length === 0 || posts) {\r\n this.setState({ displayMessage: \"No Records Found.\" });\r\n }\r\n this.setState({\r\n postscity: posts[0].location_city,\r\n posts,\r\n isLoading: false,\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n })\r\n .catch(e => {\r\n this.setState({ isLoading: false });\r\n handleError(e, pathname);\r\n // window.location.replace('/login');\r\n });\r\n }\r\n\r\n render() {\r\n const { classes } = this.props;\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n return (\r\n \r\n {rowData.location_name}\r\n \r\n );\r\n },\r\n type: \"html\",\r\n },\r\n { title: \"Address\", field: \"location_address\" },\r\n {\r\n title: \"City\",\r\n render: rowData => {\r\n return (\r\n \r\n {rowData.location_city}\r\n \r\n );\r\n },\r\n },\r\n {\r\n title: \"County\",\r\n render: rowData => {\r\n return (\r\n \r\n {rowData.verified_county}\r\n \r\n );\r\n },\r\n },\r\n { title: \"Zip\", field: \"location_zip\", hidden: true },\r\n { title: \"Year\", field: \"year\", type: \"numeric\", hidden: true },\r\n { title: \"Wine Receipts\", field: \"wine_receipts\", type: \"numeric\" },\r\n {\r\n title: \"Liquor Receipts\",\r\n field: \"liquor_receipts\",\r\n type: \"numeric\",\r\n },\r\n { title: \"Beer Receipts\", field: \"beer_receipts\", type: \"numeric\" },\r\n {\r\n title: \"Total Revenue\",\r\n field: \"total_receipts\",\r\n type: \"html\",\r\n render: rowData => {\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.total_receipts\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n ]}\r\n data={this.state.posts}\r\n title=\"MBT Search Results\"\r\n options={{\r\n pageSizeOptions: [10, 20, 50, 100],\r\n columnsButton: true,\r\n pageSize: 10,\r\n search: true,\r\n showEmptyDataSourceMessage: true,\r\n actionsColumnIndex: 10,\r\n loadingType: \"linear\",\r\n //maxBodyHeight: 800\r\n }}\r\n localization={{\r\n body: {\r\n emptyDataSourceMessage: this.state.displayMessage,\r\n },\r\n }}\r\n />\r\n
\r\n );\r\n }\r\n}\r\nexport default withRouter(withStyles(styles)(GetMBTTable));\r\n","import React, { Component } from 'react';\r\nimport RecentlyViewed from './RecentlyViewed';\r\nimport GetDataTable from './GetDataTable';\r\nimport GetMBTTable from './GetMBTTable';\r\nimport ReactGA from 'react-ga';\r\n\r\n\r\nclass SearchResults extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n //querySearchBox: props.location.state.query,\r\n // querySearchBox1: \"\",\r\n // viewTable : false,\r\n // viewMBTTable: false,\r\n // hideSearches: true\r\n };\r\n };\r\n\r\n componentDidMount() {\r\n //let searchItem = this.props.match.params.item;\r\n let searchValue = this.props.match.params.itemvalue;\r\n document.title = `Search Results ${searchValue.toUpperCase()}, TX - Search Texas Tax`;\r\n ReactGA.initialize('UA-80211377-3');\r\n ReactGA.pageview(window.location.pathname);\r\n }\r\n\r\n render() {\r\n\r\n return (\r\n
\r\n {this.props.match.params.type === \"mbt\" ?\r\n :\r\n \r\n }\r\n
\r\n \r\n
\r\n )\r\n }\r\n}\r\nexport default SearchResults;\r\n","/* eslint-disable no-new-object */\r\nimport React, { useContext } from \"react\";\r\nimport axios from \"axios\";\r\nimport MaterialTable from \"material-table\";\r\nimport { Link } from \"react-router-dom\";\r\nimport Grid from \"@material-ui/core/Grid\";\r\nimport Button from \"@material-ui/core/Button\";\r\nimport { CSVLink } from \"react-csv\";\r\nimport Icon from \"@material-ui/core/Icon\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport { withStyles } from \"@material-ui/core/styles\";\r\nimport { apiUrl } from \"../helpers\";\r\nimport { handleError } from \"../utils/errorHandling/errorHelper\";\r\n\r\nlet pathname = window.location.pathname;\r\n\r\nconst styles = theme => ({\r\n root: {\r\n display: \"flex\",\r\n flexDirection: \"column\",\r\n alignItems: \"center\",\r\n height: 350,\r\n paddingTop: 100,\r\n },\r\n});\r\n\r\nclass GetUniDataTable extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n posts: [],\r\n token: \"\",\r\n getposts: [],\r\n isLoading: true,\r\n noOptions: false,\r\n displayMessage: \"SEARCHING...\",\r\n };\r\n }\r\n\r\n // on component initialization, get results and save to state as array of objects -- posts & getPosts\r\n componentDidMount() {\r\n axios\r\n .get(\r\n `${apiUrl}/rest/search/${this.props.match.params.type}/${this.props.match.params.item}/${this.props.match.params.itemvalue}`,\r\n {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n }\r\n )\r\n .then(res => {\r\n try {\r\n const posts = res.data;\r\n var getposts = [];\r\n for (var i = 0; i < posts.length; i++) {\r\n getposts.push(new Object());\r\n getposts[i].date = posts[i].date;\r\n getposts[i].filer_type = posts[i].filer_type;\r\n getposts[i].taxpayer_name = posts[i].taxpayer_name;\r\n getposts[i].taxpayer_address = posts[i].taxpayer_address;\r\n getposts[i].taxpayer_number = posts[i].taxpayer_number;\r\n getposts[i].taxpayer_city = posts[i].taxpayer_city;\r\n getposts[i].taxpayer_phone = posts[i].taxpayer_phone;\r\n getposts[i].obligation_end_date = posts[i].obligation_end_date;\r\n getposts[i].responsibility_begin_date =\r\n posts[i].responsibility_begin_date;\r\n getposts[i].responsibility_end_date =\r\n posts[i].responsibility_end_date;\r\n getposts[i].location_name = posts[i].location_name;\r\n getposts[i].location_phone = posts[i].location_phone;\r\n getposts[i].location_address = posts[i].location_address;\r\n getposts[i].location_city = posts[i].location_city;\r\n getposts[i].location_county = posts[i].verified_county;\r\n getposts[i].location_zip = posts[i].location_zip;\r\n getposts[i].room_receipts = posts[i].room_receipts;\r\n getposts[i].taxable_receipts = posts[i].taxable_receipts;\r\n getposts[i].RevPAR = posts[i].RevPAR;\r\n getposts[i].room_capacity = posts[i].room_capacity;\r\n getposts[i].month = posts[i].month;\r\n getposts[i].year = posts[i].year;\r\n }\r\n // console.log(getposts);\r\n // the the state to array of objects\r\n if (getposts.length === 0 || getposts) {\r\n this.setState({ displayMessage: \"No Records Found.\" });\r\n }\r\n this.setState({\r\n getposts,\r\n posts,\r\n isLoading: false,\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n })\r\n .catch(e => {\r\n this.setState({ isLoading: false });\r\n handleError(e, pathname);\r\n // window.location.replace('/login');\r\n });\r\n }\r\n\r\n componentDidUpdate(nextProps) {\r\n if (nextProps.queryFromSearch !== this.props.queryFromSearch) {\r\n axios\r\n .get(this.props.queryFromSearch, {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n ////console.log(res);\r\n try {\r\n const posts = res.data;\r\n\r\n var getposts = [];\r\n for (var i = 0; i < posts.length; i++) {\r\n getposts.push(new Object());\r\n getposts[i].date = posts[i].date;\r\n getposts[i].filer_type = posts[i].filer_type;\r\n getposts[i].taxpayer_name = posts[i].taxpayer_name;\r\n getposts[i].taxpayer_address = posts[i].taxpayer_address;\r\n getposts[i].taxpayer_number = posts[i].taxpayer_number;\r\n getposts[i].taxpayer_city = posts[i].taxpayer_city;\r\n getposts[i].taxpayer_phone = posts[i].taxpayer_phone;\r\n getposts[i].obligation_end_date = posts[i].obligation_end_date;\r\n getposts[i].responsibility_begin_date =\r\n posts[i].responsibility_begin_date;\r\n getposts[i].responsibility_end_date =\r\n posts[i].responsibility_end_date;\r\n getposts[i].location_name = posts[i].location_name;\r\n getposts[i].location_phone = posts[i].location_phone;\r\n getposts[i].location_address = posts[i].location_address;\r\n getposts[i].location_city = posts[i].location_city;\r\n getposts[i].location_county = posts[i].verified_county;\r\n getposts[i].location_zip = posts[i].location_zip;\r\n getposts[i].room_receipts = posts[i].room_receipts;\r\n getposts[i].taxable_receipts = posts[i].taxable_receipts;\r\n getposts[i].RevPAR = posts[i].RevPAR;\r\n getposts[i].room_capacity = posts[i].room_capacity;\r\n getposts[i].month = posts[i].month;\r\n getposts[i].year = posts[i].year;\r\n }\r\n //console.log(getposts);\r\n this.setState({\r\n getposts,\r\n posts,\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n //window.location.replace('/login');\r\n });\r\n }\r\n }\r\n\r\n render() {\r\n const { classes } = this.props;\r\n //const columns = [\"Name\", \"Location City\", \"Total Revenue\", \"Taxable Revenue\"];\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n {\r\n return (\r\n \r\n {rowData.name}\r\n \r\n );\r\n },\r\n type: \"html\",\r\n },\r\n {\r\n title: \"TaxPayer Number\",\r\n field: \"taxpayer_number\",\r\n hidden: true,\r\n },\r\n // { title: 'TaxPayer Name', field: 'taxpayer_name', hidden: true },\r\n { title: \"Address\", field: \"address\" },\r\n {\r\n title: \"City\",\r\n render: rowData => {\r\n return (\r\n window.scrollTo(0, 0)}\r\n >\r\n {rowData.city}\r\n \r\n );\r\n },\r\n },\r\n {\r\n title: \"County\",\r\n render: rowData => {\r\n return (\r\n window.scrollTo(0, 0)}\r\n >\r\n {rowData.county}\r\n \r\n );\r\n },\r\n },\r\n { title: \"Zip\", field: \"zip\" },\r\n ]}\r\n data={this.state.posts}\r\n title=\"Hotel Search Results\"\r\n options={{\r\n //sorting: true,\r\n columnsButton: true,\r\n pageSizeOptions: [10, 50, 100],\r\n pageSize: 10,\r\n search: true,\r\n showEmptyDataSourceMessage: true,\r\n actionsColumnIndex: 10,\r\n loadingType: \"linear\",\r\n }}\r\n localization={{\r\n body: {\r\n emptyDataSourceMessage: this.state.displayMessage,\r\n },\r\n }}\r\n //isLoading={this.state.isLoading}\r\n />\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default withRouter(withStyles(styles)(GetUniDataTable));\r\n","import React from \"react\";\r\nimport axios from \"axios\";\r\nimport MaterialTable from \"material-table\";\r\nimport { Link } from \"react-router-dom\";\r\nimport Grid from \"@material-ui/core/Grid\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport Button from \"@material-ui/core/Button\";\r\nimport { CSVLink } from \"react-csv\";\r\nimport Icon from \"@material-ui/core/Icon\";\r\nimport { withStyles } from \"@material-ui/core/styles\";\r\nimport { apiUrl } from \"../helpers\";\r\nimport { handleError } from \"../utils/errorHandling/errorHelper\";\r\n\r\nlet pathname = window.location.pathname;\r\n\r\nconst styles = theme => ({\r\n root: {\r\n display: \"flex\",\r\n flexDirection: \"column\",\r\n alignItems: \"center\",\r\n height: 350,\r\n paddingTop: 100,\r\n },\r\n});\r\n\r\nclass GetUniMBTTable extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n //console.log(\"this is props gtom mbt table\");\r\n //console.log(props);\r\n this.state = {\r\n posts: [],\r\n token: \"\",\r\n postscity: \"\",\r\n isLoading: true,\r\n displayMessage: \"SEARCHING...\",\r\n //query: this.props.queryFromSearch1\r\n };\r\n\r\n //console.log(\"this is the query from search\");\r\n //console.log(this.props.queryFromSearch1);\r\n }\r\n\r\n // ${apiUrl}/rest/monthly/2/2015/city/harlingen\r\n // ${apiUrl}/rest/\r\n componentDidMount() {\r\n //console.log(`${this.props.match.params.month}/${this.props.match.params.year}/${this.props.match.params.item}/${this.props.match.params.itemvalue}`);\r\n axios\r\n .get(\r\n `${apiUrl}/rest/search/${this.props.match.params.type}/${this.props.match.params.item}/${this.props.match.params.itemvalue}`,\r\n {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n }\r\n )\r\n .then(res => {\r\n try {\r\n const posts = res.data;\r\n if (posts.length === 0 || posts) {\r\n this.setState({ displayMessage: \"No Records Found.\" });\r\n }\r\n this.setState({\r\n postscity: posts[0].location_city,\r\n posts,\r\n isLoading: false,\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n })\r\n .catch(e => {\r\n this.setState({ isLoading: false });\r\n handleError(e, pathname);\r\n //window.location.replace('/login');\r\n });\r\n }\r\n\r\n // make an url listener method and then pass to the did update???\r\n\r\n componentDidUpdate(nextProps, newUrl) {\r\n // console.log(\"this is next props\");\r\n // console.log(nextProps);\r\n // console.log(\"this is next props location\");\r\n // console.log(nextProps.location)\r\n //console.log(\"nextprops\" +nextProps.queryFromSearch);\r\n // if (nextProps.queryFromSearch1 !== this.props.queryFromSearch1) {\r\n // axios.get(this.props.queryFromSearch1,\r\n // {\r\n // headers: {\r\n // authorization: 'Bearer ' + localStorage.getItem('token') //the token is a variable which holds the token\r\n // }\r\n // }).then(res => {\r\n // //console.log(res);\r\n // const posts = res.data;\r\n // this.setState({ posts: posts });\r\n // }).catch(e => {\r\n // console.log(e);\r\n // });\r\n // }\r\n }\r\n\r\n // handleClick(taxpayer_number, location_number, name, city, county) {\r\n // ////console.log(taxpayer_number);\r\n // axios({\r\n // method: 'post',\r\n // headers: { authorization: 'Bearer ' + localStorage.getItem('token') },\r\n // url: '${apiUrl}/rest/history',\r\n // data: { taxpayer_number: taxpayer_number, location_number: location_number, location_name: name, location_city: city, location_county: county, type: 1 }\r\n // })\r\n // .then((res) => {\r\n // //console.log(res);\r\n // }).catch(e => {\r\n // console.log(e);\r\n // axios({\r\n // method: 'post',\r\n // headers: { authorization: 'Bearer ' + localStorage.getItem('token') },\r\n // url: '${apiUrl}/rest/errorlog',\r\n // data: { error: e, url: window.location.href }\r\n // }).then((res) => {\r\n // console.log(res);\r\n // })\r\n // });\r\n // }\r\n\r\n render() {\r\n const { classes } = this.props;\r\n\r\n return (\r\n //
\r\n // \r\n // \r\n // \r\n //
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n return (\r\n \r\n {rowData.name}\r\n \r\n );\r\n },\r\n type: \"html\",\r\n },\r\n {\r\n title: \"TaxPayer Number\",\r\n field: \"taxpayer_number\",\r\n hidden: true,\r\n },\r\n { title: \"Address\", field: \"address\" },\r\n {\r\n title: \"City\",\r\n render: rowData => {\r\n return (\r\n \r\n {rowData.city}\r\n \r\n );\r\n },\r\n },\r\n {\r\n title: \"County\",\r\n render: rowData => {\r\n return (\r\n \r\n {rowData.county}\r\n \r\n );\r\n },\r\n },\r\n { title: \"Zip\", field: \"zip\", hidden: false },\r\n ]}\r\n data={this.state.posts}\r\n title=\"MBT Search Results\"\r\n options={{\r\n columnsButton: true,\r\n pageSize: 10,\r\n pageSizeOptions: [10, 20, 50, 100],\r\n search: true,\r\n showEmptyDataSourceMessage: true,\r\n actionsColumnIndex: 10,\r\n loadingType: \"linear\",\r\n //maxBodyHeight: 800\r\n }}\r\n localization={{\r\n body: {\r\n emptyDataSourceMessage: this.state.displayMessage,\r\n },\r\n }}\r\n />\r\n {/* {this.state.isLoading ?\r\n null :\r\n \r\n Searching timing\r\n \r\n } */}\r\n \r\n );\r\n }\r\n}\r\nexport default withRouter(withStyles(styles)(GetUniMBTTable));\r\n","import React, { Component } from 'react';\r\nimport RecentlyViewed from './RecentlyViewed';\r\nimport GetUniDataTable from './GetUniDataTable';\r\nimport GetUniMBTTable from './GetUniMBTTable';\r\nimport ReactGA from 'react-ga';\r\n\r\n\r\nclass SearchResults extends Component {\r\n\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n\r\n };\r\n\r\n };\r\n\r\n componentDidMount() {\r\n //let searchItem = this.props.match.params.item;\r\n let searchValue = this.props.match.params.itemvalue;\r\n document.title = `Search Results ${searchValue.toUpperCase()}, TX - Search Texas Tax`;\r\n ReactGA.initialize('UA-80211377-3');\r\n ReactGA.pageview(window.location.pathname);\r\n }\r\n\r\n render() {\r\n\r\n return (\r\n
\r\n {this.props.match.params.type === \"mbt\" ?\r\n :\r\n \r\n }\r\n
\r\n \r\n
\r\n )\r\n }\r\n}\r\nexport default SearchResults;","import React from \"react\";\r\nimport axios from \"axios\";\r\nimport MaterialTable from \"material-table\";\r\nimport { Link } from \"react-router-dom\";\r\nimport Paper from \"@material-ui/core/Paper\";\r\nimport PropTypes from \"prop-types\";\r\nimport { withStyles } from \"@material-ui/core/styles\";\r\nimport Grid from \"@material-ui/core/Grid\";\r\nimport Typography from \"@material-ui/core/Typography\";\r\nimport Tooltip from \"@material-ui/core/Tooltip\";\r\nimport MenuItem from \"@material-ui/core/MenuItem\";\r\nimport Menu from \"@material-ui/core/Menu\";\r\nimport AddIcon from \"@material-ui/icons/Add\";\r\nimport Button from \"@material-ui/core/Button\";\r\nimport TextField from \"@material-ui/core/TextField\";\r\nimport ReactGA from \"react-ga\";\r\nimport Avatar from \"@material-ui/core/Avatar\";\r\nimport DeleteIcon from \"@material-ui/icons/Delete\";\r\nimport IconButton from \"@material-ui/core/IconButton\";\r\nimport DialogTitle from \"@material-ui/core/DialogTitle\";\r\nimport Dialog from \"@material-ui/core/Dialog\";\r\nimport DialogActions from \"@material-ui/core/DialogActions\";\r\nimport DialogContent from \"@material-ui/core/DialogContent\";\r\nimport DialogContentText from \"@material-ui/core/DialogContentText\";\r\nimport { apiUrl } from \"../helpers\";\r\nimport { handleError } from \"../utils/errorHandling/errorHelper\";\r\nimport Fab from \"@material-ui/core/Fab\";\r\n\r\nlet pathname = window.location.pathname;\r\n\r\nconst styles = theme => ({\r\n root: {\r\n flexGrow: 1,\r\n backgroundColor: theme.palette.background.paper,\r\n },\r\n fab: {\r\n margin: theme.spacing(2),\r\n },\r\n avatar: {\r\n margin: 0,\r\n },\r\n pinkAvatar: {\r\n margin: 0,\r\n color: \"#fff\",\r\n backgroundColor: \"#d50000\",\r\n width: 50,\r\n height: 30,\r\n borderRadius: 5,\r\n fontSize: 13,\r\n },\r\n greenAvatar: {\r\n margin: 0,\r\n color: \"#fff\",\r\n backgroundColor: \"#0d47a1\",\r\n width: 50,\r\n height: 30,\r\n borderRadius: 5,\r\n fontSize: 12,\r\n },\r\n absolute: {\r\n backgroundColor: \"#d50000\",\r\n float: \"right\",\r\n \"&:hover\": {\r\n backgroundColor: \"#f44336\",\r\n },\r\n },\r\n});\r\nconst portfoliotypes = [\r\n {\r\n value: \"0\",\r\n label: \"Hotel\",\r\n },\r\n {\r\n value: \"1\",\r\n label: \"MBT\",\r\n },\r\n];\r\nclass Portfolio extends React.Component {\r\n constructor() {\r\n super();\r\n this.state = {\r\n posts: [],\r\n token: \"\",\r\n dataLoadingStatus: \"loading\",\r\n chartData: [],\r\n value: 0,\r\n type: \"0\",\r\n portfolio: \"\",\r\n errormsg: false,\r\n id: \"\",\r\n portfoliotypes: 0,\r\n open: false,\r\n pid: \"\",\r\n title: \"Create New Portfolio\",\r\n confirmDelete: false,\r\n nameValidation: false,\r\n label: \"Portfolio Name\",\r\n selectedItem: \"\",\r\n loading: true,\r\n displayMessage: \"SEARCHING...\",\r\n };\r\n\r\n this.toggleDeleteConfirm = this.toggleDeleteConfirm.bind(this);\r\n }\r\n\r\n handleChange = name => event => {\r\n try {\r\n let filterPercent = /%/;\r\n let test1 = filterPercent.test(event.target.value);\r\n if (test1) {\r\n this.setState({ nameValidation: true });\r\n } else {\r\n this.setState({\r\n [name]: event.target.value,\r\n });\r\n this.setState({ nameValidation: false });\r\n }\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n };\r\n\r\n handleClick() {\r\n if (this.state.portfolio === \"\") {\r\n this.setState({ errormsg: true });\r\n return;\r\n }\r\n axios({\r\n method: \"post\",\r\n url: `${apiUrl}/rest/portfolio/`,\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n data: { portfolio: this.state.portfolio, type: this.state.type },\r\n })\r\n .then(res => {\r\n try {\r\n if (res.data) {\r\n this.setState({ anchorEl: null });\r\n axios({\r\n method: \"get\",\r\n url: `${apiUrl}/rest/portfolio`,\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n const posts = res.data;\r\n this.setState({\r\n posts: posts,\r\n //loading: false\r\n });\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n });\r\n this.setState({ portfolio: null });\r\n this.setState({ type: 0 });\r\n this.setState({ title: \"Portfolio Created\" });\r\n setTimeout(\r\n function() {\r\n this.setState({ title: \"Create New Portfolio\" });\r\n }.bind(this),\r\n 5000\r\n );\r\n }\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n //window.location.replace('/logout');\r\n });\r\n }\r\n\r\n handleClickOpen = id => {\r\n this.setState({ open: true });\r\n };\r\n\r\n handleClickDelete() {\r\n this.setState({ confirmDelete: true });\r\n }\r\n\r\n toggleDeleteConfirm(id) {\r\n try {\r\n this.setState({ confirmDelete: !this.state.confirmDelete });\r\n let { posts } = this.state;\r\n posts.map(post => {\r\n if (post.id === id) {\r\n this.setState({ selectedItem: post });\r\n }\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n }\r\n\r\n handleConfirmedDelete(id) {\r\n try {\r\n this.setState({ confirmDelete: false });\r\n axios({\r\n method: \"delete\",\r\n url: `${apiUrl}/rest/portfolio`,\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n data: { id: id },\r\n })\r\n .then(res => {\r\n this.setState({ open: false });\r\n axios({\r\n method: \"get\",\r\n url: `${apiUrl}/rest/portfolio`,\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n const posts = res.data;\r\n this.setState({ posts: posts });\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n //window.location.replace('/logout');\r\n });\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n //window.location.replace('/logout');\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n }\r\n\r\n handleMenu = event => {\r\n this.setState({ anchorEl: event.currentTarget });\r\n };\r\n\r\n handleClose = () => {\r\n this.setState({ anchorEl: null });\r\n this.setState({ errormsg: false });\r\n this.setState({ portfolio: \"\" });\r\n this.setState({ type: \"0\" });\r\n this.setState({ open: false });\r\n };\r\n\r\n componentDidMount() {\r\n document.title = \"Portfolio - Search Texas Tax\";\r\n ReactGA.initialize(\"UA-80211377-3\");\r\n ReactGA.pageview(window.location.pathname);\r\n\r\n axios({\r\n method: \"get\",\r\n url: `${apiUrl}/rest/portfolio`,\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n if (res.data.length === 0) {\r\n this.setState({\r\n displayMessage: \"No Records Found.\",\r\n loading: false,\r\n });\r\n } else {\r\n const posts = res.data;\r\n this.setState({ posts: posts, loading: false });\r\n }\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n //window.location.replace('/logout');\r\n });\r\n }\r\n\r\n render() {\r\n const { classes } = this.props;\r\n const { anchorEl } = this.state;\r\n const open = Boolean(anchorEl);\r\n //const { value } = this.state;\r\n let errormsg;\r\n if (this.state.errormsg === true) {\r\n errormsg = (\r\n

Please Enter a portfolio name to create one.

\r\n );\r\n }\r\n\r\n return (\r\n //
\r\n \r\n \r\n \r\n
\r\n
\r\n

Portfolio

\r\n {/* Test */}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n Select a Portfolio that you would like to view below, or\r\n create a new portfolio by clicking on the Add icon.\r\n \r\n
\r\n \r\n {errormsg}\r\n \r\n\r\n \r\n {portfoliotypes.map(option => (\r\n \r\n {option.label}\r\n \r\n ))}\r\n \r\n
\r\n {\r\n this.handleClick();\r\n }}\r\n >\r\n Create\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n {\r\n return (\r\n \r\n {rowData.portfolio}\r\n \r\n );\r\n },\r\n },\r\n {\r\n title: \"Type\",\r\n render: rowData => {\r\n if (rowData.type === 0) {\r\n return (\r\n Hotel\r\n );\r\n } else {\r\n return MBT;\r\n }\r\n },\r\n },\r\n {\r\n title: \"Options\",\r\n render: rowData => {\r\n return (\r\n this.toggleDeleteConfirm(rowData.id)}\r\n >\r\n \r\n \r\n );\r\n },\r\n },\r\n ]}\r\n data={this.state.posts}\r\n title=\"Available Portfolios\"\r\n options={{\r\n pageSizeOptions: [10, 20, 50, 100],\r\n pageSize: 5,\r\n loadingType: \"linear\",\r\n }}\r\n localization={{\r\n body: {\r\n emptyDataSourceMessage: this.state.displayMessage,\r\n },\r\n }}\r\n // actions={[\r\n // {\r\n // icon: 'delete',\r\n // tooltip: 'Delete User',\r\n // onClick: (event, rowData) => this.handleConfirmedDelete( rowData.id)\r\n // }\r\n // ]}\r\n />\r\n \r\n\r\n \r\n\r\n \r\n {`Delete \"${this.state.selectedItem.portfolio}\" ?`}\r\n \r\n \r\n Once deleted the action cannot be undone. Still delete?\r\n \r\n \r\n \r\n \r\n \r\n this.handleConfirmedDelete(this.state.selectedItem.id)\r\n }\r\n color=\"primary\"\r\n autoFocus\r\n >\r\n Yes, Delete\r\n \r\n \r\n \r\n
\r\n );\r\n }\r\n}\r\nPortfolio.propTypes = {\r\n classes: PropTypes.object.isRequired,\r\n};\r\nexport default withStyles(styles)(Portfolio);\r\n","/* eslint-disable no-new-wrappers */\r\nexport const dollar = (number) => {\r\n\r\n\r\n\r\n var decimalplaces = 2;\r\n var decimalcharacter = \".\";\r\n var thousandseparater = \",\";\r\n number = parseFloat(number);\r\n\r\n var formatted = new String(number.toFixed(decimalplaces));\r\n if (decimalcharacter.length && decimalcharacter !== \".\") { formatted = formatted.replace(/\\./, decimalcharacter); }\r\n var integer = \"\";\r\n var fraction = \"\";\r\n var strnumber = new String(formatted);\r\n var dotpos = decimalcharacter.length ? strnumber.indexOf(decimalcharacter) : -1;\r\n if (dotpos > -1) {\r\n if (dotpos) { integer = strnumber.substr(0, dotpos); }\r\n fraction = strnumber.substr(dotpos + 1);\r\n }\r\n else { integer = strnumber; }\r\n if (integer) { integer = String(Math.abs(integer)); }\r\n while (fraction.length < decimalplaces) { fraction += \"0\"; }\r\n var temparray = [];\r\n while (integer.length > 3) {\r\n temparray.unshift(integer.substr(-3));\r\n integer = integer.substr(0, integer.length - 3);\r\n }\r\n temparray.unshift(integer);\r\n integer = temparray.join(thousandseparater);\r\n var result = '$' + integer + decimalcharacter + fraction;\r\n return result;\r\n}\r\n\r\n\r\n// function to add all values in object\r\nexport const sum = (obj) => {\r\n var sum = 0;\r\n for (var el in obj) {\r\n if (obj.hasOwnProperty(el) && el !== \"year\") {\r\n sum += obj[el];\r\n }\r\n }\r\n return sum;\r\n}\r\n\r\n","/* eslint-disable no-new-object */\r\nimport React from \"react\";\r\nimport axios from \"axios\";\r\nimport MaterialTable from \"material-table\";\r\nimport Paper from \"@material-ui/core/Paper\";\r\nimport { Chart } from \"react-google-charts\";\r\nimport Grid from \"@material-ui/core/Grid\";\r\nimport Icon from \"@material-ui/core/Icon\";\r\nimport Button from \"@material-ui/core/Button\";\r\nimport { CSVLink } from \"react-csv\";\r\nimport PropTypes from \"prop-types\";\r\nimport { withStyles } from \"@material-ui/core/styles\";\r\nimport AppBar from \"@material-ui/core/AppBar\";\r\nimport Tabs from \"@material-ui/core/Tabs\";\r\nimport Tab from \"@material-ui/core/Tab\";\r\nimport ReactGA from \"react-ga\";\r\nimport Typography from \"@material-ui/core/Typography\";\r\nimport CircularProgress from \"@material-ui/core/CircularProgress\";\r\nimport MenuItem from \"@material-ui/core/MenuItem\";\r\nimport TextField from \"@material-ui/core/TextField\";\r\nimport { emphasize } from \"@material-ui/core/styles/colorManipulator\";\r\nimport { sum } from \"./helper\";\r\nimport { apiUrl } from \"../helpers\";\r\nimport { handleError } from \"../utils/errorHandling/errorHelper\";\r\n\r\nimport moment from \"moment\";\r\n\r\nlet pathname = window.location.pathname;\r\n\r\nfunction TabContainer(props) {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n}\r\n\r\nTabContainer.propTypes = {\r\n children: PropTypes.node.isRequired,\r\n};\r\nconst styles = theme => ({\r\n container: {\r\n display: \"flex\",\r\n flexWrap: \"wrap\",\r\n },\r\n textField: {\r\n marginLeft: theme.spacing(1),\r\n marginRight: theme.spacing(1),\r\n },\r\n dense: {\r\n marginTop: 16,\r\n },\r\n menu: {\r\n width: 200,\r\n },\r\n Red: {\r\n color: \"red\",\r\n top: \"5px\",\r\n position: \"relative\",\r\n fontSize: \"21px!important\",\r\n fontWeight: \"1000!important\",\r\n },\r\n Green: {\r\n color: \"green\",\r\n top: \"5px\",\r\n position: \"relative\",\r\n fontSize: \"21px!important\",\r\n fontWeight: \"1000!important\",\r\n },\r\n Grey: {\r\n color: \"gray\",\r\n position: \"relative\",\r\n fontSize: \"21px!important\",\r\n marginBottom: \"5px\",\r\n },\r\n formControl: {\r\n margin: theme.spacing(1),\r\n minWidth: 120,\r\n },\r\n selectEmpty: {\r\n marginTop: theme.spacing(2),\r\n },\r\n root: {\r\n flexGrow: 1,\r\n height: 250,\r\n },\r\n input: {\r\n display: \"flex\",\r\n padding: 0,\r\n },\r\n valueContainer: {\r\n display: \"flex\",\r\n flexWrap: \"wrap\",\r\n flex: 1,\r\n alignItems: \"center\",\r\n },\r\n chip: {\r\n margin: `${theme.spacing(1 / 2)}px ${theme.spacing(1 / 4)}px`,\r\n },\r\n chipFocused: {\r\n backgroundColor: emphasize(\r\n theme.palette.type === \"light\"\r\n ? theme.palette.grey[300]\r\n : theme.palette.grey[700],\r\n 0.08\r\n ),\r\n },\r\n noOptionsMessage: {\r\n padding: `${theme.spacing(1)}px ${theme.spacing(2)}px`,\r\n },\r\n singleValue: {\r\n fontSize: 16,\r\n },\r\n placeholder: {\r\n position: \"absolute\",\r\n left: 2,\r\n fontSize: 16,\r\n },\r\n paper: {\r\n position: \"absolute\",\r\n zIndex: 1,\r\n marginTop: theme.spacing(1),\r\n left: 0,\r\n right: 0,\r\n },\r\n divider: {\r\n height: theme.spacing(2),\r\n },\r\n button: {\r\n margin: theme.spacing(1),\r\n },\r\n progress: {\r\n margin: theme.spacing(2),\r\n },\r\n});\r\n\r\nconst durations = [\r\n {\r\n value: \"1\",\r\n label: \"1 year\",\r\n },\r\n {\r\n value: \"3\",\r\n label: \"3 years\",\r\n },\r\n {\r\n value: \"5\",\r\n label: \"5 years\",\r\n },\r\n {\r\n value: \"10\",\r\n label: \"10 years\",\r\n },\r\n {\r\n value: \"99\",\r\n label: \"All\",\r\n },\r\n];\r\n\r\nclass City extends React.Component {\r\n state = {\r\n posts: [],\r\n rawposts: [],\r\n newposts: [],\r\n yearposts: [],\r\n token: \"\",\r\n dataLoadingStatus: \"loading\",\r\n chartData: [],\r\n value: 0,\r\n duration: \"1\",\r\n labelWidth: 0,\r\n age: \"\",\r\n //tableLoading\r\n monthlyLoading: true,\r\n yearlyLoading: true,\r\n completeLoading: true,\r\n displayMessage: \"SEARCHING...\",\r\n };\r\n\r\n getRowsFromDataFromYearsAgo = (data, yearsAgo) => {\r\n const currentDate = moment().startOf(\"month\");\r\n const fromDate = moment().startOf(\"month\").subtract(yearsAgo, \"years\");\r\n const rows = data\r\n .filter(({ year, month }) => {\r\n const thisElementDate = moment().set({\r\n year,\r\n month: month - 1,\r\n date: 1,\r\n });\r\n return thisElementDate >= fromDate && thisElementDate <= currentDate;\r\n })\r\n .map(({ year, month, Total_Revenue, RevPar }) => {\r\n const date = moment()\r\n .set({ year, month: month - 1, date: 1 })\r\n .toDate();\r\n return [date, Total_Revenue, RevPar];\r\n });\r\n return rows;\r\n };\r\n\r\n handleChange = name => event => {\r\n this.setState({\r\n [name]: event.target.value,\r\n });\r\n };\r\n handleChange1 = name => event => {\r\n this.setState({\r\n [name]: event.target.value,\r\n });\r\n\r\n axios\r\n .get(`${apiUrl}/rest/basic/city/${this.props.match.params.city}`, {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n const columns = [\r\n { type: \"date\", label: \"Month\" },\r\n { type: \"number\", label: \"Total Revenue\" },\r\n { type: \"number\", label: \"RevPar\" },\r\n ];\r\n\r\n const rows = this.getRowsFromDataFromYearsAgo(\r\n res.data,\r\n event.target.value\r\n );\r\n\r\n this.setState({\r\n chartData: [columns, ...rows],\r\n dataLoadingStatus: \"ready\",\r\n });\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n });\r\n };\r\n componentDidMount() {\r\n document.title = this.props.match.params.city + \",TX - Search Texas Tax\";\r\n ReactGA.initialize(\"UA-80211377-3\");\r\n ReactGA.pageview(window.location.pathname);\r\n\r\n axios\r\n .get(`${apiUrl}/rest/basic/city/${this.props.match.params.city}`, {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n const columns = [\r\n { type: \"date\", label: \"Month\" },\r\n { type: \"number\", label: \"Total Revenue\" },\r\n { type: \"number\", label: \"RevPar\" },\r\n ];\r\n\r\n const rows = this.getRowsFromDataFromYearsAgo(res.data, 1);\r\n\r\n this.setState({\r\n chartData: [columns, ...rows],\r\n dataLoadingStatus: \"ready\",\r\n });\r\n\r\n const rawposts = res.data;\r\n this.setState({ rawposts: rawposts, completeLoading: false });\r\n\r\n const posts = res.data;\r\n this.setState({ posts: posts });\r\n\r\n var i = 0;\r\n var j = 0;\r\n var a = 0;\r\n var newposts = [];\r\n //var newmonth = 0;\r\n //console.log(posts);\r\n try {\r\n for (i = 0; i < posts.length; i++) {\r\n if (a === 0) {\r\n newposts.push(new Object());\r\n //console.log(newposts.length)\r\n newposts[newposts.length - 1].year = posts[i].year;\r\n //console.log(newposts[newposts.length - 1].year);\r\n if (posts[i].month === 1) {\r\n newposts[newposts.length - 1].january = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 2) {\r\n newposts[newposts.length - 1].february = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 3) {\r\n newposts[newposts.length - 1].march = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 4) {\r\n newposts[newposts.length - 1].april = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 5) {\r\n newposts[newposts.length - 1].may = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 6) {\r\n newposts[newposts.length - 1].june = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 7) {\r\n newposts[newposts.length - 1].july = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 8) {\r\n newposts[newposts.length - 1].august = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 9) {\r\n newposts[newposts.length - 1].september =\r\n posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 10) {\r\n newposts[newposts.length - 1].october = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 11) {\r\n newposts[newposts.length - 1].november = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 12) {\r\n newposts[newposts.length - 1].december = posts[i].Total_Revenue;\r\n }\r\n a = 1;\r\n continue;\r\n }\r\n\r\n for (j = 0; j < newposts.length; j++) {\r\n if (newposts[j].year === posts[i].year) {\r\n if (posts[i].month === 1) {\r\n newposts[j].january = posts[i].Total_Revenue;\r\n ////////////console.log(temp['January']);\r\n }\r\n if (posts[i].month === 2) {\r\n newposts[j].february = posts[i].Total_Revenue;\r\n ////////////console.log(newposts[j]);\r\n }\r\n if (posts[i].month === 3) {\r\n newposts[j].march = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 4) {\r\n newposts[j].april = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 5) {\r\n newposts[j].may = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 6) {\r\n newposts[j].june = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 7) {\r\n newposts[j].july = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 8) {\r\n newposts[j].august = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 9) {\r\n newposts[j].september = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 10) {\r\n newposts[j].october = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 11) {\r\n newposts[j].november = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 12) {\r\n newposts[j].december = posts[i].Total_Revenue;\r\n a = 0;\r\n }\r\n break;\r\n }\r\n }\r\n }\r\n var yearposts = [];\r\n var currentd = new Date();\r\n var current = currentd.getFullYear();\r\n for (var k = 0; k < newposts.length; k++) {\r\n yearposts.push(new Object());\r\n ////console.log(newposts[1]);\r\n //console.log(yearposts);\r\n yearposts[k].year = newposts[k].year;\r\n\r\n // if current year only add what's available in current year\r\n if (newposts[k].year === current) {\r\n yearposts[k].total_revenue = sum(newposts[k]);\r\n } else {\r\n // yearposts[k].total_revenue = newposts[k].january+newposts[k].february+newposts[k].march+newposts[k].april+newposts[k].may+newposts[k].june+\r\n // newposts[k].july+newposts[k].august+newposts[k].september+newposts[k].october+newposts[k].november+newposts[k].december;\r\n yearposts[k].total_revenue = sum(newposts[k]);\r\n }\r\n }\r\n for (var l = 0; l < yearposts.length; l++) {\r\n if (l === 0 || yearposts[l].year === current) {\r\n yearposts[l].totalRevChange = \"$0 (0%)\";\r\n } else {\r\n yearposts[l].totalRevChange =\r\n \"$ \" +\r\n (yearposts[l].total_revenue - yearposts[l - 1].total_revenue)\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\") +\r\n \" (\" +\r\n (\r\n (yearposts[l].total_revenue /\r\n yearposts[l - 1].total_revenue) *\r\n 100 -\r\n 100\r\n ).toFixed(2) +\r\n \"%)\";\r\n // yearposts[l].RevPARChange = '$ '+(yearposts[l].RevPar-yearposts[l-1].RevPar).toFixed(2)+ ' (' + ((((yearposts[l].RevPar/yearposts[l-1].RevPar)*100)-100).toFixed(2))+\"%)\";\r\n }\r\n }\r\n this.setState({ yearposts: yearposts, yearlyLoading: false });\r\n this.setState({ newposts: newposts, monthlyLoading: false });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n });\r\n }\r\n\r\n render() {\r\n const { classes } = this.props;\r\n let chartdisplay;\r\n if (this.state.dataLoadingStatus === \"ready\") {\r\n chartdisplay = (\r\n
\r\n \r\n {durations.map(option => (\r\n \r\n {option.label}\r\n \r\n ))}\r\n \r\n Loading Chart
}\r\n width={\"100%\"}\r\n height={\"400px\"}\r\n data={this.state.chartData}\r\n options={{\r\n chartArea: { height: \"100%\", width: \"90%\" },\r\n hAxis: {\r\n format: \"yyyy\",\r\n },\r\n vAxis: {\r\n format: \"short\",\r\n },\r\n title: \"Debt incurred over time.\",\r\n series: {\r\n // Gives each series an axis name that matches the Y-axis below.\r\n 0: { axis: \"Total_Revenue\" },\r\n 1: { axis: \"Number_Of_Rooms_Available\" },\r\n },\r\n axes: {\r\n // Adds labels to each axis; they don't have to match the axis names.\r\n y: {\r\n Total_Receipts: { label: \"Monthly Revenue\" },\r\n all: {\r\n format: {\r\n pattern: \"currency\",\r\n },\r\n },\r\n },\r\n x: {\r\n all: {\r\n format: {\r\n pattern: \"MMM dd, yyyy\",\r\n },\r\n },\r\n },\r\n },\r\n }}\r\n rootProps={{ \"data-testid\": \"2\" }}\r\n />\r\n
\r\n );\r\n } else {\r\n chartdisplay = (\r\n
\r\n {\" \"}\r\n \r\n
\r\n );\r\n }\r\n\r\n const { value } = this.state;\r\n\r\n return (\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n

{this.props.match.params.city}

\r\n
\r\n
\r\n \r\n Hotel Occupancy Tax Receipts\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {value === 0 && {chartdisplay}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n if (rowData.january === undefined) {\r\n rowData.january = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.january\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"February\",\r\n field: \"february\",\r\n render: rowData => {\r\n if (rowData.february === undefined) {\r\n rowData.february = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.february\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"March\",\r\n field: \"march\",\r\n\r\n render: rowData => {\r\n if (rowData.march === undefined) {\r\n rowData.march = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.march\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"April\",\r\n field: \"april\",\r\n\r\n render: rowData => {\r\n if (rowData.april === undefined) {\r\n rowData.april = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.april\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"May\",\r\n field: \"may\",\r\n\r\n render: rowData => {\r\n if (rowData.may === undefined) {\r\n rowData.may = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.may\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"June\",\r\n field: \"june\",\r\n\r\n render: rowData => {\r\n if (rowData.june === undefined) {\r\n rowData.june = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.june\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"July\",\r\n field: \"july\",\r\n\r\n render: rowData => {\r\n if (rowData.july === undefined) {\r\n rowData.july = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.july\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"August\",\r\n field: \"august\",\r\n\r\n render: rowData => {\r\n if (rowData.august === undefined) {\r\n rowData.august = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.august\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"September\",\r\n field: \"september\",\r\n\r\n render: rowData => {\r\n if (rowData.september === undefined) {\r\n rowData.september = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.september\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"October\",\r\n field: \"october\",\r\n\r\n render: rowData => {\r\n if (rowData.october === undefined) {\r\n rowData.october = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.october\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"November\",\r\n field: \"november\",\r\n\r\n render: rowData => {\r\n if (rowData.november === undefined) {\r\n rowData.november = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.november\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"December\",\r\n field: \"december\",\r\n\r\n render: rowData => {\r\n if (rowData.december === undefined) {\r\n rowData.december = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.december\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n ]}\r\n data={this.state.newposts}\r\n title={`Monthly Performance: ${this.props.match.params.city}`}\r\n options={{\r\n pageSizeOptions: [10, 20, 50],\r\n columnsButton: true,\r\n loadingType: \"linear\",\r\n }}\r\n localization={{\r\n body: {\r\n emptyDataSourceMessage: this.state.displayMessage,\r\n },\r\n }}\r\n />\r\n
\r\n \r\n \r\n \r\n \r\n {\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.total_revenue\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"Change in Revenue\",\r\n field: \"totalRevChange\",\r\n\r\n render: rowData => {\r\n if (rowData.totalRevChange.includes(\"-\")) {\r\n return (\r\n \r\n \r\n {rowData.totalRevChange}\r\n \r\n \r\n arrow_downward\r\n \r\n \r\n );\r\n } else if (rowData.totalRevChange !== \"$0 (0%)\") {\r\n return (\r\n \r\n \r\n {rowData.totalRevChange}\r\n \r\n \r\n arrow_upward\r\n \r\n \r\n );\r\n } else\r\n return (\r\n \r\n \r\n {rowData.totalRevChange}\r\n \r\n \r\n minimize\r\n \r\n \r\n );\r\n },\r\n },\r\n ]}\r\n data={this.state.yearposts}\r\n title={`Yearly Data: ${this.props.match.params.city}`}\r\n options={{\r\n pageSizeOptions: [10, 20, 50],\r\n columnsButton: true,\r\n loadingType: \"linear\",\r\n }}\r\n localization={{\r\n body: {\r\n emptyDataSourceMessage: this.state.displayMessage,\r\n },\r\n }}\r\n />\r\n
\r\n \r\n \r\n \r\n \r\n {\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.Total_Revenue.toString().replace(\r\n /\\B(?=(\\d{3})+(?!\\d))/g,\r\n \",\"\r\n )}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n ]}\r\n data={this.state.rawposts}\r\n title={`Complete Data Set: ${this.props.match.params.city}`}\r\n options={{\r\n pageSizeOptions: [10, 20, 50, 100],\r\n columnsButton: true,\r\n loadingType: \"linear\",\r\n }}\r\n localization={{\r\n body: {\r\n emptyDataSourceMessage: this.state.displayMessage,\r\n },\r\n }}\r\n />\r\n
\r\n
\r\n \r\n
\r\n );\r\n }\r\n}\r\nCity.propTypes = {\r\n classes: PropTypes.object.isRequired,\r\n};\r\nexport default withStyles(styles)(City);\r\n","/* eslint-disable no-new-object */\r\nimport React from \"react\";\r\nimport axios from \"axios\";\r\nimport MaterialTable from \"material-table\";\r\nimport Paper from \"@material-ui/core/Paper\";\r\nimport { Chart } from \"react-google-charts\";\r\nimport Button from \"@material-ui/core/Button\";\r\nimport { CSVLink } from \"react-csv\";\r\nimport PropTypes from \"prop-types\";\r\nimport Grid from \"@material-ui/core/Grid\";\r\nimport { withStyles } from \"@material-ui/core/styles\";\r\nimport AppBar from \"@material-ui/core/AppBar\";\r\nimport Tabs from \"@material-ui/core/Tabs\";\r\nimport Tab from \"@material-ui/core/Tab\";\r\nimport Icon from \"@material-ui/core/Icon\";\r\nimport Typography from \"@material-ui/core/Typography\";\r\nimport CircularProgress from \"@material-ui/core/CircularProgress\";\r\nimport MenuItem from \"@material-ui/core/MenuItem\";\r\nimport TextField from \"@material-ui/core/TextField\";\r\nimport { emphasize } from \"@material-ui/core/styles/colorManipulator\";\r\nimport ReactGA from \"react-ga\";\r\nimport { apiUrl } from \"../helpers\";\r\nimport { handleError } from \"../utils/errorHandling/errorHelper\";\r\n\r\nlet pathname = window.location.pathname;\r\n\r\nfunction TabContainer(props) {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n}\r\n\r\nTabContainer.propTypes = {\r\n children: PropTypes.node.isRequired,\r\n};\r\nconst styles = theme => ({\r\n container: {\r\n display: \"flex\",\r\n flexWrap: \"wrap\",\r\n },\r\n textField: {\r\n marginLeft: theme.spacing(1),\r\n marginRight: theme.spacing(1),\r\n },\r\n dense: {\r\n marginTop: 16,\r\n },\r\n menu: {\r\n width: 200,\r\n },\r\n Red: {\r\n color: \"red\",\r\n top: \"5px\",\r\n position: \"relative\",\r\n fontSize: \"21px!important\",\r\n fontWeight: \"1000!important\",\r\n },\r\n Green: {\r\n color: \"green\",\r\n top: \"5px\",\r\n position: \"relative\",\r\n fontSize: \"21px!important\",\r\n fontWeight: \"1000!important\",\r\n },\r\n formControl: {\r\n margin: theme.spacing(1),\r\n minWidth: 120,\r\n },\r\n selectEmpty: {\r\n marginTop: theme.spacing(2),\r\n },\r\n root: {\r\n flexGrow: 1,\r\n height: 250,\r\n },\r\n input: {\r\n display: \"flex\",\r\n padding: 0,\r\n },\r\n valueContainer: {\r\n display: \"flex\",\r\n flexWrap: \"wrap\",\r\n flex: 1,\r\n alignItems: \"center\",\r\n },\r\n chip: {\r\n margin: `${theme.spacing(1 / 2)}px ${theme.spacing(1 / 4)}px`,\r\n },\r\n chipFocused: {\r\n backgroundColor: emphasize(\r\n theme.palette.type === \"light\"\r\n ? theme.palette.grey[300]\r\n : theme.palette.grey[700],\r\n 0.08\r\n ),\r\n },\r\n noOptionsMessage: {\r\n padding: `${theme.spacing(1)}px ${theme.spacing(2)}px`,\r\n },\r\n singleValue: {\r\n fontSize: 16,\r\n },\r\n placeholder: {\r\n position: \"absolute\",\r\n left: 2,\r\n fontSize: 16,\r\n },\r\n paper: {\r\n position: \"absolute\",\r\n zIndex: 1,\r\n marginTop: theme.spacing(1),\r\n left: 0,\r\n right: 0,\r\n },\r\n divider: {\r\n height: theme.spacing(2),\r\n },\r\n button: {\r\n margin: theme.spacing(1),\r\n },\r\n progress: {\r\n margin: theme.spacing(2),\r\n },\r\n newOwner: {\r\n fontSize: \"18px!important\",\r\n },\r\n propertyChange: {\r\n width: \"220px\",\r\n fontSize: \".8rem\",\r\n textAlign: \"left\",\r\n padding: \"12px\",\r\n margin: \"0px\",\r\n color: \"#fff\",\r\n },\r\n popoverCell: {\r\n minWidth: \"100px!important\",\r\n maxWidth: \"210px!important\",\r\n },\r\n});\r\n\r\nconst durations = [\r\n {\r\n value: \"2016\",\r\n label: \"1 year\",\r\n },\r\n {\r\n value: \"2015\",\r\n label: \"3 years\",\r\n },\r\n {\r\n value: \"2013\",\r\n label: \"5 years\",\r\n },\r\n {\r\n value: \"2008\",\r\n label: \"10 years\",\r\n },\r\n {\r\n value: \"2000\",\r\n label: \"All\",\r\n },\r\n];\r\n\r\nclass MBTCity extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n posts: [],\r\n rawposts: [],\r\n newposts: [],\r\n yearposts: [],\r\n token: \"\",\r\n dataLoadingStatus: \"loading\",\r\n chartData: [],\r\n value: 0,\r\n duration: \"2016\",\r\n labelWidth: 0,\r\n age: \"\",\r\n anchorEl: null,\r\n openedPopoverId: \"\",\r\n };\r\n }\r\n\r\n handleChange = name => event => {\r\n this.setState({\r\n [name]: event.target.value,\r\n });\r\n };\r\n handleChange1 = name => event => {\r\n this.setState({\r\n [name]: event.target.value,\r\n });\r\n ////////console.log(event.target.value);\r\n axios\r\n .get(`${apiUrl}/rest/mbt/city/${this.props.match.params.city}`, {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n try {\r\n const columns = [\r\n { type: \"date\", label: \"Month\" },\r\n { type: \"number\", label: \"Total Revenue\" },\r\n ];\r\n let rows = [];\r\n var d = new Date();\r\n var n = d.getFullYear();\r\n for (let row of res.data) {\r\n let { date } = row;\r\n if (row.year > event.target.value && row.year <= n) {\r\n date = new Date(row.year + \"-\" + row.month);\r\n //////console.log(date);\r\n date = new Date(row.year, row.month - 1, 1);\r\n rows.push([date, row.Total_Receipts]);\r\n //////console.log(rows);\r\n }\r\n }\r\n this.setState({\r\n chartData: [columns, ...rows],\r\n dataLoadingStatus: \"ready\",\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n //window.location.replace('/logout');\r\n });\r\n };\r\n componentDidMount() {\r\n document.title = this.props.match.params.city + \",TX - Search Texas Tax\";\r\n ReactGA.initialize(\"UA-80211377-3\");\r\n ReactGA.pageview(window.location.pathname);\r\n\r\n axios\r\n .get(`${apiUrl}/rest/mbt/city/${this.props.match.params.city}`, {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n const columns = [\r\n { type: \"date\", label: \"Month\" },\r\n { type: \"number\", label: \"Total Revenue\" },\r\n ];\r\n let rows = [];\r\n var d = new Date();\r\n var n = d.getFullYear();\r\n\r\n try {\r\n for (let row of res.data) {\r\n let { date } = row;\r\n if (row.year > 2016 && row.year <= n) {\r\n date = new Date(row.year + \"-\" + row.month);\r\n //////console.log(date);\r\n date = new Date(row.year, row.month - 1, 1);\r\n rows.push([date, row.Total_Receipts]);\r\n }\r\n }\r\n this.setState({\r\n chartData: [columns, ...rows],\r\n dataLoadingStatus: \"ready\",\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n\r\n const rawposts = res.data;\r\n this.setState({ rawposts: rawposts });\r\n\r\n const posts = res.data;\r\n this.setState({ posts: posts });\r\n\r\n var i = 0;\r\n var j = 0;\r\n var a = 0;\r\n\r\n var newposts = [];\r\n try {\r\n for (i = 0; i < posts.length; i++) {\r\n if (a === 0) {\r\n newposts.push(new Object());\r\n newposts[newposts.length - 1].year = posts[i].year;\r\n if (posts[i].month === 1) {\r\n newposts[newposts.length - 1].january = posts[i].Total_Receipts;\r\n //////////console.log(temp['January']);\r\n }\r\n if (posts[i].month === 2) {\r\n newposts[newposts.length - 1].february =\r\n posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 3) {\r\n newposts[newposts.length - 1].march = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 4) {\r\n newposts[newposts.length - 1].april = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 5) {\r\n newposts[newposts.length - 1].may = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 6) {\r\n newposts[newposts.length - 1].june = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 7) {\r\n newposts[newposts.length - 1].july = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 8) {\r\n newposts[newposts.length - 1].august = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 9) {\r\n newposts[newposts.length - 1].september =\r\n posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 10) {\r\n newposts[newposts.length - 1].october = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 11) {\r\n newposts[newposts.length - 1].november =\r\n posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 12) {\r\n newposts[newposts.length - 1].december =\r\n posts[i].Total_Receipts;\r\n }\r\n // ////////console.log(\"Inside a\");\r\n //newposts.push(temp);\r\n a = 1;\r\n continue;\r\n }\r\n\r\n for (j = 0; j < newposts.length; j++) {\r\n if (newposts[j].year === posts[i].year) {\r\n if (posts[i].month === 1) {\r\n newposts[j].january = posts[i].Total_Receipts;\r\n //////////console.log(temp['January']);\r\n }\r\n if (posts[i].month === 2) {\r\n newposts[j].february = posts[i].Total_Receipts;\r\n //////////console.log(newposts[j]);\r\n }\r\n if (posts[i].month === 3) {\r\n newposts[j].march = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 4) {\r\n newposts[j].april = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 5) {\r\n newposts[j].may = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 6) {\r\n newposts[j].june = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 7) {\r\n newposts[j].july = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 8) {\r\n newposts[j].august = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 9) {\r\n newposts[j].september = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 10) {\r\n newposts[j].october = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 11) {\r\n newposts[j].november = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 12) {\r\n newposts[j].december = posts[i].Total_Receipts;\r\n a = 0;\r\n }\r\n break;\r\n }\r\n }\r\n }\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n\r\n var yearposts = [];\r\n\r\n try {\r\n for (var k = 0; k < newposts.length; k++) {\r\n yearposts.push(new Object());\r\n\r\n yearposts[k].year = newposts[k].year;\r\n yearposts[k].total_revenue =\r\n newposts[k].january +\r\n newposts[k].february +\r\n newposts[k].march +\r\n newposts[k].april +\r\n newposts[k].may +\r\n newposts[k].june +\r\n newposts[k].july +\r\n newposts[k].august +\r\n newposts[k].september +\r\n newposts[k].october +\r\n newposts[k].november +\r\n newposts[k].december;\r\n }\r\n\r\n for (var l = 0; l < yearposts.length; l++) {\r\n if (l === 0) {\r\n yearposts[l].totalRevChange = \"0\";\r\n // yearposts[l].RevPARChange = '0';\r\n } else {\r\n yearposts[l].totalRevChange =\r\n \"$ \" +\r\n (yearposts[l].total_revenue - yearposts[l - 1].total_revenue)\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\") +\r\n \" (\" +\r\n (\r\n (yearposts[l].total_revenue /\r\n yearposts[l - 1].total_revenue) *\r\n 100 -\r\n 100\r\n ).toFixed(2) +\r\n \"%)\";\r\n // yearposts[l].RevPARChange = '$ '+(yearposts[l].RevPar-yearposts[l-1].RevPar).toFixed(2)+ ' (' + ((((yearposts[l].RevPar/yearposts[l-1].RevPar)*100)-100).toFixed(2))+\"%)\";\r\n }\r\n }\r\n this.setState({\r\n yearposts,\r\n newposts,\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n window.location.replace(\"/logout\");\r\n });\r\n }\r\n\r\n render() {\r\n const { classes } = this.props;\r\n let chartdisplay;\r\n if (this.state.dataLoadingStatus === \"ready\") {\r\n chartdisplay = (\r\n
\r\n \r\n {durations.map(option => (\r\n \r\n {option.label}\r\n \r\n ))}\r\n \r\n \r\n Loading Chart
}\r\n width={\"100%\"}\r\n height={\"400px\"}\r\n data={this.state.chartData}\r\n options={{\r\n chartArea: { height: \"100%\", width: \"90%\" },\r\n hAxis: {\r\n format: \"yyyy\",\r\n },\r\n vAxis: {\r\n format: \"short\",\r\n },\r\n title: \"Debt incurred over time.\",\r\n series: {\r\n // Gives each series an axis name that matches the Y-axis below.\r\n 0: { axis: \"Total_Receipts\" },\r\n },\r\n axes: {\r\n // Adds labels to each axis; they don't have to match the axis names.\r\n y: {\r\n Total_Receipts: { label: \"Monthly Revenue\" },\r\n all: {\r\n format: {\r\n pattern: \"currency\",\r\n },\r\n },\r\n },\r\n x: {\r\n all: {\r\n format: {\r\n pattern: \"MMM dd, yyyy\",\r\n },\r\n },\r\n },\r\n },\r\n legend: { position: \"none\" },\r\n }}\r\n rootProps={{ \"data-testid\": \"2\" }}\r\n />\r\n
\r\n );\r\n } else {\r\n chartdisplay = (\r\n
\r\n {\" \"}\r\n \r\n
\r\n );\r\n }\r\n\r\n const { value } = this.state;\r\n\r\n return (\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n

{this.props.match.params.city}

\r\n
\r\n
\r\n \r\n Hotel Occupancy Tax Receipts\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {value === 0 && {chartdisplay}}\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n {\r\n if (rowData.january === undefined) {\r\n rowData.january = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.january\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"February\",\r\n field: \"february\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.february === undefined) {\r\n rowData.february = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.february\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"March\",\r\n field: \"march\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.march === undefined) {\r\n rowData.march = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.march\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"April\",\r\n field: \"april\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.april === undefined) {\r\n rowData.april = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.april\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"May\",\r\n field: \"may\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.may === undefined) {\r\n rowData.may = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.may\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"June\",\r\n field: \"june\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.june === undefined) {\r\n rowData.june = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.june\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"July\",\r\n field: \"july\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.july === undefined) {\r\n rowData.july = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.july\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"August\",\r\n field: \"august\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.august === undefined) {\r\n rowData.august = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.august\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"September\",\r\n field: \"september\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.september === undefined) {\r\n rowData.september = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.september\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"October\",\r\n field: \"october\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.october === undefined) {\r\n rowData.october = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.october\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"November\",\r\n field: \"november\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.november === undefined) {\r\n rowData.november = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.november\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"December\",\r\n field: \"december\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.december === undefined) {\r\n rowData.december = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.december\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n ]}\r\n data={this.state.newposts}\r\n title={`Monthly Performance: ${this.props.match.params.city}`}\r\n options={{\r\n pageSizeOptions: [10, 20, 50, 100],\r\n columnsButton: true,\r\n exportButton: true,\r\n ordering: \"desc\",\r\n }}\r\n />\r\n
\r\n \r\n \r\n \r\n \r\n {\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.total_revenue\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"Change in Revenue\",\r\n field: \"totalRevChange\",\r\n\r\n render: rowData => {\r\n if (rowData.totalRevChange.includes(\"-\")) {\r\n return (\r\n
\r\n {rowData.totalRevChange}\r\n arrow_downward\r\n
\r\n );\r\n } else if (rowData.totalRevChange !== \"0\") {\r\n return (\r\n
\r\n {rowData.totalRevChange}\r\n arrow_upward\r\n
\r\n );\r\n } else return
{rowData.totalRevChange}
;\r\n },\r\n type: \"html\",\r\n },\r\n ]}\r\n data={this.state.yearposts}\r\n title={`Yearly Data: ${this.props.match.params.city}`}\r\n options={{\r\n pageSizeOptions: [10, 20, 50, 100],\r\n columnsButton: true,\r\n }}\r\n />\r\n
\r\n \r\n \r\n \r\n \r\n {\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.Total_Receipts.toString().replace(\r\n /\\B(?=(\\d{3})+(?!\\d))/g,\r\n \",\"\r\n )}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n ]}\r\n data={this.state.rawposts}\r\n title={`Complete Data Set: ${this.props.match.params.city}`}\r\n options={{\r\n pageSizeOptions: [10, 20, 50, 100],\r\n columnsButton: true,\r\n }}\r\n />\r\n
\r\n
\r\n \r\n
\r\n );\r\n }\r\n}\r\nMBTCity.propTypes = {\r\n classes: PropTypes.object.isRequired,\r\n};\r\nexport default withStyles(styles)(MBTCity);\r\n","/* eslint-disable no-new-object */\r\nimport React from \"react\";\r\nimport axios from \"axios\";\r\nimport MaterialTable from \"material-table\";\r\nimport Paper from \"@material-ui/core/Paper\";\r\nimport { Chart } from \"react-google-charts\";\r\nimport Icon from \"@material-ui/core/Icon\";\r\nimport Button from \"@material-ui/core/Button\";\r\nimport { CSVLink } from \"react-csv\";\r\nimport PropTypes from \"prop-types\";\r\nimport { withStyles } from \"@material-ui/core/styles\";\r\nimport AppBar from \"@material-ui/core/AppBar\";\r\nimport Tabs from \"@material-ui/core/Tabs\";\r\nimport Tab from \"@material-ui/core/Tab\";\r\nimport Grid from \"@material-ui/core/Grid\";\r\nimport Typography from \"@material-ui/core/Typography\";\r\n//import { dollar } from './helper';\r\nimport ReactGA from \"react-ga\";\r\nimport MenuItem from \"@material-ui/core/MenuItem\";\r\nimport TextField from \"@material-ui/core/TextField\";\r\nimport { emphasize } from \"@material-ui/core/styles/colorManipulator\";\r\nimport CircularProgress from \"@material-ui/core/CircularProgress\";\r\nimport { sum } from \"./helper\";\r\nimport { apiUrl } from \"../helpers\";\r\nimport { handleError } from \"../utils/errorHandling/errorHelper\";\r\n\r\nimport moment from \"moment\";\r\n\r\nlet pathname = window.location.pathname;\r\n\r\nfunction TabContainer(props) {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n}\r\n\r\nTabContainer.propTypes = {\r\n children: PropTypes.node.isRequired,\r\n};\r\nconst styles = theme => ({\r\n container: {\r\n display: \"flex\",\r\n flexWrap: \"wrap\",\r\n },\r\n textField: {\r\n marginLeft: theme.spacing(1),\r\n marginRight: theme.spacing(1),\r\n },\r\n dense: {\r\n marginTop: 16,\r\n },\r\n menu: {\r\n width: 200,\r\n },\r\n formControl: {\r\n margin: theme.spacing(1),\r\n minWidth: 120,\r\n },\r\n selectEmpty: {\r\n marginTop: theme.spacing(2),\r\n },\r\n Red: {\r\n color: \"red\",\r\n top: \"5px\",\r\n position: \"relative\",\r\n fontSize: \"21px!important\",\r\n fontWeight: \"1000!important\",\r\n },\r\n Green: {\r\n color: \"green\",\r\n top: \"5px\",\r\n position: \"relative\",\r\n fontSize: \"21px!important\",\r\n fontWeight: \"1000!important\",\r\n },\r\n Grey: {\r\n color: \"gray\",\r\n position: \"relative\",\r\n fontSize: \"21px!important\",\r\n marginBottom: \"5px\",\r\n },\r\n root: {\r\n flexGrow: 1,\r\n height: 250,\r\n },\r\n input: {\r\n display: \"flex\",\r\n padding: 0,\r\n },\r\n valueContainer: {\r\n display: \"flex\",\r\n flexWrap: \"wrap\",\r\n flex: 1,\r\n alignItems: \"center\",\r\n },\r\n chip: {\r\n margin: `${theme.spacing(1 / 2)}px ${theme.spacing(1 / 4)}px`,\r\n },\r\n chipFocused: {\r\n backgroundColor: emphasize(\r\n theme.palette.type === \"light\"\r\n ? theme.palette.grey[300]\r\n : theme.palette.grey[700],\r\n 0.08\r\n ),\r\n },\r\n noOptionsMessage: {\r\n padding: `${theme.spacing(1)}px ${theme.spacing(2)}px`,\r\n },\r\n singleValue: {\r\n fontSize: 16,\r\n },\r\n placeholder: {\r\n position: \"absolute\",\r\n left: 2,\r\n fontSize: 16,\r\n },\r\n paper: {\r\n position: \"absolute\",\r\n zIndex: 1,\r\n marginTop: theme.spacing(1),\r\n left: 0,\r\n right: 0,\r\n },\r\n divider: {\r\n height: theme.spacing(2),\r\n },\r\n button: {\r\n margin: theme.spacing(1),\r\n },\r\n progress: {\r\n margin: theme.spacing(2),\r\n },\r\n});\r\nconst durations = [\r\n {\r\n value: \"1\",\r\n label: \"1 year\",\r\n },\r\n {\r\n value: \"3\",\r\n label: \"3 years\",\r\n },\r\n {\r\n value: \"5\",\r\n label: \"5 years\",\r\n },\r\n {\r\n value: \"10\",\r\n label: \"10 years\",\r\n },\r\n {\r\n value: \"99\",\r\n label: \"All\",\r\n },\r\n];\r\nconst durationscity = [\r\n {\r\n value: \"1\",\r\n label: \"1 year\",\r\n },\r\n {\r\n value: \"3\",\r\n label: \"3 years\",\r\n },\r\n {\r\n value: \"5\",\r\n label: \"5 years\",\r\n },\r\n {\r\n value: \"10\",\r\n label: \"10 years\",\r\n },\r\n {\r\n value: \"99\",\r\n label: \"All\",\r\n },\r\n];\r\nclass County extends React.Component {\r\n state = {\r\n posts: [],\r\n newposts: [],\r\n citygraph: [],\r\n token: \"\",\r\n dataLoadingStatus: \"loading\",\r\n chartData: [],\r\n chartDataCity: [],\r\n rows: [],\r\n columns: [],\r\n dataLoadingStatusCity: \"loading\",\r\n value: 0,\r\n cityposts: [],\r\n duration: \"1\",\r\n durationcity: \"1\",\r\n yearposts: [],\r\n };\r\n handleChange = (event, value) => {\r\n this.setState({ value });\r\n };\r\n\r\n getRowsFromDataFromYearsAgo = (data, yearsAgo) => {\r\n const currentDate = moment().startOf(\"month\");\r\n const fromDate = moment().startOf(\"month\").subtract(yearsAgo, \"years\");\r\n const rows = data\r\n .filter(({ year, month }) => {\r\n const thisElementDate = moment().set({\r\n year,\r\n month: month - 1,\r\n date: 1,\r\n });\r\n return thisElementDate >= fromDate && thisElementDate <= currentDate;\r\n })\r\n .map(({ year, month, Total_Revenue, RevPar }) => {\r\n const date = moment()\r\n .set({ year, month: month - 1, date: 1 })\r\n .toDate();\r\n return [date, Total_Revenue, RevPar];\r\n });\r\n return rows;\r\n };\r\n\r\n componentDidMount() {\r\n document.title = this.props.match.params.county + \",TX - Search Texas Tax\";\r\n ReactGA.initialize(\"UA-80211377-3\");\r\n ReactGA.pageview(window.location.pathname);\r\n let columns = [{ type: \"date\", label: \"Month\" }];\r\n let rows = [];\r\n axios\r\n .get(\r\n `${apiUrl}/rest/basic/citiesincounty/${this.props.match.params.county}`,\r\n {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n }\r\n )\r\n .then(res => {\r\n const cityposts = res.data;\r\n //cities graph\r\n const citypostsgraph = res.data;\r\n //this.setState({ citypostsgraph:citypostsgraph });\r\n\r\n //let count = 1;\r\n //code to get columns\r\n citypostsgraph.forEach(post => {\r\n var index = columns.findIndex(\r\n obj => obj.label === post.location_city\r\n );\r\n ////console.log(index);\r\n if (index === -1) {\r\n const a = {\r\n type: \"number\",\r\n label: post.location_city,\r\n };\r\n columns.push(a);\r\n }\r\n });\r\n ////console.log(columns);\r\n\r\n try {\r\n //Got columns. code below is to get rows\r\n for (var p = 1; p < columns.length; p++) {\r\n ////console.log(columns[p].label);\r\n if (p === 1) {\r\n citypostsgraph.forEach(post => {\r\n if (post.location_city === columns[p].label) {\r\n if (post.year > 2016 && post.year <= 2018) {\r\n var date = new Date(post.year, post.month - 1, 1);\r\n rows.push([date + \"\", post.Total_Revenue]);\r\n }\r\n //count = count+1;\r\n }\r\n });\r\n } else {\r\n citypostsgraph.forEach(post => {\r\n if (post.location_city === columns[p].label) {\r\n if (post.year > 2016 && post.year <= 2018) {\r\n var date = new Date(post.year, post.month - 1, 1);\r\n\r\n let ab = new Date(Date.parse(new Date(date)));\r\n let i = 0;\r\n let flag = 0;\r\n // ////console.log(rows.length);\r\n for (i = 0; i < rows.length; i++) {\r\n if (rows[i][0].includes(ab)) {\r\n rows[i][p] = post.Total_Revenue;\r\n // ////console.log(\"Dates Matched\");\r\n flag = 1;\r\n break;\r\n }\r\n }\r\n if (flag === 0) {\r\n rows.push([date + \"\"]);\r\n rows[rows.length - 1][p] = post.Total_Revenue;\r\n }\r\n }\r\n } //End of if condition\r\n }); //End of forEach\r\n } //End of count condition\r\n } //End of columns loop\r\n this.setState({ cityposts: cityposts });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n })\r\n .then(res => {\r\n ////console.log(rows);\r\n //code for cities graph to replace empty values with null\r\n this.setState({ rows: rows, columns: columns });\r\n try {\r\n for (let m = 0; m < this.state.rows.length; m++) {\r\n //this.setState({ rows})\r\n this.state.rows[m][0] = new Date(this.state.rows[m][0]);\r\n for (let n = 1; n < this.state.columns.length; n++) {\r\n if (!this.state.rows[m][n]) this.state.rows[m][n] = null;\r\n }\r\n }\r\n this.state.rows = this.state.rows.sort(function (a, b) {\r\n return a[0] - b[0];\r\n });\r\n // //console.log(rows);\r\n this.setState({\r\n chartDataCity: [columns, ...rows],\r\n dataLoadingStatusCity: \"ready\",\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n });\r\n\r\n axios\r\n .get(`${apiUrl}/rest/basic/county/${this.props.match.params.county}`, {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n try {\r\n const columns = [\r\n { type: \"date\", label: \"Month\" },\r\n { type: \"number\", label: \"Total Revenue\" },\r\n { type: \"number\", label: \"RevPar\" },\r\n ];\r\n\r\n const rows = this.getRowsFromDataFromYearsAgo(res.data, 1);\r\n\r\n this.setState({\r\n chartData: [columns, ...rows],\r\n dataLoadingStatus: \"ready\",\r\n });\r\n\r\n const rawposts = res.data;\r\n const posts = res.data;\r\n\r\n this.setState({ posts: posts });\r\n var i = 0;\r\n var j = 0;\r\n var a = 0;\r\n var newposts = [];\r\n for (i = 0; i < posts.length; i++) {\r\n if (a === 0) {\r\n newposts.push(new Object());\r\n newposts[newposts.length - 1].year = posts[i].year;\r\n if (posts[i].month === 1) {\r\n newposts[newposts.length - 1].january = posts[i].Total_Revenue;\r\n ////////consolelog(temp['January']);\r\n }\r\n if (posts[i].month === 2) {\r\n newposts[newposts.length - 1].february = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 3) {\r\n newposts[newposts.length - 1].march = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 4) {\r\n newposts[newposts.length - 1].april = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 5) {\r\n newposts[newposts.length - 1].may = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 6) {\r\n newposts[newposts.length - 1].june = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 7) {\r\n newposts[newposts.length - 1].july = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 8) {\r\n newposts[newposts.length - 1].august = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 9) {\r\n newposts[newposts.length - 1].september =\r\n posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 10) {\r\n newposts[newposts.length - 1].october = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 11) {\r\n newposts[newposts.length - 1].november = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 12) {\r\n newposts[newposts.length - 1].december = posts[i].Total_Revenue;\r\n }\r\n // //////consolelog(\"Inside a\");\r\n //newposts.push(temp);\r\n a = 1;\r\n continue;\r\n }\r\n\r\n for (j = 0; j < newposts.length; j++) {\r\n if (newposts[j].year === posts[i].year) {\r\n if (posts[i].month === 1) {\r\n newposts[j].january = posts[i].Total_Revenue;\r\n ////////consolelog(temp['January']);\r\n }\r\n if (posts[i].month === 2) {\r\n newposts[j].february = posts[i].Total_Revenue;\r\n ////////consolelog(newposts[j]);\r\n }\r\n if (posts[i].month === 3) {\r\n newposts[j].march = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 4) {\r\n newposts[j].april = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 5) {\r\n newposts[j].may = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 6) {\r\n newposts[j].june = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 7) {\r\n newposts[j].july = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 8) {\r\n newposts[j].august = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 9) {\r\n newposts[j].september = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 10) {\r\n newposts[j].october = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 11) {\r\n newposts[j].november = posts[i].Total_Revenue;\r\n }\r\n if (posts[i].month === 12) {\r\n newposts[j].december = posts[i].Total_Revenue;\r\n a = 0;\r\n }\r\n break;\r\n }\r\n }\r\n }\r\n var yearposts = [];\r\n var currentd = new Date();\r\n var current = currentd.getFullYear();\r\n\r\n for (var k = 0; k < newposts.length; k++) {\r\n yearposts.push(new Object());\r\n yearposts[k].year = newposts[k].year;\r\n\r\n if (newposts[k].year === current) {\r\n yearposts[k].total_revenue = sum(newposts[k]);\r\n } else {\r\n // yearposts[k].total_revenue = newposts[k].january+newposts[k].february+newposts[k].march+newposts[k].april+newposts[k].may+newposts[k].june+\r\n // newposts[k].july+newposts[k].august+newposts[k].september+newposts[k].october+newposts[k].november+newposts[k].december;\r\n yearposts[k].total_revenue = sum(newposts[k]);\r\n }\r\n }\r\n // //console.log(yearposts);\r\n for (var l = 0; l < yearposts.length; l++) {\r\n if (l === 0 || yearposts[l].year === current) {\r\n yearposts[l].totalRevChange = \"$0 (0%)\";\r\n // yearposts[l].RevPARChange = '0';\r\n } else {\r\n yearposts[l].totalRevChange =\r\n \"$ \" +\r\n (yearposts[l].total_revenue - yearposts[l - 1].total_revenue)\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\") +\r\n \" (\" +\r\n (\r\n (yearposts[l].total_revenue /\r\n yearposts[l - 1].total_revenue) *\r\n 100 -\r\n 100\r\n ).toFixed(2) +\r\n \"%)\";\r\n // yearposts[l].RevPARChange = '$ '+(yearposts[l].RevPar-yearposts[l-1].RevPar).toFixed(2)+ ' (' + ((((yearposts[l].RevPar/yearposts[l-1].RevPar)*100)-100).toFixed(2))+\"%)\";\r\n }\r\n }\r\n this.setState({\r\n yearposts,\r\n newposts,\r\n rawposts,\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n //window.location.replace('/login');\r\n });\r\n }\r\n\r\n handleChange1 = name => event => {\r\n this.setState({\r\n [name]: event.target.value,\r\n });\r\n axios\r\n .get(`${apiUrl}/rest/basic/county/${this.props.match.params.county}`, {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n try {\r\n const columns = [\r\n { type: \"date\", label: \"Month\" },\r\n { type: \"number\", label: \"Total Revenue\" },\r\n { type: \"number\", label: \"RevPar\" },\r\n ];\r\n const rows = this.getRowsFromDataFromYearsAgo(\r\n res.data,\r\n event.target.value\r\n );\r\n this.setState({\r\n chartData: [columns, ...rows],\r\n dataLoadingStatus: \"ready\",\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n //window.location.replace('/login');\r\n });\r\n };\r\n\r\n handleChangecity = name => event => {\r\n this.setState({\r\n [name]: event.target.value,\r\n });\r\n\r\n let columns = [{ type: \"date\", label: \"Month\" }];\r\n let rows = [];\r\n axios\r\n .get(\r\n `${apiUrl}/rest/basic/citiesincounty/${this.props.match.params.county}`,\r\n {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n }\r\n )\r\n .then(res => {\r\n try {\r\n //cities graph\r\n const citypostsgraph = res.data;\r\n //code to get columns\r\n citypostsgraph.forEach(post => {\r\n var index = columns.findIndex(\r\n obj => obj.label === post.location_city\r\n );\r\n if (index === -1) {\r\n const a = {\r\n type: \"number\",\r\n label: post.location_city,\r\n };\r\n columns.push(a);\r\n }\r\n });\r\n\r\n //Got columns. code below is to get rows\r\n for (var p = 1; p < columns.length; p++) {\r\n ////console.log(columns[p].label);\r\n if (p === 1) {\r\n citypostsgraph.forEach(post => {\r\n if (post.location_city === columns[p].label) {\r\n if (post.year > event.target.value && post.year <= 2018) {\r\n var date = new Date(post.year, post.month - 1, 1);\r\n rows.push([date + \"\", post.Total_Revenue]);\r\n }\r\n //count = count+1;\r\n }\r\n });\r\n } else {\r\n citypostsgraph.forEach(post => {\r\n // console.log(post, event.target.value);\r\n if (post.location_city === columns[p].label) {\r\n if (post.year > event.target.value && post.year <= 2018) {\r\n var date = new Date(post.year, post.month - 1, 1);\r\n\r\n let ab = new Date(Date.parse(new Date(date)));\r\n let i = 0;\r\n let flag = 0;\r\n // ////console.log(rows.length);\r\n for (i = 0; i < rows.length; i++) {\r\n if (rows[i][0].includes(ab)) {\r\n rows[i][p] = post.Total_Revenue;\r\n // ////console.log(\"Dates Matched\");\r\n flag = 1;\r\n break;\r\n }\r\n }\r\n if (flag === 0) {\r\n rows.push([date + \"\"]);\r\n rows[rows.length - 1][p] = post.Total_Revenue;\r\n }\r\n }\r\n } //End of if condition\r\n }); //End of forEach\r\n } //End of count condition\r\n } //End of columns loop\r\n ////console.log(rows);\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n })\r\n .then(res => {\r\n try {\r\n //code for cities graph to replace empty values with null\r\n console.log({ rows: rows, columns: columns });\r\n this.setState({ rows: rows, columns: columns });\r\n for (let m = 0; m < this.state.rows.length; m++) {\r\n this.state.rows[m][0] = new Date(this.state.rows[m][0]);\r\n for (let n = 1; n < this.state.columns.length; n++) {\r\n if (!this.state.rows[m][n]) this.state.rows[m][n] = null;\r\n }\r\n }\r\n this.state.rows = this.state.rows.sort(function (a, b) {\r\n return a[0] - b[0];\r\n });\r\n ////console.log(rows);\r\n console.log([columns, ...rows]);\r\n\r\n this.setState({\r\n chartDataCity: [columns, ...rows],\r\n dataLoadingStatusCity: \"ready\",\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n //window.location.replace('/login');\r\n });\r\n };\r\n\r\n render() {\r\n let chartdisplay;\r\n if (this.state.dataLoadingStatus === \"ready\") {\r\n chartdisplay = (\r\n
\r\n \r\n {durations.map(option => (\r\n \r\n {option.label}\r\n \r\n ))}\r\n \r\n Loading Chart
}\r\n width={\"100%\"}\r\n height={\"400px\"}\r\n data={this.state.chartData}\r\n options={{\r\n chartArea: { height: \"100%\", width: \"90%\" },\r\n hAxis: {\r\n format: \"yyyy\",\r\n },\r\n vAxis: {\r\n format: \"short\",\r\n },\r\n title: \"Debt incurred over time.\",\r\n series: {\r\n // Gives each series an axis name that matches the Y-axis below.\r\n 0: { axis: \"Total_Revenue\" },\r\n },\r\n axes: {\r\n // Adds labels to each axis; they don't have to match the axis names.\r\n y: {\r\n Total_Receipts: { label: \"Monthly Revenue\" },\r\n all: {\r\n format: {\r\n pattern: \"currency\",\r\n },\r\n },\r\n },\r\n x: {\r\n all: {\r\n format: {\r\n pattern: \"MMM dd, yyyy\",\r\n },\r\n },\r\n },\r\n },\r\n }}\r\n rootProps={{ \"data-testid\": \"2\" }}\r\n />\r\n
\r\n );\r\n } else {\r\n chartdisplay = (\r\n
\r\n {\" \"}\r\n \r\n
\r\n );\r\n }\r\n //End of first Graph\r\n\r\n //City Graph:\r\n let chartdisplaycity;\r\n if (this.state.dataLoadingStatusCity === \"ready\") {\r\n chartdisplaycity = (\r\n
\r\n \r\n {durations.map(option => (\r\n \r\n {option.label}\r\n \r\n ))}\r\n \r\n Loading Chart
}\r\n width={\"100%\"}\r\n height={\"400px\"}\r\n data={this.state.chartDataCity}\r\n options={{\r\n chartArea: { height: \"100%\", width: \"100%\" },\r\n hAxis: {\r\n format: \"yyyy\",\r\n },\r\n vAxis: {\r\n format: \"short\",\r\n },\r\n\r\n axes: {\r\n // Adds labels to each axis; they don't have to match the axis names.\r\n y: {\r\n Total_Receipts: { label: \"Monthly Revenue\" },\r\n all: {\r\n format: {\r\n pattern: \"currency\",\r\n },\r\n },\r\n },\r\n x: {\r\n all: {\r\n format: {\r\n pattern: \"MMM dd, yyyy\",\r\n },\r\n },\r\n },\r\n },\r\n }}\r\n rootProps={{ \"data-testid\": \"2\" }}\r\n />\r\n \r\n );\r\n } else {\r\n chartdisplaycity = (\r\n
\r\n {\" \"}\r\n \r\n
\r\n );\r\n }\r\n //End of City Graph\r\n\r\n const { classes } = this.props;\r\n const { value } = this.state;\r\n\r\n return (\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n

{this.props.match.params.county}

\r\n
\r\n
\r\n \r\n County Data\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {value === 0 && {chartdisplay}}\r\n {value === 1 && {chartdisplaycity}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n if (rowData.january === undefined) {\r\n rowData.january = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.january\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"February\",\r\n field: \"february\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.february === undefined) {\r\n rowData.february = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.february\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"March\",\r\n field: \"march\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.march === undefined) {\r\n rowData.march = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.march\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"April\",\r\n field: \"april\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.april === undefined) {\r\n rowData.april = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.april\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"May\",\r\n field: \"may\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.may === undefined) {\r\n rowData.may = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.may\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"June\",\r\n field: \"june\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.june === undefined) {\r\n rowData.june = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.june\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"July\",\r\n field: \"july\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.july === undefined) {\r\n rowData.july = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.july\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"August\",\r\n field: \"august\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.august === undefined) {\r\n rowData.august = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.august\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"September\",\r\n field: \"september\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.september === undefined) {\r\n rowData.september = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.september\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"October\",\r\n field: \"october\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.october === undefined) {\r\n rowData.october = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.october\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"November\",\r\n field: \"november\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.november === undefined) {\r\n rowData.november = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.november\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"December\",\r\n field: \"december\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.december === undefined) {\r\n rowData.december = 0;\r\n }\r\n return (\r\n
\r\n $ \r\n {rowData.december\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n ]}\r\n data={this.state.newposts}\r\n title={`Monthly Performance: ${this.props.match.params.county}`}\r\n options={{\r\n pageSizeOptions: [10, 20, 50, 100],\r\n columnsButton: true,\r\n }}\r\n />\r\n
\r\n\r\n \r\n \r\n \r\n \r\n {\r\n return (\r\n
\r\n $ \r\n {rowData.Total_Revenue.toString().replace(\r\n /\\B(?=(\\d{3})+(?!\\d))/g,\r\n \",\"\r\n )}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n { title: \"Total Rooms\", field: \"Total_Number_of_Rooms\" },\r\n {\r\n title: \"RevPar\",\r\n field: \"RevPar\",\r\n type: \"html\",\r\n render: rowData => {\r\n return
$ {rowData.RevPar}
;\r\n },\r\n },\r\n ]}\r\n data={this.state.cityposts}\r\n title={`By City: ${this.props.match.params.county}`}\r\n options={{\r\n pageSizeOptions: [10, 20, 50, 100],\r\n columnsButton: true,\r\n }}\r\n />\r\n
\r\n \r\n \r\n \r\n \r\n {\r\n return (\r\n
\r\n $ \r\n {rowData.total_revenue\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"Change in Revenue\",\r\n field: \"totalRevChange\",\r\n\r\n render: rowData => {\r\n if (rowData.totalRevChange.includes(\"-\")) {\r\n return (\r\n \r\n \r\n {rowData.totalRevChange}\r\n \r\n \r\n arrow_downward\r\n \r\n \r\n );\r\n } else if (rowData.totalRevChange !== \"$0 (0%)\") {\r\n return (\r\n \r\n \r\n {rowData.totalRevChange}\r\n \r\n \r\n arrow_upward\r\n \r\n \r\n );\r\n } else\r\n return (\r\n \r\n \r\n {rowData.totalRevChange}\r\n \r\n \r\n minimize\r\n \r\n \r\n );\r\n },\r\n type: \"html\",\r\n },\r\n ]}\r\n data={this.state.yearposts}\r\n title={`Yearly Data: ${this.props.match.params.county}`}\r\n options={{\r\n pageSizeOptions: [10, 20, 50, 100],\r\n columnsButton: true,\r\n }}\r\n />\r\n
\r\n \r\n {\r\n return (\r\n
\r\n $ \r\n {rowData.Total_Revenue.toString().replace(\r\n /\\B(?=(\\d{3})+(?!\\d))/g,\r\n \",\"\r\n )}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n ]}\r\n data={this.state.rawposts}\r\n title={`Complete Data Set: ${this.props.match.params.county}`}\r\n options={{\r\n pageSizeOptions: [10, 20, 50, 100],\r\n columnsButton: true,\r\n exportButton: true,\r\n ordering: \"desc\",\r\n }}\r\n />\r\n
\r\n
\r\n \r\n
\r\n );\r\n }\r\n}\r\nCounty.propTypes = {\r\n classes: PropTypes.object.isRequired,\r\n};\r\nexport default withStyles(styles)(County);\r\n","/* eslint-disable no-new-object */\r\nimport React from \"react\";\r\nimport axios from \"axios\";\r\nimport MaterialTable from \"material-table\";\r\nimport Paper from \"@material-ui/core/Paper\";\r\nimport { Chart } from \"react-google-charts\";\r\nimport PropTypes from \"prop-types\";\r\nimport Button from \"@material-ui/core/Button\";\r\nimport { CSVLink } from \"react-csv\";\r\nimport Grid from \"@material-ui/core/Grid\";\r\nimport { withStyles } from \"@material-ui/core/styles\";\r\nimport AppBar from \"@material-ui/core/AppBar\";\r\nimport Tabs from \"@material-ui/core/Tabs\";\r\nimport Icon from \"@material-ui/core/Icon\";\r\nimport Tab from \"@material-ui/core/Tab\";\r\nimport Typography from \"@material-ui/core/Typography\";\r\n//import { dollar } from './helper';\r\nimport MenuItem from \"@material-ui/core/MenuItem\";\r\nimport TextField from \"@material-ui/core/TextField\";\r\nimport ReactGA from \"react-ga\";\r\nimport { emphasize } from \"@material-ui/core/styles/colorManipulator\";\r\nimport CircularProgress from \"@material-ui/core/CircularProgress\";\r\nimport { apiUrl } from \"../helpers\";\r\nimport { handleError } from \"../utils/errorHandling/errorHelper\";\r\n\r\nlet pathname = window.location.pathname;\r\n\r\nfunction TabContainer(props) {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n}\r\n\r\nTabContainer.propTypes = {\r\n children: PropTypes.node.isRequired,\r\n};\r\nconst styles = theme => ({\r\n container: {\r\n display: \"flex\",\r\n flexWrap: \"wrap\",\r\n },\r\n textField: {\r\n marginLeft: theme.spacing(1),\r\n marginRight: theme.spacing(1),\r\n },\r\n dense: {\r\n marginTop: 16,\r\n },\r\n menu: {\r\n width: 200,\r\n },\r\n formControl: {\r\n margin: theme.spacing(1),\r\n minWidth: 120,\r\n },\r\n selectEmpty: {\r\n marginTop: theme.spacing(2),\r\n },\r\n root: {\r\n flexGrow: 1,\r\n height: 250,\r\n },\r\n Red: {\r\n color: \"red\",\r\n top: \"5px\",\r\n position: \"relative\",\r\n fontSize: \"21px!important\",\r\n fontWeight: \"1000!important\",\r\n },\r\n Green: {\r\n color: \"green\",\r\n top: \"5px\",\r\n position: \"relative\",\r\n fontSize: \"21px!important\",\r\n fontWeight: \"1000!important\",\r\n },\r\n input: {\r\n display: \"flex\",\r\n padding: 0,\r\n },\r\n valueContainer: {\r\n display: \"flex\",\r\n flexWrap: \"wrap\",\r\n flex: 1,\r\n alignItems: \"center\",\r\n },\r\n chip: {\r\n margin: `${theme.spacing(1 / 2)}px ${theme.spacing(1 / 4)}px`,\r\n },\r\n chipFocused: {\r\n backgroundColor: emphasize(\r\n theme.palette.type === \"light\"\r\n ? theme.palette.grey[300]\r\n : theme.palette.grey[700],\r\n 0.08\r\n ),\r\n },\r\n noOptionsMessage: {\r\n padding: `${theme.spacing(1)}px ${theme.spacing(2)}px`,\r\n },\r\n singleValue: {\r\n fontSize: 16,\r\n },\r\n placeholder: {\r\n position: \"absolute\",\r\n left: 2,\r\n fontSize: 16,\r\n },\r\n paper: {\r\n position: \"absolute\",\r\n zIndex: 1,\r\n marginTop: theme.spacing(1),\r\n left: 0,\r\n right: 0,\r\n },\r\n divider: {\r\n height: theme.spacing(2),\r\n },\r\n button: {\r\n margin: theme.spacing(1),\r\n },\r\n progress: {\r\n margin: theme.spacing(2),\r\n },\r\n});\r\nconst durations = [\r\n {\r\n value: \"2016\",\r\n label: \"1 year\",\r\n },\r\n {\r\n value: \"2015\",\r\n label: \"3 years\",\r\n },\r\n {\r\n value: \"2013\",\r\n label: \"5 years\",\r\n },\r\n {\r\n value: \"2008\",\r\n label: \"10 years\",\r\n },\r\n {\r\n value: \"2000\",\r\n label: \"All\",\r\n },\r\n];\r\nclass MBTCounty extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n posts: [],\r\n newposts: [],\r\n token: \"\",\r\n dataLoadingStatus: \"loading\",\r\n chartData: [],\r\n value: 0,\r\n cityposts: [],\r\n duration: \"2016\",\r\n };\r\n }\r\n handleChange = (event, value) => {\r\n this.setState({ value });\r\n };\r\n componentDidMount() {\r\n document.title = this.props.match.params.county + \",TX - Search Texas Tax\";\r\n ReactGA.initialize(\"UA-80211377-3\");\r\n ReactGA.pageview(window.location.pathname);\r\n\r\n axios\r\n .get(\r\n `${apiUrl}/rest/mbt/citiesincounty/${this.props.match.params.county}`,\r\n {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n }\r\n )\r\n .then(res => {\r\n const cityposts = res.data;\r\n this.setState({ cityposts: cityposts });\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n //window.location.replace('/logout');\r\n });\r\n\r\n axios\r\n .get(`${apiUrl}/rest/mbt/county/${this.props.match.params.county}`, {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n const columns = [\r\n { type: \"date\", label: \"Month\" },\r\n { type: \"number\", label: \"Total Revenue\" },\r\n ];\r\n let rows = [];\r\n\r\n try {\r\n for (let row of res.data) {\r\n let { date, Total_Receipts } = row;\r\n date = new Date(row.year + \"-\" + row.month);\r\n if (row.year > 2016 && row.year <= 2018) {\r\n date = new Date(row.year, row.month - 1, 1);\r\n // //////consolelog(date);\r\n rows.push([date, Total_Receipts]);\r\n }\r\n }\r\n this.setState({\r\n chartData: [columns, ...rows],\r\n dataLoadingStatus: \"ready\",\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n\r\n const rawposts = res.data;\r\n const posts = res.data;\r\n this.setState({ posts: posts });\r\n\r\n var i = 0;\r\n var j = 0;\r\n var a = 0;\r\n var newposts = [];\r\n\r\n try {\r\n for (i = 0; i < posts.length; i++) {\r\n if (a === 0) {\r\n newposts.push(new Object());\r\n newposts[newposts.length - 1].year = posts[i].year;\r\n if (posts[i].month === 1) {\r\n newposts[newposts.length - 1].january = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 2) {\r\n newposts[newposts.length - 1].february =\r\n posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 3) {\r\n newposts[newposts.length - 1].march = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 4) {\r\n newposts[newposts.length - 1].april = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 5) {\r\n newposts[newposts.length - 1].may = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 6) {\r\n newposts[newposts.length - 1].june = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 7) {\r\n newposts[newposts.length - 1].july = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 8) {\r\n newposts[newposts.length - 1].august = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 9) {\r\n newposts[newposts.length - 1].september =\r\n posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 10) {\r\n newposts[newposts.length - 1].october = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 11) {\r\n newposts[newposts.length - 1].november =\r\n posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 12) {\r\n newposts[newposts.length - 1].december =\r\n posts[i].Total_Receipts;\r\n }\r\n a = 1;\r\n continue;\r\n }\r\n\r\n for (j = 0; j < newposts.length; j++) {\r\n if (newposts[j].year === posts[i].year) {\r\n if (posts[i].month === 1) {\r\n newposts[j].january = posts[i].Total_Receipts;\r\n ////////consolelog(temp['January']);\r\n }\r\n if (posts[i].month === 2) {\r\n newposts[j].february = posts[i].Total_Receipts;\r\n ////////consolelog(newposts[j]);\r\n }\r\n if (posts[i].month === 3) {\r\n newposts[j].march = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 4) {\r\n newposts[j].april = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 5) {\r\n newposts[j].may = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 6) {\r\n newposts[j].june = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 7) {\r\n newposts[j].july = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 8) {\r\n newposts[j].august = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 9) {\r\n newposts[j].september = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 10) {\r\n newposts[j].october = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 11) {\r\n newposts[j].november = posts[i].Total_Receipts;\r\n }\r\n if (posts[i].month === 12) {\r\n newposts[j].december = posts[i].Total_Receipts;\r\n a = 0;\r\n }\r\n break;\r\n }\r\n }\r\n }\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n\r\n var yearposts = [];\r\n try {\r\n for (var k = 0; k < newposts.length; k++) {\r\n yearposts.push(new Object());\r\n\r\n yearposts[k].year = newposts[k].year;\r\n yearposts[k].total_revenue =\r\n newposts[k].january +\r\n newposts[k].february +\r\n newposts[k].march +\r\n newposts[k].april +\r\n newposts[k].may +\r\n newposts[k].june +\r\n newposts[k].july +\r\n newposts[k].august +\r\n newposts[k].september +\r\n newposts[k].october +\r\n newposts[k].november +\r\n newposts[k].december;\r\n }\r\n\r\n for (var l = 0; l < yearposts.length; l++) {\r\n if (l === 0) {\r\n yearposts[l].totalRevChange = \"0\";\r\n // yearposts[l].RevPARChange = '0';\r\n } else {\r\n yearposts[l].totalRevChange =\r\n \"$ \" +\r\n (yearposts[l].total_revenue - yearposts[l - 1].total_revenue)\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\") +\r\n \" (\" +\r\n (\r\n (yearposts[l].total_revenue /\r\n yearposts[l - 1].total_revenue) *\r\n 100 -\r\n 100\r\n ).toFixed(2) +\r\n \"%)\";\r\n // yearposts[l].RevPARChange = '$ '+(yearposts[l].RevPar-yearposts[l-1].RevPar).toFixed(2)+ ' (' + ((((yearposts[l].RevPar/yearposts[l-1].RevPar)*100)-100).toFixed(2))+\"%)\";\r\n }\r\n }\r\n this.setState({\r\n yearposts,\r\n newposts,\r\n rawposts,\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n // window.location.replace('/logout');\r\n });\r\n }\r\n\r\n handleChange1 = name => event => {\r\n this.setState({\r\n [name]: event.target.value,\r\n });\r\n axios\r\n .get(`${apiUrl}/rest/mbt/county/${this.props.match.params.county}`, {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n const columns = [\r\n { type: \"date\", label: \"Month\" },\r\n { type: \"number\", label: \"Total Revenue\" },\r\n ];\r\n let rows = [];\r\n var d = new Date();\r\n var n = d.getFullYear();\r\n\r\n try {\r\n for (let row of res.data) {\r\n let { date, Total_Receipts } = row;\r\n date = new Date(row.year + \"-\" + row.month);\r\n if (row.year > event.target.value && row.year <= n) {\r\n date = new Date(row.year, row.month - 1, 1);\r\n // //////consolelog(date);\r\n rows.push([date, Total_Receipts]);\r\n }\r\n }\r\n //////consolelog(rows);\r\n this.setState({\r\n chartData: [columns, ...rows],\r\n dataLoadingStatus: \"ready\",\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n //window.location.replace('/logout');\r\n });\r\n };\r\n\r\n render() {\r\n let chartdisplay;\r\n if (this.state.dataLoadingStatus === \"ready\") {\r\n chartdisplay = (\r\n
\r\n \r\n {durations.map(option => (\r\n \r\n {option.label}\r\n \r\n ))}\r\n \r\n\r\n Loading Chart
}\r\n width={\"100%\"}\r\n height={\"400px\"}\r\n data={this.state.chartData}\r\n options={{\r\n chartArea: { height: \"100%\", width: \"90%\" },\r\n hAxis: {\r\n format: \"yyyy\",\r\n },\r\n vAxis: {\r\n format: \"short\",\r\n },\r\n title: \"Monthly Revenue - County\",\r\n series: {\r\n // Gives each series an axis name that matches the Y-axis below.\r\n 0: { axis: \"Total_Receipts\" },\r\n },\r\n axes: {\r\n // Adds labels to each axis; they don't have to match the axis names.\r\n y: {\r\n Total_Receipts: { label: \"Monthly Revenue\" },\r\n all: {\r\n format: {\r\n pattern: \"currency\",\r\n },\r\n },\r\n },\r\n x: {\r\n all: {\r\n format: {\r\n pattern: \"MMM dd, yyyy\",\r\n },\r\n },\r\n },\r\n },\r\n legend: { position: \"none\" },\r\n }}\r\n rootProps={{ \"data-testid\": \"2\" }}\r\n />\r\n \r\n );\r\n } else {\r\n chartdisplay = (\r\n
\r\n {\" \"}\r\n \r\n
\r\n );\r\n }\r\n const { classes } = this.props;\r\n const { value } = this.state;\r\n\r\n return (\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n

{this.props.match.params.county}

\r\n
\r\n
\r\n \r\n County Data\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {value === 0 && {chartdisplay}}\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n {\r\n if (rowData.january === undefined) {\r\n rowData.january = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.january\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"February\",\r\n field: \"february\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.february === undefined) {\r\n rowData.february = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.february\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"March\",\r\n field: \"march\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.march === undefined) {\r\n rowData.march = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.march\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"April\",\r\n field: \"april\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.april === undefined) {\r\n rowData.april = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.april\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"May\",\r\n field: \"may\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.may === undefined) {\r\n rowData.may = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.may\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"June\",\r\n field: \"june\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.june === undefined) {\r\n rowData.june = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.june\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"July\",\r\n field: \"july\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.july === undefined) {\r\n rowData.july = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.july\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"August\",\r\n field: \"august\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.august === undefined) {\r\n rowData.august = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.august\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"September\",\r\n field: \"september\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.september === undefined) {\r\n rowData.september = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.september\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"October\",\r\n field: \"october\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.october === undefined) {\r\n rowData.october = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.october\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"November\",\r\n field: \"november\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.november === undefined) {\r\n rowData.november = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.november\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"December\",\r\n field: \"december\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (rowData.december === undefined) {\r\n rowData.december = 0;\r\n }\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.december\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n ]}\r\n data={this.state.newposts}\r\n title={`Monthly Performance: ${this.props.match.params.county}`}\r\n />\r\n
\r\n \r\n \r\n \r\n \r\n {\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.Total_Receipts.toString().replace(\r\n /\\B(?=(\\d{3})+(?!\\d))/g,\r\n \",\"\r\n )}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n ]}\r\n data={this.state.cityposts}\r\n title={`By City: ${this.props.match.params.county}`}\r\n />\r\n
\r\n \r\n {\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.total_revenue\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"Change in Revenue\",\r\n field: \"totalRevChange\",\r\n\r\n render: rowData => {\r\n if (rowData.totalRevChange.includes(\"-\")) {\r\n return (\r\n
\r\n {rowData.totalRevChange}\r\n arrow_downward\r\n
\r\n );\r\n } else if (rowData.totalRevChange !== \"0\") {\r\n return (\r\n
\r\n {rowData.totalRevChange}\r\n arrow_upward\r\n
\r\n );\r\n } else return
{rowData.totalRevChange}
;\r\n },\r\n type: \"html\",\r\n },\r\n ]}\r\n data={this.state.yearposts}\r\n title={`Yearly Data: ${this.props.match.params.county}`}\r\n options={{\r\n pageSizeOptions: [10, 20, 50, 100],\r\n columnsButton: true,\r\n }}\r\n />\r\n
\r\n \r\n {\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.Total_Receipts.toString().replace(\r\n /\\B(?=(\\d{3})+(?!\\d))/g,\r\n \",\"\r\n )}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n ]}\r\n data={this.state.rawposts}\r\n title={`Complete Data Set: ${this.props.match.params.county}`}\r\n options={{\r\n pageSizeOptions: [10, 20, 50, 100],\r\n columnsButton: true,\r\n exportButton: true,\r\n }}\r\n />\r\n
\r\n
\r\n \r\n
\r\n );\r\n }\r\n}\r\nMBTCounty.propTypes = {\r\n classes: PropTypes.object.isRequired,\r\n};\r\nexport default withStyles(styles)(MBTCounty);\r\n","\r\n// How many years user can select at a time\r\nexport const durations = [\r\n {\r\n value: \"1\",\r\n label: \"1 year\"\r\n },\r\n {\r\n value: \"3\",\r\n label: \"3 years\"\r\n },\r\n {\r\n value: \"5\",\r\n label: \"5 years\"\r\n },\r\n {\r\n value: \"10\",\r\n label: \"10 years\"\r\n },\r\n {\r\n value: \"100\",\r\n label: \"All\"\r\n }\r\n]\r\n\r\n\r\n// How many years user can select at a time\r\nexport const durations1 = [\r\n {\r\n value: \"1\",\r\n label: \"1 year\"\r\n },\r\n {\r\n value: \"3\",\r\n label: \"3 years\"\r\n },\r\n {\r\n value: \"5\",\r\n label: \"5 years\"\r\n },\r\n {\r\n value: \"10\",\r\n label: \"10 years\"\r\n },\r\n {\r\n value: \"100\",\r\n label: \"All\"\r\n }\r\n ];\r\n\r\nexport const durationsttm = [\r\n {\r\n value: \"1\",\r\n label: \"1 year\"\r\n },\r\n {\r\n value: \"3\",\r\n label: \"3 years\"\r\n },\r\n {\r\n value: \"5\",\r\n label: \"5 years\"\r\n },\r\n {\r\n value: \"10\",\r\n label: \"10 years\"\r\n },\r\n {\r\n value: \"100\",\r\n label: \"All\"\r\n }\r\n ];\r\n\r\nexport const durationsttmrevpar = [\r\n {\r\n value: \"1\",\r\n label: \"1 year\"\r\n },\r\n {\r\n value: \"3\",\r\n label: \"3 years\"\r\n },\r\n {\r\n value: \"5\",\r\n label: \"5 years\"\r\n },\r\n {\r\n value: \"10\",\r\n label: \"10 years\"\r\n },\r\n {\r\n value: \"100\",\r\n label: \"All\"\r\n }\r\n ];\r\n ","import React from 'react';\r\nimport \"./infoWindow.css\";\r\n\r\nfunction InfoWindow(props) {\r\n return (\r\n
\r\n {props.children}\r\n
\r\n )\r\n}\r\n\r\nexport default InfoWindow;","import React, { Component } from 'react';\r\nimport InfoWindow from './InfoWindow';\r\nimport './Marker.css';\r\n\r\nconst checkDiv = (content, mouseOver, mouseOut) => {\r\n return {content}\r\n \r\n}\r\n\r\nconst GoogleMapMarker = (props) => {\r\n const { color, name } = props;\r\n return (\r\n
\r\n {checkDiv(props.children, props.mouseOver, props.mouseOut)}\r\n
\r\n )\r\n}\r\n\r\nexport default GoogleMapMarker;","import axios from \"axios\";\r\nimport { apiUrl } from \"../helpers\";\r\n\r\n// const apiUrl = `https://api.searchtexastax.com/rest/basic`;\r\n\r\n// const data = {\r\n// data: {\r\n// taxpayer_number: taxPayerNumber,\r\n// location_number: locationNum\r\n// },\r\n// }\r\n\r\nexport default {\r\n getOneHotelLatLong: (taxPayerNum, locationNum) => {\r\n return axios.get(`${apiUrl}/rest/basic/map/${taxPayerNum}/${locationNum}`, {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"),\r\n },\r\n });\r\n },\r\n\r\n getHotelInfo: () =>\r\n axios.get(``, {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"),\r\n },\r\n }),\r\n\r\n getHotelFinanceRecordMonthly: (hotelName, taxPayerNum, locationNum, cancel) =>\r\n axios.get(\r\n `${apiUrl}/rest/basic/${hotelName\r\n .replace(\"/\", \"(slash)\")\r\n .replace(\"#\", \"(hash)\")\r\n .trim()}/${taxPayerNum}/${locationNum}`,\r\n {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"),\r\n },\r\n },\r\n `cancelToken: ${cancel}`\r\n ),\r\n\r\n getHotelFinanceRecordYearly: (\r\n hotelName,\r\n taxPayerNum,\r\n locationNum,\r\n filerType,\r\n cancel\r\n ) =>\r\n axios.get(\r\n `${apiUrl}/rest/basic/testyearlyvalues/${hotelName}/${taxPayerNum}/${locationNum}/${filerType}`,\r\n {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"),\r\n },\r\n },\r\n `cancelToken:${cancel}`\r\n ),\r\n\r\n getHotelFinanceRecordYearlyMBT: (taxPayerNum, locationNum) =>\r\n axios.get(\r\n `${apiUrl}/rest/mbt/testyearlyvalues/${taxPayerNum}/${locationNum}`,\r\n {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"),\r\n },\r\n }\r\n ),\r\n\r\n getHotelFinanceRecordLastTwelveMonth: (\r\n yearlyPosts,\r\n hotelName,\r\n taxPayerNum,\r\n locationNum,\r\n filerType\r\n ) =>\r\n axios.get(\r\n `${apiUrl}/rest/basic/testlastyearlyvalues/${yearlyPosts}/${hotelName}/${taxPayerNum}/${locationNum}/${filerType}`,\r\n {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"),\r\n },\r\n }\r\n ),\r\n\r\n // not implemented line ~969\r\n // getHotelFinanceRecordLastTwelveMonth: function(yearlyPosts, hotelName, taxPayerNum, locationNum, filerType, cancel) {\r\n // return axios.get(`${apiUrl}/rest/basic/testlastyearlyvalues/${yearlyPosts}/${hotelName}/${taxPayerNum}/${locationNum}/${filerType}`,\r\n // {\r\n // headers: {\r\n // authorization: 'Bearer ' + localStorage.getItem('token'),\r\n // },\r\n // cancelToken: cancel\r\n // })\r\n // },\r\n\r\n postHotelHistory: function(taxPayerNumber, locationNum, cancel) {\r\n return axios({\r\n method: \"post\",\r\n url: `${apiUrl}/rest/basic/hotelhistory`,\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"),\r\n },\r\n data: {\r\n taxpayer_number: taxPayerNumber,\r\n location_number: locationNum,\r\n },\r\n cancelToken: cancel,\r\n //data: {\r\n // location_address: this.state.postsaddress,\r\n // location_number: this.props.match.params.locationnumber,\r\n // location_city: this.state.postscity\r\n // }\r\n });\r\n },\r\n\r\n // postHotelHistory: (taxPayerNumber, locationNum, cancel) =>\r\n // axios.post(`${apiUrl}/hotelhistory`,\r\n // headers, data,\r\n // `cancelToken: ${cancel}`\r\n\r\n // )\r\n};\r\n","import React, { Component } from 'react'\r\nimport { withStyles } from '@material-ui/core/styles'\r\nimport { withRouter } from 'react-router-dom'\r\n// import { withGoogleMap, GoogleMap, InfoWindow, withScriptjs } from 'react-google-maps'\r\nimport GoogleMapReact from 'google-map-react'\r\nimport GoogleMapMarkers from './GoogleMapMarker'\r\nimport API from '../utils/API'\r\n\r\nconst styles = theme => ({\r\n googleMapRender: {\r\n [theme.breakpoints.down('xs')]: {\r\n height: '300px',\r\n },\r\n [theme.breakpoints.down('sm')]: {\r\n height: '300px',\r\n },\r\n [theme.breakpoints.up('md')]: {\r\n height: '200px',\r\n },\r\n },\r\n})\r\n\r\nclass GoogleMap extends React.Component {\r\n state = {\r\n showInfoWindow: false,\r\n index: '',\r\n address: this.props.address,\r\n }\r\n\r\n static defaultProps = {\r\n zoom: 15,\r\n }\r\n\r\n handleMouseOver = index => {\r\n return () => {\r\n this.setState({ showInfoWindow: true, index: index })\r\n }\r\n }\r\n\r\n handleMouseExit = (index, props) => {\r\n this.setState({ showInfoWindow: false })\r\n }\r\n\r\n renderInfoWindow = props => {}\r\n\r\n render() {\r\n const { classes, theme } = this.props\r\n\r\n return (\r\n //
\r\n
\r\n \r\n \r\n {/* {(this.state.showInfoWindow === true) ? (\r\n
This is the window {`${this.state.address}`}
) : false\r\n } */}\r\n {/* {this.renderInfoWindow()} */}\r\n \r\n \r\n
\r\n )\r\n }\r\n}\r\n\r\nexport default withRouter(withStyles(styles)(GoogleMap))\r\n","import React, { Component } from \"react\";\r\n// import { withRouter } from \"react-router-dom\";\r\nimport { Link, withRouter } from \"react-router-dom\";\r\nimport ReactGA from \"react-ga\";\r\nimport { CSVLink } from \"react-csv\";\r\nimport axios from \"axios\";\r\nimport PropTypes from \"prop-types\";\r\n\r\n// Components\r\nimport ListTaxPayerProp from \"./ListTaxPayerProp\";\r\n// import ListHotels from './ListHotels';\r\n\r\n// material-ui components\r\nimport { makeStyles } from \"@material-ui/core/styles\";\r\nimport Card from \"@material-ui/core/Card\";\r\nimport CardHeader from \"@material-ui/core/CardHeader\";\r\nimport Chip from \"@material-ui/core/Chip\";\r\n\r\nimport List from \"@material-ui/core/List\";\r\nimport ListItem from \"@material-ui/core/ListItem\";\r\nimport ListItemIcon from \"@material-ui/core/ListItemIcon\";\r\nimport ListItemText from \"@material-ui/core/ListItemText\";\r\n\r\nimport MaterialTable from \"material-table\";\r\nimport Paper from \"@material-ui/core/Paper\";\r\nimport Typography from \"@material-ui/core/Typography\";\r\nimport Icon from \"@material-ui/core/Icon\";\r\nimport { Chart } from \"react-google-charts\";\r\n\r\nimport AddIcon from \"@material-ui/icons/Add\";\r\nimport Button from \"@material-ui/core/Button\";\r\nimport Grid from \"@material-ui/core/Grid\";\r\nimport Tooltip from \"@material-ui/core/Tooltip\";\r\nimport Snackbar from \"@material-ui/core/Snackbar\";\r\nimport { withStyles } from \"@material-ui/core/styles\";\r\nimport MenuItem from \"@material-ui/core/MenuItem\";\r\nimport TextField from \"@material-ui/core/TextField\";\r\nimport AppBar from \"@material-ui/core/AppBar\";\r\nimport Tabs from \"@material-ui/core/Tabs\";\r\nimport Tab from \"@material-ui/core/Tab\";\r\nimport CircularProgress from \"@material-ui/core/CircularProgress\";\r\nimport Dialog from \"@material-ui/core/Dialog\";\r\nimport DialogActions from \"@material-ui/core/DialogActions\";\r\nimport DialogContent from \"@material-ui/core/DialogContent\";\r\nimport DialogTitle from \"@material-ui/core/DialogTitle\";\r\nimport Slide from \"@material-ui/core/Slide\";\r\nimport ExpansionPanel from \"@material-ui/core/ExpansionPanel\";\r\nimport ExpansionPanelSummary from \"@material-ui/core/ExpansionPanelSummary\";\r\nimport ExpansionPanelDetails from \"@material-ui/core/ExpansionPanelDetails\";\r\nimport ExpandMoreIcon from \"@material-ui/icons/ExpandMore\";\r\nimport Divider from \"@material-ui/core/Divider\";\r\nimport Popover from \"@material-ui/core/Popover\";\r\nimport shortid from \"shortid\";\r\nimport uuid from \"uuid\";\r\nimport moment from \"moment\";\r\nimport grey from \"@material-ui/core/colors/grey\";\r\nimport {\r\n durations,\r\n durations1,\r\n durationsttm,\r\n durationsttmrevpar,\r\n} from \"../utils/googleChartHelper\";\r\nimport { apiUrl } from \"../helpers\";\r\nimport { handleError } from \"../utils/errorHandling/errorHelper\";\r\nimport GoogleMapReact from \"./GoogleMap\";\r\n// import GoogleMapReact from './GoogleMap';\r\nimport Fab from \"@material-ui/core/Fab\";\r\nimport API from \"../utils/API\";\r\nimport { CardContent } from \"@material-ui/core\";\r\n\r\nlet pathname = window.location.pathname;\r\n\r\n// blue, scarlette, golden, green, purpple, aqua, lightorange, booger-green, indigo, blossom-pink, dark-aqua, dark-pink\r\nlet chartColors = [\r\n \"#4285f4\",\r\n \"#db4437\",\r\n \"#f4b400\",\r\n \"#0f9d58\",\r\n \"#ab47bc\",\r\n \"#00acc1\",\r\n \"#ff7043\",\r\n \"#9e9d24\",\r\n \"#5c6bc0\",\r\n \"#f06292\",\r\n \"#00796b\",\r\n \"#c2185b\",\r\n];\r\nchartColors = [...chartColors];\r\n\r\nconst sideBarColor = grey[300];\r\n\r\nfunction TabContainer(props) {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n}\r\nfunction Transition(props) {\r\n return ;\r\n}\r\n\r\nconst addSpace = num => {\r\n let str = \" \";\r\n for (let i = 0; i < num; i++) str += \" \";\r\n return str;\r\n};\r\n\r\n//function createMarkup() { return (
\"TEST\"
) };\r\nTabContainer.propTypes = {\r\n children: PropTypes.node.isRequired,\r\n};\r\nconst styles = theme => ({\r\n card: {\r\n minHeight: \"300px\",\r\n [theme.breakpoints.down(\"xs\")]: {\r\n minHeight: \"300px\",\r\n overflow: \"auto\",\r\n maxHeight: \"300px\",\r\n },\r\n [theme.breakpoints.up(\"sm\")]: {\r\n // minHeight: '300px',\r\n maxHeight: \"300px\",\r\n overflow: \"auto !important\",\r\n },\r\n },\r\n typography: {\r\n margin: 0,\r\n padding: 0,\r\n },\r\n typography3: {\r\n marginTop: 0,\r\n padding: 0,\r\n fontSize: \"100%\",\r\n [theme.breakpoints.down(\"xs\")]: {\r\n fontSize: \".5rem\",\r\n },\r\n [theme.breakpoints.down(\"sm\")]: {\r\n fontSize: \"1rem\",\r\n },\r\n },\r\n listItem: {\r\n paddingTop: \"4px\",\r\n paddingBottom: \"4px\",\r\n marginTop: \"0px\",\r\n marginBottom: \"0px\",\r\n },\r\n map: {\r\n [theme.breakpoints.down(\"md\")]: {\r\n height: \"200px\",\r\n },\r\n [theme.breakpoints.down(\"sm\")]: {\r\n height: \"25vh\",\r\n },\r\n },\r\n popover: {\r\n pointerEvents: \"none\",\r\n //padding: '15px!important',\r\n //margin: '15px!important',\r\n },\r\n paper: {\r\n padding: theme.spacing(2),\r\n textAlign: \"center\",\r\n color: theme.palette.text.secondary,\r\n },\r\n\r\n fab: {\r\n margin: theme.spacing(2),\r\n },\r\n absolute: {\r\n position: \"fixed\",\r\n bottom: theme.spacing(2),\r\n right: theme.spacing(3),\r\n backgroundColor: \"#d50000\",\r\n zIndex: \"2000\",\r\n \"&:hover\": {\r\n backgroundColor: \"#f44336\",\r\n },\r\n },\r\n button: {\r\n textTransform: \"Capitalize\",\r\n color: \"rgba(0, 0, 0, 0.54)\",\r\n },\r\n legend: {\r\n position: \"none\",\r\n },\r\n Red: {\r\n color: \"red\",\r\n top: \"5px\",\r\n position: \"relative\",\r\n fontSize: \"21px!important\",\r\n fontWeight: \"1000!important\",\r\n },\r\n Green: {\r\n color: \"green\",\r\n top: \"5px\",\r\n position: \"relative\",\r\n fontSize: \"21px!important\",\r\n fontWeight: \"1000!important\",\r\n },\r\n Grey: {\r\n color: \"gray\",\r\n position: \"relative\",\r\n fontSize: \"21px!important\",\r\n marginBottom: \"5px\",\r\n },\r\n avatar: {\r\n margin: 0,\r\n },\r\n pinkAvatar: {\r\n margin: 0,\r\n color: \"#fff\",\r\n backgroundColor: \"#d50000\",\r\n width: 120,\r\n height: 30,\r\n borderRadius: 5,\r\n fontSize: 15,\r\n textTransform: \"Capitalize\",\r\n },\r\n subtext: {\r\n textTransform: \"Capitalize\",\r\n },\r\n subtext2: {\r\n height: 25,\r\n fontSize: \".9rem\",\r\n paddingTop: 3,\r\n paddingLeft: 5,\r\n },\r\n link: {\r\n color: \"white\",\r\n fontWeight: \"bold\",\r\n \"&:hover\": {\r\n textDecoration: \"none\",\r\n color: \"#2196f3\",\r\n },\r\n },\r\n propertyLink: {\r\n color: \"black\",\r\n \"&:hover\": {\r\n textDecoration: \"none\",\r\n color: \"#1e88e5\",\r\n },\r\n paddingTop: \"4px\",\r\n paddingBottom: \"4px\",\r\n },\r\n divider: {\r\n marginTop: 10,\r\n zIndex: 3,\r\n },\r\n mbt: {\r\n margin: 0,\r\n color: \"#fff\",\r\n backgroundColor: \"#0d47a1\",\r\n borderRadius: 5,\r\n fontSize: \".8rem\",\r\n padding: \".5px 2px\",\r\n },\r\n mbtDot: {\r\n height: 10,\r\n width: 10,\r\n paddingRight: 5,\r\n backgroundColor: \"#0d47a1\",\r\n borderRadius: \"50%\",\r\n display: \"inline-block\",\r\n },\r\n hotelDot: {\r\n height: 10,\r\n width: 10,\r\n paddingRight: 5,\r\n backgroundColor: \"#d50000\",\r\n borderRadius: \"50%\",\r\n display: \"inline-block\",\r\n },\r\n hotel: {\r\n margin: 0,\r\n color: \"#fff\",\r\n backgroundColor: \"#d50000\",\r\n borderRadius: 5,\r\n fontSize: \".8rem\",\r\n padding: \"1px 2px\",\r\n },\r\n description: {\r\n fontSize: \".8rem\",\r\n textAlign: \"center\",\r\n margin: 0,\r\n paddingTop: 10,\r\n backgroundColor: \"#fafafa\",\r\n },\r\n propertyName: {\r\n fontSize: \".8rem\",\r\n },\r\n propertyAddress: {\r\n fontSize: \".8rem\",\r\n margin: 0,\r\n padding: 0,\r\n },\r\n dotContainer: {\r\n margin: 0,\r\n //paddingLeft: 10\r\n },\r\n taxInfo: {\r\n fontSize: \"1rem\",\r\n textAlign: \"center\",\r\n paddingBottom: 10,\r\n },\r\n taxHeading: {\r\n fontSize: \"1rem\",\r\n paddingBottom: 20,\r\n },\r\n taxTitle: {\r\n fontSize: \"1rem\",\r\n padding: 0,\r\n marging: 0,\r\n display: \"inline\",\r\n },\r\n taxAddress: {\r\n textAlign: \"left\",\r\n fontSize: \".8rem\",\r\n },\r\n expansionDetails: {\r\n backgroundColor: \"#fafafa\",\r\n marging: 0,\r\n padding: 0,\r\n height: \"auto\",\r\n },\r\n expansionDetails2: {\r\n backgroundColor: \"#fafafa\",\r\n margin: 0,\r\n },\r\n noPortfolioMsg: {\r\n color: \"red\",\r\n },\r\n linkMsg: {\r\n textDecoration: \"underline\",\r\n },\r\n portfolioLink: {\r\n marginLeft: \"10px\",\r\n color: \"#448aff\",\r\n textDecoration: \"underline\",\r\n fontSize: \"1rem\",\r\n },\r\n colMinWidth: {\r\n maxWidth: \"160px!important\",\r\n display: \"flex\",\r\n flexDirection: \"row\",\r\n [theme.breakpoints.down(\"md\")]: {\r\n maxWidth: \"150px!important\",\r\n display: \"flex\",\r\n flexDirection: \"row\",\r\n },\r\n [theme.breakpoints.down(\"sm\")]: {\r\n minWidth: \"150px!important\",\r\n display: \"flex\",\r\n flexDirection: \"row\",\r\n },\r\n [theme.breakpoints.down(\"xs\")]: {\r\n minWidth: \"190px!important\",\r\n display: \"flex\",\r\n flexDirection: \"row\",\r\n },\r\n },\r\n RevParMinWidth: {\r\n maxWidth: \"140px!important\",\r\n display: \"flex\",\r\n flexDirection: \"row\",\r\n [theme.breakpoints.down(\"md\")]: {\r\n maxWidth: \"130px!important\",\r\n display: \"flex\",\r\n flexDirection: \"row\",\r\n },\r\n [theme.breakpoints.down(\"sm\")]: {\r\n minWidth: \"120px!important\",\r\n display: \"flex\",\r\n flexDirection: \"row\",\r\n },\r\n [theme.breakpoints.down(\"xs\")]: {\r\n minWidth: \"120px!important\",\r\n display: \"flex\",\r\n flexDirection: \"row\",\r\n },\r\n },\r\n taxInfoWrapper: {\r\n padding: 12,\r\n paddingLeft: \"10%\",\r\n maxWidth: \"300px\",\r\n [theme.breakpoints.down(\"sm\")]: {\r\n textAlign: \"center\",\r\n padding: 0,\r\n marginRight: \"auto\",\r\n marginLeft: \"auto\",\r\n },\r\n [theme.breakpoints.down(\"md\")]: {\r\n textAlign: \"center\",\r\n padding: 0,\r\n marginRight: \"auto\",\r\n marginLeft: \"auto\",\r\n },\r\n },\r\n newOwner: {\r\n fontSize: \"18px!important\",\r\n },\r\n propertyChange: {\r\n width: \"220px\",\r\n fontSize: \".8rem\",\r\n textAlign: \"left\",\r\n padding: \"12px\",\r\n margin: \"0px\",\r\n color: \"#fff\",\r\n },\r\n popoverCell: {\r\n minWidth: \"100px!important\",\r\n maxWidth: \"210px!important\",\r\n },\r\n overflow: {\r\n width: \"100%\",\r\n overflow: \"auto\",\r\n },\r\n});\r\n\r\nconst longText = `\r\n This is the history of the names under which this property has filed its Texas State hotel occupancy tax. The dates reflect when the name was changed on state tax filings.\r\n `;\r\nclass HotelInfo extends React.Component {\r\n // using to cancel axios requests before component unmounts\r\n signal = axios.CancelToken.source();\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n posts: [],\r\n rawposts: [],\r\n postscity: \"\",\r\n postsaddress: \"\",\r\n postscounty: \"\",\r\n postsfiler: \"\",\r\n postszip: \"\",\r\n newposts: [],\r\n getposts: [],\r\n ttmposts: [],\r\n ttmpostsrevpar: [],\r\n token: \"\",\r\n errormsg: \"\",\r\n portfoliotypes: [],\r\n portfolioSelected: {},\r\n poststimeline: [],\r\n noPortfoliosMsg: false,\r\n value: 0,\r\n yearlyfiler: 50,\r\n duration: \"1\",\r\n duration1: \"1\",\r\n durationttm: \"1\",\r\n durationttmrevpar: \"1\",\r\n type: \"\",\r\n title: \"Add this Hotel to Portfolio\",\r\n open: false,\r\n opensnack: false,\r\n showyear: false,\r\n vertical: \"top\",\r\n horizontal: \"center\",\r\n taxname: \"\",\r\n taxnum: \"\",\r\n taxaddress: \"\",\r\n taxcity: \"\",\r\n taxstate: \"\",\r\n taxzip: \"\",\r\n filtertable: true,\r\n otherTaxProperties: [],\r\n matchedAdresses: [],\r\n hotelName: this.props.match.params.hotelname\r\n .replace(\"(slash)\", \"/\")\r\n .replace(\"(hash)\", \"#\"),\r\n expanded: null,\r\n postsHotelName: \"\",\r\n postsLocationNum: \"\",\r\n dataLoadingStatustimeline: false,\r\n anchorEl: null,\r\n openedPopoverId: \"\",\r\n selectedRow: null,\r\n descendingPosts: \"\",\r\n //timeline state\r\n timelineDate: [],\r\n chartColorsIndex: 0,\r\n //tableLoading\r\n monthlyLoading: true,\r\n yearlyLoading: true,\r\n completeLoading: true,\r\n displayMessage: \"SEARCHING...\",\r\n latitude: \"\",\r\n longitude: \"\",\r\n };\r\n }\r\n\r\n // save to user history\r\n onSave() {\r\n let {\r\n taxnum,\r\n postsLocationNum,\r\n postsHotelName,\r\n postscity,\r\n postscounty,\r\n } = this.state;\r\n try {\r\n if (\r\n taxnum !== \"\" &&\r\n postsLocationNum !== \"\" &&\r\n postsHotelName !== \"\" &&\r\n postscity !== \"\" &&\r\n postscounty !== \"\"\r\n ) {\r\n axios({\r\n method: \"post\",\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n url: `${apiUrl}/rest/history`,\r\n data: {\r\n taxpayer_number: taxnum,\r\n location_number: postsLocationNum,\r\n location_name: postsHotelName,\r\n location_city: postscity,\r\n location_county: postscounty,\r\n type: 0,\r\n },\r\n }).catch(e => {\r\n ReactGA.exception({\r\n description: \"An error occurred\",\r\n });\r\n handleError(e, pathname);\r\n //window.location.replace('/login');\r\n });\r\n }\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n }\r\n\r\n handleChangePanel = panel => (event, expanded) => {\r\n this.setState({\r\n expanded: expanded ? panel : false,\r\n });\r\n };\r\n\r\n handleChange = name => event => {\r\n this.state.portfoliotypes.map(item => {\r\n if (item.id === event.target.value) {\r\n this.setState({ portfolioSelected: item });\r\n }\r\n });\r\n this.setState({\r\n [name]: event.target.value,\r\n });\r\n };\r\n\r\n handleChangetab = (event, value) => {\r\n this.setState({ value });\r\n };\r\n\r\n handleClick() {\r\n if (this.state.type === \"\") {\r\n this.setState({ errormsg: 1 });\r\n return;\r\n } else {\r\n this.setState({ errormsg: 0 });\r\n }\r\n\r\n // post to portfolio\r\n axios({\r\n method: \"post\",\r\n url: `${apiUrl}/rest/portfolio/hotel/`,\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n data: {\r\n taxpayer_number: this.props.match.params.taxpayernumber,\r\n id: this.state.type,\r\n location_name: this.props.match.params.hotelname\r\n .replace(\"(slash)\", \"/\")\r\n .replace(\"(hash)\", \"#\"),\r\n location_number: this.props.match.params.locationnumber,\r\n },\r\n })\r\n .then(res => {\r\n try {\r\n if (res.data) {\r\n this.setState({ open: false });\r\n this.setState({ opensnack: true });\r\n }\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n })\r\n .catch(e => {\r\n ReactGA.exception({\r\n description: \"An error occurred\",\r\n });\r\n handleError(e, pathname);\r\n //window.location.replace('/login');\r\n });\r\n }\r\n\r\n handleClickOpen = () => {\r\n this.setState({ open: true });\r\n if (this.state.portfolio === \"\") {\r\n this.setState({ errormsg: true });\r\n return;\r\n }\r\n // call to GET portfolio\r\n axios({\r\n method: \"get\",\r\n url: `${apiUrl}/rest/portfolio/`,\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n try {\r\n const rawposts1 = res.data;\r\n const updatedposts = [];\r\n if (res.data.length !== 0) {\r\n for (var i = 0; i < rawposts1.length; i++) {\r\n if (rawposts1[i].type === 0) {\r\n updatedposts[i] = rawposts1[i];\r\n }\r\n }\r\n this.setState({ portfoliotypes: updatedposts });\r\n } else {\r\n this.setState({ noPortfoliosMsg: true });\r\n }\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n })\r\n .catch(e => {\r\n ReactGA.exception({\r\n description: \"An error occurred\",\r\n });\r\n handleError(e, pathname);\r\n //window.location.replace('/login');\r\n });\r\n };\r\n\r\n handleClose = () => {\r\n this.setState({ open: false });\r\n this.setState({ errormsg: 0 });\r\n };\r\n\r\n handleCloseSnack = (event, reason) => {\r\n if (reason === \"clickaway\") {\r\n return;\r\n }\r\n this.setState({ opensnack: false });\r\n };\r\n\r\n // ===== Monthly =======\r\n handleChange1 = name => event => {\r\n this.setState({\r\n [name]: event.target.value,\r\n });\r\n\r\n try {\r\n let { descendingPosts } = this.state;\r\n const [metadata, data] = descendingPosts;\r\n const columns = [\r\n { type: \"date\", label: \"Month\" },\r\n { type: \"number\", label: \"Total Revenue\" },\r\n ];\r\n\r\n let rows = [];\r\n var d = new Date();\r\n var n = d.getFullYear();\r\n for (let row of descendingPosts) {\r\n let { date, room_receipts } = row;\r\n // check if the row year is greather or equal to the outcome of years selected && less then or equal to that year.\r\n if (\r\n row.year >=\r\n descendingPosts[descendingPosts.length - 1].year -\r\n event.target.value &&\r\n row.year <= descendingPosts[descendingPosts.length - 1].year\r\n ) {\r\n date = new Date(row.year + \"-\" + row.month);\r\n date = new Date(row.year, row.month - 1, 1);\r\n rows.push([date, room_receipts]);\r\n }\r\n }\r\n this.setState({\r\n chartData: [columns, ...rows],\r\n dataLoadingStatus: \"ready\",\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n };\r\n\r\n // ==== REVPAR ========\r\n handleChangetaxable = name => event => {\r\n this.setState({\r\n [name]: event.target.value,\r\n });\r\n\r\n try {\r\n let { descendingPosts } = this.state;\r\n const [metadata, data] = descendingPosts;\r\n const columns1 = [\r\n { type: \"date\", label: \"Month\" },\r\n { type: \"number\", label: \"RevPAR\" },\r\n ];\r\n\r\n let rows1 = [];\r\n var d = new Date();\r\n var n = d.getFullYear();\r\n for (let row1 of descendingPosts) {\r\n let { date, revpar } = row1;\r\n if (\r\n row1.year >=\r\n descendingPosts[descendingPosts.length - 1].year -\r\n event.target.value &&\r\n row1.year <= descendingPosts[descendingPosts.length - 1].year\r\n ) {\r\n date = new Date(row1.year + \"-\" + row1.month);\r\n date = new Date(row1.year, row1.month - 1, 1);\r\n rows1.push([date, revpar]);\r\n }\r\n }\r\n this.setState({\r\n chartData1: [columns1, ...rows1],\r\n dataLoadingStatus1: \"ready\",\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n };\r\n\r\n // ===== TTM =======\r\n handleChangettm = name => event => {\r\n this.setState({\r\n [name]: event.target.value,\r\n });\r\n\r\n try {\r\n let { descendingPosts } = this.state;\r\n const [metadata, data] = descendingPosts;\r\n\r\n var p = 0;\r\n var q = 0;\r\n let ttmposts = [];\r\n const columnsttm = [\r\n { type: \"date\", label: \"Month\" },\r\n { type: \"number\", label: \"TTM Revenue\" },\r\n ];\r\n var currentd = new Date();\r\n var current = currentd.getFullYear();\r\n for (p = 0; p < descendingPosts.length; p++) {\r\n var ttm = 0;\r\n var count = 0;\r\n if (\r\n descendingPosts[p].year >=\r\n descendingPosts[descendingPosts.length - 1].year -\r\n event.target.value &&\r\n descendingPosts[p].year <=\r\n descendingPosts[descendingPosts.length - 1].year\r\n ) {\r\n let date = new Date(\r\n descendingPosts[p].year,\r\n descendingPosts[p].month - 1,\r\n 1\r\n );\r\n for (q = p; q >= 0; q--) {\r\n ttm = ttm + descendingPosts[q].room_receipts;\r\n count++;\r\n if (count === 12) {\r\n count = 0;\r\n break;\r\n }\r\n }\r\n ttmposts.push([date, ttm]);\r\n }\r\n }\r\n this.setState({\r\n chartDatattm: [columnsttm, ...ttmposts],\r\n dataLoadingStatusttm: \"ready\",\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n };\r\n\r\n // === TTM REVPAR ====\r\n handleChangettmrevpar = name => event => {\r\n this.setState({\r\n [name]: event.target.value,\r\n });\r\n\r\n try {\r\n let { descendingPosts } = this.state;\r\n const [metadata, data] = descendingPosts;\r\n\r\n var p = 0;\r\n var q = 0;\r\n let ttmpostsrevpar = [];\r\n\r\n const columnsttmrevpar = [\r\n { type: \"date\", label: \"Month\" },\r\n { type: \"number\", label: \"TTM RevPAR\" },\r\n ];\r\n var currentd = new Date();\r\n var current = currentd.getFullYear();\r\n for (p = 0; p < descendingPosts.length; p++) {\r\n var ttmrevpar = 0;\r\n var count = 0;\r\n if (\r\n descendingPosts[p].year >=\r\n descendingPosts[descendingPosts.length - 1].year -\r\n event.target.value &&\r\n descendingPosts[p].year <=\r\n descendingPosts[descendingPosts.length - 1].year\r\n ) {\r\n let date = new Date(\r\n descendingPosts[p].year,\r\n descendingPosts[p].month - 1,\r\n 1\r\n );\r\n for (q = p; q >= 0; q--) {\r\n var days = new Date(\r\n descendingPosts[q].year,\r\n descendingPosts[q].month - 1,\r\n 0\r\n ).getDate();\r\n ttmrevpar =\r\n ttmrevpar +\r\n descendingPosts[q].room_receipts /\r\n (descendingPosts[q].room_capacity * days);\r\n count++;\r\n if (count === 12) {\r\n count = 0;\r\n break;\r\n }\r\n }\r\n ttmpostsrevpar.push([date, Math.ceil(ttmrevpar / 12)]);\r\n }\r\n }\r\n this.setState({\r\n chartDatattmrevpar: [columnsttmrevpar, ...ttmpostsrevpar],\r\n dataLoadingStatusttmrevpar: \"ready\",\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n };\r\n\r\n componentDidMount() {\r\n // variable to cancel axios request\r\n this.axiosCancelSource = axios.CancelToken.source();\r\n\r\n window.scrollTo(0, 0);\r\n\r\n const columnstimeline = [\r\n { type: \"string\", id: \"Role\" },\r\n { type: \"string\", id: \"Name\" },\r\n { type: \"date\", id: \"Start\" },\r\n { type: \"date\", id: \"End\" },\r\n ];\r\n\r\n const rowstimeline = [];\r\n\r\n API.getOneHotelLatLong(\r\n this.props.match.params.taxpayernumber,\r\n this.props.match.params.locationnumber\r\n )\r\n .then(res => {\r\n console.log(`getOneHotelLatLong function called`);\r\n console.log(res.data);\r\n this.setState({\r\n latitude: res.data[0].latitude,\r\n longitude: res.data[0].longitude,\r\n });\r\n })\r\n .catch(err => console.log(err));\r\n\r\n API.postHotelHistory(\r\n this.props.match.params.taxpayernumber,\r\n this.props.match.params.locationnumber,\r\n this.axiosCancelSource.token\r\n )\r\n .then(res => {\r\n let unsortedPoststimeline = res.data;\r\n let { chartColorsIndex, timelineDate } = this.state;\r\n try {\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n // Was getting google chart error for the property not sorted by date\r\n const poststimeline = unsortedPoststimeline.sort(\r\n (a, b) =>\r\n new moment(a.responsibility_begin_date).format(\"YYYYMMDD\") -\r\n new moment(b.responsibility_begin_date).format(\"YYYYMMDD\")\r\n );\r\n let postsHotelName;\r\n let postsaddress;\r\n this.setState({ poststimeline });\r\n\r\n // if there are more then one location name\r\n if (poststimeline.length > 1) {\r\n let latest = poststimeline.length - 1;\r\n\r\n postsHotelName = poststimeline[latest].location_name;\r\n postsaddress = poststimeline[latest].location_address;\r\n poststimeline.forEach(element => {\r\n element.color = chartColors[chartColorsIndex++];\r\n //console.log(this.state.chartColorsIndex);\r\n timelineDate[\r\n moment(element.responsibility_begin_date, \"YYYYMMDD\")\r\n .format(\"YYYY-MMMM\")\r\n .toLowerCase()\r\n ] = element;\r\n });\r\n //console.log('timelineDate', timelineDate)\r\n\r\n let count = 1;\r\n for (var i = 0; i < poststimeline.length; i++) {\r\n //if last....\r\n if (\r\n i + 1 === poststimeline.length &&\r\n poststimeline[i].taxpayer_name !== poststimeline[i - 1]\r\n ) {\r\n rowstimeline.push([\r\n \"Hotel Timeline\",\r\n poststimeline[i].location_name + \" \",\r\n moment(poststimeline[i].responsibility_begin_date, \"YYYYMMDD\"),\r\n moment(\r\n poststimeline[i].responsibility_end_date || moment(),\r\n \"YYYYMMDD\"\r\n ),\r\n ]);\r\n // rowstimeline.push([\"Hotel Timeline\", poststimeline[i].location_name + \" Property under \" + poststimeline[i].taxpayer_name,\r\n // moment(poststimeline[i].responsibility_begin_date, 'YYYYMMDD'),\r\n // moment()]);\r\n } else if (\r\n i !== 0 &&\r\n poststimeline[i].taxpayer_name !==\r\n poststimeline[i - 1].taxpayer_name\r\n ) {\r\n rowstimeline.push([\r\n \"Hotel Timeline\",\r\n poststimeline[i].location_name + addSpace(count),\r\n moment(poststimeline[i].responsibility_begin_date, \"YYYYMMDD\"),\r\n moment(\r\n poststimeline[i + 1].responsibility_begin_date,\r\n \"YYYYMMDD\"\r\n ),\r\n ]);\r\n // rowstimeline.push([\"Hotel Timeline\" +\" Property under \" + poststimeline[i].taxpayer_name, poststimeline[i].location_name,\r\n // moment(poststimeline[i].responsibility_begin_date, 'YYYYMMDD'),\r\n // moment(poststimeline[i + 1].responsibility_begin_date, 'YYYYMMDD')])\r\n } else {\r\n rowstimeline.push([\r\n \"Hotel Timeline\",\r\n poststimeline[i].location_name,\r\n moment(poststimeline[i].responsibility_begin_date, \"YYYYMMDD\"),\r\n moment(\r\n poststimeline[i + 1].responsibility_begin_date,\r\n \"YYYYMMDD\"\r\n ),\r\n ]);\r\n }\r\n }\r\n //console.log('rowstimeline', rowstimeline)\r\n this.setState({\r\n postsHotelName,\r\n postsaddress,\r\n dataLoadingStatustimeline: true,\r\n chartDatatimeline: [columnstimeline, ...rowstimeline],\r\n });\r\n } else {\r\n // put the only one property\r\n postsHotelName = poststimeline[0].location_name;\r\n postsaddress = poststimeline[0].location_address;\r\n\r\n poststimeline.forEach(element => {\r\n element.color = chartColors[chartColorsIndex++];\r\n timelineDate[\r\n moment(element.responsibility_begin_date, \"YYYYMMDD\")\r\n .format(\"YYYY-MMMM\")\r\n .toLowerCase()\r\n ] = element;\r\n });\r\n //console.log('timelineDate', timelineDate)\r\n\r\n for (var i = 0; i < poststimeline.length; i++) {\r\n //if last....\r\n if (i + 1 === poststimeline.length) {\r\n rowstimeline.push([\r\n \"Hotel Timeline\",\r\n poststimeline[i].location_name,\r\n moment(poststimeline[i].responsibility_begin_date, \"YYYYMMDD\"),\r\n moment(),\r\n ]);\r\n } else {\r\n rowstimeline.push([\r\n \"Hotel Timeline\",\r\n poststimeline[i].location_name,\r\n moment(poststimeline[i].responsibility_begin_date, \"YYYYMMDD\"),\r\n //moment(poststimeline[i + 1].responsibility_begin_date, 'YYYYMMDD').add(-1, 'month')])\r\n moment(\r\n poststimeline[i + 1].responsibility_end_date,\r\n \"YYYYMMDD\"\r\n ).add(-1, \"month\"),\r\n ]);\r\n }\r\n }\r\n //console.log('rowstimeline', rowstimeline)\r\n this.setState({\r\n postsHotelName,\r\n postsaddress,\r\n dataLoadingStatustimeline: true,\r\n chartDatatimeline: [columnstimeline, ...rowstimeline],\r\n });\r\n }\r\n\r\n API.getHotelFinanceRecordMonthly(\r\n this.props.match.params.hotelname,\r\n this.props.match.params.taxpayernumber,\r\n this.props.match.params.locationnumber,\r\n this.axiosCancelSource.token\r\n )\r\n .then(res => {\r\n console.log(\"this is the getHotelFinanceRecordMonthly res query\");\r\n console.log(res);\r\n // raw -- from oldest to latest (ascending)\r\n const unsortedPosts = res.data;\r\n // from latest to oldest (descending)\r\n let posts = unsortedPosts.sort(function(a, b) {\r\n return new Date(a.date) - new Date(b.date);\r\n });\r\n this.setState({\r\n posts: posts,\r\n descendingPosts: unsortedPosts,\r\n });\r\n //console.log(\"this is the hotel posts\", posts);\r\n // ====== NEED ANOTEHR WAY OF CHECKING FOR FILER TYPE =======\r\n //this.setState({ yearlyfiler: this.state.posts[posts.length - 1].filer_type });\r\n // console.log(this.state.posts[posts.length-1].filer_type);\r\n const postszip = posts[posts.length - 1].location_zip;\r\n const postscounty = posts[posts.length - 1].verified_county;\r\n const taxname = posts[posts.length - 1].taxpayer_name;\r\n const taxaddress = posts[posts.length - 1].taxpayer_address;\r\n const taxnum = posts[posts.length - 1].taxpayer_number;\r\n //const latestTaxnum = posts[posts.length - 1].taxpayer_number;\r\n const taxcity = posts[posts.length - 1].taxpayer_city;\r\n const taxstate = posts[posts.length - 1].taxpayer_state;\r\n const taxzip = posts[posts.length - 1].taxpayer_zip;\r\n const postsLocationNum = posts[posts.length - 1].location_number;\r\n const postscity = posts[posts.length - 1].location_city;\r\n const latestFiler_type = posts[posts.length - 1].filer_type;\r\n //console.log(\"latest filer\", latestFiler_type);\r\n this.setState({\r\n postszip,\r\n postscounty,\r\n taxname,\r\n taxaddress,\r\n taxnum,\r\n taxcity,\r\n taxstate,\r\n taxzip,\r\n postsLocationNum,\r\n postscity,\r\n latestFiler_type,\r\n });\r\n\r\n if (latestFiler_type === 50) {\r\n this.setState({ postsfiler: \"Monthly\" });\r\n } else if (latestFiler_type === 60) {\r\n this.setState({ postsfiler: \"Quarterly\" });\r\n }\r\n\r\n API.getHotelFinanceRecordYearly(\r\n this.props.match.params.hotelname,\r\n this.props.match.params.taxpayernumber,\r\n this.props.match.params.locationnumber,\r\n this.state.latestFiler_type,\r\n this.axiosCancelSource.token\r\n )\r\n .then(res => {\r\n console.log(\"getHotelFinanceRecordYearly\");\r\n console.log(res);\r\n var yearlyposts = res.data;\r\n //console.log(\"yearlyvalues\", yearlyposts);\r\n for (var l = 0; l < yearlyposts.length; l++) {\r\n // checking for the first year and setting RevChange and RevParChange to 0, since there is no comparision yet\r\n if (l === 0) {\r\n yearlyposts[l].totalRevChange = \"$0.00 (0%)\";\r\n yearlyposts[l].RevPARChange = \"$0.00 (0%)\";\r\n } else {\r\n yearlyposts[l].totalRevChange =\r\n \"$ \" +\r\n (\r\n yearlyposts[l].total_revenue -\r\n yearlyposts[l - 1].total_revenue\r\n ).toFixed(2) +\r\n \" (\" +\r\n (\r\n (yearlyposts[l].total_revenue /\r\n yearlyposts[l - 1].total_revenue) *\r\n 100 -\r\n 100\r\n ).toFixed(2) +\r\n \"%)\";\r\n yearlyposts[l].RevPARChange =\r\n \"$ \" +\r\n (\r\n yearlyposts[l].RevPar - yearlyposts[l - 1].RevPar\r\n ).toFixed(2) +\r\n \" (\" +\r\n (\r\n (yearlyposts[l].RevPar / yearlyposts[l - 1].RevPar) *\r\n 100 -\r\n 100\r\n ).toFixed(2) +\r\n \"%)\";\r\n }\r\n }\r\n\r\n if (res.data !== undefined) {\r\n axios\r\n .get(\r\n `${apiUrl}/rest/basic/testlastyearlyvalues/${\r\n yearlyposts[yearlyposts.length - 1].year\r\n }/${this.props.match.params.hotelname}/${\r\n this.props.match.params.taxpayernumber\r\n }/${\r\n this.props.match.params.locationnumber\r\n }/${latestFiler_type}`,\r\n {\r\n headers: {\r\n authorization:\r\n \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n cancelToken: this.axiosCancelSource.token,\r\n }\r\n )\r\n .then(res1 => {\r\n //console.log(\"lastyear value\", res1);\r\n // gets last year's totals and substracts to yearlyposts same year & caclulates percentage\r\n if (res1.data[0]) {\r\n yearlyposts[yearlyposts.length - 1].totalRevChange =\r\n \"$ \" +\r\n (\r\n yearlyposts[yearlyposts.length - 1].total_revenue -\r\n res1.data[0].total_revenue\r\n )\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\") +\r\n \" (\" +\r\n (\r\n (yearlyposts[yearlyposts.length - 1].total_revenue /\r\n res1.data[0].total_revenue) *\r\n 100 -\r\n 100\r\n ).toFixed(2) +\r\n \"%)\";\r\n yearlyposts[yearlyposts.length - 1].RevPARChange =\r\n \"$ \" +\r\n (\r\n yearlyposts[yearlyposts.length - 1].RevPar -\r\n res1.data[0].RevPar\r\n ).toFixed(2) +\r\n \" (\" +\r\n (\r\n (yearlyposts[yearlyposts.length - 1].RevPar /\r\n res1.data[0].RevPar) *\r\n 100 -\r\n 100\r\n ).toFixed(2) +\r\n \"%)\";\r\n\r\n this.setState({\r\n yearlyposts: yearlyposts,\r\n yearlyLoading: false,\r\n });\r\n }\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n });\r\n }\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n });\r\n\r\n // Then set the document Title\r\n document.title =\r\n this.state.postsHotelName +\r\n \", \" +\r\n this.state.postscity +\r\n \",TX - Search Texas Tax\";\r\n ReactGA.initialize(\"UA-80211377-3\");\r\n ReactGA.pageview(window.location.pathname);\r\n\r\n // ==== Start of google charts =====\r\n // ====== TTM Revpar ========\r\n var p = 0;\r\n var q = 0;\r\n let ttmposts = [];\r\n let ttmpostsrevpar = [];\r\n const columnsttm = [\r\n { type: \"date\", label: \"Month\" },\r\n { type: \"number\", label: \"TTM Revenue\" },\r\n ];\r\n const columnsttmrevpar = [\r\n { type: \"date\", label: \"Month\" },\r\n { type: \"number\", label: \"TTM RevPAR\" },\r\n ];\r\n var currentd = new Date();\r\n var current = currentd.getFullYear();\r\n\r\n for (p = 0; p < posts.length; p++) {\r\n var ttm = 0;\r\n var ttmrevpar = 0;\r\n var count = 0;\r\n\r\n if (\r\n posts[p].year >= posts[posts.length - 1].year - 1 &&\r\n posts[p].year <= posts[posts.length - 1].year\r\n ) {\r\n let date = new Date(posts[p].year, posts[p].month - 1, 1);\r\n\r\n for (q = p; q >= 0; q--) {\r\n ttm = ttm + posts[q].room_receipts;\r\n var days = new Date(\r\n posts[q].year,\r\n posts[q].month - 1,\r\n 0\r\n ).getDate();\r\n\r\n ttmrevpar =\r\n ttmrevpar +\r\n posts[q].room_receipts / (posts[q].room_capacity * days);\r\n count++;\r\n if (count === 12) {\r\n count = 0;\r\n break;\r\n }\r\n }\r\n ttmposts.push([date, ttm]);\r\n ttmpostsrevpar.push([date, Math.ceil(ttmrevpar / 12)]);\r\n }\r\n }\r\n let ttmpostsSorted = ttmposts.sort(function(a, b) {\r\n return a[0] - b[0];\r\n });\r\n let ttmpostsrevparSorted = ttmpostsrevpar.sort(function(a, b) {\r\n return a[0] - b[0];\r\n });\r\n\r\n // console.log(\"ttmpostsSorted\", ttmpostsSorted )\r\n // console.log(\"ttmpostsrevparSorted \", ttmpostsrevparSorted )\r\n\r\n this.setState({\r\n ttmpostsrevpar: ttmpostsrevpar,\r\n chartDatattm: [columnsttm, ...ttmpostsSorted],\r\n dataLoadingStatusttm: \"ready\",\r\n chartDatattmrevpar: [columnsttmrevpar, ...ttmpostsrevparSorted],\r\n dataLoadingStatusttmrevpar: \"ready\",\r\n });\r\n\r\n // ===== Monthy =====\r\n const [metadata, data] = res.data;\r\n const columns = [\r\n { type: \"date\", label: \"Month\" },\r\n { type: \"number\", label: \"Total Revenue\" },\r\n ];\r\n const columns1 = [\r\n { type: \"date\", label: \"Month\" },\r\n { type: \"number\", label: \"Taxable Revenue\" },\r\n ];\r\n let rows = [];\r\n let rows1 = [];\r\n var d = new Date();\r\n var n = d.getFullYear();\r\n for (let row of unsortedPosts) {\r\n let { date, room_receipts } = row;\r\n if (\r\n row.year >= unsortedPosts[unsortedPosts.length - 1].year - 1 &&\r\n row.year <= unsortedPosts[unsortedPosts.length - 1].year\r\n ) {\r\n date = new Date(row.year + \"-\" + row.month);\r\n date = new Date(row.year, row.month - 1, 1);\r\n rows.push([date, room_receipts]);\r\n }\r\n }\r\n this.setState({\r\n chartData: [columns, ...rows],\r\n dataLoadingStatus: \"ready\",\r\n });\r\n\r\n // ===== RevPar =====\r\n for (let row1 of unsortedPosts) {\r\n let { date, revpar } = row1;\r\n if (\r\n row1.year >= unsortedPosts[unsortedPosts.length - 1].year - 1 &&\r\n row1.year <= unsortedPosts[unsortedPosts.length - 1].year\r\n ) {\r\n //date = new Date(row1.year+\"-\"+row1.month);\r\n date = new Date(row1.year, row1.month - 1, 1);\r\n rows1.push([date, revpar]);\r\n }\r\n }\r\n this.setState({\r\n chartData1: [columns1, ...rows1],\r\n dataLoadingStatus1: \"ready\",\r\n });\r\n const rawposts = res.data;\r\n this.setState({\r\n rawposts: rawposts,\r\n completeLoading: false,\r\n });\r\n\r\n var i = 0;\r\n var j = 0;\r\n var a = 0;\r\n var b = 0;\r\n var newposts = [];\r\n for (i = 0; i < posts.length; i++) {\r\n if (a === 0) {\r\n newposts.push(new Object());\r\n newposts[newposts.length - 1].year = posts[i].year;\r\n\r\n newposts[newposts.length - 1].taxPayerNum =\r\n posts[i].taxpayer_number;\r\n newposts[newposts.length - 1].locationName =\r\n posts[i].location_name;\r\n\r\n if (posts[i].month === 1) {\r\n newposts[newposts.length - 1].january =\r\n posts[i].room_receipts;\r\n }\r\n if (posts[i].month === 2) {\r\n newposts[newposts.length - 1].february =\r\n posts[i].room_receipts;\r\n }\r\n if (posts[i].month === 3) {\r\n newposts[newposts.length - 1].march = posts[i].room_receipts;\r\n }\r\n if (posts[i].month === 4) {\r\n newposts[newposts.length - 1].april = posts[i].room_receipts;\r\n }\r\n if (posts[i].month === 5) {\r\n newposts[newposts.length - 1].may = posts[i].room_receipts;\r\n }\r\n if (posts[i].month === 6) {\r\n newposts[newposts.length - 1].june = posts[i].room_receipts;\r\n }\r\n if (posts[i].month === 7) {\r\n newposts[newposts.length - 1].july = posts[i].room_receipts;\r\n }\r\n if (posts[i].month === 8) {\r\n newposts[newposts.length - 1].august = posts[i].room_receipts;\r\n }\r\n if (posts[i].month === 9) {\r\n newposts[newposts.length - 1].september =\r\n posts[i].room_receipts;\r\n }\r\n if (posts[i].month === 10) {\r\n newposts[newposts.length - 1].october =\r\n posts[i].room_receipts;\r\n }\r\n if (posts[i].month === 11) {\r\n newposts[newposts.length - 1].november =\r\n posts[i].room_receipts;\r\n }\r\n a = 1;\r\n if (posts[i].month === 12) {\r\n newposts[newposts.length - 1].december =\r\n posts[i].room_receipts;\r\n a = 0;\r\n }\r\n continue;\r\n }\r\n\r\n for (j = 0; j < newposts.length; j++) {\r\n if (newposts[j].year === posts[i].year) {\r\n if (posts[i].month === 1) {\r\n newposts[j].january = posts[i].room_receipts;\r\n if (i < posts.length - 1) {\r\n if (posts[i + 1].year !== posts[i].year) {\r\n a = 0;\r\n }\r\n }\r\n }\r\n if (posts[i].month === 2) {\r\n newposts[j].february = posts[i].room_receipts;\r\n if (i < posts.length - 1) {\r\n if (posts[i + 1].year !== posts[i].year) {\r\n a = 0;\r\n }\r\n }\r\n }\r\n if (posts[i].month === 3) {\r\n newposts[j].march = posts[i].room_receipts;\r\n if (i < posts.length - 1) {\r\n if (posts[i + 1].year !== posts[i].year) {\r\n a = 0;\r\n }\r\n }\r\n }\r\n if (posts[i].month === 4) {\r\n newposts[j].april = posts[i].room_receipts;\r\n if (i < posts.length - 1) {\r\n if (posts[i + 1].year !== posts[i].year) {\r\n a = 0;\r\n }\r\n }\r\n }\r\n if (posts[i].month === 5) {\r\n newposts[j].may = posts[i].room_receipts;\r\n if (i < posts.length - 1) {\r\n if (posts[i + 1].year !== posts[i].year) {\r\n a = 0;\r\n }\r\n }\r\n }\r\n if (posts[i].month === 6) {\r\n newposts[j].june = posts[i].room_receipts;\r\n if (i < posts.length - 1) {\r\n if (posts[i + 1].year !== posts[i].year) {\r\n a = 0;\r\n }\r\n }\r\n }\r\n if (posts[i].month === 7) {\r\n newposts[j].july = posts[i].room_receipts;\r\n if (i < posts.length - 1) {\r\n if (posts[i + 1].year !== posts[i].year) {\r\n a = 0;\r\n }\r\n }\r\n }\r\n if (posts[i].month === 8) {\r\n newposts[j].august = posts[i].room_receipts;\r\n if (i < posts.length - 1) {\r\n if (posts[i + 1].year !== posts[i].year) {\r\n a = 0;\r\n }\r\n }\r\n }\r\n if (posts[i].month === 9) {\r\n newposts[j].september = posts[i].room_receipts;\r\n if (i < posts.length - 1) {\r\n if (posts[i + 1].year !== posts[i].year) {\r\n a = 0;\r\n }\r\n }\r\n }\r\n if (posts[i].month === 10) {\r\n newposts[j].october = posts[i].room_receipts;\r\n if (i < posts.length - 1) {\r\n if (posts[i + 1].year !== posts[i].year) {\r\n a = 0;\r\n }\r\n }\r\n }\r\n if (posts[i].month === 11) {\r\n newposts[j].november = posts[i].room_receipts;\r\n if (i < posts.length - 1) {\r\n if (posts[i + 1].year !== posts[i].year) {\r\n a = 0;\r\n }\r\n }\r\n }\r\n if (posts[i].month === 12) {\r\n newposts[j].december = posts[i].room_receipts;\r\n a = 0;\r\n }\r\n break;\r\n }\r\n }\r\n }\r\n console.log(\"newposts\", newposts);\r\n let newpostsReversed = newposts.reverse();\r\n this.setState({\r\n newposts: newpostsReversed,\r\n monthlyLoading: false,\r\n });\r\n\r\n var getposts = [];\r\n for (let i = 0; i < newposts.length; i++) {\r\n getposts.push(new Object());\r\n getposts[i].Year = newposts[i].year;\r\n getposts[i].January = newposts[i].january || 0;\r\n getposts[i].February = newposts[i].february || 0;\r\n getposts[i].March = newposts[i].march || 0;\r\n getposts[i].Q1 =\r\n (newposts[i].january || 0) +\r\n (newposts[i].february || 0) +\r\n (newposts[i].march || 0);\r\n getposts[i].April = newposts[i].april || 0;\r\n getposts[i].May = newposts[i].may || 0;\r\n getposts[i].June = newposts[i].june || 0;\r\n getposts[i].Q2 =\r\n (newposts[i].april || 0) +\r\n (newposts[i].may || 0) +\r\n (newposts[i].june || 0);\r\n getposts[i].July = newposts[i].july || 0;\r\n getposts[i].August = newposts[i].august || 0;\r\n getposts[i].September = newposts[i].september || 0;\r\n getposts[i].Q3 =\r\n (newposts[i].july || 0) +\r\n (newposts[i].august || 0) +\r\n (newposts[i].september || 0);\r\n getposts[i].October = newposts[i].october || 0;\r\n getposts[i].November = newposts[i].november || 0;\r\n getposts[i].December = newposts[i].december || 0;\r\n getposts[i].Q4 =\r\n (newposts[i].october || 0) +\r\n (newposts[i].november || 0) +\r\n (newposts[i].december || 0);\r\n }\r\n this.setState({ getposts: getposts, monthlyLoading: false });\r\n\r\n // ====== Other Calls ========\r\n // ===== Checking for Other Properties under same Tax Payer number =====\r\n axios\r\n .get(\r\n `${apiUrl}/rest/search/taxpayerproperties/${this.props.match.params.taxpayernumber}`,\r\n {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n cancelToken: this.axiosCancelSource.token,\r\n }\r\n )\r\n .then(res => {\r\n if (res.data.length > 1) {\r\n let otherProperties = res.data;\r\n let taxProperties = [];\r\n // check if other property has the same name and type to remove from propertieslist\r\n for (let i = 0; i < otherProperties.length; i++) {\r\n if (\r\n otherProperties[i].location_name ===\r\n this.state.hotelName &&\r\n otherProperties[i].location_address ===\r\n this.state.postsaddress &&\r\n otherProperties[i].type === \"hotel\"\r\n ) {\r\n continue;\r\n }\r\n taxProperties.push(otherProperties[i]);\r\n }\r\n this.setState({ otherTaxProperties: taxProperties });\r\n }\r\n })\r\n .catch(e => {\r\n ReactGA.exception({\r\n description: \"An error occurred\",\r\n });\r\n handleError(e, pathname);\r\n //window.location.replace('/login');\r\n });\r\n axios({\r\n method: \"post\",\r\n url: `${apiUrl}/rest/search/addressmatch/`,\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n data: {\r\n address: this.state.postsaddress,\r\n zip: this.state.postszip,\r\n },\r\n cancelToken: this.axiosCancelSource.token,\r\n })\r\n .then(res => {\r\n if (res.data.length > 1) {\r\n let otherProperties = res.data;\r\n let matchLocation = [];\r\n for (let i = 0; i < otherProperties.length; i++) {\r\n if (\r\n otherProperties[i].location_name ===\r\n this.state.hotelName &&\r\n otherProperties[i].type === \"hotel\"\r\n ) {\r\n continue;\r\n }\r\n if (otherProperties[i].type === \"hotel\") {\r\n continue;\r\n }\r\n matchLocation.push(otherProperties[i]);\r\n }\r\n console.log(matchLocation);\r\n this.setState({ matchedAdresses: matchLocation });\r\n }\r\n })\r\n .catch(e => {\r\n ReactGA.exception({\r\n description: \"An error occurred\",\r\n });\r\n handleError(e, pathname);\r\n //window.location.replace('/login');\r\n });\r\n })\r\n .catch(e => {\r\n ReactGA.exception({\r\n description: \"An error occurred\",\r\n });\r\n handleError(e, pathname);\r\n //window.location.replace('/login');\r\n });\r\n })\r\n .catch(e => {\r\n ReactGA.exception({\r\n description: \"An error occurred\",\r\n });\r\n handleError(e, pathname);\r\n //window.location.replace('/login');\r\n });\r\n }\r\n\r\n componentWillUnmount() {\r\n this.onSave();\r\n this.axiosCancelSource.cancel(\"Component unmounted.\");\r\n }\r\n\r\n render() {\r\n //const { vertical, horizontal, opensnack } = this.state;\r\n let errormsg;\r\n if (this.state.errormsg === 1) {\r\n errormsg = (\r\n

\r\n Please Select a Portfolio to Add this Hotel to it.\r\n

\r\n );\r\n }\r\n\r\n const { classes } = this.props;\r\n const { anchorEl } = this.state;\r\n const open = Boolean(anchorEl);\r\n\r\n let chartdisplaytime;\r\n if (this.state.dataLoadingStatustimeline) {\r\n chartdisplaytime = (\r\n }\r\n data={this.state.chartDatatimeline}\r\n width=\"100%\"\r\n height=\"100px\"\r\n options={{\r\n timeline: { groupByRowLabel: true },\r\n //timeline: { groupByRowLabel: false },\r\n avoidOverlappingGridLines: false,\r\n colors: chartColors,\r\n }}\r\n />\r\n );\r\n } else {\r\n chartdisplaytime = ;\r\n }\r\n\r\n let chartdisplay;\r\n if (this.state.dataLoadingStatus === \"ready\") {\r\n chartdisplay = (\r\n
\r\n
\r\n \r\n {durations.map(option => (\r\n \r\n {option.label}\r\n \r\n ))}\r\n \r\n \r\n Loading Chart
}\r\n width={\"100%\"}\r\n height={\"400px\"}\r\n data={this.state.chartData}\r\n options={{\r\n chartArea: { height: \"100%\", width: \"90%\" },\r\n hAxis: {\r\n format: \"yyyy\",\r\n },\r\n vAxis: {\r\n format: \"short\",\r\n },\r\n title: \"Debt incurred over time.\",\r\n series: {\r\n // Gives each series an axis name that matches the Y-axis below.\r\n 0: { axis: \"Total_Revenue\" },\r\n },\r\n axes: {\r\n // Adds labels to each axis; they don't have to match the axis names.\r\n y: {\r\n Total_Revenue: { label: \"Monthly Revenue\" },\r\n all: {\r\n format: {\r\n pattern: \"currency\",\r\n },\r\n },\r\n },\r\n x: {\r\n all: {\r\n format: {\r\n pattern: \"MMM. yyyy\",\r\n },\r\n },\r\n },\r\n },\r\n legend: { position: \"none\" },\r\n }}\r\n rootProps={{ \"data-testid\": \"2\" }}\r\n />\r\n
\r\n );\r\n } else {\r\n chartdisplay = (\r\n
\r\n {\" \"}\r\n \r\n
\r\n );\r\n }\r\n\r\n let chartdisplay1;\r\n if (this.state.dataLoadingStatus1 === \"ready\") {\r\n chartdisplay1 = (\r\n
\r\n
\r\n \r\n {durations1.map(option => (\r\n \r\n {option.label}\r\n \r\n ))}\r\n \r\n \r\n Loading Chart
}\r\n width={\"100%\"}\r\n height={\"400px\"}\r\n data={this.state.chartData1}\r\n options={{\r\n chartArea: { height: \"100%\", width: \"90%\" },\r\n hAxis: {\r\n format: \"yyyy\",\r\n },\r\n vAxis: {\r\n format: \"short\",\r\n },\r\n title: \"Debt incurred over time.\",\r\n series: {\r\n // Gives each series an axis name that matches the Y-axis below.\r\n 0: { axis: \"Total_Revenue\" },\r\n },\r\n axes: {\r\n // Adds labels to each axis; they don't have to match the axis names.\r\n y: {\r\n Total_Revenue: { label: \"Monthly Revenue\" },\r\n all: {\r\n format: {\r\n pattern: \"currency\",\r\n },\r\n },\r\n },\r\n x: {\r\n all: {\r\n format: {\r\n pattern: \"MMM. yyyy\",\r\n },\r\n },\r\n },\r\n },\r\n legend: { position: \"none\" },\r\n }}\r\n rootProps={{ \"data-testid\": \"2\" }}\r\n />\r\n \r\n );\r\n } else {\r\n chartdisplay1 =
Fetching Data from API
;\r\n }\r\n\r\n let chartdisplayttm;\r\n if (this.state.dataLoadingStatusttm === \"ready\") {\r\n chartdisplayttm = (\r\n
\r\n
\r\n \r\n {durationsttm.map(option => (\r\n \r\n {option.label}\r\n \r\n ))}\r\n \r\n \r\n Loading Chart
}\r\n width={\"100%\"}\r\n height={\"400px\"}\r\n data={this.state.chartDatattm}\r\n options={{\r\n chartArea: { height: \"100%\", width: \"90%\" },\r\n hAxis: {\r\n format: \"yyyy\",\r\n },\r\n vAxis: {\r\n format: \"short\",\r\n },\r\n title: \"Debt incurred over time.\",\r\n series: {\r\n // Gives each series an axis name that matches the Y-axis below.\r\n 0: { axis: \"TTM_Revenue\" },\r\n },\r\n axes: {\r\n // Adds labels to each axis; they don't have to match the axis names.\r\n y: {\r\n Total_Revenue: { label: \"Monthly Revenue\" },\r\n all: {\r\n format: {\r\n pattern: \"currency\",\r\n },\r\n },\r\n },\r\n x: {\r\n all: {\r\n format: {\r\n pattern: \"MMM. yyyy\",\r\n },\r\n },\r\n },\r\n },\r\n legend: { position: \"none\" },\r\n }}\r\n rootProps={{ \"data-testid\": \"2\" }}\r\n />\r\n \r\n );\r\n } else {\r\n chartdisplayttm = (\r\n
\r\n {\" \"}\r\n \r\n
\r\n );\r\n }\r\n\r\n let chartdisplayttmrevpar;\r\n if (this.state.dataLoadingStatusttmrevpar === \"ready\") {\r\n chartdisplayttmrevpar = (\r\n
\r\n
\r\n \r\n {durationsttmrevpar.map(option => (\r\n \r\n {option.label}\r\n \r\n ))}\r\n \r\n \r\n Loading Chart
}\r\n width={\"100%\"}\r\n height={\"400px\"}\r\n data={this.state.chartDatattmrevpar}\r\n options={{\r\n chartArea: { height: \"100%\", width: \"90%\" },\r\n hAxis: {\r\n format: \"yyyy\",\r\n },\r\n vAxis: {\r\n format: \"short\",\r\n },\r\n title: \"Debt incurred over time.\",\r\n series: {\r\n // Gives each series an axis name that matches the Y-axis below.\r\n 0: { axis: \"TTM_RevPAR\" },\r\n },\r\n axes: {\r\n // Adds labels to each axis; they don't have to match the axis names.\r\n y: {\r\n Total_Revenue: { label: \"Monthly Revenue\" },\r\n all: {\r\n format: {\r\n pattern: \"currency\",\r\n },\r\n },\r\n },\r\n x: {\r\n all: {\r\n format: {\r\n pattern: \"MMM. yyyy\",\r\n },\r\n },\r\n },\r\n },\r\n legend: { position: \"none\" },\r\n }}\r\n rootProps={{ \"data-testid\": \"2\" }}\r\n />\r\n \r\n );\r\n } else {\r\n chartdisplayttmrevpar = (\r\n
\r\n {\" \"}\r\n \r\n
\r\n );\r\n }\r\n const {\r\n value,\r\n otherTaxProperties,\r\n matchedAdresses,\r\n timelineDate,\r\n } = this.state;\r\n\r\n return (\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n

\r\n {this.state.postsHotelName}\r\n

\r\n
\r\n
\r\n \r\n {this.state.postsaddress},{\" \"}\r\n \r\n {this.state.postscity}\r\n \r\n , TX {this.state.postszip} ●{\" \"}\r\n \r\n {\" \"}\r\n {this.state.postsCountyName}\r\n {\" \"}\r\n County\r\n \r\n contact_support\r\n \r\n \r\n
\r\n {/*
\r\n \r\n contact_support\r\n \r\n
*/}\r\n
\r\n
{chartdisplaytime}
\r\n
\r\n
\r\n
\r\n {this.state.latitude && this.state.longitude && (\r\n \r\n \r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n {matchedAdresses.length > 0 ? (\r\n matchedAdresses.slice(0, 10).map((item, index) => (\r\n \r\n \r\n \r\n \r\n {item.location_name}\r\n \r\n \r\n {item.location_address},{item.location_state},\r\n {item.location_zip}\r\n \r\n \r\n \r\n \r\n ))\r\n ) : (\r\n \r\n There are no other properties.\r\n \r\n )}\r\n \r\n \r\n \r\n {/* */}\r\n \r\n \r\n \r\n \r\n {this.state.taxname}\r\n \r\n \r\n {this.state.taxaddress}\r\n \r\n \r\n {this.state.taxcity}, {this.state.taxstate},{\" \"}\r\n {this.state.taxzip}\r\n \r\n \r\n \r\n \r\n Taxpayer Number: {\" \"}\r\n {this.state.taxnum}\r\n \r\n \r\n Filer Type: \r\n {this.state.postsfiler}\r\n \r\n \r\n \r\n \r\n \r\n {/* */}\r\n \r\n \r\n \r\n {otherTaxProperties.length > 0 ? (\r\n otherTaxProperties.map((item, index) => (\r\n \r\n \r\n \r\n {item.type === \"hotel\" ? (\r\n \r\n ) : (\r\n \r\n )}\r\n {item.location_name}}\r\n secondary={\r\n \r\n \r\n {item.location_address}, {item.location_city},{\" \"}\r\n {item.location_state}\r\n \r\n \r\n }\r\n />\r\n \r\n \r\n \r\n \r\n ))\r\n ) : (\r\n \r\n There are no other properties.\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {value === 0 && {chartdisplay}}\r\n {value === 1 && {chartdisplay1}}\r\n {value === 2 && {chartdisplayttm}}\r\n {value === 3 && (\r\n {chartdisplayttmrevpar}\r\n )}\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n {\r\n if (\r\n typeof timelineDate[`${rowData.year}-january`] ===\r\n \"undefined\"\r\n ) {\r\n return rowData.january ? (\r\n
\r\n $ \r\n {rowData.january\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.january ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.january\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00{\" \"}\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"February\",\r\n field: \"february\",\r\n // type: \"html\",\r\n render: rowData => {\r\n if (\r\n typeof timelineDate[`${rowData.year}-february`] ===\r\n \"undefined\"\r\n ) {\r\n return rowData.february ? (\r\n
\r\n $ \r\n {rowData.february\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.february ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.february\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00{\" \"}\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"March\",\r\n field: \"march\",\r\n // type: \"html\",\r\n render: rowData => {\r\n if (\r\n typeof timelineDate[`${rowData.year}-march`] ===\r\n \"undefined\"\r\n ) {\r\n return rowData.march ? (\r\n
\r\n $ \r\n {rowData.march\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.march ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.march\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00{\" \"}\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"Quarter 1\",\r\n field: \"march\",\r\n // type: \"html\",\r\n render: rowData => {\r\n return (\r\n
\r\n $ \r\n {(\r\n (rowData.january || 0) +\r\n (rowData.february || 0) +\r\n (rowData.march || 0)\r\n )\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n cellStyle: {\r\n backgroundColor: \"#f5f5f5\",\r\n },\r\n headerStyle: {\r\n fontWeight: \"800\",\r\n maxWidth: \"125px\",\r\n //backgroundColor: '#fafafa',\r\n },\r\n },\r\n {\r\n title: \"April\",\r\n field: \"april\",\r\n // type: \"html\",\r\n render: rowData => {\r\n if (\r\n typeof timelineDate[`${rowData.year}-april`] ===\r\n \"undefined\"\r\n ) {\r\n return rowData.april ? (\r\n
\r\n $ \r\n {rowData.april\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.april ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.april\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00{\" \"}\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"May\",\r\n field: \"may\",\r\n // type: \"html\",\r\n render: rowData => {\r\n if (\r\n typeof timelineDate[`${rowData.year}-may`] === \"undefined\"\r\n ) {\r\n return rowData.may ? (\r\n
\r\n $ \r\n {rowData.may\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.may ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.may\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00{\" \"}\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"June\",\r\n field: \"june\",\r\n // type: \"html\",\r\n render: rowData => {\r\n if (\r\n typeof timelineDate[`${rowData.year}-june`] ===\r\n \"undefined\"\r\n ) {\r\n return rowData.june ? (\r\n
\r\n $ \r\n {rowData.june\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.june ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.june\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00{\" \"}\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: `Quarter 2`,\r\n field: \"june\",\r\n // type: \"html\",\r\n render: rowData => {\r\n return (\r\n
\r\n $ \r\n {(\r\n (rowData.april || 0) +\r\n (rowData.may || 0) +\r\n (rowData.june || 0)\r\n )\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n cellStyle: {\r\n backgroundColor: \"#f5f5f5\",\r\n },\r\n headerStyle: {\r\n fontWeight: \"800\",\r\n maxWidth: \"125px\",\r\n },\r\n },\r\n {\r\n title: \"July\",\r\n field: \"july\",\r\n // type: \"html\",\r\n render: rowData => {\r\n if (\r\n typeof timelineDate[`${rowData.year}-july`] ===\r\n \"undefined\"\r\n ) {\r\n return rowData.july ? (\r\n
\r\n $ \r\n {rowData.july\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.july ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.july\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00{\" \"}\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"August\",\r\n field: \"august\",\r\n // type: \"html\",\r\n render: rowData => {\r\n if (\r\n typeof timelineDate[`${rowData.year}-august`] ===\r\n \"undefined\"\r\n ) {\r\n return rowData.august ? (\r\n
\r\n $ \r\n {rowData.august\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.august ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.august\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00{\" \"}\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"September\",\r\n field: \"september\",\r\n // type: \"html\",\r\n render: rowData => {\r\n if (\r\n typeof timelineDate[`${rowData.year}-september`] ===\r\n \"undefined\"\r\n ) {\r\n return rowData.september ? (\r\n
\r\n $ \r\n {rowData.september\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.september ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.september\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00{\" \"}\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"Quarter 3\",\r\n field: \"september\",\r\n // type: \"html\",\r\n render: rowData => {\r\n return (\r\n
\r\n $ \r\n {(\r\n (rowData.july || 0) +\r\n (rowData.august || 0) +\r\n (rowData.september || 0)\r\n )\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n cellStyle: {\r\n backgroundColor: \"#f5f5f5\",\r\n },\r\n headerStyle: {\r\n fontWeight: \"800\",\r\n maxWidth: \"125px\",\r\n },\r\n },\r\n {\r\n title: \"October\",\r\n field: \"october\",\r\n // type: \"html\",\r\n render: rowData => {\r\n if (\r\n typeof timelineDate[`${rowData.year}-october`] ===\r\n \"undefined\"\r\n ) {\r\n return rowData.october ? (\r\n
\r\n $ \r\n {rowData.october\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.october ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.october\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00{\" \"}\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"November\",\r\n field: \"november\",\r\n // type: \"html\",\r\n render: rowData => {\r\n if (\r\n typeof timelineDate[`${rowData.year}-november`] ===\r\n \"undefined\"\r\n ) {\r\n return rowData.november ? (\r\n
\r\n $ \r\n {rowData.november\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.november ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.november\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00{\" \"}\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"December\",\r\n field: \"december\",\r\n // type: \"html\",\r\n render: rowData => {\r\n if (\r\n typeof timelineDate[`${rowData.year}-december`] ===\r\n \"undefined\"\r\n ) {\r\n return rowData.december ? (\r\n
\r\n $ \r\n {rowData.december\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.december ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.december\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00{\" \"}\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"Quarter 4\",\r\n field: \"december\",\r\n // type: \"html\",\r\n render: rowData => {\r\n return (\r\n
\r\n $ \r\n {(\r\n (rowData.october || 0) +\r\n (rowData.november || 0) +\r\n (rowData.december || 0)\r\n )\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n cellStyle: {\r\n backgroundColor: \"#f5f5f5\",\r\n },\r\n headerStyle: {\r\n fontWeight: \"800\",\r\n maxWidth: \"125px\",\r\n },\r\n },\r\n ]}\r\n data={this.state.newposts}\r\n title={\r\n this.state.postsHotelName\r\n ? `Monthly & Quarterly Performance: ${this.state.postsHotelName} `\r\n : null\r\n }\r\n onRowClick={(evt, selectedRow) => this.setState({ selectedRow })}\r\n options={{\r\n pageSizeOptions: [10, 20, 50, 100],\r\n //pageSize: 10,\r\n columnsButton: true,\r\n rowStyle: rowData => ({\r\n backgroundColor:\r\n this.state.selectedRow &&\r\n this.state.selectedRow.tableData.id === rowData.tableData.id\r\n ? \"#f5f5f5\"\r\n : \"#FFF\",\r\n }),\r\n loadingType: \"linear\",\r\n }}\r\n localization={{\r\n body: {\r\n emptyDataSourceMessage: this.state.displayMessage,\r\n },\r\n }}\r\n />\r\n
\r\n\r\n \r\n {this.state.yearlyposts ? (\r\n \r\n \r\n \r\n ) : null}\r\n {\r\n return (\r\n
\r\n $ \r\n {rowData.total_revenue\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"Change in Revenue\",\r\n field: \"totalRevChange\",\r\n render: rowData => {\r\n if (rowData.totalRevChange.includes(\"-\")) {\r\n return (\r\n \r\n \r\n {rowData.totalRevChange}\r\n \r\n \r\n arrow_downward\r\n \r\n \r\n );\r\n } else if (rowData.totalRevChange !== \"$0.00 (0%)\") {\r\n let checkedData;\r\n if (rowData.totalRevChange.includes(\"(Infinity%)\")) {\r\n checkedData = rowData.totalRevChange.replace(\r\n \"(Infinity%)\",\r\n \" \"\r\n );\r\n return (\r\n \r\n \r\n {checkedData}\r\n \r\n (%)\r\n \r\n \r\n \r\n \r\n arrow_upward\r\n \r\n \r\n \r\n );\r\n } else {\r\n checkedData = rowData.totalRevChange;\r\n return (\r\n \r\n \r\n {rowData.totalRevChange}\r\n \r\n \r\n \r\n arrow_upward\r\n \r\n \r\n \r\n );\r\n }\r\n } else {\r\n return (\r\n \r\n \r\n {rowData.totalRevChange}\r\n \r\n \r\n minimize\r\n \r\n \r\n );\r\n }\r\n },\r\n // type: \"html\",\r\n },\r\n {\r\n title: \"RevPar\",\r\n field: \"RevPar\",\r\n // type: \"html\",\r\n render: rowData => {\r\n return
$ {rowData.RevPar.toFixed(2)}
;\r\n },\r\n },\r\n {\r\n title: \"Change in RevPar\",\r\n field: \"RevPARChange\",\r\n render: rowData => {\r\n if (rowData.RevPARChange.includes(\"-\")) {\r\n return (\r\n \r\n \r\n {rowData.RevPARChange}\r\n \r\n \r\n arrow_downward\r\n \r\n \r\n );\r\n } else if (rowData.RevPARChange !== \"$0.00 (0%)\") {\r\n let checkedData;\r\n if (rowData.RevPARChange.includes(\"(Infinity%)\")) {\r\n checkedData = rowData.RevPARChange.replace(\r\n \"(Infinity%)\",\r\n \" \"\r\n );\r\n return (\r\n \r\n \r\n {checkedData}\r\n \r\n (%)\r\n \r\n \r\n \r\n \r\n arrow_upward\r\n \r\n \r\n \r\n );\r\n } else {\r\n checkedData = rowData.RevPARChange;\r\n return (\r\n \r\n \r\n {rowData.RevPARChange}\r\n \r\n \r\n \r\n arrow_upward\r\n \r\n \r\n \r\n );\r\n }\r\n } else\r\n return (\r\n \r\n \r\n {rowData.RevPARChange}\r\n \r\n \r\n minimize\r\n \r\n \r\n );\r\n },\r\n // type: \"html\",\r\n },\r\n ]}\r\n data={this.state.yearlyposts}\r\n title={`Yearly Revenue: ${this.state.postsHotelName}`}\r\n options={{\r\n pageSizeOptions: [10, 20, 50, 100],\r\n columnsButton: true,\r\n loadingType: \"linear\",\r\n }}\r\n localization={{\r\n body: {\r\n emptyDataSourceMessage: this.state.displayMessage,\r\n },\r\n }}\r\n // components={{\r\n // OverlayLoading: props => (\r\n //
\r\n //

TEST

\r\n // \r\n //
\r\n // )\r\n // }}\r\n />\r\n
\r\n \r\n \r\n \r\n \r\n {\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.room_receipts\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"Taxable Revenue\",\r\n field: \"taxable_receipts\",\r\n // type: \"html\",\r\n render: rowData => {\r\n return (\r\n
\r\n ${\" \"}\r\n {rowData.taxable_receipts\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"RevPar\",\r\n field: \"revpar\",\r\n // type: \"html\",\r\n render: rowData => {\r\n return
$ {rowData.revpar.toFixed(2)}
;\r\n },\r\n },\r\n {\r\n title: \"Taxpayer Name\",\r\n field: \"taxpayer_name\",\r\n hidden: true,\r\n },\r\n {\r\n title: \"Taxpayer Number\",\r\n field: \"taxpayer_number\",\r\n type: \"numeric\",\r\n hidden: true,\r\n },\r\n {\r\n title: \"Taxpayer City\",\r\n field: \"taxpayer_city\",\r\n hidden: true,\r\n },\r\n {\r\n title: \"Taxpayer County\",\r\n field: \"taxpayer_county\",\r\n hidden: true,\r\n },\r\n\r\n {\r\n title: \"Taxpayer State\",\r\n field: \"taxpayer_state\",\r\n hidden: true,\r\n },\r\n { title: \"Taxpayer Zip\", field: \"taxpayer_zip\", hidden: true },\r\n ]}\r\n data={this.state.rawposts}\r\n title={`Complete Data Set: ${this.state.postsHotelName}`}\r\n options={{\r\n pageSizeOptions: [10, 20, 50, 100],\r\n columnsButton: true,\r\n loadingType: \"linear\",\r\n }}\r\n localization={{\r\n body: {\r\n emptyDataSourceMessage: this.state.displayMessage,\r\n },\r\n }}\r\n />\r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\"Select a Portfolio from the dropdown to add this hotel to it\"}\r\n \r\n \r\n {errormsg}\r\n \r\n {this.state.portfoliotypes.map(option => (\r\n \r\n {option.portfolio}\r\n \r\n ))}\r\n \r\n {this.state.noPortfoliosMsg ? (\r\n

\r\n

You do not have any portfolios of this type created.

\r\n \r\n {\" \"}\r\n Create one here.\r\n \r\n

\r\n ) : null}\r\n
\r\n \r\n {\r\n this.handleClick();\r\n }}\r\n >\r\n Add to Portfolio\r\n \r\n\r\n \r\n \r\n \r\n \r\n Hotel Added to\r\n \r\n {this.state.portfolioSelected.portfolio}\r\n \r\n \r\n }\r\n action={[]}\r\n />\r\n \r\n
\r\n );\r\n }\r\n}\r\nHotelInfo.propTypes = {\r\n classes: PropTypes.object.isRequired,\r\n};\r\nexport default withRouter(withStyles(styles)(HotelInfo));\r\n\r\n// ======= POPOVER CLASS ========\r\nclass PopoverComponent extends Component {\r\n constructor(props) {\r\n super(props);\r\n //color = timelineDate[`${props.rowData.year}-${props.month}`].color;\r\n //console.log(\"popover Props\", props);\r\n this.state = {\r\n openedPopoverId: \"\",\r\n anchorEl: \"\",\r\n month: \"\",\r\n classes: \"\",\r\n rowData: \"\",\r\n color: \"\",\r\n popOpen: false,\r\n timelineData: \"\",\r\n };\r\n this.handlePopoverOpen = this.handlePopoverOpen.bind(this);\r\n this.handlePopoverClose = this.handlePopoverClose.bind(this);\r\n }\r\n\r\n handlePopoverOpen(event, popoverId) {\r\n this.setState({\r\n openedPopoverId: popoverId,\r\n anchorEl: event.target,\r\n });\r\n }\r\n handlePopoverClose = () => {\r\n this.setState({\r\n openedPopoverId: null,\r\n anchorEl: null,\r\n });\r\n };\r\n\r\n componentWillMount() {\r\n let {\r\n month,\r\n classes,\r\n openedPopoverId,\r\n anchorEl,\r\n rowData,\r\n color,\r\n timelineDate,\r\n } = this.props;\r\n let colorBackground =\r\n timelineDate[`${this.props.rowData.year}-${this.props.month}`].color;\r\n this.setState({\r\n month,\r\n classes,\r\n openedPopoverId,\r\n anchorEl,\r\n rowData,\r\n timelineDate,\r\n color: colorBackground,\r\n });\r\n }\r\n\r\n render() {\r\n let {\r\n month,\r\n classes,\r\n openedPopoverId,\r\n anchorEl,\r\n rowData,\r\n color,\r\n timelineDate,\r\n } = this.state;\r\n\r\n return (\r\n \r\n \r\n
\r\n
\r\n

\r\n {moment(\r\n timelineDate[\r\n `${rowData.year}-${month}`\r\n ].responsibility_begin_date.toString()\r\n ).format(\"YYYY[-]MM[-]DD\")}\r\n  \r\n

\r\n

\r\n Property started reporting with the name{\" \"}\r\n \r\n {timelineDate[`${rowData.year}-${month}`].location_name}\r\n \r\n , under{\" \"}\r\n \r\n {timelineDate[`${rowData.year}-${month}`].taxpayer_name}\r\n \r\n

\r\n
\r\n
\r\n \r\n \r\n this.handlePopoverOpen(e, month)}\r\n onMouseLeave={this.handlePopoverClose}\r\n >\r\n contact_support\r\n \r\n \r\n
\r\n );\r\n }\r\n}\r\n","import ReactGA from \"react-ga\";\r\nimport React from \"react\";\r\nimport axios from \"axios\";\r\nimport MaterialTable from \"material-table\";\r\nimport { Link } from \"react-router-dom\";\r\nimport Button from \"@material-ui/core/Button\";\r\nimport { CSVLink } from \"react-csv\";\r\nimport Icon from \"@material-ui/core/Icon\";\r\nimport Paper from \"@material-ui/core/Paper\";\r\nimport PropTypes from \"prop-types\";\r\nimport { withStyles } from \"@material-ui/core/styles\";\r\nimport Typography from \"@material-ui/core/Typography\";\r\nimport Grid from \"@material-ui/core/Grid\";\r\nimport { apiUrl } from \"../helpers\";\r\nimport { handleError } from \"../utils/errorHandling/errorHelper\";\r\n\r\nlet pathname = window.location.pathname;\r\n\r\nconst styles = theme => ({\r\n root: {\r\n flexGrow: 1,\r\n backgroundColor: theme.palette.background.paper,\r\n },\r\n fab: {\r\n margin: theme.spacing(2),\r\n },\r\n\r\n absolute: {\r\n backgroundColor: \"#d50000\",\r\n \"&:hover\": {\r\n backgroundColor: \"#f44336\",\r\n },\r\n },\r\n});\r\n// const portfoliotypes = [\r\n// {\r\n// value: \"0\",\r\n// label: \"Hotel\"\r\n// },\r\n// {\r\n// value: \"1\",\r\n// label: \"MBT\"\r\n// }\r\n\r\n// ];\r\nclass Brands extends React.Component {\r\n state = {\r\n posts: [],\r\n token: \"\",\r\n dataLoadingStatus: \"loading\",\r\n chartData: [],\r\n value: 0,\r\n type: \"0\",\r\n portfolio: \"\",\r\n errormsg: false,\r\n id: \"\",\r\n portfoliotypes: 0,\r\n open: false,\r\n pid: \"\",\r\n title: \"Create New Portfolio\",\r\n };\r\n handleChange = name => event => {\r\n this.setState({\r\n [name]: event.target.value,\r\n });\r\n };\r\n\r\n handleClick() {\r\n if (this.state.portfolio === \"\") {\r\n this.setState({ errormsg: true });\r\n return;\r\n }\r\n axios({\r\n method: \"post\",\r\n url: `${apiUrl}/rest/portfolio`,\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n data: { portfolio: this.state.portfolio, type: this.state.type },\r\n })\r\n .then(res => {\r\n if (res.data) {\r\n this.setState({ anchorEl: null });\r\n axios({\r\n method: \"get\",\r\n url: `${apiUrl}/rest/portfolio`,\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n const posts = res.data;\r\n this.setState({ posts: posts });\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n //window.location.replace('/login');\r\n });\r\n this.setState({ portfolio: null });\r\n this.setState({ type: 0 });\r\n this.setState({ title: \"Portfolio Created\" });\r\n setTimeout(\r\n function() {\r\n this.setState({ title: \"Create New Portfolio\" });\r\n }.bind(this),\r\n 5000\r\n );\r\n }\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n //window.location.replace('/login');\r\n });\r\n }\r\n handleClickOpen = id => {\r\n this.setState({ open: true });\r\n };\r\n handleClickDelete(id) {\r\n axios({\r\n method: \"delete\",\r\n url: `${apiUrl}/rest/portfolio`,\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n data: { id: id },\r\n })\r\n .then(res => {\r\n this.setState({ open: false });\r\n axios({\r\n method: \"get\",\r\n url: `${apiUrl}/rest/portfolio`,\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n const posts = res.data;\r\n this.setState({ posts: posts });\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n // window.location.replace('/login');\r\n });\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n //window.location.replace('/login');\r\n });\r\n }\r\n handleMenu = event => {\r\n this.setState({ anchorEl: event.currentTarget });\r\n };\r\n\r\n handleClose = () => {\r\n // this.setState({\r\n // anchorEl: null,\r\n // errormsg: false,\r\n // portfolio: '',\r\n // type: '0',\r\n // open: false\r\n // });\r\n this.setState({ errormsg: false });\r\n this.setState({ portfolio: \"\" });\r\n this.setState({ type: \"0\" });\r\n this.setState({ open: false });\r\n };\r\n componentDidMount() {\r\n document.title = \"Brands (Beta)- Search Texas Tax\";\r\n axios({\r\n method: \"get\",\r\n url: `${apiUrl}/rest/brands`,\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n const posts = res.data;\r\n this.setState({ posts: posts });\r\n })\r\n .catch(e => {\r\n ReactGA.exception({\r\n description: \"An error occurred\",\r\n });\r\n handleError(e, pathname);\r\n //window.location.replace('/login');\r\n });\r\n }\r\n\r\n render() {\r\n const { classes } = this.props;\r\n //const { anchorEl } = this.state;\r\n // const open = Boolean(anchorEl);\r\n // const { value } = this.state;\r\n\r\n let errormsg;\r\n if (this.state.errormsg === true) {\r\n errormsg = (\r\n

Please Enter a portfolio name to create one.

\r\n );\r\n }\r\n return (\r\n \r\n \r\n \r\n
\r\n
\r\n

Brands

\r\n
\r\n
\r\n \r\n Please select a brand or parent company below to see details.\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n {\r\n if (rowData.brandNot === \"\") {\r\n return (\r\n \r\n {rowData.name}\r\n \r\n );\r\n } else {\r\n return (\r\n \r\n {rowData.name}\r\n \r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"Parent Company\",\r\n field: \"parent\",\r\n render: rowData => {\r\n return (\r\n \r\n {rowData.parent}\r\n \r\n );\r\n },\r\n },\r\n {\r\n title: \"# of Locations\",\r\n field: \"locations\",\r\n },\r\n ]}\r\n data={this.state.posts}\r\n title=\"List of Brands\"\r\n options={{\r\n pageSize: 10,\r\n }}\r\n />\r\n \r\n \r\n
\r\n );\r\n }\r\n}\r\nBrands.propTypes = {\r\n classes: PropTypes.object.isRequired,\r\n};\r\nexport default withStyles(styles)(Brands);\r\n","import React from \"react\";\r\nimport axios from \"axios\";\r\nimport MaterialTable from \"material-table\";\r\nimport Paper from \"@material-ui/core/Paper\";\r\nimport PropTypes from \"prop-types\";\r\nimport { withStyles } from \"@material-ui/core/styles\";\r\nimport ReactGA from \"react-ga\";\r\nimport Typography from \"@material-ui/core/Typography\";\r\n\r\nimport Grid from \"@material-ui/core/Grid\";\r\nimport { Chart } from \"react-google-charts\";\r\nimport AppBar from \"@material-ui/core/AppBar\";\r\nimport Tabs from \"@material-ui/core/Tabs\";\r\nimport Tab from \"@material-ui/core/Tab\";\r\nimport CircularProgress from \"@material-ui/core/CircularProgress\";\r\nimport { apiUrl } from \"../helpers\";\r\nimport { handleError } from \"../utils/errorHandling/errorHelper\";\r\n\r\nlet pathname = window.location.pathname;\r\n\r\nfunction TabContainer(props) {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n}\r\n\r\nTabContainer.propTypes = {\r\n children: PropTypes.node.isRequired,\r\n};\r\nconst styles = theme => ({\r\n root: {\r\n flexGrow: 1,\r\n backgroundColor: theme.palette.background.paper,\r\n },\r\n avatar: {\r\n margin: 0,\r\n },\r\n pinkAvatar: {\r\n margin: 0,\r\n color: \"#fff\",\r\n backgroundColor: \"#d50000\",\r\n width: 50,\r\n height: 30,\r\n borderRadius: 5,\r\n fontSize: 13,\r\n },\r\n greenAvatar: {\r\n margin: 0,\r\n color: \"#fff\",\r\n backgroundColor: \"#0d47a1\",\r\n width: 50,\r\n height: 30,\r\n borderRadius: 5,\r\n fontSize: 12,\r\n },\r\n recent: {},\r\n fab: {\r\n margin: theme.spacing(2),\r\n },\r\n absolute: {\r\n position: \"relative\",\r\n bottom: theme.spacing(10),\r\n left: theme.spacing(170),\r\n },\r\n});\r\n// const portfoliotypes = [\r\n// {\r\n// value: \"0\",\r\n// label: \"Hotel\"\r\n// },\r\n// {\r\n// value: \"1\",\r\n// label: \"MBT\"\r\n// }\r\n\r\n// ];\r\nclass Trends extends React.Component {\r\n state = {\r\n posts: [],\r\n token: \"\",\r\n dataLoadingStatus: \"loading\",\r\n chartData: [],\r\n value: 0,\r\n type: \"\",\r\n portfolio: \"\",\r\n errormsg: false,\r\n barArray: [],\r\n };\r\n\r\n handleChange = name => event => {\r\n this.setState({\r\n [name]: event.target.value,\r\n });\r\n //////console.log(event.target.value);\r\n };\r\n\r\n handleMenu = event => {\r\n this.setState({ anchorEl: event.currentTarget });\r\n //////console.log(\"ji\");\r\n };\r\n\r\n handleClose = () => {\r\n this.setState({ anchorEl: null });\r\n this.setState({ errormsg: false });\r\n this.setState({ portfolio: \"\" });\r\n };\r\n componentDidMount() {\r\n document.title = \"Hotel Trends- Search Texas Tax\";\r\n ReactGA.initialize(\"UA-80211377-3\");\r\n ReactGA.pageview(window.location.pathname);\r\n\r\n axios({\r\n method: \"get\",\r\n url: `${apiUrl}/rest/admin/newhotels`,\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n const posts = res.data;\r\n var barArray = [];\r\n\r\n this.setState({ posts: posts });\r\n barArray.push([\"Year\", \"Number of Hotels added each Year\"]);\r\n\r\n try {\r\n for (var i = 0; i < posts.length; i++) {\r\n if (posts[i].year !== 2000) {\r\n barArray.push([posts[i].year.toString(), posts[i].newHotels]);\r\n }\r\n }\r\n //console.log(barArray);\r\n this.setState({\r\n barArray: barArray,\r\n dataLoadingStatus: \"ready\",\r\n });\r\n } catch (err) {\r\n handleError(err, pathname);\r\n }\r\n })\r\n .catch(e => {\r\n handleError(e, pathname);\r\n //window.location.replace('/logout');\r\n });\r\n }\r\n\r\n render() {\r\n //const { classes, theme } = this.props;\r\n //const { anchorEl } = this.state;\r\n //const open = Boolean(anchorEl);\r\n const { value } = this.state;\r\n\r\n let seconddonut;\r\n if (this.state.dataLoadingStatus === \"ready\") {\r\n seconddonut = (\r\n \r\n );\r\n } else {\r\n seconddonut = (\r\n
\r\n {\" \"}\r\n \r\n
\r\n );\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {value === 0 && {seconddonut}}\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n );\r\n }\r\n}\r\nTrends.propTypes = {\r\n classes: PropTypes.object.isRequired,\r\n};\r\nexport default withStyles(styles)(Trends);\r\n","/* eslint-disable no-new-object */\r\nimport React, { Component } from \"react\";\r\nimport axios from \"axios\";\r\nimport PropTypes from \"prop-types\";\r\nimport MaterialTable from \"material-table\";\r\nimport Paper from \"@material-ui/core/Paper\";\r\nimport Typography from \"@material-ui/core/Typography\";\r\nimport { dollar } from \"./helper\";\r\nimport DeleteIcon from \"@material-ui/icons/Delete\";\r\nimport IconButton from \"@material-ui/core/IconButton\";\r\nimport { Chart } from \"react-google-charts\";\r\nimport { CSVLink } from \"react-csv\";\r\nimport AddIcon from \"@material-ui/icons/Add\";\r\nimport Button from \"@material-ui/core/Button\";\r\nimport Grid from \"@material-ui/core/Grid\";\r\nimport Tooltip from \"@material-ui/core/Tooltip\";\r\nimport { withStyles } from \"@material-ui/core/styles\";\r\nimport MenuItem from \"@material-ui/core/MenuItem\";\r\nimport ReactGA from \"react-ga\";\r\nimport TextField from \"@material-ui/core/TextField\";\r\nimport Icon from \"@material-ui/core/Icon\";\r\nimport AppBar from \"@material-ui/core/AppBar\";\r\nimport Tabs from \"@material-ui/core/Tabs\";\r\nimport Tab from \"@material-ui/core/Tab\";\r\nimport CircularProgress from \"@material-ui/core/CircularProgress\";\r\nimport Dialog from \"@material-ui/core/Dialog\";\r\nimport DialogActions from \"@material-ui/core/DialogActions\";\r\nimport DialogContent from \"@material-ui/core/DialogContent\";\r\nimport DialogTitle from \"@material-ui/core/DialogTitle\";\r\nimport Slide from \"@material-ui/core/Slide\";\r\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\r\nimport { Link } from \"react-router-dom\";\r\nimport ExpansionPanel from \"@material-ui/core/ExpansionPanel\";\r\nimport ExpansionPanelSummary from \"@material-ui/core/ExpansionPanelSummary\";\r\nimport ExpansionPanelDetails from \"@material-ui/core/ExpansionPanelDetails\";\r\nimport ExpandMoreIcon from \"@material-ui/icons/ExpandMore\";\r\nimport Divider from \"@material-ui/core/Divider\";\r\nimport Popover from \"@material-ui/core/Popover\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport shortid from \"shortid\";\r\nimport moment from \"moment\";\r\nimport Snackbar from \"@material-ui/core/Snackbar\";\r\nimport { durations } from \"../utils/googleChartHelper\";\r\nimport { apiUrl } from \"../helpers\";\r\nimport { handleError } from \"../utils/errorHandling/errorHelper\";\r\nimport Table from \"@material-ui/core/Table\";\r\nimport TableHead from \"@material-ui/core/TableHead\";\r\nimport TableRow from \"@material-ui/core/TableRow\";\r\nimport TableCell from \"@material-ui/core/TableCell\";\r\nimport CardHeader from \"@material-ui/core/CardHeader\";\r\nimport CardContent from \"@material-ui/core/CardContent\";\r\nimport List from \"@material-ui/core/List\";\r\nimport ListItem from \"@material-ui/core/ListItem\";\r\nimport ListItemText from \"@material-ui/core/ListItemText\";\r\nimport Chip from \"@material-ui/core/Chip\";\r\nimport ExploreOffIcon from \"@material-ui/icons/ExploreOff\";\r\nimport GoogleMapReact from \"./GoogleMap\";\r\nimport Fab from \"@material-ui/core/Fab\";\r\nimport API from \"../utils/API\";\r\nimport { Hidden } from \"@material-ui/core\";\r\n\r\nconst longText = `\r\n This is the history of the names under which this property has filed its Texas State hotel occupancy tax. The dates reflect when the name was changed on state tax filings.\r\n `;\r\n\r\n// blue, scarlette, golden, green, purpple, aqua, lightorange, booger-green, indigo, blossom-pink, dark-aqua, dark-pink\r\nlet chartColors = [\r\n \"#4285f4\",\r\n \"#db4437\",\r\n \"#f4b400\",\r\n \"#0f9d58\",\r\n \"#ab47bc\",\r\n \"#00acc1\",\r\n \"#ff7043\",\r\n \"#9e9d24\",\r\n \"#5c6bc0\",\r\n \"#f06292\",\r\n \"#00796b\",\r\n \"#c2185b\",\r\n];\r\nchartColors = [...chartColors];\r\n\r\nfunction TabContainer(props) {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n}\r\nfunction Transition(props) {\r\n return ;\r\n}\r\n\r\nTabContainer.propTypes = {\r\n children: PropTypes.node.isRequired,\r\n};\r\n\r\nconst addSpace = num => {\r\n let str = \" \";\r\n for (let i = 0; i < num; i++) str += \" \";\r\n return str;\r\n};\r\n\r\nconst styles = theme => ({\r\n card: {\r\n minHeight: \"300px\",\r\n [theme.breakpoints.down(\"xs\")]: {\r\n minHeight: \"300px\",\r\n maxHeight: \"400px\",\r\n },\r\n [theme.breakpoints.up(\"sm\")]: {\r\n // minHeight: '300px',\r\n maxHeight: \"300px\",\r\n overflow: \"auto\",\r\n },\r\n },\r\n popover: {\r\n pointerEvents: \"none\",\r\n //padding: '15px!important',\r\n //margin: '15px!important',\r\n },\r\n paper: {\r\n padding: theme.spacing(2),\r\n textAlign: \"center\",\r\n color: theme.palette.text.secondary,\r\n },\r\n absolute: {\r\n position: \"fixed\",\r\n bottom: theme.spacing(2),\r\n right: theme.spacing(3),\r\n backgroundColor: \"#d50000\",\r\n zIndex: \"2000\",\r\n \"&:hover\": {\r\n backgroundColor: \"#f44336\",\r\n },\r\n },\r\n typography: {\r\n margin: 0,\r\n padding: 0,\r\n },\r\n typography3: {\r\n marginTop: 0,\r\n padding: 0,\r\n fontSize: \"100%\",\r\n [theme.breakpoints.down(\"xs\")]: {\r\n fontSize: \".5rem\",\r\n },\r\n [theme.breakpoints.down(\"sm\")]: {\r\n fontSize: \"1rem\",\r\n },\r\n },\r\n button: {\r\n textTransform: \"Capitalize\",\r\n color: \"#fff\",\r\n },\r\n listItem: {\r\n paddingTop: \"4px\",\r\n paddingBottom: \"4px\",\r\n marginTop: \"0px\",\r\n marginBottom: \"0px\",\r\n },\r\n legend: {\r\n position: \"none\",\r\n },\r\n fab: {\r\n margin: theme.spacing(2),\r\n },\r\n Red: {\r\n color: \"red\",\r\n top: \"5px\",\r\n position: \"relative\",\r\n fontSize: \"21px!important\",\r\n fontWeight: \"1000!important\",\r\n },\r\n Green: {\r\n color: \"green\",\r\n top: \"5px\",\r\n position: \"relative\",\r\n fontSize: \"21px!important\",\r\n fontWeight: \"1000!important\",\r\n },\r\n gridRow: {\r\n marginTop: 10,\r\n display: \"flex\",\r\n justifyContent: \"flex-start\",\r\n },\r\n iconHover: {\r\n position: \"relative\",\r\n fontSize: \"1.5rem\",\r\n color: \"#ffc107\",\r\n \"&:hover\": {\r\n color: \"#ff9800\",\r\n },\r\n },\r\n subtext2: {\r\n height: 25,\r\n fontSize: \".9rem\",\r\n paddingTop: 3,\r\n paddingLeft: 5,\r\n },\r\n link: {\r\n color: \"white\",\r\n fontWeight: \"bold\",\r\n \"&:hover\": {\r\n textDecoration: \"none\",\r\n color: \"#2196f3\",\r\n },\r\n },\r\n propertyLink: {\r\n color: \"black\",\r\n \"&:hover\": {\r\n textDecoration: \"none\",\r\n color: \"#1e88e5\",\r\n },\r\n },\r\n divider: {\r\n marginTop: 10,\r\n zIndex: 3,\r\n },\r\n mbt: {\r\n margin: 0,\r\n color: \"#fff\",\r\n backgroundColor: \"#0d47a1\",\r\n borderRadius: 5,\r\n fontSize: \".8rem\",\r\n padding: \".5px 2px\",\r\n },\r\n mbtDot: {\r\n height: 10,\r\n width: 10,\r\n paddingRight: 5,\r\n backgroundColor: \"#0d47a1\",\r\n borderRadius: \"50%\",\r\n display: \"inline-block\",\r\n },\r\n hotelDot: {\r\n height: 10,\r\n width: 10,\r\n paddingRight: 5,\r\n backgroundColor: \"#d50000\",\r\n borderRadius: \"50%\",\r\n display: \"inline-block\",\r\n },\r\n hotel: {\r\n margin: 0,\r\n color: \"#fff\",\r\n backgroundColor: \"#d50000\",\r\n borderRadius: 5,\r\n fontSize: \".8rem\",\r\n padding: \"1px 2px\",\r\n },\r\n description: {\r\n fontSize: \".8rem\",\r\n textAlign: \"center\",\r\n margin: 0,\r\n paddingTop: 10,\r\n backgroundColor: \"#fafafa\",\r\n },\r\n propertyName: {\r\n fontSize: \".8rem\",\r\n //color: '#212121'\r\n },\r\n propertyAddress: {\r\n fontSize: \".8rem\",\r\n margin: 0,\r\n padding: 0,\r\n //color: '#212121'\r\n },\r\n dotContainer: {\r\n margin: 0,\r\n //paddingLeft: 10\r\n },\r\n taxInfo: {\r\n fontSize: \"1rem\",\r\n //textAlign: 'center',\r\n //paddingBottom: 10,\r\n //color: '#212121'\r\n },\r\n taxHeading: {\r\n fontSize: \"1rem\",\r\n //textAlign:'center'\r\n paddingBottom: 15,\r\n },\r\n taxTitle: {\r\n fontSize: \"1rem\",\r\n padding: 0,\r\n marging: 0,\r\n display: \"inline\",\r\n },\r\n taxAddress: {\r\n //textAlign: 'left',\r\n fontSize: \".8rem\",\r\n //color: '#212121'\r\n },\r\n expansionDetails: {\r\n backgroundColor: \"#fafafa\",\r\n marging: 0,\r\n padding: 0,\r\n height: \"auto\",\r\n [theme.breakpoints.down(\"sm\")]: {\r\n textAlign: \"center\",\r\n },\r\n },\r\n expansionDetails2: {\r\n backgroundColor: \"#fafafa\",\r\n margin: 0,\r\n },\r\n taxInfoWrapper: {\r\n padding: 12,\r\n paddingLeft: \"10%\",\r\n maxWidth: \"300px\",\r\n [theme.breakpoints.down(\"sm\")]: {\r\n textAlign: \"center\",\r\n padding: 0,\r\n marginRight: \"auto\",\r\n marginLeft: \"auto\",\r\n },\r\n [theme.breakpoints.down(\"md\")]: {\r\n textAlign: \"center\",\r\n padding: 0,\r\n marginRight: \"auto\",\r\n marginLeft: \"auto\",\r\n },\r\n },\r\n inline: {\r\n display: \"inline\",\r\n },\r\n noPortfolioMsg: {\r\n color: \"red\",\r\n },\r\n portfolioLink: {\r\n marginLeft: \"10px\",\r\n color: \"#448aff\",\r\n textDecoration: \"underline\",\r\n fontSize: \"1rem\",\r\n },\r\n newOwner: {\r\n fontSize: \"18px!important\",\r\n },\r\n propertyChange: {\r\n width: \"220px\",\r\n fontSize: \".8rem\",\r\n textAlign: \"left\",\r\n padding: \"12px\",\r\n margin: \"0px\",\r\n color: \"#fff\",\r\n },\r\n popoverCell: {\r\n minWidth: \"100px!important\",\r\n maxWidth: \"210px!important\",\r\n },\r\n});\r\n\r\nclass MBTHotelInfo extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n posts: [],\r\n rawposts: [],\r\n newposts: [],\r\n getposts: [],\r\n yearposts: [],\r\n ttmposts: [],\r\n token: \"\",\r\n errormsg: false,\r\n portfoliotypes: [],\r\n noPortfoliosMsg: false,\r\n portfolioSelected: {},\r\n opensnack: false,\r\n value: 0,\r\n duration: \"1\",\r\n duration1: \"1\",\r\n durationttm: \"1\",\r\n durationttmrevpar: \"1\",\r\n type: \"\",\r\n urlType: \"\",\r\n title: \"Add this Hotel to Portfolio\",\r\n open: false,\r\n taxname: \"\",\r\n taxnum: \"\",\r\n taxaddress: \"\",\r\n taxcity: \"\",\r\n taxstate: \"\",\r\n taxzip: \"\",\r\n postscity: \"\",\r\n postsaddress: \"\",\r\n postscounty: \"\",\r\n postszip: \"\",\r\n multiProperties: false,\r\n otherTaxProperties: [],\r\n matchedAdresses: [],\r\n hotelName: this.props.match.params.hotelname\r\n .replace(\"(slash)\", \"/\")\r\n .replace(\"(hash)\", \"#\"),\r\n expanded: null,\r\n postsHotelName: \"\",\r\n postsLocationNum: \"\",\r\n postsCountyName: \"\",\r\n anchorEl: null,\r\n openedPopoverId: \"\",\r\n selectedRow: null,\r\n openPopover: false,\r\n latestFiler_type: \"\",\r\n dataLoadingStatustimeline: false,\r\n hotelMBTFinanceData: [],\r\n\r\n //timeline state\r\n timelineDate: [],\r\n chartColorsIndex: 0,\r\n monthlyLoading: true,\r\n yearlyLoading: true,\r\n completeLoading: true,\r\n displayMessage: \"SEARCHING...\",\r\n latitude: \"\",\r\n longitude: \"\",\r\n };\r\n }\r\n\r\n // save to user history\r\n onSave() {\r\n let {\r\n taxnum,\r\n postsLocationNum,\r\n postsHotelName,\r\n postscity,\r\n postsCountyName,\r\n } = this.state;\r\n\r\n if (postsHotelName !== \"\" || postsHotelName !== undefined) {\r\n axios({\r\n method: \"post\",\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n url: `${apiUrl}/rest/history`,\r\n data: {\r\n taxpayer_number: taxnum,\r\n location_number: postsLocationNum,\r\n location_name: postsHotelName,\r\n location_city: postscity,\r\n location_county: postsCountyName,\r\n type: 1,\r\n },\r\n })\r\n .then(res => {})\r\n .catch(e => {\r\n ReactGA.exception({\r\n description: \"An error occurred\",\r\n });\r\n handleError(e);\r\n //window.location.replace('/login');\r\n });\r\n } else {\r\n let error = \"some property key pair values missing\";\r\n handleError(error);\r\n }\r\n }\r\n\r\n handleChangePanel = panel => (event, expanded) => {\r\n this.setState({\r\n expanded: expanded ? panel : false,\r\n });\r\n };\r\n\r\n handleChange = name => event => {\r\n if (this.state.portfoliotypes)\r\n this.state.portfoliotypes.map(item => {\r\n if (item.id === event.target.value) {\r\n this.setState({ portfolioSelected: item });\r\n }\r\n });\r\n this.setState({\r\n [name]: event.target.value,\r\n });\r\n };\r\n handleChangetab = (event, value) => {\r\n this.setState({ value });\r\n };\r\n\r\n handleClick() {\r\n if (this.state.type === \"\") {\r\n this.setState({ errormsg: 1 });\r\n return;\r\n } else {\r\n this.setState({ errormsg: 0 });\r\n }\r\n axios({\r\n method: \"post\",\r\n url: `${apiUrl}/rest/portfolio/hotel`,\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n data: {\r\n taxpayer_number: this.props.match.params.taxpayernumber,\r\n id: this.state.type,\r\n location_name: this.props.match.params.hotelname,\r\n location_number: this.props.match.params.locationnumber,\r\n },\r\n })\r\n .then(res => {\r\n if (res.data) {\r\n this.setState({ open: false });\r\n this.setState({ opensnack: true });\r\n }\r\n })\r\n .catch(e => {\r\n ReactGA.exception({\r\n description: \"An error occurred\",\r\n });\r\n handleError(e);\r\n //window.location.replace('/logout');\r\n });\r\n }\r\n handleClickOpen = () => {\r\n this.setState({ open: true });\r\n if (this.state.portfolio === \"\") {\r\n this.setState({ errormsg: true });\r\n return;\r\n }\r\n axios({\r\n method: \"get\",\r\n url: `${apiUrl}/rest/portfolio`,\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n })\r\n .then(res => {\r\n const rawposts1 = res.data;\r\n //console.log(rawposts1);\r\n const updatedposts = [];\r\n for (var i = 0; i < rawposts1.length; i++) {\r\n if (rawposts1[i].type === 1) {\r\n updatedposts[i] = rawposts1[i];\r\n }\r\n }\r\n if (updatedposts.length === 0) {\r\n this.setState({ noPortfoliosMsg: true });\r\n }\r\n this.setState({ portfoliotypes: updatedposts });\r\n })\r\n .catch(e => {\r\n ReactGA.exception({\r\n description: \"An error occurred\",\r\n });\r\n handleError(e);\r\n //window.location.replace('/logout');\r\n });\r\n };\r\n\r\n handleClose = () => {\r\n this.setState({ open: false });\r\n this.setState({ errormsg: 0 });\r\n };\r\n\r\n // ===== Monthly ======\r\n handleChange1 = name => event => {\r\n this.setState({\r\n [name]: event.target.value,\r\n });\r\n\r\n let { posts } = this.state;\r\n const [metadata, data] = posts;\r\n const columns = [\r\n { type: \"date\", label: \"Month\" },\r\n { type: \"number\", label: \"Total Revenue\" },\r\n ];\r\n\r\n let rows = [];\r\n var d = new Date();\r\n var n = d.getFullYear();\r\n for (let row of posts) {\r\n let { date, total_receipts } = row;\r\n\r\n if (\r\n row.year >= posts[posts.length - 1].year - event.target.value &&\r\n row.year <= posts[posts.length - 1].year\r\n ) {\r\n date = new Date(row.year + \"-\" + row.month);\r\n date = new Date(row.year, row.month - 1, 1);\r\n rows.push([date, total_receipts]);\r\n }\r\n }\r\n\r\n this.setState({\r\n chartData: [columns, ...rows],\r\n dataLoadingStatus: \"ready\",\r\n });\r\n };\r\n\r\n componentDidMount() {\r\n // variable to cancel axios request\r\n this.axiosCancelSource = axios.CancelToken.source();\r\n\r\n window.scrollTo(0, 0);\r\n\r\n const columnstimeline = [\r\n { type: \"string\", id: \"Role\" },\r\n { type: \"string\", id: \"Name\" },\r\n { type: \"date\", id: \"Start\" },\r\n { type: \"date\", id: \"End\" },\r\n ];\r\n\r\n const rowstimeline = [];\r\n\r\n // API.getOneHotelLatLong(\r\n // this.props.match.params.taxpayernumber,\r\n // this.props.match.params.locationnumber)\r\n // .then( res => {\r\n // // console.log(`getOneHotelLatLong function called`)\r\n // // console.log(res.data)\r\n // this.setState({\r\n // latitude: res.data[0].latitude,\r\n // longitude: res.data[0].longitude\r\n // })\r\n // })\r\n // .catch(err => console.log(err))\r\n\r\n // ===== CALL FOR TIMELINE =========\r\n axios({\r\n method: \"post\",\r\n url: `${apiUrl}/rest/mbt/mbthistory`,\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n data: {\r\n location_number: this.props.match.params.locationnumber,\r\n taxpayer_number: this.props.match.params.taxpayernumber,\r\n },\r\n //data: { location_address: this.state.postsaddress, location_number: this.props.match.params.locationnumber, location_city: this.state.postscity }\r\n cancelToken: this.axiosCancelSource.token,\r\n })\r\n .then(res => {\r\n let { chartColorsIndex, timelineDate } = this.state;\r\n\r\n // console.log(res.data);\r\n let unsortedPoststimeline = res.data;\r\n // Was getting google chart error for the property not sorted by date\r\n const poststimeline = unsortedPoststimeline.sort(\r\n (a, b) =>\r\n new moment(a.responsibility_begin_date).format(\"YYYYMMDD\") -\r\n new moment(b.responsibility_begin_date).format(\"YYYYMMDD\")\r\n );\r\n let postsHotelName;\r\n let postsaddress;\r\n this.setState({ poststimeline });\r\n //console.log(\"poststimeline\", this.state.poststimeline);\r\n\r\n // if there are more then one location name\r\n if (poststimeline.length > 1) {\r\n let latest = poststimeline.length - 1;\r\n postsHotelName = poststimeline[latest].location_name;\r\n postsaddress = poststimeline[latest].location_address;\r\n\r\n poststimeline.forEach(element => {\r\n element.color = chartColors[chartColorsIndex++];\r\n timelineDate[\r\n moment(element.responsibility_begin_date, \"YYYYMMDD\")\r\n .format(\"YYYY-MMMM\")\r\n .toLowerCase()\r\n ] = element;\r\n });\r\n //console.log('timelineDate', timelineDate)\r\n\r\n let count = 1;\r\n for (let i = 0; i < poststimeline.length; i++) {\r\n //if last....\r\n if (i + 1 === poststimeline.length) {\r\n rowstimeline.push([\r\n \"Hotel Timeline\",\r\n poststimeline[i].location_name + \" \",\r\n moment(poststimeline[i].responsibility_begin_date, \"YYYYMMDD\"),\r\n moment(\r\n poststimeline[i].responsibility_end_date || moment(),\r\n \"YYYYMMDD\"\r\n ),\r\n ]);\r\n } else if (\r\n i !== 0 &&\r\n poststimeline[i].taxpayer_name !==\r\n poststimeline[i - 1].taxpayer_name\r\n ) {\r\n rowstimeline.push([\r\n \"Hotel Timeline\",\r\n poststimeline[i].location_name + new Array(count++).join(\" \"),\r\n moment(poststimeline[i].responsibility_begin_date, \"YYYYMMDD\"),\r\n moment(\r\n poststimeline[i + 1].responsibility_begin_date,\r\n \"YYYYMMDD\"\r\n ),\r\n ]);\r\n } else {\r\n rowstimeline.push([\r\n \"Hotel Timeline\",\r\n poststimeline[i].location_name,\r\n moment(poststimeline[i].responsibility_begin_date, \"YYYYMMDD\"),\r\n moment(\r\n poststimeline[i + 1].responsibility_begin_date,\r\n \"YYYYMMDD\"\r\n ),\r\n ]);\r\n //moment(sortedArray[i + 1].responsibility_begin_date, 'YYYYMMDD').add(-1, 'month')])\r\n }\r\n }\r\n //console.log('rowstimeline', rowstimeline)\r\n this.setState({\r\n postsHotelName,\r\n postsaddress,\r\n dataLoadingStatustimeline: true,\r\n chartDatatimeline: [columnstimeline, ...rowstimeline],\r\n });\r\n } else {\r\n // just get the only property\r\n postsHotelName = poststimeline[0].location_name;\r\n postsaddress = poststimeline[0].location_address;\r\n\r\n poststimeline.forEach(element => {\r\n element.color = chartColors[chartColorsIndex];\r\n timelineDate[\r\n moment(element.responsibility_begin_date, \"YYYYMMDD\")\r\n .format(\"YYYY-MMMM\")\r\n .toLowerCase()\r\n ] = element;\r\n });\r\n //console.log('timelineDate', timelineDate)\r\n\r\n for (let i = 0; i < poststimeline.length; i++) {\r\n //if last....\r\n if (i + 1 === poststimeline.length) {\r\n rowstimeline.push([\r\n \"Hotel Timeline\",\r\n poststimeline[i].location_name,\r\n moment(poststimeline[i].responsibility_begin_date, \"YYYYMMDD\"),\r\n moment(),\r\n ]);\r\n } else {\r\n rowstimeline.push([\r\n \"Hotel Timeline\",\r\n poststimeline[i].location_name,\r\n moment(poststimeline[i].responsibility_begin_date, \"YYYYMMDD\"),\r\n moment(\r\n poststimeline[i + 1].responsibility_begin_date,\r\n \"YYYYMMDD\"\r\n ).add(-1, \"month\"),\r\n ]);\r\n }\r\n }\r\n //console.log('rowstimeline', rowstimeline)\r\n this.setState({\r\n postsHotelName,\r\n postsaddress,\r\n dataLoadingStatustimeline: true,\r\n chartDatatimeline: [columnstimeline, ...rowstimeline],\r\n });\r\n }\r\n\r\n // ===== call to get MBT property data ==========\r\n axios\r\n .get(\r\n `${apiUrl}/rest/mbt/${this.props.match.params.hotelname}/${this.props.match.params.taxpayernumber}/${this.props.match.params.locationnumber}`,\r\n {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"),\r\n },\r\n cancelToken: this.axiosCancelSource.token,\r\n }\r\n )\r\n .then(res => {\r\n // currently receiving from oldest to latest (ascending)\r\n //const posts = res.data.reverse();\r\n const posts = res.data;\r\n this.setState({ posts: posts });\r\n\r\n const postsLocationNum = posts[posts.length - 1].location_number;\r\n const postscity = posts[posts.length - 1].location_city;\r\n const postszip = posts[posts.length - 1].location_zip;\r\n const postscounty = posts[posts.length - 1].verified_county;\r\n const postsCountyName =\r\n posts[posts.length - 1].location_county_name;\r\n const taxname = posts[posts.length - 1].taxpayer_name;\r\n const taxaddress = posts[posts.length - 1].taxpayer_address;\r\n const taxnum = posts[posts.length - 1].taxpayer_number;\r\n const taxcity = posts[posts.length - 1].taxpayer_city;\r\n const taxstate = posts[posts.length - 1].taxpayer_state;\r\n const taxzip = posts[posts.length - 1].taxpayer_zip;\r\n const latestFiler_type = posts[posts.length - 1].filer_type;\r\n //console.log(\"latest filer\", latestFiler_type);\r\n\r\n // console.log(\"GET MBT Basic setting state\")\r\n this.setState({\r\n postsLocationNum,\r\n postscity,\r\n postszip,\r\n postscounty,\r\n postsCountyName,\r\n taxname,\r\n taxaddress,\r\n taxnum,\r\n taxcity,\r\n taxstate,\r\n taxzip,\r\n latestFiler_type,\r\n });\r\n\r\n // Then Set the doc title\r\n document.title =\r\n this.state.postsHotelName +\r\n \", \" +\r\n this.state.postscity +\r\n \",TX - Search Texas Tax\";\r\n ReactGA.initialize(\"UA-80211377-3\");\r\n ReactGA.pageview(window.location.pathname);\r\n\r\n const [metadata, data] = posts;\r\n\r\n const columns = [\r\n { type: \"date\", label: \"Month\" },\r\n { type: \"number\", label: \"Total Revenue\" },\r\n ];\r\n\r\n let rows = [];\r\n for (let row of posts) {\r\n let { date, total_receipts } = row;\r\n if (\r\n row.year >= posts[posts.length - 1].year - 1 &&\r\n row.year <= posts[posts.length - 1].year\r\n ) {\r\n date = new Date(row.year + \"-\" + row.month);\r\n date = new Date(row.year, row.month - 1, 1);\r\n rows.push([date, total_receipts]);\r\n }\r\n }\r\n\r\n this.setState({\r\n chartData: [columns, ...rows],\r\n dataLoadingStatus: \"ready\",\r\n });\r\n\r\n const rawposts = res.data;\r\n this.setState({ rawposts: rawposts, completeLoading: false });\r\n\r\n //let posts = res.data;\r\n\r\n var i = 0;\r\n var j = 0;\r\n var a = 0;\r\n var newposts = [];\r\n\r\n for (i = 0; i < posts.length; i++) {\r\n if (a === 0) {\r\n // ////////console.log(newposts);\r\n newposts.push(new Object());\r\n ////////console.log(newposts);\r\n newposts[newposts.length - 1].year = posts[i].year;\r\n if (posts[i].month === 1) {\r\n newposts[newposts.length - 1].january =\r\n posts[i].total_receipts;\r\n }\r\n if (posts[i].month === 2) {\r\n newposts[newposts.length - 1].february =\r\n posts[i].total_receipts;\r\n }\r\n if (posts[i].month === 3) {\r\n newposts[newposts.length - 1].march = posts[i].total_receipts;\r\n }\r\n if (posts[i].month === 4) {\r\n newposts[newposts.length - 1].april = posts[i].total_receipts;\r\n }\r\n if (posts[i].month === 5) {\r\n newposts[newposts.length - 1].may = posts[i].total_receipts;\r\n }\r\n if (posts[i].month === 6) {\r\n newposts[newposts.length - 1].june = posts[i].total_receipts;\r\n }\r\n if (posts[i].month === 7) {\r\n newposts[newposts.length - 1].july = posts[i].total_receipts;\r\n }\r\n if (posts[i].month === 8) {\r\n newposts[newposts.length - 1].august =\r\n posts[i].total_receipts;\r\n }\r\n if (posts[i].month === 9) {\r\n newposts[newposts.length - 1].september =\r\n posts[i].total_receipts;\r\n }\r\n if (posts[i].month === 10) {\r\n newposts[newposts.length - 1].october =\r\n posts[i].total_receipts;\r\n }\r\n if (posts[i].month === 11) {\r\n newposts[newposts.length - 1].november =\r\n posts[i].total_receipts;\r\n }\r\n a = 1;\r\n if (posts[i].month === 12) {\r\n newposts[newposts.length - 1].december =\r\n posts[i].total_receipts;\r\n a = 0;\r\n }\r\n continue;\r\n }\r\n\r\n for (j = 0; j < newposts.length; j++) {\r\n if (newposts[j].year === posts[i].year) {\r\n if (posts[i].month === 1) {\r\n newposts[j].january = posts[i].total_receipts;\r\n if (i < posts.length - 1) {\r\n if (posts[i + 1].year !== posts[i].year) {\r\n a = 0;\r\n }\r\n }\r\n //////////////console.log(temp['January']);\r\n }\r\n if (posts[i].month === 2) {\r\n newposts[j].february = posts[i].total_receipts;\r\n if (i < posts.length - 1) {\r\n if (posts[i + 1].year !== posts[i].year) {\r\n a = 0;\r\n }\r\n }\r\n //////////////console.log(newposts[j]);\r\n }\r\n if (posts[i].month === 3) {\r\n newposts[j].march = posts[i].total_receipts;\r\n if (i < posts.length - 1) {\r\n if (posts[i + 1].year !== posts[i].year) {\r\n a = 0;\r\n }\r\n }\r\n }\r\n if (posts[i].month === 4) {\r\n newposts[j].april = posts[i].total_receipts;\r\n if (i < posts.length - 1) {\r\n if (posts[i + 1].year !== posts[i].year) {\r\n a = 0;\r\n }\r\n }\r\n }\r\n if (posts[i].month === 5) {\r\n newposts[j].may = posts[i].total_receipts;\r\n if (i < posts.length - 1) {\r\n if (posts[i + 1].year !== posts[i].year) {\r\n a = 0;\r\n }\r\n }\r\n }\r\n if (posts[i].month === 6) {\r\n newposts[j].june = posts[i].total_receipts;\r\n if (i < posts.length - 1) {\r\n if (posts[i + 1].year !== posts[i].year) {\r\n a = 0;\r\n }\r\n }\r\n }\r\n if (posts[i].month === 7) {\r\n newposts[j].july = posts[i].total_receipts;\r\n if (i < posts.length - 1) {\r\n if (posts[i + 1].year !== posts[i].year) {\r\n a = 0;\r\n }\r\n }\r\n }\r\n if (posts[i].month === 8) {\r\n newposts[j].august = posts[i].total_receipts;\r\n if (i < posts.length - 1) {\r\n if (posts[i + 1].year !== posts[i].year) {\r\n a = 0;\r\n }\r\n }\r\n }\r\n if (posts[i].month === 9) {\r\n newposts[j].september = posts[i].total_receipts;\r\n if (i < posts.length - 1) {\r\n if (posts[i + 1].year !== posts[i].year) {\r\n a = 0;\r\n }\r\n }\r\n }\r\n if (posts[i].month === 10) {\r\n newposts[j].october = posts[i].total_receipts;\r\n if (i < posts.length - 1) {\r\n if (posts[i + 1].year !== posts[i].year) {\r\n a = 0;\r\n }\r\n }\r\n }\r\n if (posts[i].month === 11) {\r\n newposts[j].november = posts[i].total_receipts;\r\n if (i < posts.length - 1) {\r\n if (posts[i + 1].year !== posts[i].year) {\r\n a = 0;\r\n }\r\n }\r\n }\r\n if (posts[i].month === 12) {\r\n newposts[j].december = posts[i].total_receipts;\r\n a = 0;\r\n }\r\n break;\r\n }\r\n }\r\n }\r\n\r\n // convert to descending for table\r\n let newpostsReversed = newposts.reverse();\r\n this.setState({ newposts: newpostsReversed });\r\n\r\n var getposts = [];\r\n for (let i = 0; i < newposts.length; i++) {\r\n getposts.push(new Object());\r\n getposts[i].Year = newposts[i].year;\r\n getposts[i].January = newposts[i].january;\r\n getposts[i].February = newposts[i].february;\r\n getposts[i].March = newposts[i].march;\r\n getposts[i].Q1 =\r\n (newposts[i].january || 0) +\r\n (newposts[i].february || 0) +\r\n (newposts[i].march || 0);\r\n getposts[i].April = newposts[i].april;\r\n getposts[i].May = newposts[i].may;\r\n getposts[i].June = newposts[i].june;\r\n getposts[i].Q2 =\r\n (newposts[i].april || 0) +\r\n (newposts[i].may || 0) +\r\n (newposts[i].june || 0);\r\n getposts[i].July = newposts[i].july;\r\n getposts[i].August = newposts[i].august;\r\n getposts[i].September = newposts[i].september;\r\n getposts[i].Q3 =\r\n (newposts[i].july || 0) +\r\n (newposts[i].august || 0) +\r\n (newposts[i].september || 0);\r\n getposts[i].October = newposts[i].october;\r\n getposts[i].November = newposts[i].november;\r\n getposts[i].December = newposts[i].december;\r\n getposts[i].Q4 =\r\n (newposts[i].october || 0) +\r\n (newposts[i].november || 0) +\r\n (newposts[i].december || 0);\r\n }\r\n this.setState({ getposts: getposts, monthlyLoading: false });\r\n\r\n // ===== Checking for Other Properties under same Tax Payer number =====\r\n axios\r\n .get(`${apiUrl}/rest/search/taxpayerproperties/${taxnum}`, {\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n cancelToken: this.axiosCancelSource.token,\r\n })\r\n .then(res => {\r\n //console.log(\"GET taxpayer match res gotten\")\r\n if (res.data.length > 1) {\r\n let otherProperties = res.data;\r\n let taxProperties = [];\r\n // check if other property has the same name and type to remove from propertieslist\r\n for (let i = 0; i < otherProperties.length; i++) {\r\n if (\r\n otherProperties[i].location_name ===\r\n this.state.hotelName &&\r\n otherProperties[i].location_address ===\r\n this.state.postsaddress &&\r\n otherProperties[i].type === \"mbt\"\r\n ) {\r\n continue;\r\n }\r\n taxProperties.push(otherProperties[i]);\r\n }\r\n //console.log(\"GET taxpayer match setting state\")\r\n this.setState({ otherTaxProperties: taxProperties });\r\n }\r\n })\r\n .catch(e => {\r\n ReactGA.exception({\r\n description: \"An error occurred\",\r\n });\r\n handleError(e);\r\n //window.location.replace('/logout');\r\n });\r\n\r\n // ======= Match Address to Locate other Properties by same TaxPayer\r\n axios({\r\n method: \"post\",\r\n url: `${apiUrl}/rest/search/addressmatch/`,\r\n headers: {\r\n authorization: \"Bearer \" + localStorage.getItem(\"token\"), //the token is a variable which holds the token\r\n },\r\n data: {\r\n address: postsaddress,\r\n zip: postszip,\r\n },\r\n cancelToken: this.axiosCancelSource.token,\r\n })\r\n .then(res => {\r\n if (res.data.length > 1) {\r\n //console.log(\"POST address match response gotten\")\r\n let otherProperties = res.data;\r\n let matchLocation = [];\r\n for (let i = 0; i < otherProperties.length; i++) {\r\n if (\r\n otherProperties[i].location_name ===\r\n this.state.hotelName &&\r\n otherProperties[i].type === \"mbt\"\r\n ) {\r\n continue;\r\n }\r\n if (otherProperties[i].type === \"mbt\") {\r\n continue;\r\n }\r\n matchLocation.push(otherProperties[i]);\r\n }\r\n //console.log(\"POST address match setting state\")\r\n this.setState({ matchedAdresses: matchLocation });\r\n }\r\n })\r\n .catch(e => {\r\n ReactGA.exception({\r\n description: \"An error occurred\",\r\n });\r\n handleError(e);\r\n //window.location.replace('/logout');\r\n });\r\n })\r\n .catch(e => {\r\n handleError(e);\r\n });\r\n\r\n API.getHotelFinanceRecordYearlyMBT(\r\n this.props.match.params.taxpayernumber,\r\n this.props.match.params.locationnumber\r\n )\r\n .then(res => {\r\n const newArr = [];\r\n res.data.forEach((element, index) => {\r\n if (res.data[index - 1]) {\r\n element.changeInTotalRev = (\r\n element.total_revenue - res.data[index - 1].total_revenue\r\n ).toLocaleString();\r\n element.changeInTotalRevPercent = (\r\n (element.total_revenue - res.data[index - 1].total_revenue) /\r\n 100\r\n ).toLocaleString();\r\n // element.total_revenue = `$ ${element.total_revenue.toLocaleString()}.00`\r\n } else {\r\n element.changeInTotalRev = `0`;\r\n element.changeInTotalRevPercent = `0`;\r\n }\r\n newArr.push(element);\r\n // console.log(\"this is the newArr\")\r\n // console.log(newArr)\r\n });\r\n this.setState({ hotelMBTFinanceData: res.data });\r\n })\r\n .catch(err => console.log(err));\r\n\r\n // ======= yearly data ===========\r\n // .then(res => {\r\n // var yearlyposts = res.data;\r\n // console.log(\"yearlyvalues\", yearlyposts);\r\n // for (var l = 0; l < yearlyposts.length; l++) {\r\n // // checking for the first year and setting RevChange and RevParChange to 0, since there is no comparision yet\r\n // if (l === 0) {\r\n // yearlyposts[l].totalRevChange = '$0 (0%)';\r\n // yearlyposts[l].RevPARChange = '$0 (0%)';\r\n // } else {\r\n // yearlyposts[l].totalRevChange = '$ ' + (yearlyposts[l].total_revenue - yearlyposts[l - 1].total_revenue).toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\") + ' (' + ((((yearlyposts[l].total_revenue / yearlyposts[l - 1].total_revenue) * 100) - 100).toFixed(2)) + \"%)\";\r\n // yearlyposts[l].RevPARChange = '$ ' + (yearlyposts[l].RevPar - yearlyposts[l - 1].RevPar).toFixed(2) + ' (' + ((((yearlyposts[l].RevPar / yearlyposts[l - 1].RevPar) * 100) - 100).toFixed(2)) + \"%)\";\r\n // }\r\n // }\r\n\r\n // if (res.data !== undefined) {\r\n // axios.get(`${apiUrl}/rest/mbt/testlastyearlyvalues/${yearlyposts[yearlyposts.length - 1].year}/${this.props.match.params.hotelname}/${this.props.match.params.taxpayernumber}/${this.props.match.params.locationnumber}/${latestFiler_type}`,\r\n // {\r\n // headers: {\r\n // authorization: 'Bearer ' + localStorage.getItem('token'), //the token is a variable which holds the token\r\n // }\r\n // }\r\n // ).then(res1 => {\r\n // console.log(\"lastyear value\", res1);\r\n // // gets last year's totals and substracts to yearlyposts same year & caclulates percentage\r\n // if (res1.data[0]) {\r\n // yearlyposts[yearlyposts.length - 1].totalRevChange = '$ ' + (yearlyposts[yearlyposts.length - 1].total_revenue - res1.data[0].total_revenue).toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\") + ' (' + ((((yearlyposts[yearlyposts.length - 1].total_revenue / res1.data[0].total_revenue) * 100) - 100).toFixed(2)) + \"%)\";\r\n // yearlyposts[yearlyposts.length - 1].RevPARChange = '$ ' + (yearlyposts[yearlyposts.length - 1].RevPar - res1.data[0].RevPar).toFixed(2) + ' (' + ((((yearlyposts[yearlyposts.length - 1].RevPar / res1.data[0].RevPar) * 100) - 100).toFixed(2)) + \"%)\";\r\n\r\n // this.setState({ yearlyposts: yearlyposts });\r\n // this.setState({ showyear: true });\r\n // }\r\n // else {\r\n // // dont show the yearly table\r\n // this.setState({ showyear: false });\r\n // }\r\n // }).catch((e) => {\r\n // handleError(e);\r\n // })\r\n // }\r\n // }).catch((e) => {\r\n // handleError(e);\r\n // })\r\n })\r\n .catch(e => {\r\n ReactGA.exception({\r\n description: \"An error occurred\",\r\n });\r\n handleError(e);\r\n //window.location.replace('/login');\r\n });\r\n }\r\n\r\n componentWillUnmount() {\r\n //console.log(\"UNMOUNTED\")\r\n // Then save to recently viewed\r\n this.onSave();\r\n this.axiosCancelSource.cancel(\"Component unmounted.\");\r\n }\r\n\r\n render() {\r\n let errormsg;\r\n if (this.state.errormsg === 1) {\r\n errormsg = (\r\n

\r\n Please Select a Portfolio to Add this Hotel to it.\r\n

\r\n );\r\n }\r\n const { classes, theme } = this.props;\r\n const { auth, anchorEl } = this.state;\r\n const open = Boolean(anchorEl);\r\n\r\n let chartdisplaytime;\r\n if (this.state.dataLoadingStatustimeline) {\r\n chartdisplaytime = (\r\n }\r\n data={this.state.chartDatatimeline}\r\n width=\"100%\"\r\n height=\"100px\"\r\n options={{\r\n timeline: { groupByRowLabel: true },\r\n avoidOverlappingGridLines: false,\r\n colors: chartColors,\r\n }}\r\n />\r\n );\r\n } else {\r\n chartdisplaytime = ;\r\n }\r\n\r\n let chartdisplay;\r\n if (this.state.dataLoadingStatus === \"ready\") {\r\n chartdisplay = (\r\n
\r\n
\r\n \r\n {durations.map(option => (\r\n \r\n {option.label}\r\n \r\n ))}\r\n \r\n \r\n }\r\n width={\"100%\"}\r\n height={\"400px\"}\r\n data={this.state.chartData}\r\n options={{\r\n chartArea: { height: \"100%\", width: \"90%\" },\r\n hAxis: {\r\n format: \"yyyy\",\r\n },\r\n vAxis: {\r\n format: \"short\",\r\n },\r\n title: \"Debt incurred over time.\",\r\n series: {\r\n // Gives each series an axis name that matches the Y-axis below.\r\n 0: { axis: \"Total_Revenue\" },\r\n },\r\n axes: {\r\n // Adds labels to each axis; they don't have to match the axis names.\r\n y: {\r\n Total_Revenue: { label: \"Monthly Revenue\" },\r\n all: {\r\n format: {\r\n pattern: \"currency\",\r\n },\r\n },\r\n },\r\n x: {\r\n all: {\r\n format: {\r\n pattern: \"MMM. yyyy\",\r\n },\r\n },\r\n },\r\n },\r\n legend: { position: \"none\" },\r\n }}\r\n rootProps={{ \"data-testid\": \"2\" }}\r\n />\r\n
\r\n );\r\n } else {\r\n chartdisplay = (\r\n
\r\n {\" \"}\r\n \r\n
\r\n );\r\n }\r\n\r\n const {\r\n value,\r\n otherTaxProperties,\r\n matchedAdresses,\r\n timelineDate,\r\n } = this.state;\r\n return (\r\n
\r\n \r\n {/* {this.state.latitude && this.state.longitude === [] ? */}\r\n <>\r\n \r\n \r\n
\r\n
\r\n

\r\n {this.state.postsHotelName}\r\n

\r\n
\r\n
\r\n \r\n {this.state.postsaddress},{\" \"}\r\n \r\n {this.state.postscity}\r\n \r\n , TX {this.state.postszip} ●{\" \"}\r\n \r\n {\" \"}\r\n {this.state.postsCountyName}\r\n {\" \"}\r\n County\r\n \r\n contact_support\r\n \r\n \r\n
\r\n
\r\n {chartdisplaytime}\r\n
\r\n
\r\n
\r\n \r\n {/* :\r\n <>\r\n \r\n \r\n
\r\n
\r\n

{this.state.postsHotelName}

\r\n
\r\n
\r\n \r\n {this.state.postsaddress}, {this.state.postscity}, TX\r\n {\" \"}{this.state.postszip} ● {this.state.postsCountyName} County\r\n \r\n contact_support\r\n \r\n \r\n
\r\n
\r\n {chartdisplaytime}\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n Coordinates not found\r\n \r\n \r\n \r\n \r\n */}\r\n\r\n {/* \r\n \r\n }>\r\n Lodging Data\r\n \r\n \r\n \r\n \r\n
\r\n Lodging properties with the same address.\r\n
\r\n \r\n
\r\n \r\n {\r\n matchedAdresses.length > 0 ?\r\n matchedAdresses\r\n .slice(0, 10)\r\n .map((item, index) => (\r\n \r\n \r\n \r\n {item.location_name}\r\n

Address: {item.location_address}, {item.location_city}, {item.location_state}, {item.location_zip}

\r\n \r\n
\r\n
\r\n
\r\n\r\n ))\r\n :\r\n \r\n \r\n There are no other properties.\r\n \r\n \r\n }\r\n
\r\n
\r\n
\r\n
\r\n \r\n }>\r\n Taxpayer's Information\r\n \r\n \r\n \r\n \r\n OWNER INFORMATION\r\n \r\n \r\n {this.state.taxname}\r\n \r\n
{this.state.taxaddress}.
\r\n
{this.state.taxcity}, {this.state.taxstate}, {this.state.taxzip}
\r\n
\r\n
\r\n \r\n Taxpayer Number: \r\n {this.state.taxnum}\r\n \r\n
\r\n
\r\n
\r\n \r\n }>\r\n Taxpayer's Other Properties\r\n \r\n \r\n \r\n \r\n
\r\n Other properties owned by Tax Payer.\r\n Hotel MBT \r\n
\r\n \r\n
\r\n \r\n {otherTaxProperties.length > 0 ?\r\n otherTaxProperties\r\n .slice(0, 10)\r\n .map((item, index) => (\r\n item.type === \"hotel\" ?\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {item.location_name}\r\n

Address: {item.location_address}, {item.location_city}, {item.location_state}, {item.location_zip}

\r\n \r\n
\r\n
\r\n
:\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {item.location_name}\r\n

Address: {item.location_address}, {item.location_city}, {item.location_state}, {item.location_zip}

\r\n \r\n
\r\n
\r\n
\r\n ))\r\n :\r\n \r\n \r\n There are no other properties.\r\n \r\n \r\n }\r\n
\r\n
\r\n
\r\n
\r\n
*/}\r\n\r\n \r\n \r\n \r\n {matchedAdresses.length > 0 ? (\r\n matchedAdresses.slice(0, 10).map((item, index) => (\r\n \r\n \r\n \r\n \r\n {item.location_name}\r\n \r\n \r\n {item.location_address},{item.location_state},\r\n {item.location_zip}\r\n \r\n \r\n \r\n \r\n ))\r\n ) : (\r\n \r\n There are no other properties.\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {this.state.taxname}\r\n \r\n \r\n {this.state.taxaddress}\r\n \r\n \r\n {this.state.taxcity}, {this.state.taxstate},{\" \"}\r\n {this.state.taxzip}\r\n \r\n \r\n \r\n \r\n Taxpayer Number: {\" \"}\r\n {this.state.taxnum}\r\n \r\n {this.state.postsfiler ? (\r\n \r\n Filer Type: \r\n {this.state.postsfiler}\r\n \r\n ) : (\r\n false\r\n )}\r\n \r\n \r\n \r\n \r\n {/* */}\r\n \r\n \r\n \r\n {otherTaxProperties.length > 0 ? (\r\n otherTaxProperties.map((item, index) => (\r\n \r\n {item.type === \"hotel\" ? (\r\n \r\n \r\n {item.type === \"hotel\" ? (\r\n \r\n ) : (\r\n \r\n )}\r\n {item.location_name}}\r\n secondary={\r\n \r\n \r\n {item.location_address},{\" \"}\r\n {item.location_city}, {item.location_state}\r\n \r\n \r\n }\r\n />\r\n \r\n \r\n \r\n ) : (\r\n \r\n \r\n {item.type === \"hotel\" ? (\r\n \r\n ) : (\r\n \r\n )}\r\n {item.location_name}}\r\n secondary={\r\n \r\n \r\n {item.location_address},{\" \"}\r\n {item.location_city}, {item.location_state}\r\n \r\n \r\n }\r\n />\r\n \r\n \r\n \r\n )}\r\n \r\n ))\r\n ) : (\r\n \r\n There are no other properties.\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {value === 0 && {chartdisplay}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n {\r\n if (\r\n typeof timelineDate[`${rowData.year}-january`] ===\r\n \"undefined\"\r\n ) {\r\n return rowData.january ? (\r\n
\r\n $ \r\n {rowData.january\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.january ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.january\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"February\",\r\n field: \"february\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (\r\n typeof timelineDate[`${rowData.year}-february`] ===\r\n \"undefined\"\r\n ) {\r\n return rowData.february ? (\r\n
\r\n $ \r\n {rowData.february\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.february ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.february\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"March\",\r\n field: \"march\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (\r\n typeof timelineDate[`${rowData.year}-march`] ===\r\n \"undefined\"\r\n ) {\r\n return rowData.march ? (\r\n
\r\n $ \r\n {rowData.march\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.march ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.march\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"Quarter 1\",\r\n field: \"march\",\r\n type: \"html\",\r\n render: rowData => {\r\n return (\r\n
\r\n $ \r\n {(\r\n (rowData.january || 0) +\r\n (rowData.february || 0) +\r\n (rowData.march || 0)\r\n )\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n cellStyle: {\r\n backgroundColor: \"#f5f5f5\",\r\n },\r\n headerStyle: {\r\n fontWeight: \"800\",\r\n maxWidth: \"125px\",\r\n //backgroundColor: '#f5f5f5',\r\n },\r\n },\r\n {\r\n title: \"April\",\r\n field: \"april\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (\r\n typeof timelineDate[`${rowData.year}-april`] ===\r\n \"undefined\"\r\n ) {\r\n return rowData.april ? (\r\n
\r\n $ \r\n {rowData.april\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.april ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.april\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00{\" \"}\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"May\",\r\n field: \"may\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (\r\n typeof timelineDate[`${rowData.year}-may`] === \"undefined\"\r\n ) {\r\n return rowData.may ? (\r\n
\r\n $ \r\n {rowData.may\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.may ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.may\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00{\" \"}\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"June\",\r\n field: \"june\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (\r\n typeof timelineDate[`${rowData.year}-june`] ===\r\n \"undefined\"\r\n ) {\r\n return rowData.june ? (\r\n
\r\n $ \r\n {rowData.june\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.june ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.june\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00{\" \"}\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"Quarter 2\",\r\n field: \"june\",\r\n type: \"html\",\r\n render: rowData => {\r\n return (\r\n
\r\n $ \r\n {(\r\n (rowData.april || 0) +\r\n (rowData.may || 0) +\r\n (rowData.june || 0)\r\n )\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n cellStyle: {\r\n backgroundColor: \"#f5f5f5\",\r\n //color: '#FFF'\r\n },\r\n headerStyle: {\r\n fontWeight: \"800\",\r\n maxWidth: \"125px\",\r\n },\r\n },\r\n {\r\n title: \"July\",\r\n field: \"july\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (\r\n typeof timelineDate[`${rowData.year}-july`] ===\r\n \"undefined\"\r\n ) {\r\n return rowData.july ? (\r\n
\r\n $ \r\n {rowData.july\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.july ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.july\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00{\" \"}\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"August\",\r\n field: \"august\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (\r\n typeof timelineDate[`${rowData.year}-august`] ===\r\n \"undefined\"\r\n ) {\r\n return rowData.august ? (\r\n
\r\n $ \r\n {rowData.august\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.august ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.august\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00{\" \"}\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"September\",\r\n field: \"september\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (\r\n typeof timelineDate[`${rowData.year}-september`] ===\r\n \"undefined\"\r\n ) {\r\n return rowData.september ? (\r\n
\r\n $ \r\n {rowData.september\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.september ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.september\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00{\" \"}\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"Quarter 3\",\r\n field: \"september\",\r\n type: \"html\",\r\n render: rowData => {\r\n return (\r\n
\r\n $ \r\n {(\r\n (rowData.july || 0) +\r\n (rowData.august || 0) +\r\n (rowData.september || 0)\r\n )\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n cellStyle: {\r\n backgroundColor: \"#f5f5f5\",\r\n //color: '#FFF'\r\n },\r\n headerStyle: {\r\n fontWeight: \"800\",\r\n maxWidth: \"125px\",\r\n },\r\n },\r\n {\r\n title: \"October\",\r\n field: \"october\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (\r\n typeof timelineDate[`${rowData.year}-october`] ===\r\n \"undefined\"\r\n ) {\r\n return rowData.october ? (\r\n
\r\n $ \r\n {rowData.october\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.october ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.october\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00{\" \"}\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"November\",\r\n field: \"november\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (\r\n typeof timelineDate[`${rowData.year}-november`] ===\r\n \"undefined\"\r\n ) {\r\n return rowData.november ? (\r\n
\r\n $ \r\n {rowData.november\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.november ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.november\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00{\" \"}\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"December\",\r\n field: \"december\",\r\n type: \"html\",\r\n render: rowData => {\r\n if (\r\n typeof timelineDate[`${rowData.year}-december`] ===\r\n \"undefined\"\r\n ) {\r\n return rowData.december ? (\r\n
\r\n $ \r\n {rowData.december\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n ) : (\r\n
$ 0.00
\r\n );\r\n } else {\r\n return (\r\n
\r\n {rowData.december ? (\r\n \r\n {\" \"}\r\n $ \r\n {rowData.december\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00{\" \"}\r\n \r\n ) : (\r\n $ 0.00\r\n )}\r\n \r\n
\r\n );\r\n }\r\n },\r\n },\r\n {\r\n title: \"Quarter 4\",\r\n field: \"december\",\r\n type: \"html\",\r\n render: rowData => {\r\n return (\r\n
\r\n $ \r\n {(\r\n (rowData.october || 0) +\r\n (rowData.november || 0) +\r\n (rowData.december || 0)\r\n )\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n cellStyle: {\r\n backgroundColor: \"#f5f5f5\",\r\n },\r\n headerStyle: {\r\n fontWeight: \"800\",\r\n maxWidth: \"125px\",\r\n },\r\n },\r\n ]}\r\n data={this.state.newposts}\r\n title={`Monthly & Quarterly Performance: ${this.state.postsHotelName}`}\r\n onRowClick={(evt, selectedRow) => this.setState({ selectedRow })}\r\n options={{\r\n //pageSize: 10,\r\n pageSizeOptions: [10, 20, 50, 100],\r\n columnsButton: true,\r\n loadingType: \"linear\",\r\n rowStyle: rowData => ({\r\n backgroundColor:\r\n this.state.selectedRow &&\r\n this.state.selectedRow.tableData.id === rowData.tableData.id\r\n ? \"#f5f5f5\"\r\n : \"#FFF\",\r\n }),\r\n }}\r\n localization={{\r\n body: {\r\n emptyDataSourceMessage: this.state.displayMessage,\r\n },\r\n }}\r\n />\r\n
\r\n \r\n \r\n \r\n this.setState({ selectedRow })\r\n }\r\n isLoading={this.state.yearlyLoading ? false : true}\r\n data={this.state.hotelMBTFinanceData}\r\n options={{\r\n pageSizeOptions: [10, 20, 50, 100],\r\n columnsButton: true,\r\n loadingType: \"linear\",\r\n }}\r\n localization={{\r\n body: {\r\n emptyDataSourceMessage: this.state.displayMessage,\r\n },\r\n }}\r\n columns={[\r\n {\r\n title: \"Year\",\r\n field: \"year\",\r\n type: \"numeric\",\r\n defaultSort: \"desc\",\r\n },\r\n {\r\n title: \"Total Revenue\",\r\n field: \"total_revenue\",\r\n type: \"html\",\r\n defaultSort: \"desc\",\r\n render: rowData => {\r\n return (\r\n
\r\n $ {rowData.total_revenue.toLocaleString()}.00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"Change in Revenue\",\r\n field: \"changeInTotalRev\",\r\n type: \"html\",\r\n defaultSort: \"desc\",\r\n render: rowData => {\r\n return (\r\n \r\n \r\n $ {rowData.changeInTotalRev}.00 (\r\n {rowData.changeInTotalRevPercent}%)\r\n {rowData.changeInTotalRev.includes(\"-\") ? (\r\n \r\n arrow_downward\r\n \r\n ) : (\r\n \r\n arrow_upward\r\n \r\n )}\r\n \r\n \r\n );\r\n },\r\n },\r\n ]}\r\n />\r\n
\r\n \r\n\r\n {/* ======= YEARLY DATA ============ */}\r\n {/* \r\n \r\n \r\n \r\n { return (
$ {rowData.total_revenue.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}.00
) }\r\n },\r\n {\r\n title: 'Change in Revenue', field: 'totalRevChange',\r\n\r\n render: rowData => {\r\n\r\n if (rowData.totalRevChange.includes(\"-\")) {\r\n return (\r\n \r\n \r\n {rowData.totalRevChange}\r\n \r\n \r\n arrow_downward\r\n \r\n \r\n )\r\n } else if (rowData.totalRevChange !== \"$0 (0%)\") {\r\n return (\r\n \r\n \r\n {rowData.totalRevChange}\r\n\r\n \r\n \r\n arrow_upward\r\n \r\n \r\n )\r\n }\r\n else return (\r\n \r\n \r\n {rowData.totalRevChange}\r\n\r\n \r\n \r\n minimize\r\n \r\n \r\n )\r\n },\r\n type: 'html'\r\n },\r\n {\r\n title: 'RevPar', field: 'RevPar', type: 'html',\r\n render: rowData => { return (
$ {rowData.RevPar}
) }\r\n },\r\n {\r\n title: 'Change in RevPar', field: 'RevPARChange',\r\n render: rowData => {\r\n if (rowData.RevPARChange.includes(\"-\")) {\r\n return (\r\n \r\n \r\n {rowData.RevPARChange}\r\n \r\n \r\n arrow_downward\r\n \r\n \r\n )\r\n } else if (rowData.RevPARChange !== \"$0 (0%)\") {\r\n return (\r\n \r\n \r\n {rowData.RevPARChange}\r\n \r\n \r\n arrow_upward\r\n \r\n \r\n )\r\n }\r\n else return (\r\n \r\n \r\n {rowData.RevPARChange}\r\n \r\n \r\n minimize\r\n \r\n \r\n )\r\n },\r\n type: 'html'\r\n }\r\n ]}\r\n data={this.state.yearlyposts}\r\n title={`Yearly Revenue: ${this.state.postsHotelName}`}\r\n options={{\r\n columnsButton: true\r\n }}\r\n />\r\n
*/}\r\n {/* \r\n \r\n \r\n \r\n \r\n {this.state.postsaddress.toLowerCase()}, \r\n \r\n {this.state.postscity.toLowerCase()}\r\n \r\n {this.state.postszip} ●\r\n \r\n {this.state.postscounty.toLowerCase()}\r\n \r\n \r\n contact_support\r\n \r\n \r\n \r\n
\r\n \r\n contact_support\r\n \r\n
\r\n
\r\n \r\n {chartdisplaytime}\r\n \r\n
\r\n
*/}\r\n\r\n \r\n \r\n \r\n \r\n {\r\n return (\r\n
\r\n $ \r\n {rowData.wine_receipts\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"Liquor Revenue\",\r\n field: \"liquor_receipts\",\r\n type: \"html\",\r\n render: rowData => {\r\n return (\r\n
\r\n $ \r\n {rowData.liquor_receipts\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"Beer Revenue\",\r\n field: \"beer_receipts\",\r\n type: \"html\",\r\n render: rowData => {\r\n return (\r\n
\r\n $ \r\n {rowData.beer_receipts\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n {\r\n title: \"Total Revenue\",\r\n field: \"total_receipts\",\r\n type: \"html\",\r\n render: rowData => {\r\n return (\r\n
\r\n $ \r\n {rowData.total_receipts\r\n .toString()\r\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\r\n .00\r\n
\r\n );\r\n },\r\n },\r\n ]}\r\n data={this.state.rawposts}\r\n title={`Complete Data Set: ${this.state.postsHotelName}`}\r\n options={{\r\n pageSizeOptions: [10, 20, 50, 100],\r\n columnsButton: true,\r\n loadingType: \"linear\",\r\n }}\r\n localization={{\r\n body: {\r\n emptyDataSourceMessage: this.state.displayMessage,\r\n },\r\n }}\r\n />\r\n
\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\"Select a Portfolio from the dropdown to add this hotel to it\"}\r\n \r\n \r\n {errormsg}\r\n \r\n {this.state.portfoliotypes.map(option => (\r\n \r\n {option.portfolio}\r\n \r\n ))}\r\n \r\n {this.state.noPortfoliosMsg ? (\r\n

\r\n

You do not have any portfolios of this type created.

\r\n \r\n {\" \"}\r\n Create one here.\r\n \r\n

\r\n ) : null}\r\n
\r\n \r\n {\r\n this.handleClick();\r\n }}\r\n >\r\n Add to Portfolio\r\n \r\n \r\n \r\n \r\n\r\n \r\n Property Added to\r\n \r\n {this.state.portfolioSelected.portfolio}\r\n \r\n \r\n }\r\n action={[]}\r\n />\r\n \r\n );\r\n }\r\n}\r\nMBTHotelInfo.propTypes = {\r\n classes: PropTypes.object.isRequired,\r\n};\r\nexport default withRouter(withStyles(styles)(MBTHotelInfo));\r\n\r\n// ======= POPOVER CLASS ========\r\nclass PopoverComponent extends Component {\r\n constructor(props) {\r\n super(props);\r\n //color = timelineDate[`${props.rowData.year}-${props.month}`].color;\r\n //console.log(\"popover Props\", props);\r\n this.state = {\r\n openedPopoverId: \"\",\r\n anchorEl: \"\",\r\n month: \"\",\r\n classes: \"\",\r\n rowData: \"\",\r\n color: \"\",\r\n popOpen: false,\r\n timelineData: \"\",\r\n };\r\n this.handlePopoverOpen = this.handlePopoverOpen.bind(this);\r\n this.handlePopoverClose = this.handlePopoverClose.bind(this);\r\n }\r\n\r\n handlePopoverOpen(event, popoverId) {\r\n this.setState({\r\n openedPopoverId: popoverId,\r\n anchorEl: event.target,\r\n });\r\n }\r\n handlePopoverClose = () => {\r\n this.setState({\r\n openedPopoverId: null,\r\n anchorEl: null,\r\n });\r\n };\r\n\r\n componentWillMount() {\r\n let {\r\n month,\r\n classes,\r\n openedPopoverId,\r\n anchorEl,\r\n rowData,\r\n color,\r\n timelineDate,\r\n } = this.props;\r\n let colorBackground =\r\n timelineDate[`${this.props.rowData.year}-${this.props.month}`].color;\r\n this.setState({\r\n month,\r\n classes,\r\n openedPopoverId,\r\n anchorEl,\r\n rowData,\r\n timelineDate,\r\n color: colorBackground,\r\n });\r\n }\r\n\r\n render() {\r\n let {\r\n month,\r\n classes,\r\n openedPopoverId,\r\n anchorEl,\r\n rowData,\r\n color,\r\n timelineDate,\r\n } = this.state;\r\n\r\n return (\r\n \r\n \r\n
\r\n
\r\n

\r\n {moment(\r\n timelineDate[\r\n `${rowData.year}-${month}`\r\n ].responsibility_begin_date.toString()\r\n ).format(\"YYYY[-]MM[-]DD\")}\r\n  \r\n

\r\n

\r\n Property started reporting with the name{\" \"}\r\n \r\n {timelineDate[`${rowData.year}-${month}`].location_name}\r\n \r\n , under{\" \"}\r\n \r\n {timelineDate[`${rowData.year}-${month}`].taxpayer_name}\r\n \r\n

\r\n
\r\n
\r\n \r\n \r\n this.handlePopoverOpen(e, month)}\r\n onMouseLeave={this.handlePopoverClose}\r\n >\r\n contact_support\r\n \r\n \r\n
\r\n );\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport { CardNumberElement, CardExpiryElement, CardCVCElement, PostalCodeElement, injectStripe } from 'react-stripe-elements';\r\nimport moment from 'moment';\r\nimport TextField from '@material-ui/core/TextField';\r\nimport PropTypes from 'prop-types';\r\nimport Typography from '@material-ui/core/Typography';\r\nimport Button from '@material-ui/core/Button';\r\nimport Checkbox from '@material-ui/core/Checkbox';\r\nimport Grid from '@material-ui/core/Grid';\r\nimport { withStyles } from '@material-ui/core/styles'; \r\n\r\n//Import React Scrit Libraray to load Google object\r\nimport Script from 'react-load-script';\r\nimport { apiUrl, GM_KEY } from '../../helpers';\r\nimport { handleError } from '../../utils/errorHandling/errorHelper';\r\n\r\n\r\nconst styles = theme => ({\r\n GridMargin: {\r\n marginBottom: '0px',\r\n marginTop: '0px'\r\n },\r\n checkoutButton: {\r\n color: \"#fff\",\r\n backgroundColor: '#d50000',\r\n \"&:hover\": {\r\n backgroundColor: '#ef5350'\r\n }\r\n },\r\n formWrapper: {\r\n padding: '25px',\r\n margin: '0 auto'\r\n },\r\n confirmWrapper: {\r\n [theme.breakpoints.down('xs')]: {\r\n textAlign: 'center'\r\n },\r\n },\r\n paymentDetailsWrapper: {\r\n padding: '10px 15px 10px 10px',\r\n marginTop: '-10px',\r\n [theme.breakpoints.down('xs')]: {\r\n marginTop: '0px',\r\n },\r\n },\r\n billingDetailsWrapper: {\r\n padding: '10px 10px 10px 15px',\r\n\r\n },\r\n checkWrapper: {\r\n marginTop: '15px'\r\n },\r\n updateCardWrapper: {\r\n maxWidth: '500px',\r\n minHeight: '780px',\r\n marginLeft: 'auto',\r\n marginRight: 'auto',\r\n \r\n },\r\n updateCardMsg: {\r\n marginTop: '10px',\r\n fontSize: '1rem',\r\n color: '#78909c'\r\n }\r\n});\r\n\r\nconst google = window.google = window.google ? window.google : {}\r\n\r\n\r\n\r\nclass BillingForm extends Component {\r\n\r\n constructor(props) {\r\n super(props);\r\n // need to pass state up to parent\r\n // console.log('billing form props')\r\n // console.log(props);\r\n this.state = {\r\n cardErrorMsg: null,\r\n expiryErrorMsg: null,\r\n cvcErrorMsg: null,\r\n }\r\n\r\n }\r\n\r\n\r\n\r\n // ==== Stripe Elements onchange methods to detect errors =====\r\n stripeError(e) {\r\n if (e.error) {\r\n //console.log(e);\r\n if (e.elementType === \"cardNumber\") {\r\n this.setState({ cardErrorMsg: e.error.message });\r\n } else if (e.elementType === \"cardExpiry\") {\r\n this.setState({ expiryErrorMsg: e.error.message });\r\n }\r\n } else {\r\n this.setState({ cardErrorMsg: null, expiryErrorMsg: null });\r\n }\r\n }\r\n\r\n\r\n render() {\r\n const { classes } = this.props;\r\n return (\r\n
\r\n {this.props.checkoutForm ?\r\n\r\n // ======== Checkout Form =======\r\n \r\n \r\n \r\n \r\n Billing Details\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Payment Details\r\n \r\n \r\n {this.state.cardErrorMsg !== null ? {this.state.cardErrorMsg} : null}\r\n this.stripeError(e)} />\r\n \r\n \r\n {this.state.expiryErrorMsg !== null ? {this.state.expiryErrorMsg} : null}\r\n this.stripeError(e)} />\r\n \r\n \r\n {this.state.cvcErrorMsg !== null ? {this.state.cvcErrorMsg} : null}\r\n this.stripeError(e)} />\r\n \r\n {this.props.monthlyPlan ?\r\n \r\n

STT Member Agreement

\r\n \r\n \r\n By checking this box you are agreeing to SearchTexasTax's Terms & Conditions, and you acknowledge that your credit card will be billed monthly starting today, {moment().format('L')}.\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n Yes, I agree.\r\n \r\n \r\n \r\n \r\n \r\n
\r\n :\r\n \r\n

STT Member Agreement

\r\n \r\n \r\n By checking this box you are agreeing to SearchTexasTax's Terms & Conditions, and you acknowledge that your credit card will be billed annually starting today, {moment().format('L')}.\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n Yes, I agree.\r\n \r\n \r\n \r\n \r\n \r\n
\r\n }\r\n
\r\n
\r\n
\r\n :\r\n // ====== Update Card Form ======\r\n \r\n \r\n \r\n New Card Details\r\n \r\n Enter your billing address and payment details\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {this.state.cardErrorMsg !== null ? {this.state.cardErrorMsg} : null}\r\n this.stripeError(e)} />\r\n \r\n \r\n {this.state.expiryErrorMsg !== null ? {this.state.expiryErrorMsg} : null}\r\n this.stripeError(e)} />\r\n \r\n \r\n {this.state.cvcErrorMsg !== null ? {this.state.cvcErrorMsg} : null}\r\n this.stripeError(e)} />\r\n \r\n \r\n \r\n \r\n \r\n }\r\n\r\n