{"version":3,"sources":["context/AuthContext.jsx","img/white_bpro_logo.svg","lang/main.js","utils/axiosInterceptions.js","components/Parts/Header.js","img/SVG/permission.svg","helpers/language.js","components/Parts/Menu.js","components/Layout.js","lang/dashboard.js","lang/stations/translateSection.js","components/Dashboard/Dashboard.js","img/tanks/black/64/barrel-black-green-100.png","img/tanks/black/64/barrel-black-green-090.png","img/tanks/black/64/barrel-black-green-080.png","img/tanks/black/64/barrel-black-green-070.png","img/tanks/black/64/barrel-black-green-060.png","img/tanks/black/64/barrel-black-green-050.png","img/tanks/black/64/barrel-black-yellow-040.png","img/tanks/black/64/barrel-black-yellow-030.png","img/tanks/black/64/barrel-black-red-020.png","img/tanks/black/64/barrel-black-red-010.png","components/Company/CompanyFormAdd.js","lang/company.js","components/Company/Company.js","components/Company/FuelForm/FuelCompanyFormAdd.js","components/Company/FuelForm/FuelCompanyFormEdit.js","lang/company/translateStations.js","components/Company/stations.js","lang/company/translateUsers.js","components/Company/users.js","lang/form.js","lang/company/account.js","components/Company/account.js","components/Company/FillingPlan/index.js","lang/company/balance_lang.js","components/Company/balance.js","lang/company/translateClients.js","components/Company/companyService.js","lang/company/translateFuels.js","components/Company/fuels.js","components/Company/CompanyApi.js","components/Company/CompanySingle.js","img/color_bpro_logo.svg","img/benzamat_R_horiz.png","svg/open_eye.svg","svg/close_eye.svg","lang/login.js","components/Login/Login.js","components/Transport/FormAddTransport.js","lang/transports/translateTransport.js","components/Transport/index.js","components/Transport/Stations.js","components/Transport/limitDayMonth.js","components/Transport/limitAbsolute.js","lang/users/user.js","components/Transport/limits.js","img/image_connect/StatusConnect-01.png","img/image_connect/StatusConnect-02.png","img/image_connect/StatusConnect-03.png","img/image_connect/StatusConnect-04.png","img/image_connect/StatusConnect-05.png","img/image_connect/StatusConnect-06.png","img/image_connect/StatusConnect-07.png","img/image_connect/StatusConnect_09.png","img/image_connect/StatusConnect-10.png","components/Transport/single.js","components/User/upload.js","lang/controllers/translateController.js","components/User/controllers.js","components/User/historylimits.js","components/User/limitDayMonth.js","components/User/limitAbsolute.js","components/User/limits.js","components/Catalog/single.js","lang/catalogs/translateFuel.js","lang/stations/translateStation.js","components/Station/FormAddSection.js","components/Station/FormEditSection.js","lang/stations/translateController.js","components/Station/ControllerStation.js","components/Station/sections.js","components/Controller/groups.js","components/Controller/Transport/all.js","components/Controller/Pump.js","components/Controller/Valve.js","components/Controller/Button.js","components/Controller/FlowSensor.js","components/Controller/Printer.js","components/Controller/Filling.js","components/Controller/GsmModem.js","components/Controller/Metrolog.js","components/Controller/Indicator.js","components/Controller/LevelMeter/FormAddParam.js","components/Controller/LevelMeter/upload.js","components/Controller/LevelMeter/FormAddTable.js","components/Controller/LevelMeter/single.js","components/Controller/LevelMeter/LevelMeterPeriod.js","components/Controller/LevelMeter.js","components/Controller/User/index.js","components/Controller/Company/all.js","components/Controller/ModalHardware.js","components/Controller/Smart/Bs2/LivenkaBs2.js","components/Controller/Smart/Bs2v2/LivenkaB2v2.js","components/Controller/Smart/Livenka.js","components/Controller/Smart/Bs2/TopazBs2.js","components/Controller/Smart/Bs2v2/TopazBs2v2.js","components/Controller/Smart/Bs2v2/TopazKvant.js","components/Controller/Smart/Topaz.js","components/Controller/Smart/Gilbarco.js","components/Controller/ExternalInput.js","components/Controller/Smart/Bs2v2/Tokheim.js","components/Controller/Auth.js","components/Controller/Sections.js","components/Controller/Main.js","components/Controller/UpdateFirmware.js","components/Controller/Firmware/UpdateFromServer.js","components/Controller/single.js","lang/roles/translateRole.js","components/Role/index.js","lang/pourings/translatePouring.js","lang/reports/translateReport.js","components/Report/reportFillings.js","router/index.js","components/Station/index.js","components/Station/single.js","components/User/index.js","components/User/single.js","components/Controller/index.js","img/image_connect/StatusConnectEth3.png","components/Catalog/Fuel/index.js","components/Catalog/TypeLimit/index.js","components/Catalog/TypeAuth/index.js","components/Pouring/index.js","components/Pouring/controllers.js","components/Role/single.js","components/Notification/index.js","components/Report/reportLevelMeter.js","components/Report/reportAllMessages.js","components/Report/reportHatchOpenClose.js","components/Report/reportChangePrice.js","components/Report/reportActions.js","components/Report/reportPrices.js","components/Report/reportGsmController.js","components/Report/reportGsmUser.js","components/Report/reportGsmByMass.js","components/Report/reportGsmNotGrouping.js","components/Report/reportSumGsmController.js","components/Report/reportGsmSumUser.js","components/Report/reportGsmSumTransport.js","components/Report/reportGsmSumCompany.js","components/Report/reportGsmConnect.js","components/Report/reportGsmPouringStation.js","components/Report/reportGsmPouringController.js","components/Report/reportFuelIntake.js","components/Report/reportMaterialBalance.js","components/AppRouter.js","context/AxiosErrorHandler.jsx","App.js","serviceWorkerRegistration.js","reportWebVitals.js","index.js"],"names":["AuthContext","createContext","translations","dashboard","en_US","ru_RU","CompanyMenu","notifications","notification","createDate","message","stations","controllers","users","transports","delivery","FuelRequest","crm","FuelIntake","analytics","systemRole","logs","dictionaries","fuels","settings","Logout","benzamatProWebService","generalMenuFunc","AdminMenuFunc","hideMenu","AdminWebService","Driver","Admin","Operator","MajorOperator","LastFillings","ChangePrices","ReadingsLevelMeter","LogAllMessage","LogAllActionUsers","TotalReleaseFuelController","TotalReleaseFuelUser","TotalReleaseFuelTransport","TotalReleaseFuelCompany","FuelReleaseMass","FuelReleaseController","FuelReleaseUser","FuleReleaseWithoutGroup","GsmOperationLog","TankLidReadings","CashDynamics","FuelIntakController","FuelReceiptReport","FuelReceiptLog","FuelIntakOnController","ReportFuelIntake","MaterialBalance","api","axios","create","headers","withCredentials","interceptors","request","use","config","token","localStorage","getItem","Authorization","error","Promise","reject","Header","router","useHistory","isAuth","setIsAuth","useContext","userAuth","setUserAuth","useState","role","setRole","warningMessage","setWarningMessage","is_active","text","countMessages","setCountMessages","translated","useLittera","methods","useLitteraMethods","useEffect","get","withCrenditials","then","response","setLocale","console","log","data","currentAuth","messageIsActive","textMessage","roleId","createNotificationJob","catch","post","job_id","dataResult","connection","signalR","withUrl","withAutomaticReconnect","build","on","start","invoke","err","toString","id","className","href","src","alt","height","LogoBenzapatPro","onClick","document","body","verticalButton","getElementById","classList","contains","remove","add","showMenu","type","xmlns","width","viewBox","fill","stroke","class","d","style","parse","Dropdown","Toggle","push","bsPrefix","border","Menu","Item","login","removeItem","CurrentSelectLanguage","modules","setModules","isLoading","setIsLoading","roleAdminWebService","setRoleAdminWebService","menuIsCollapsed","setMenuIsCollapsed","permission","map","item","index","temp","renderMenu","find","i","moduleId","label","icon","link","sub_links","margin","right","bottom","overflow","padding","textButtonHideMenu","innerText","Spinner","size","animation","variant","to","exact","color","textTransform","fontSize","filter","activeClassName","paddingLeft","marginLeft","target","PermissionSvg","visibility","transform","display","Layout","children","React","DashboardTranslate","ObjectNotFound","Unknow","StationOnTheMap","User","FillingDate","Fuel","Liters","Controller","Controllers","More","Actions","OpenTheMap","Volume","CurrentVolume","Occupancy","OnConnect","Disconnect","ControllerConnectMessage","LicenseActive","LicenseDisable","FuelRelease","UserAndTransport","Users","Transports","Day","Month","Companies","CompanyActive","CompanyBlocked","TranslateSection","Name","AllVolume","TRK","Dispenser","AddSection","Edit","Empty","Height","MinLevel","MaxLevel","MinVolume","MaxVolume","FullVolume","SaveChanges","LevelMeter","Dashboard","fillings","setFillings","listStations","setListStations","placeMarks","setPlaceMarks","centerMap","setCenterMap","modalSection","setModalSection","dashboardData","setDashboardData","countControllers","countControllerActiveLicense","countControllerDisableLicense","countControllerConnect","countControllerDisconnect","countUsers","countTransports","countActiveCompanies","countDisableCompanies","sumDayLitres","sumMonthLitres","sumMonthPouringLitres","sumDayPouringLitres","bar","setBar","labels","datasets","backgroundColor","barPouring","setBarPouring","selectedSection","setSelectedSection","name","fuel","fuelBalance","allVolume","currentVolume","columns","useMemo","accessorFn","row","firstname","lastname","header","moment","fillingDateTime","format","fuelName","countLitre","controllerName","array_donut_series","array_bar_labels","fillingGraphics","length","sumLitres","date","array_donut_pouring_series","array_bar_pouring_labels","pouringGraphics","stations_with_sections","html_baloon","sections","stat","volume","section","success","danger","warning","none","html","getProgressBar","toFixed","station","geometry","lantitude","longtitude","properties","balloonContentHeader","balloonContentBody","balloonContentFooter","description","hintContent","options","iconLayout","iconImageHref","balance","currentFuelVolume","iconImageSize","optionsTest","responsive","plugins","legend","position","zoom","wheel","enabled","pinch","mode","count","query","lang","state","center","controls","float","overflowY","ListGroup","Accordion","defaultActiveKey","alwaysOpen","eventKey","Body","fuelLitreBalance","localization","MRT_Localization_EN","initialState","showColumnFilters","enableTopToolbar","enableRowVirtualization","muiTablePaperProps","elevation","muiTableHeadCellProps","sx","fontWeight","fontFamily","muiTableBodyCellProps","CompanyFormAdd","companyData","IsParent","setCompanyService","addCompanyInList","setCountCompanies","useParams","control","register","handleSubmit","reset","setValue","formState","errors","useForm","listTimezone","setListTimezone","loadingData","setLoadingData","button","displayToast","status","toast","autoClose","hideProgressBar","closeOnClick","pauseOnHover","draggable","progress","undefined","theme","Form","onSubmit","INN","KPP","OGRN","Address","MailAddress","CompanyServiceId","isSuccess","listDatas","Group","Label","Control","maxLength","value","MaxLenghtString","minLength","MinLengthString","required","Required","isInvalid","placeholder","EnterName","TIN","MaxNumber","MinNumber","EnterINN","EnterOGRN","EnterKPP","LegalAddress","EnterLegalAddress","EnterMailAddress","disabled","as","marginRight","AddCompanyProgress","AddCompany","TranslateCompanyModule","CreatedDate","IsBlocked","CompanyIsActive","CompanyIsBlocked","CompanyType","CompanyIsClient","CompanyIsVendor","CreateCompany","LegalInfo","BIK","EnterBIK","number","AccessDenied","Title","Unlock","Block","General","Balance","Stations","Fuels","Clients","API","WarningApiKey","ChangeApiButton","CompanyIsBlockAlert","SignalStep","BankName","RatedAccount","EnterRatedAccount","CorrAccount","EnterCorrAccount","SaveChangesProccess","InputLiters","SignalStepAlert","ListCompanies","ActionWithCompanies","Company","showFormAdd","setShowFormAdd","listOfCompanies","countCompanies","setPermission","read","fullAccess","grid","accessorKey","dateCreate","isBlocked","Badge","bg","isParent","Button","varian","Alert","Offcanvas","placement","show","onHide","closeButton","FuelCompanyFormAdd","translatedForm","companyId","setFuels","loadingDataBtn","setLoadingDataButton","catalogFuels","setCatalogFuels","price","setPrice","addFuel","Price","FuelId","CompanyId","rules","render","field","isSearchable","SelectValuFromList","classNamePrefix","PricePerLitre","EnterPrice","defaultValue","decimalsLimit","onValueChange","AddFuel","FuelCompanyFormEdit","params","readOnly","decimalSeparator","TranslateStations","Description","SerialNumber","OrderNumber","CompanyStations","listHistory","setListHistory","loading","setLoading","money","setMoney","orderNumber","serialNumber","TranslateUsers","Fullname","Role","LimitMonth","LimitDay","CompanyUsers","roleName","limitDay","limitMonth","FormLocale","EnterValue","SelectFromList","CheckUpdate","Update","Download","NotFound","EnterSingleValue","GetDataLevelMeterSuccess","NotGetSections","TranslateAccount","Comment","EnterComment","DateRecord","Sum","EnterSum","RefillAccount","Valute","Account","method","url","createdDate","countMoney","user","userName","Id","Money","suffix","FillingPlan","listFuels","setHeader","isUpdate","setIsUpdate","selectedCompanyFuel","setSelectedCompanyFuel","update","getFillingPlan","getFuels","countLiters","dateStart","fuelId","handleUpdate","Date","handleShow","MRT_Localization_RU","CountLiters","CompanyFuelId","DateStart","onChange","time_24hr","enableTime","dateFormat","locale","Russian","BalanceLang","LimitPlan","PlannedСonsumption","HistoryChanges","Limit","BalanceOn","RefreshLimitAndAccount","UseMoneyWallet","EditLimit","TitleEditLimit","MessageRecalcLimit","Unlimited","Absolute","TypeLimit","SelectValueFromList","EnterLiters","UpdateData","CompanyBalance","currentTime","setCurrentTime","btnDayLoad","setBtnDayLoad","btnMonthLoad","setBtnMonthLoad","listLimits","setListLimits","checkedIsFuelWallet","setCheckedIsFuelWallet","historyLimit","setHistoryLimit","liters","setLiters","loadingDataGrid","setLoadingDataGrid","dayLimit","setDayLimit","monthLimit","setMonthLimit","limit","setLimit","setBalance","typeLimit","setTypeLimit","listTypeLimit","setListTypeLimit","isUnlimited","setIsUnlimited","listTypeLimits","handleGetHistory","getCompany","account","typeLimitId","isFuelWallet","findLimit","getTypeLimit","createdAt","comment","Tab","Container","Nav","Link","Content","Pane","Check","checked","e","IsFuelWallet","Card","OverlayTrigger","overlay","Tooltip","readonly","CountLitre","TypeLimitId","TranslateClients","Message","PermissionDenied","Blocked","Active","Served","NotServed","CompanyService","listCompanies","setListCompanies","translatedCompany","delete","getServiceCompanies","addCompany","utcOffset","Timezone","TranslateFuels","CurrentPrice","EditPrice","AddFuelTitle","FuelsCompany","setFuel","CompanyApi","getApiData","CompanySingle","currentActiveTab","setCurrentActiveTab","listStation","setListStation","block","setIsBlock","isSignalAccountBad","setIsSignalAccountBad","setCompanyData","blocked","balanceLimit","signalAccount","inn","kpp","address","mailAddress","ogrn","nameBank","bik","rateAccount","corrAccount","Tabs","handleActiveTab","dataset","rrUiEventKey","title","tabClassName","NameBank","Bank","RateAccount","SignalAccount","TranslateLoginPage","Password","EnterPassword","ForgotPassword","Login","PleaseSignIn","Continue","Process","messageAuth","setMessageAuth","showPassword","setShowPassword","loadingAuth","setLoadingAuth","LogoBenzamatPro","email","password","accessToken","setItem","CloseEye","OpenEye","FormAddTransport","isChild","stationData","setListTransport","selectedTypeLimit","setSelectedTypeLimit","rfidBtnLoad","setRfidBtnLoad","selectedCompany","setSelectedCompany","selectedBenzaRfidType","setSelectedBenzaRfidType","setLimitDay","setLimitMonth","defaultItem","setDefaultItem","listTypeAuth","setListTypeAuth","selectedAuth","setSelectedAuth","selectedTypeAuth","setSelectedTypeAuth","rfid","rfid_password","listControllers","setListControllers","listBenzaRfidType","formatChars","addTypeLimit","SingleStationId","Number","Model","Contract","NumberRfid","LimitAbsolute","AbsolutLimit","EnumTypeAuthId","EnumTypeLimitId","RfidIsMifare","ServiceDate","toISOString","errorMessage","Boolean","isMulti","TypeAuth","BenzaRfidType","mask","ButtonRfid","TranslateTransport","TitleSingle","AddTransportTitle","AddTransport","CarNumber","Lock","LockMessage","BenzamatOffice","RfidWithNumber","AuthTransport","Yes","No","WarningLimitMonth","Limits","Options","HistoryChangeLimit","Settings","AutoRead","VersionSoftware","GSM","ActionWithTransports","Readed","NotReaded","Enable","Disable","ListTransports","SelectAllUsers","MessageSelectUsers","Submit","Cancel","TextDelete","HeaderDelete","Transport","countTransport","setCountTransport","listTransport","showDeleteTransport","setShowDeleteTransport","userIdForDelete","setUserIdForDelete","selectedItem","setSelectedItem","companies","getTransports","numberRfid","enumTypeLimitName","onDelete","Modal","backdrop","keyboard","Footer","LimitDayMonthTransport","getEnumTypeLimits","countDayLimit","balanceDay","countMonthLimit","balanceMonth","dataLimit","EnumTypeLimit","enumTypeLimitId","LimitAbsoluteTransport","transportData","btnLoad","setBtnLoad","limitAbsolute","setLimitAbsolute","startDateFilling","setStartDateFilling","getAbsoluteLimit","dateLastFillingTime","balanceAbsolute","ResetAbsoluteLimit","StartDateFilling","DateLastFillingString","onHandleSetDate","TranslateUser","LK","AccessActive","AccessNotActive","ActionsWithUser","AddUser","AddUserTitle","UploadFromExcel","Firstname","Lastname","Middlename","AccessSystem","CurrentPassword","HistoryAuth","UserRights","AdminFillTank","ViewLevelSenser","TurningOffSirena","MessagePassword","IPAddress","DateAuth","UpdateLimits","ListUsers","UploadFromExcelHeader","UploadInfoAlert","UploadDangerAlert","SelectFile","DownloadTemplate","MessageWarningUpdateLimits","TransportLimits","lastChangeTypeLimit","setLastChangeTypeLimit","findTypeLimit","enumTypeLimit","TransportSingle","setTransportData","getValues","transportName","setTransportName","isDeleted","setIsDeleted","currentTabActive","setCurrentTabActive","listCompany","setListCompany","setControllers","typeAuth","setTypeAuth","listAuth","RfidWithPassword","deleteTC","transportId","addController","connectId","model","contract","serviceDate","company","enumTypeAuth","findAuth","rfidKey","firstConfigRead","doScanning","versionSoftware","statusConnect","StatusConnect06","StatusConnect07","StatusConnect10","StatusConnect05","StatusConnect04","StatusConnect03","StatusConnect02","StatusConnect01","StatusConnect09","handleTabActive","UploadUsers","setListUsers","uploadFormShow","setUploadFormShow","file","setFile","getCompanies","download","companyIds","formData","FormData","append","controlId","files","TranslateController","ListController","Undefined","ActionWithControllers","AddControllerTitle","AddController","AddGroup","UpdateList","EnableAutoRead","DisabledAutoRead","MessageAfterAdd","SetData","SetFactory","TextSetFactory","DeleteController","TextDeleteController","SynchControllerTime","WriteControllerConfig","WriteLimits","WriteTable","ReadLogEvents","ReadLimits","ReadDataButton","ReadingJournal","ReadingData","UpdateFirmware","UpdateFirmwareFromServer","Motherboard","Keyboard","Indicator","ReadingSettings","ID","Station","Sections","VersionProtocol","TypeController","Write","n_US","LevelMeters","Pump","Valves","ExternalInputs","FlowSensor","Metrology","Filling","Modem","Auth","Topaz","Gilbarco","Tokheim","Livenka","Electro","PrinteCheque","ParamTRK","ButtonStartStop","Indicators","MessageAutoReadActive","ModemInstall","EnablePowerModem","TurnModemPower","OpenCollector","RegularOutput","SelfFilling","RefuelingComputer","LicenseStart","LicenseEnd","LicenseMessage","OfflineComputer","SvoyClub","ReadDataFromController","SetDataToController","SetConfiguration","DefaultSettings","RfidReader","TRKWork","Inforcom","OperationMode","OnIndAndKey","RemoveSurvey","Topaz20","InterfacePanel","PumpControl","TurningPumpOn","PumpSwitchDelay","PumpRelay1","PumpOut1","PumpConnect","ShutOffValve","ShutOffControlValve","TurnShutOffValve","ReducingValve","ReducingControlValve","TurnReducingValve","Relay3","Relay2","NotConnected","Connected","CountImpulseFW","FirstChannelFW","SecondChannelFW","ImpulseDurationFW","WaitingTimeFirst","WaitingTimeNext","SingleChannel","DoubleChannel","MassFlowSensor","MassFlowEmis","DigitalBenza","ClosedToOpen","OpenToClose","IN_FW","IN2_FW","ImpulseCountPerMetro","AdjustmentFactor","Totaliser","ElectronicSeal","CommonSensor","Input1","Input2","Input3","HatchOpenType","OpeningSensor","PrinterType","ChequeHeader","ChequeString","ChequeString2","TotalCheque","AccessPoint","UserName","Port","Server","ExternalButton","ButtonExternalType","ButtonInput","MinStartSignal","StartButtonPanel","RefuelingTypeButton","ActivationViewReadingButton","SettingsButton","ButtonOnDisconnect","ButtonOnConnection","GunOnDisconnect","GunOnConnect","NotDose","WithDose","FuelType","MinimalDose","MaximalDose","ReduceEndFill","FullCapacityAfterFilling","EndFillAfterSwitch","StopFill","TimeLastFill","InputIn","InputIn2","InputIn3","InputIn4","MininalSignalDuration","MessageButtonExternalInputs","NotSet","TamperSensor","ClosingButton","OpenButton","ModalHardwareTitle","MessageModalHardware","SaveConfiguration","SelectFileForUpload","GetLevelMeterData","MessageSelectTypeLevelMeter","SettingCriticalLevel","PeriodSaveLevelMeterData","Period","SettingOnController","ControlBalance","NotControlBalance","ControlBalanceLm","ControlBalanceInvoice","ControlBalanceInvoiceLm","HeaderLevelMeterData","LevelMeter_1","LevelMeter_2","LevelMeter_3","LevelMeter_4","Level","Temperature","Massa","Density","StateCriticalLevel","FuelVolume","ProductFluidLevel","CodeError","CodeErrorText","CodeError1","CodeError2","CodeError3","Struna","PMP118","Type","GradTable","Params","OnOff","DisableLevelMeter","ActiveLevelMeter","LowLevel","LevelSensorSetting","RelativeUnits","OffsetFromBottomSection","CalibrationChartSize","MeasuringRange","LengthDUT","CalibrationTable","MessageErrorLengthDut4096","MessageErroCalibrationSize","IgnoreButtonStart","ReadSwtich","SleeveGrade","Sleeves","AddressParty1","AddressParty2","SleeveGrade1","SleeveGrade2","SleeveGrade3","SleeveGrade4","Topaz610","Topaz420","ModelDispenser","Sleeve1","Sleeve2","Sleeve3","Sleeve4","Sleeve5","Sleeve6","CountDispencer","Params1","Params2","Params3","Params4","Sides","Side1","Side2","CountFuels","AddPoint","DeleteLastPoint","DeleteCalibrTable","DownloadTemplateTable","Point","Sm","ShortLiter","Kg","KgM3","ControlLevel","UserControllers","listController","setListController","stationName","HistoryLimits","LimitDayMonth","userData","UserLimits","getUserData","userTypeLimitId","CatalogSingle","single","catalogData","setCatalogData","catalogName","setCatalogName","listValues","addValueToList","openFormUpdate","Values","Add","muiTablePaperSingle","muiTableHeadCellSingle","muiTableBodyCellSingle","TitleUpdate","TitleAdd","Value","TranslateFuel","TranslateStation","Status","Longtitude","Langtitude","AddStationTitle","Deleted","OccupancySingle","FormAddSection","setListSections","StationId","LevelHeightLow","LevelHeightUp","VolumeLow","VolumeUp","FormEditSection","listLm","setListLm","selectedFuel","setSelectedFuel","selectedLm","setSelectedLm","listTrk","setListTrk","listDispenser","setListDispenser","getLevelMeters","sectionId","controllerId","levelMeters","getLevelMetersController","getControllerTrk","array_dispenser","sleeveTrkConfigs","trkName","sleeveName","sleeveTrkConfigId","levelHeightLow","levelHeightUp","volumeLow","volumeUp","levelMeterId","numberLevelMeter","levelMeterOnController","levelMeterControllerName","levelMeterControllerId","dispensers","LevelMeterId","DispenserIndexes","Read","NotRead","ControllerStation","StationSection","listSections","setShow","setName","setSectionId","ProgressBar","now","Math","ceil","ControllerGroups","controllerBtn","setControllerBtn","companyName","TransportControllers","controllerInfo","listTransportForSelect","setListTransportForSelect","selectedTransports","setSelectedTransports","listCompaniesForSelect","setListCompaniesForSelect","selectAllUsers","setSelectAllUsers","usersIsDisabled","setUsersIsDisabled","DropdownButton","transport_ids","TransportIds","ControllerId","isDisabled","ControllerPump","selectedPumpControl","setSelectedPumpControl","selectedPumpStartDelay","setStartPumpDelay","loadingBtn","setLoadingBtn","pumpControlOutput","pumpStartDelay","pumpControl","findPumpStartDelay","PumpControlOutput","PumpStartDelay","ControllerValve","selectedValveGate","setSelectedValveGate","selectedValveDecrease","setSelectedValveDecrease","isConnect","valveGateType","valveGateControl","valveDecreaseType","valveDecreaseControl","ValveGateControl","ValveDecreaseControl","ControllerButton","disabledCheckViewLm","setDisabledCheckViewLm","disabledTypeFilling","setDisabledTypFilling","selectedDurationButton","setSelectedDurationButton","selectedButtonInput","setSelectedButtonInput","selectedTypeButton","setSelectedTypeButton","listActiveStartPanelController","listTypeFilling","listTypeButton","listButtonInput","startButton","typeFilling","lm","checkViewLevelMeter","buttonDuration","findTypeButton","buttonType","findButtonInput","buttonInput","ButtonType","ButtonDuration","StartButton","CheckViewLevelMeter","TypeFilling","max","ControllerFlowSensor","setIsDisabled","selectedSensorType","setSelectedSensorType","selectedCounterImpuls","setSelectedCounterImpuls","selectedImpulsLength","setSelectedImpulsLength","selectedImpulsFirstTime","setSelectedImpulsFirstTime","selectedImpulsNextTime","setSelectedImpulsNextTime","sensorType","listCountImpuls","lengthImpuls","setFlowSensortType","flowSensorType","setCounterImpuls","flowSensorCounterType","setImpulsLength","flowSensorImpulseLength","addressFlowrate","flowSensorImpulseFirstTime","flowSensorImpulseNextTime","FlowSensorType","FlowSensorCounterType","FlowSensorImpulseLength","FlowSensorImpulseFirstTime","FlowSensorImpulseNextTime","AddressFlowrate","firmwareVersionBSString","min","Printer","typeController","selectedImpuls","setSelectedImpuls","adjustingFactor","setAdjustingFactor","summator","setSummator","selectedCountPlomb","setSelectedCountPlomb","printerTypes","printer","header1","header2","footer","Header1","Header2","ControllerFilling","selectedMinDoze","setSelectedMinDoze","selectedMaxDoze","setSelectedMaxDoze","selectedBeforeStop","setSelectedBeforeStop","selectedAfterStop","setSelectedAfterStop","selectedDelayDoze","setSelectedDelayDoze","selectedFlowError","setSelectedFlowError","selectedTimeIndication","setSelectedTimeIndication","stopForError","dozeMin","dozeMax","volumeBeforeStop","volumeAfterStart","delayDozeStopAfterPumpOff","findError","stopIfErrorFlowSensor","timeShowLastDoze","DozeMin","DozeMax","VolumeBeforeStop","VolumeAfterStart","DelayDozeStopAfterPumpOff","StopIfErrorFlowSensor","TimeShowLastDoze","GsmModem","gprsUser","gprsPassword","gprsApn","serverName","serverPort","GprsUser","Username","GprsPassword","GprsApn","APN","ServerPort","ServerName","Metrolog","countChangePlomb","impulseCount","ImpulseCount","Impulse","AdjustingFactor","CountChangePlomb","Summator","isDefined","setIsDefined","setlectedTypeIndicator","setTypeIndicator","selectedInput","setSelectedInput","listInput","listConnect","hatchOpenType","findIndicator","findInput","hatchOpenInput","HatchOpenInput","FormAddParam","param5","parseFloat","param2","param3","chartTableSize","param6","Param2","Param3","Param5","Param6","ChartTableSize","submitPostRequest","val","UploadTable","setListPoints","FormAddTable","listPoints","CountPoints","Table","striped","bordered","hover","colspan","point","levelMm","LevelMeterSingle","addresses","isOmmnicom","settingShow","setSettingShow","showModalTable","setShowModalTable","modalShowParam","setModalShowParam","setDisabled","is16LevelMeter","setIs16LevelMeter","paramsLevelMeter","setParamsLevelMeter","selectedAddress","setSelectedAddress","selectedType","setSelectedType","types","listEnabled","setDataLevelMeter","split","level_meter","dialogClassName","LevelMeterPeriod","periodLevelMeterRead","openPeriod","setOpenPeriod","listPeriodTime","periodValue","PeriodLevelMeterRead","listLevelMeters","setListLevelMeters","showModal","setShowModal","modalLm","setModalLm","modalControlLevel","setModalControlLevel","levelMeterIsLoading","setLevelMeterIsLoading","listLevelMeterData","setListLevelMeterData","countLevelMeter","setCountLevelMeter","setVersionSoftware","majorMinor","setMajorMinor","major","minor","patch","setAddresses","setIsOmmnicom","levelMeterFail","setLevelMeterFail","sumLevelMeters","setSumLevelMeters","mass","all_volume","fuel_volume","paramIsActive","setParamIsActive","all_volume_use","density_use","fill_use","fuel_volume_use","level_use","level_water_use","mass_use","temperature_use","controlLevelValuesBs022","controlLevelValuesBs02","groupGetLevelMeter","sum_all_volume","sum_mass","sum_fuel_volume","fuelVolume","controller","array_address","veederRootTLS","typeLevelMeter","onHandleUpdateType","veeder_root","IsUpdateLevelMeter","TypeLevelMeters","VeederRootTLS","levelLow","temperatureLow","allVolumeLow","fillLow","massLow","densityLow","fuelVolumeLow","levelWaterLow","allVolumeUse","densityUse","fillUse","levelUse","levelWaterUse","massUse","temperatureUse","controlLevel","handleControlLevel","u","slice","level","temperature","density","water_level","critical_level","codeError","levelWater","LevelLow","TemperatureLow","FillLow","MassLow","DensityLow","FuelVolumeLow","LevelWaterLow","AllVolumeLow","AllVolumeUse","DensityUse","FillUse","FuelVolumeUse","LevelUse","LevelWaterUse","MassUse","TemperatureUse","onUpdateControlLevel","ControllerUsers","listCompanyUsers","setListCompanyUsers","getNotInclude","onHandleShow","isExistDataAuth","userId","UserIds","ControllerCompanies","listServiceCompanies","setListServiceCompanies","selectedCompanies","setSelectedCompanies","textButtonCompany","setTextBtnCompany","array_ids","ModalHardware","controllerData","showModalChangeType","setShowModalChangeType","listTypeController","listTypeControllerNewB2","listModemCheck","listEnableModem","hasModem","dayManufacture","enableModem","HasModem","EnabledModem","ControlleType","LivenkaBs2","smartData","showSecondSleeva","setShowSecondSleeve","listSubtypes","find_fuel_type","fuel_type","fuel_type2","find_fuel_type2","find_address","find_address2","address2","find_subtype","subtype","SubType","Subtype","Address2","FuelType2","LivenkaBs2v2","arrayTrTable","setArrayTrTable","buttonTrk","setButtonTrk","gerkon","setGerkon","valueCountSide","setValueCountSide","getSmarts","buttonLivenkaIsChecked","gerkonIsChecked","address3","address4","address5","address6","address7","address8","fuelType","fuelType2","fuelType3","fuelType4","AddressFirst1","AddressSecond1","Address3","AddressFirst2","Address4","AddressSecond2","Address5","AddressFirst3","Address6","AddressSecond3","Address7","AddressFirst4","Address8","AddressSecond4","FuelType3","FuelType4","TopazBs2","find_fuel_type3","find_fuel_type4","find_address3","find_address4","smart_array","Smarts","TopazBs2v2","listSmartData","countDispenser","first_sleeve","second_sleeve","thrid_sleeve","four_sleeve","listCountDispenser","setSmartData","list_fuel","subType","address1","address12","address13","address14","fuetype1","fuetype12","fuetype13","fuetype14","dispenser","smarts","trk","Subtype1","Address1","FuelType1","FuelType12","trk2","Subtype2","FuelType22","trk3","Subtype3","FuelType32","trk4","Subtype4","FuelType42","CountDispenser","transition","Address12","Address13","FuelType13","Address14","FuelType14","Address22","Address23","FuelType23","Address24","FuelType24","Address32","Address33","FuelType33","Address34","FuelType34","Address42","Address43","FuelType43","Address44","FuelType44","TopazKvant","countSleeveAndSide","setCountSleeveAndSide","countSideDispenser1","countSleeveDispenser1","countSideDispenser2","countSleeveDispenser2","countSideDispenser3","countSleeveDispenser3","countSideDispenser4","countSleeveDispenser4","disableSleeveAndSide","setDisableSleeveAndSide","countDispensers","setCountDispensers","listSides","listSleevesParty1","listSleevesParty2","listSleevesParty3","listSleevesParty4","sides","countParty","sleeves","countTypeFuel","address9","address10","fuetype2","fuetype3","fuetype4","fuetype5","fuelType5","fuetype6","fuelType6","fuetype7","fuelType7","fuetype8","fuelType8","fuetype9","fuelType9","fuetype10","fuelType10","Address1_11","Address1_12","Address1_13","Address1_14","Address1_15","Address1_21","Address1_22","Address1_23","Address9","Address1_24","Address10","Address1_25","FuelType1_11","FuelType1_12","FuelType1_13","FuelType1_14","FuelType5","FuelType1_15","FuelType6","FuelType1_21","FuelType1_22","FuelType7","FuelType8","FuelType1_23","FuelType9","FuelType1_24","FuelType10","FuelType1_25","CountParty","Sides1","CountTypeFuel","Sleeves1","Address2_11","Address2_12","Address2_13","Address2_14","Address2_15","Address2_21","Address2_22","Address2_23","Address2_24","Address2_25","FuelType2_11","FuelType2_12","FuelType2_13","FuelType2_14","FuelType2_15","FuelType2_21","FuelType2_22","FuelType2_23","FuelType2_24","FuelType2_25","Sides2","Sleeves2","Address3_11","Address3_12","Address3_13","Address3_14","Address3_15","Address3_21","Address3_22","Address3_23","Address3_24","Address3_25","FuelType3_11","FuelType3_12","FuelType3_13","FuelType3_14","FuelType3_15","FuelType3_21","FuelType3_22","FuelType3_23","FuelType3_24","FuelType3_25","Sides3","Sleeves3","Address4_11","Address4_12","Address4_13","Address4_14","Address4_15","Address4_21","Address4_22","Address4_23","Address4_24","Address4_25","FuelType4_11","FuelType4_12","FuelType4_13","FuelType4_14","FuelType4_15","FuelType4_21","FuelType4_22","FuelType4_23","FuelType4_24","FuelType4_25","Sides4","Sleeves4","onBlur","ref","red","splitVersion","firmwareVersionString","showSecondParity","setShowSecondParity","showFuelType","setShowFuelType","listParity","listCountFuel","find_count_party","find_count_fuel","fuel2","fuel3","fuel_type3","fuel4","fuel5","fuel6","CountFuel","ExternalInput","buttonIsSelected","setButtonIsSelected","input2","externalInput2","input3","externalInput3","input4","externalInput4","array_button_values","find_closing_button","find_open_button","ExternalInput2","ExternalInput3","ExternalInput4","ExteExternalInput4rnalInput2","listSection","setListSection","listStationSection","setListStationSection","getSections","stationId","addSection","StationSectionId","Section","MainInfoBenzaController","isGetConfig","setIsGetConfig","isAutoRead","setIsAutoRead","signalrConnection","setSignalrConnection","textActionRead","setTextActionRead","btnUpdateMainInfo","setBtnUpdateMainInfo","buttonReadSettings","setButtonReadSettings","job","setJob","showReadController","setShowReadController","showWriteController","setShowWriteController","setPeriodLevelMeterRead","setTypeController","setStatusConnect","checkboxReadJournal","setCheckBoxReadJournal","checkboxReadUserLimit","setCheckboxReadUserLimit","checkboxWriteSetting","setCheckboxWriteSetting","checkboxWriteTime","setCheckboxWriteTime","checkboxWriteUserLimit","setCheckboxWriteUserLimit","checkboxTable","setCheckboxTable","setCountDispenser","setListSmartData","listRfid","setListRfid","defaultTextButtonController","fuel_type1","fuel_type4","fuel_type5","fuel_type6","fuel_type7","fuel_type8","selectedTrkWork","setSelectedTrkWork","selectedTypePanel","setSelectedPanel","selectedTopaz","setSelectedTopaz","selectedModeFilling","setSelectedModeFilling","selectedModeRfid","setSelectedModeRfid","selectedModeIntake","setSelectedModeIntake","selectedScanning","setSelectedScanning","progressBarJournal","setProgressBarJournal","textButtonController","setTextButtonController","setControllerInfo","save","listBooleans","listStopMode","listPanel","listRfidValues","listTypeWork","handleConnectId","company_id","smart","enumControllerType","modeIntake","findModeIntake","findWorking","stopMode","findDoScanning","findOnIndAndKey","onIndAndKey","findRfid","modeRfid","findPanel","interfacePanel","topaz","modeTopaz20","findModeTopaz","findWork","modeFilling","versionProtocol","ConnectId","ModeIntake","DoScanning","ModeFilling","ModeTopaz","ModeRfid","StopMode","UpdateFromServer","setModalFirmwareUpdateServer","modalFirmwareUpdateServer","check","showButton","setShowButton","buttonDisable","setButtonDisable","currentVersions","setCurrentVersions","motherboardCurrent","indicatorCurrent","keyboardCurrent","serverVersions","setServerVersions","motherboardServer","indicatorServer","keyboardServer","progressBar","setProgressBar","jobId","setJobId","checkUpdateMotherboard","info","messages","isNotification","notificationMessage","JobId","animated","ControllerSingle","buttonSetSettings","setButtonSetSettings","showSetFactoryController","setShowFactoryController","modalUpdateFirmware","setModalUpdateFirmware","license","setLicense","end","typeControllerLevelMeter","licenseStart","licenseEnd","typeLevelMeters","handleJournal","readJournal","readUserLimit","controlerInfo","writeTime","writeSettings","writeUserLimits","writeTable","TranslateRole","AccessForModules","Module","Create","Blocking","Fullaccess","Using","NotUsing","CreateRole","UpdateRole","Roles","props","countRoles","setCountRoles","TranslatePouring","Operation","PricePerLiter","ActualArrival","ArrivalInvoice","OperationDate","ChangeDate","FullAdmission","EnterData","benzamat","FuelIntakeTitle","AddIntake","FuelInflow","MessageFuelInflow","InvoiceNumber","Mass","Variation","FuelTankTruck","MeasuredVolume","MeasuredDensity","FuelCost","LevelGaging","StartDrain","EndDrain","FuelReceiptController","TitleFuelIntake","Delete","TranslateReport","Export","StartDate","EndDate","GenerateReport","MainLiters","ByFuelType","WarningGsmMass","Fueled","Analytics","DateDefault","ReadingLevelMeter","ReportAllMessages","ReportChangePrice","ReportCashDymanics","UsedUp","Final","Received","ReportGsmConnect","Error","Time","ReportUserLogs","IP","Action","ReportFuleReceiptController","Mernik","FilterReport","DataNotLoad","SelectAllTransports","SelectAllControllers","Fill","FinalPeriod","ReportHatchOpenClose","Event","Open","Close","StartWork","ReportFuelReleaseByController","ReportFuelReleaseByMass","ReportFuelReleaseByControllerNotGroup","ReportFuelReleaseByUsers","TotalMoneys","ReportTotalFuelController","Grouping","ReportTotalFuelUsers","ReportTotalFuelTransports","ReportTotalFuelCompanies","MessageInController","privateRoutes","path","component","listOfStations","addStationInList","countStations","setCountStations","getStations","positionToolbarAlertBanner","muiTopToolbarProps","textAlign","Lantitude","listSeries","setListSeries","sectionChart","setSectionChart","names","series","componentForm","setComponentForm","componen","sectionData","setSectionData","setStationData","fetchingData","dataLabels","chart","stacked","xaxis","categories","yaxis","plotOptions","columnWidth","distributed","borderRadius","stackType","array_series","timezoneHour","setCountUsers","listUsers","showDataAuthForm","setShowDataAuthForm","currentAuthRoleId","setCurrentAuthRole","showDeleteUser","setShowDeleteUser","listRoles","setListRoles","roleIsDriver","setRoleIsDriver","listExistDataAuth","listAuthAuto","getUsers","currentAuthUserRoleId","getRoles","a","getTypeAuth","BenzamatOfficeId","IsExistDataAuth","AuthAuto","PasswordController","BalanceAbsolute","RoleId","RfidKey","TypeAuthId","listHistoryAuth","setListHistoryAuth","setIsExistDataAuth","userHasLogin","setUserHasLogin","isAdminWebService","setIsAdminWebService","isDriver","setIsDriver","selectedRole","setSelectedRole","selectedAuthAuto","setSelectedAuthAuto","selectedAdminController","setSelectedAdminController","selectedAdminFillTank","setSelectedAdminFillTank","selectedAdminLevel","setSelectedAdminLevel","selectedIsExistDataAuth","setSelectedIsExistDataAuth","selectedAdminSirena","setSelectedAdminSirena","FIO","setFIO","setUserData","listBooleanAdminController","listBoolean","getHistoryAuth","ipAddress","userAgent","dateAuth","middlename","password_controller","current_password","rfid_key","service_date","AdminController","AdminViewLevelMeters","AdminOffSirena","NewPassword","passwordController","serviceDateTime","externalId","findExistAuth","findAuthAuth","authAuto","findAdminController","adminController","findAdminSirena","adminOffSirena","findAdminFillTank","adminFillTank","findAdminLevel","adminViewLevelMeters","AdminTRK","setActiveTab","showFormGroupAdd","setShowFormGroupAdd","countController","setCountController","listGroup","setListGroup","showDeleteController","setShowDeleteController","controllerIdForDelete","setControllerIdForDelete","setControllerData","getControllers","getGroups","getUserCompanies","addStation","is_show","activeAutoRead","active","IsActive","group","StationSections","ControllerGroupId","all_url","create_url","update_url","find_url","watch","startLevel","setStartLevel","countGsm","setCountGsm","listPourings","setListPourings","btnIsUpdate","setBtnIsUpdate","issetLevelMeter","setIssetLevelMeter","sectionIsSelected","setSectionIsSelected","modalShow","setModalShow","startDateTime","setStartDateTime","endDateTime","setEndDateTime","invoiceDate","setInvoiceDate","deltaVolume","setDeltaVolume","deltaMass","setDeltaMass","deltaLevel","setDeltaLevel","deltaTemperatur","setDeltaTemperatur","deltaDensity","setDeltaDensity","startMass","setStartMass","lmIndexOnController","setLmIndexOnController","loadingLevelMeterBtn","setLoadingLevelMeterBtn","selectedStation","setSelectedStation","pourings","getLevelMeterData","is_start","controllerTypeId","endMass","endLevel","endVolume","startVolume","endTemp","startTemp","getSectionData","sectionName","factVolume","invoiceVolume","dateTimeOperation","dateTimeCorrection","arrivalReady","operationLocation","enableRowActions","renderRowActionMenuItems","MenuItem","original","stationSection","invoiceNumber","invoiceVolumeDec","invoiceDensityDec","invoiceTemperatureDec","invoiceMassDec","startLevelDec","startVolumeDec","startDensityDec","startTemperatureDec","endLevelDec","endVolumeDec","endDensityDec","endTemperatureDec","tankTruckVolume","tankTruckDensity","factTemperature","factKg","factLitre","factDensity","deletePouring","InvoiceDate","InvoiceVolume","InvoiceDensity","InvoiceTemperature","InvoiceMass","StartLevel","StartVolume","StartDensity","StartTemperature","StartDateTime","FactVolume","DeltaVolume","FactKg","DeltaMass","FactLitre","DeltaLevel","FactDensity","DeltaDensity","FactTemperature","DeltaTemperature","EndLevel","EndVolume","EndDensity","EndTemperature","EndDateTime","TankTruckVolume","TankTruckDensity","StartMass","EndMass","controllerPourings","fix","levelMeter","listPermission","setListPermission","opened","setOpened","selectedRead","setSelectedRead","selectedCreate","setSelectedCreate","selectedUpdate","setSelectedUpdate","selectedDelete","setSelectedDelete","selectedFull","setSelectedFull","booleans","moduleName","updateForm","permissionId","deletes","full","ModuleId","FullAccess","countNotifications","setCountNotifications","listNotification","setListNotification","getNotifications","getNotification","listData","setListData","translatedPouring","showDiagramm","setShowDiagramm","diagrammColumn","setDiagrammColumn","dateMeasure","indexOnController","parsing","colors","forceOverride","scales","x","ticks","xAxisKey","yAxisKey","zIndex","EndPeriod","StartPeriod","levelMeterJournal","typeMessage","array_labels","array_datataset","levelMeterResults","array_item_series","y","borderColor","tension","setData","controllerType","setControllerType","dateMessage","idMessage","idUser","params_16_0","params_16_1","params_16_2","params_16_3","params_16_4","params_32_0","params_32_1","typeMajor","typeMinor","columnsBs02_2","messageId","idMessageInController","messageParsing","errorCode","selectAllControllers","setSelectAllControllers","controllerIsDisabled","setControllerIsDisabled","listFillings","setListFillings","donut","pieData","setPieData","rfidUser","rfidTransport","timeZone","aspectRatio","tyle","arr","ControllerIds","UserId","IsSelectallUsers","IsSelectControllers","ControllerIdsQuery","array_pie_labels","array_pie_series","gropuByFuels","groupByFillings","borderWidth","controllerIds","IsSelectAllUsers","responseType","blob","Blob","createElement","window","URL","createObjectURL","click","exportExcel","setListDatas","eventType","eventDate","colSpan","result","updated","fullname","curve","align","opacity","sum","consumption","CompanyIds","array_series_data","array_series_data_cons","columnColors","setColumnColors","columngData","setColumnData","conclusionReport","setConclusionReport","records","transport","dosimeter","countLitreMernik","sumMernik","IsGrouping","pie_array","pie_label","column_label","column_data","column_array","resultGraphics","values","userDisabled","setUserDisabled","controllerDisabled","setControllerDisabled","finalSum","sumMoney","arr_users","xmlExport","recordGraphics","resultNoGrouping","gsmSumControlleRecords","sumLitreDosimeter","GroupingIsMonth","grouping","isSelectAllUsers","listTransports","setListTransports","test","csq","errorConnect","handleShowDiagramm","localLabels","stationInvoiceSumLiters","stationLevelMeterSumLiters","stationInvoiceSumKg","stationLevelMeterSumKg","recordSectionSum","intakeLitersLevelMeter","intakeMassLevelMeter","intakeDensityLevelMeter","intakeInvoiceLiters","intakeInvoiceMass","intakeInvoiceDensity","invoiceSum","invoiceSumLiters","levelMeterSumLiters","invoiceSumKg","levelMeterSumKg","StationIds","ReportMaterialBalance","publicRoutes","AppRouter","route","AxiosErrorHandler","res","async","App","Provider","locales","location","hostname","match","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","baseUrl","getElementsByTagName","getAttribute","rootElement","ReactDOM","basename","navigator","serviceWorker","ready","registration","unregister"],"mappings":"iTAEO,MAAMA,EAAcC,wBAAc,M,sCCF1B,MAA0B,4C,wDCGlC,MAAMC,EAAe,CAExBC,UAAW,CACPC,MAAO,YACPC,MAAO,8CAEXC,YAAa,CACTF,MAAO,YACPC,MAAO,oDAEXE,cAAc,CACVH,MAAO,gBACPC,MAAO,gEAEXG,aAAa,CACTJ,MAAO,eACPC,MAAO,gEAEXI,WAAW,CACPL,MAA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GC,aAAa,QAChEC,GAAclhF,SAASG,eAAe,QAE5CghF,IAASvoE,OACP,cAAC,IAAa,CAACwoE,SAAUL,GAAQ,SAC/B,cAAC,GAAG,MAENG,IFgHI,kBAAmBG,WACrBA,UAAUC,cAAcC,MACrBxjF,MAAMyjF,IACLA,EAAaC,YAAY,IAE1B/iF,OAAOtC,IACN8B,QAAQ9B,MAAMA,EAAM5D,QAAQ,IE5GpC+nF,I","file":"static/js/main.89e6f0ce.chunk.js","sourcesContent":["import { createContext } from 'react'\n\nexport const AuthContext = createContext(null);","export default __webpack_public_path__ + \"static/media/white_bpro_logo.bb9d3ad8.svg\";","import React from \"react\";\r\nimport { useLittera } from \"@assembless/react-littera\";\r\n\r\nexport const translations = {\r\n\r\n dashboard: {\r\n en_US: \"Dashboard\",\r\n ru_RU: \"Главная\"\r\n },\r\n CompanyMenu: {\r\n en_US: \"Companies\",\r\n ru_RU: \"Компании\"\r\n },\r\n notifications:{\r\n en_US: \"Notifications\",\r\n ru_RU: \"Оповещения\"\r\n },\r\n notification:{\r\n en_US: \"Notification\",\r\n ru_RU: \"Оповещение\"\r\n },\r\n createDate:{\r\n en_US: \"Created date\",\r\n ru_RU: \"Дата создания\"\r\n },\r\n message:{\r\n en_US: \"Message\",\r\n ru_RU: \"Сообщение\"\r\n },\r\n stations: {\r\n en_US: \"Stations\",\r\n ru_RU: \"Станции\"\r\n },\r\n controllers: {\r\n en_US: \"Controllers (DU)\",\r\n ru_RU: \"Контроллеры (ТРК)\"\r\n },\r\n users: {\r\n en_US: \"Users\",\r\n ru_RU: \"Пользователи\"\r\n },\r\n transports: {\r\n en_US: \"Transports\",\r\n ru_RU: \"Транспорт\"\r\n },\r\n delivery:{\r\n en_US: \"Delivery\",\r\n ru_RU: \"Доставка\"\r\n },\r\n FuelRequest:{\r\n en_US: \"Fuel request\",\r\n ru_RU: \"Заявки\"\r\n },\r\n crm:{\r\n en_US: \"CRM\",\r\n ru_RU: \"CRM\"\r\n },\r\n FuelIntake: {\r\n en_US: \"Fuel intake\",\r\n ru_RU: \"Поступление ГСМ\"\r\n },\r\n analytics: {\r\n en_US: \"Analytics\",\r\n ru_RU: \"Аналитика\"\r\n },\r\n systemRole: {\r\n en_US: \"System Roles\",\r\n ru_RU: \"Системные роли\"\r\n },\r\n logs: {\r\n en_US: \"System logs\",\r\n ru_RU: \"Журнал логов\"\r\n },\r\n dictionaries: {\r\n en_US: \"Dictionaries\",\r\n ru_RU: \"Справочники\"\r\n },\r\n fuels: {\r\n en_US: \"Fuels\",\r\n ru_RU: \"Виды топлива\"\r\n },\r\n settings: {\r\n en_US: \"Settings\",\r\n ru_RU: \"Настройки\"\r\n },\r\n Logout: {\r\n en_US: \"Logout\",\r\n ru_RU: \"Выйти\"\r\n },\r\n benzamatProWebService: {\r\n en_US: \"benzamatPro is online web service for control fuel\",\r\n ru_RU: \"Онлайн сервис для управления топливом benzamatPro\"\r\n },\r\n generalMenuFunc:{\r\n en_US: \"GENERAL FUNCTIONAL\",\r\n ru_RU: \"ОБЩИЙ ФУНКЦИОНАЛ\"\r\n },\r\n AdminMenuFunc:{\r\n en_US: \"ADMINISTRATION\",\r\n ru_RU: \"АДМИНИСТРИРОВАНИЕ\"\r\n },\r\n hideMenu: {\r\n en_US: \"Hide menu\",\r\n ru_RU: \"Свернуть меню\"\r\n },\r\n\r\n AdminWebService: {\r\n en_US: \"Administrator service\",\r\n ru_RU: \"Администратор сервиса\"\r\n },\r\n Driver: {\r\n en_US: \"Driver\",\r\n ru_RU: \"Водитель\"\r\n },\r\n Admin: {\r\n en_US: \"Administrator\",\r\n ru_RU: \"Администратор\"\r\n },\r\n Operator: {\r\n en_US: \"Operator\",\r\n ru_RU: \"Оператор\"\r\n },\r\n MajorOperator: {\r\n en_US: \"Major operator\",\r\n ru_RU: \"Старший оператор\"\r\n },\r\n LastFillings: {\r\n en_US: \"Last fillings\",\r\n ru_RU: \"Последние заправки\"\r\n },\r\n ChangePrices: {\r\n en_US: \"Price changes\",\r\n ru_RU: \"Изменение цен\"\r\n },\r\n ReadingsLevelMeter:{\r\n en_US: \"Readings level meter\",\r\n ru_RU: \"Показания уровнемеров\"\r\n },\r\n LogAllMessage: {\r\n en_US: \"Log of all messages\",\r\n ru_RU: \"Журнал всех сообщений\"\r\n },\r\n LogAllActionUsers:{\r\n en_US: \"Log of all user's actions\",\r\n ru_RU: \"Журнал всех действий пользователей\"\r\n },\r\n TotalReleaseFuelController: {\r\n en_US: \"Total fuel release by controllers\",\r\n ru_RU: \"Суммарный отпуск ГСМ по контроллерам\"\r\n },\r\n TotalReleaseFuelUser: {\r\n en_US: \"Total fuel release by users\",\r\n ru_RU: \"Суммарный отпуск ГСМ по пользователям\"\r\n },\r\n TotalReleaseFuelTransport: {\r\n en_US: \"Total fuel release by transports\",\r\n ru_RU: \"Суммарный отпуск ГСМ по транспорту\"\r\n },\r\n TotalReleaseFuelCompany: {\r\n en_US: \"Total fuel release by companies\",\r\n ru_RU: \"Суммарный отпуск ГСМ по компаниям\"\r\n },\r\n FuelReleaseMass: {\r\n en_US: \"Fuel release by mass\",\r\n ru_RU: \"Отпуск ГСМ по массе\"\r\n },\r\n FuelReleaseController: {\r\n en_US: \"Fuel release by controllers\",\r\n ru_RU: \"Отпуск ГСМ по контроллерам\"\r\n },\r\n FuelReleaseUser: {\r\n en_US: \"Fuel release by users\",\r\n ru_RU: \"Отпуск ГСМ по пользователям\"\r\n },\r\n FuleReleaseWithoutGroup: {\r\n en_US: \"Fuel release without grouping\",\r\n ru_RU: \"Отпуск ГСМ по контроллерам (без группировки)\"\r\n },\r\n GsmOperationLog:{\r\n en_US: \"GSM operation log\",\r\n ru_RU: \"Журнал качества связи\"\r\n },\r\n TankLidReadings:{\r\n en_US: \"Tank lid sensor readings\",\r\n ru_RU: \"Показания датчика крышки резервуара\"\r\n },\r\n CashDynamics:{\r\n en_US: \"Cash dynamics\",\r\n ru_RU: \"Приход и расход денег\"\r\n },\r\n FuelIntakController:{\r\n en_US: \"Fuel reception by controller\",\r\n ru_RU: \"Прием топлива на контроллере\"\r\n },\r\n FuelReceiptReport:{\r\n en_US: \"Fuel receipt report\",\r\n ru_RU: \"Отчет по поступлению топлива\"\r\n },\r\n FuelReceiptLog:{\r\n en_US: \"Fuel receipt log\",\r\n ru_RU: \"Журнал поступления топлива\"\r\n },\r\n FuelIntakOnController:{\r\n en_US: \"Fuel receipt report\",\r\n ru_RU: \"Поступление топлива на контроллере\"\r\n },\r\n ReportFuelIntake:{\r\n en_US: \"Fuel supply\",\r\n ru_RU: \"Поступление топлива\"\r\n },\r\n MaterialBalance:{\r\n en_US: \"Material balance\",\r\n ru_RU: \"Материальный баланс\"\r\n }\r\n \r\n};","import React, { useEffect, useState } from 'react';\nimport axios from 'axios';\nimport {AuthContext} from '../context/AuthContext';\n\nconst api = axios.create({\n //baseURL: \"https://localhost:44400\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n withCredentials:true\n});\n\napi.interceptors.request.use(\n (config) => {\n let token = localStorage.getItem(\"accessToken\");\n config.headers.Authorization = `Bearer ${token}`;\n return config;\n },\n (error) => {\n return Promise.reject(error);\n }\n);\n\n/*api.interceptors.response.use(\n (res) => {\n return res;\n },\n async (err) => {\n const originalConfig = err.config;\n console.log(\"ERRRORRR\")\n console.log(err)\n if (err.response.status === 401) {\n console.log(\"401\")\n }\n return Promise.reject(err);\n }\n);*/\n\nexport default api;\n","import React, { Component, useEffect, useContext, useState } from 'react';\r\nimport { Link } from 'react-router-dom';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { Button, Offcanvas, Form, Dropdown, DropdownButton } from 'react-bootstrap';\r\nimport logo from './../../img/benzamatlogo.png';\r\nimport LogoBenzapatPro from './../../img/white_bpro_logo.svg';\r\nimport ru from './../../img/russia.jpg';\r\nimport us from './../../img/us.jpg';\r\nimport axios from 'axios';\r\nimport './../../app.css';\r\nimport './../../style.css';\r\nimport './../../bootstrap.css';\r\nimport * as signalR from \"@microsoft/signalr\"\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { translations } from '../../lang/main';\r\nimport parse from \"html-react-parser\";\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const Header = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth, setIsAuth} = useContext(AuthContext);\r\n const [userAuth, setUserAuth] = useState({})\r\n const [role, setRole] = useState('')\r\n const [warningMessage, setWarningMessage] = useState({\r\n is_active:false,\r\n text:''\r\n })\r\n const [countMessages, setCountMessages] = useState(0)\r\n const translated = useLittera(translations);\r\n const methods = useLitteraMethods();\r\n\r\n const getCurrentAuth = () => {\r\n api.get('/api/users/current-auth', {\r\n withCrenditials: true\r\n })\r\n .then(function (response) {\r\n methods.setLocale(\"ru_RU\");\r\n console.log(\"auth user\")\r\n \r\n setUserAuth(response.data.currentAuth)\r\n\r\n setWarningMessage({\r\n is_active: response.data.messageIsActive,\r\n text: response.data.textMessage\r\n })\r\n\r\n if(response.data.currentAuth.roleId == 1)\r\n {\r\n setRole(translated.AdminWebService)\r\n }\r\n\r\n if(response.data.currentAuth.roleId == 2)\r\n {\r\n setRole(translated.Admin)\r\n }\r\n\r\n if(response.data.currentAuth.roleId == 3)\r\n {\r\n setRole(translated.MajorOperator)\r\n }\r\n\r\n if(response.data.currentAuth.roleId == 4)\r\n {\r\n setRole(translated.Operator)\r\n }\r\n\r\n if(response.data.currentAuth.roleId == 5)\r\n {\r\n setRole(translated.Driver)\r\n }\r\n \r\n createNotificationJob()\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n useEffect(() => {\r\n getCurrentAuth()\r\n }, [])\r\n\r\n const showMenu = () => {\r\n \r\n document.body.className = \"sidebar-enable\"\r\n let verticalButton = document.getElementById('vertical-menu-btn')\r\n\r\n if(verticalButton.classList.contains(\"isClick\"))\r\n {\r\n verticalButton.classList.remove(\"isClick\")\r\n document.body.classList.remove('sidebar-enable')\r\n }\r\n else\r\n {\r\n verticalButton.classList.add(\"isClick\")\r\n document.body.classList.add('sidebar-enable')\r\n }\r\n }\r\n\r\n const createNotificationJob = () => {\r\n api.post('/api/notifications/job/create', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"notification\")\r\n \r\n let job_id = response.data.dataResult\r\n \r\n let connection = new signalR.HubConnectionBuilder()\r\n .withUrl(\"/notification-progress\")\r\n .withAutomaticReconnect()\r\n .build();\r\n \r\n connection.on(\"notification-task\", (data, job_id) => {\r\n console.log(\"notification task job\")\r\n console.log(data + ' ' + job_id);\r\n setCountMessages(data)\r\n });\r\n \r\n connection.start()\r\n .then(() => connection.invoke(\"AssociateJob\", job_id))\r\n .catch(err => console.error(err.toString()));\r\n \r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const logOut = () => {\r\n localStorage.removeItem(\"accessToken\")\r\n router.push(\"/login\")\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 {\r\n warningMessage.is_active\r\n ?\r\n
\r\n \r\n {parse(warningMessage.text)}\r\n \r\n
\r\n : null\r\n } \r\n\r\n
\r\n\r\n \r\n router.push(\"/notifications\")} bsPrefix=\"none-toggle\" style={{border:'none'}} className=\"bg-white me-2 text-center mt-3 noti-icon\">\r\n \r\n \r\n \r\n \r\n {countMessages != 0 ? countMessages >= 99 ? \"99+\" : countMessages : null} \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {/*\r\n {userAuth.login}\r\n \r\n
\r\n {role}*/} \r\n
\r\n\r\n \r\n \r\n router.push(`/user/${userAuth.id}`)} className=\"benzamat-font-bold text-black ms-1\">\r\n {userAuth.login}\r\n
\r\n {role}\r\n
\r\n {/*\r\n \r\n router.push(`/user/${userAuth.id}`)}>{translated.settings}\r\n */}\r\n
\r\n logOut()}>\r\n \r\n {translated.Logout}\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 );\r\n\r\n}\r\n","export default __webpack_public_path__ + \"static/media/permission.89534a3c.svg\";","//en_US\n//ru_RU\nconst CurrentSelectLanguage = \"ru_RU\"\n\nexport {CurrentSelectLanguage}","import React, { useEffect, useState, Component } from 'react';\r\nimport { Link, NavLink } from 'react-router-dom';\r\nimport MetisMenu from '@metismenu/react';\r\nimport { Button, Tabs, Tab, Form, Spinner, Nav} from 'react-bootstrap';\r\nimport { Header } from './Header';\r\nimport axios from 'axios';\r\nimport './../../app.css';\r\nimport './../../style.css';\r\nimport './../../bootstrap.css';\r\nimport './../../icons.css';\r\nimport PermissionSvg from \"../../img/SVG/permission.svg\";\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { translations } from '../../lang/main';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const Menu = () => {\r\n\r\n const [modules, setModules] = useState([])\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [roleAdminWebService, setRoleAdminWebService] = useState(false)\r\n const [menuIsCollapsed, setMenuIsCollapsed] = useState(false)\r\n const translated = useLittera(translations);\r\n const methods = useLitteraMethods();\r\n\r\n const getCurrentAuth = () => {\r\n setIsLoading(true)\r\n api.get('/api/users/current-auth', {\r\n withCrenditials: true\r\n })\r\n .then(function (response) {\r\n console.log(response)\r\n methods.setLocale(CurrentSelectLanguage);\r\n if(response.data.currentAuth.roleId == 1) {\r\n setRoleAdminWebService(true)\r\n }\r\n response.data.permission.map((item, index) => {\r\n if(item) {\r\n let temp = renderMenu.find((i) => i.id === item.moduleId)\r\n if(temp){\r\n setModules(modules => [...modules, temp])\r\n }\r\n }\r\n })\r\n setIsLoading(false) \r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n useEffect(() => {\r\n console.log(CurrentSelectLanguage)\r\n methods.setLocale(CurrentSelectLanguage);\r\n getCurrentAuth() \r\n }, [])\r\n\r\n const hideMenu = () => {\r\n \r\n let textButtonHideMenu = document.getElementById(\"text-button-hide\")\r\n\r\n if(document.body.className == \"sidebar-enable vertical-collpsed\") \r\n {\r\n setMenuIsCollapsed(false)\r\n document.body.className = '';\r\n textButtonHideMenu.innerText = translated.hideMenu\r\n }\r\n else\r\n {\r\n setMenuIsCollapsed(true)\r\n document.body.className = \"sidebar-enable vertical-collpsed\";\r\n textButtonHideMenu.innerText = ''\r\n }\r\n }\r\n\r\n const renderMenu = [\r\n {\r\n id:1,\r\n label: translated.CompanyMenu,\r\n icon: \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ,\r\n link:\"/companies\",\r\n },\r\n {\r\n id:2,\r\n label: translated.stations,\r\n icon: \r\n \r\n \r\n \r\n ,\r\n link:\"/stations\",\r\n },\r\n {\r\n id:3,\r\n label: translated.controllers,\r\n icon: \r\n \r\n \r\n \r\n \r\n \r\n ,\r\n link:\"/controllers\",\r\n },\r\n {\r\n id:5,\r\n label: translated.users,\r\n icon: \r\n \r\n \r\n ,\r\n link:\"/users\",\r\n },\r\n {\r\n id:6,\r\n label: translated.transports,\r\n icon: \r\n \r\n ,\r\n link:\"/transports\",\r\n },\r\n {\r\n id:7,\r\n label:translated.FuelIntake,\r\n icon: \r\n \r\n \r\n ,\r\n link:\"#\",\r\n sub_links: [\r\n {\r\n label:translated.FuelReceiptLog,\r\n link:\"/pourings\"\r\n },\r\n {\r\n label:translated.FuelIntakOnController,\r\n link:\"/pouring-controllers\"\r\n },\r\n ]\r\n },\r\n {\r\n id:8,\r\n label:translated.analytics,\r\n icon: \r\n \r\n \r\n \r\n \r\n ,\r\n link:\"#\",\r\n sub_links: [\r\n {\r\n label:translated.LastFillings,\r\n link:\"/reports/fillings\"\r\n },\r\n {\r\n label:translated.ReadingsLevelMeter,\r\n link:\"/reports/level-meter\"\r\n },\r\n {\r\n label:translated.ChangePrices,\r\n link:\"/reports/change-prices\"\r\n },\r\n {\r\n label:translated.CashDynamics,\r\n link:\"/reports/prices\"\r\n },\r\n {\r\n label:translated.LogAllMessage,\r\n link:\"/reports/messages\"\r\n },\r\n {\r\n label:translated.GsmOperationLog,\r\n link:\"/reports/gsm-connects\"\r\n },\r\n {\r\n label:translated.LogAllActionUsers,\r\n link:\"/reports/actions\"\r\n },\r\n {\r\n label:translated.FuelIntakController,\r\n link:\"/reports/gsm-pouring-controllers\"\r\n },\r\n {\r\n label:translated.TankLidReadings,\r\n link:\"/reports/event-hatch-open-close\"\r\n },\r\n {\r\n label:translated.FuelReleaseMass,\r\n link:\"/reports/gsm-mass\"\r\n },\r\n {\r\n label:translated.FuelReleaseController,\r\n link:\"/reports/gsm-controllers\"\r\n },\r\n {\r\n label:translated.FuelReleaseUser,\r\n link:\"/reports/gsm-users\"\r\n },\r\n {\r\n label:translated.FuleReleaseWithoutGroup,\r\n link:\"/reports/gsm-not-grouping\"\r\n },\r\n {\r\n label:translated.TotalReleaseFuelController,\r\n link:\"/reports/gsm-sum-controllers\"\r\n },\r\n {\r\n label:translated.TotalReleaseFuelUser,\r\n link:\"/reports/gsm-sum-users\"\r\n },\r\n {\r\n label:translated.TotalReleaseFuelTransport,\r\n link:\"/reports/gsm-sum-transports\"\r\n },\r\n {\r\n label:translated.ReportFuelIntake,\r\n link:\"/reports/fuel-intake\"\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
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n\r\n {\r\n !isLoading\r\n ?\r\n \r\n
  • \r\n \r\n \r\n \r\n \r\n {translated.dashboard}\r\n \r\n
  • \r\n \r\n
  • {translated.generalMenuFunc}
  • \r\n \r\n {\r\n modules.filter((i) => i.id != 8 && i.id != 7 && i.id != 26).map((item) => (\r\n
  • \r\n \r\n {item.icon} \r\n {item.label}\r\n \r\n
  • \r\n )) \r\n }\r\n\r\n {/*
  • \r\n \r\n \r\n {translated.crm}\r\n \r\n
      \r\n {\r\n renderMenu.find((i) => i.id == 26).sub_links.map((link) => (\r\n
    • \r\n \r\n {link.label}\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 {translated.FuelIntake}\r\n \r\n
      \r\n {\r\n renderMenu.find((i) => i.id == 7).sub_links.map((link) => (\r\n
    • \r\n \r\n {link.label}\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 {translated.analytics}\r\n \r\n
      \r\n {\r\n renderMenu.find((i) => i.id === 8).sub_links.map((link) => (\r\n
    • \r\n \r\n {link.label}\r\n \r\n
    • \r\n ))\r\n }\r\n
    \r\n
  • \r\n\r\n {\r\n CurrentSelectLanguage == \"ru_RU\"\r\n ?\r\n <>\r\n
  • \r\n \r\n \r\n \r\n \r\n \r\n \r\n benzamatPay\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 : null\r\n }\r\n \r\n\r\n {\r\n roleAdminWebService\r\n ?\r\n <> \r\n
  • {translated.AdminMenuFunc}
  • \r\n
  • \r\n \r\n \r\n {translated.systemRole}\r\n \r\n
  • \r\n \r\n : null\r\n }\r\n\r\n {/*\r\n roleAdminWebService\r\n ?\r\n <>\r\n
  • \r\n \r\n \r\n \r\n \r\n \r\n {translated.logs}\r\n \r\n
  • \r\n \r\n : null\r\n */}\r\n\r\n\r\n {\r\n roleAdminWebService\r\n ? \r\n
  • \r\n \r\n \r\n \r\n \r\n \r\n \r\n {translated.dictionaries}\r\n \r\n
      \r\n
    • \r\n \r\n {translated.fuels}\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
    \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","import React, { useEffect, Component } from 'react';\nimport { Menu } from './Parts/Menu';\nimport { ToastContainer } from 'react-toastify/dist/react-toastify';\nimport { CurrentSelectLanguage } from '../helpers/language';\nimport { translations } from '../lang/main';\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\n\nconst Layout = ({children}) => {\n\n const translated = useLittera(translations);\n const methods = useLitteraMethods();\n React.useEffect(() => {\n methods.setLocale(CurrentSelectLanguage);\n }, [])\n\n return (\n <>\n \n \n
    \n
    \n
    \n
    \n {children}\n
    \n
    \n
    \n
    \n
    \n {translated.benzamatProWebService}\n
    \n
    \n
    \n \n );\n \n}\n\nexport default Layout;","import React from \"react\";\nimport { useLittera } from \"@assembless/react-littera\";\n\nexport const DashboardTranslate = {\n ObjectNotFound:{\n en_US: \"Object not found\",\n ru_RU: \"Объекты еще не добавлены\"\n },\n Unknow:{\n en_US: \"Unknow\",\n ru_RU: \"Не указано\"\n },\n StationOnTheMap:{\n en_US: \"Stations on the map\",\n ru_RU: \"Размещение объектов на карте\"\n },\n User:{\n en_US: \"User\",\n ru_RU: \"Пользователь\"\n },\n FillingDate:{\n en_US: \"Filling date\",\n ru_RU: \"Дата налива\"\n },\n Fuel:{\n en_US: \"Fuel\",\n ru_RU: \"Топливо\"\n },\n Liters:{\n en_US: \"Liters\",\n ru_RU: \"Литры\"\n },\n Controller:{\n en_US: \"Controller\",\n ru_RU: \"Контроллер\"\n },\n Controllers:{\n en_US: \"Controllers\",\n ru_RU: \"Контроллеры\"\n },\n More:{\n en_US: \"More\",\n ru_RU: \"Подробнее\"\n },\n Actions:{\n en_US: \"Actions\",\n ru_RU: \"Действия\"\n },\n LastFillings:{\n en_US: \"Last fillings today\",\n ru_RU: \"Последние заправки\"\n },\n OpenTheMap:{\n en_US: \"Open the map\",\n ru_RU: \"Показать на карте\"\n },\n Fuel:{\n en_US: \"Fuel\",\n ru_RU: \"Топливо\"\n },\n Volume:{\n en_US: \"Volume\",\n ru_RU: \"Объем\"\n },\n CurrentVolume:{\n en_US: \"Current volume\",\n ru_RU: \"Текущий объем\"\n },\n Occupancy:{\n en_US: \"Occupancy\",\n ru_RU: \"Заполненность\"\n },\n OnConnect:{\n en_US: \"Connect\",\n ru_RU: \"На связи\"\n },\n Disconnect:{\n en_US: \"Disconnect\",\n ru_RU: \"Без связи\"\n },\n ControllerConnectMessage:{\n en_US: \"Information on controllers about the availability of communication and a valid license\",\n ru_RU: \"Информация по контроллерам о наличии связи и действующей лицензии\"\n },\n LicenseActive:{\n en_US: \"Active\",\n ru_RU: \"Действует\"\n },\n LicenseDisable:{\n en_US: \"Disable\",\n ru_RU: \"Отключена\"\n },\n FuelRelease:{\n en_US: \"Fuel release\",\n ru_RU: \"Отпуск топлива\"\n },\n UserAndTransport:{\n en_US: \"Users and transports\",\n ru_RU: \"Пользователи и транспорт\"\n },\n Users:{\n en_US: \"Users\",\n ru_RU: \"Пользователи\"\n },\n Transports:{\n en_US: \"Transports\",\n ru_RU: \"Транспорт\"\n },\n Day:{\n en_US: \"Day\",\n ru_RU: \"День\"\n },\n Month:{\n en_US: \"Month\",\n ru_RU: \"Месяц\"\n },\n Companies:{\n en_US: \"Companies\",\n ru_RU: \"Компании\"\n },\n CompanyActive:{\n en_US: \"Active\",\n ru_RU: \"Активные\"\n },\n CompanyBlocked:{\n en_US: \"Blocked\",\n ru_RU: \"Заблокированы\"\n },\n FuelIntake:{\n en_US: \"Fuel intake\",\n ru_RU: \"Поступление топлива\"\n }\n};\n","import React from \"react\";\nimport { useLittera } from \"@assembless/react-littera\";\n\nexport const TranslateSection = {\n\n Name:{\n en_US: \"Name\",\n ru_RU: \"Название\"\n },\n Fuel:{\n en_US: \"Fuel\",\n ru_RU: \"Топливо\"\n },\n AllVolume:{\n en_US: \"All volume\",\n ru_RU: \"Полный объем\"\n },\n CurrentVolume:{\n en_US: \"Volume\",\n ru_RU: \"Текущий объем\"\n },\n Occupancy:{\n en_US: \"Occupancу\",\n ru_RU: \"Заполненность\"\n },\n Actions:{\n en_US: \"Actions\",\n ru_RU: \"Действия\"\n },\n TRK:{\n en_US: \"DU\",\n ru_RU: \"ТРК\"\n },\n Dispenser:{\n en_US: \"Dispenser\",\n ru_RU: \"Рукав\"\n },\n AddSection:{\n en_US: \"Add section\",\n ru_RU: \"Добавление секции\"\n },\n Edit:{\n en_US: \"Edit section\",\n ru_RU: \"Изменение данных\"\n },\n Empty:{\n en_US: \"Empty\",\n ru_RU: \"Не указано\"\n },\n Height:{\n en_US: \"Height\",\n ru_RU: \"Высота, см\"\n },\n MinLevel:{\n en_US: \"Min. Level\",\n ru_RU: \"Мин. уровень, см\"\n },\n MaxLevel:{\n en_US: \"Max. Level\",\n ru_RU: \"Макс. уровень, см\"\n },\n MinVolume:{\n en_US: \"Min. Level\",\n ru_RU: \"Мин. объем, л\"\n },\n MaxVolume:{\n en_US: \"Max. Volume\",\n ru_RU: \"Макс. объем, л\"\n },\n FullVolume:{\n en_US: \"Full volume\",\n ru_RU: \"Полный объем, л\"\n },\n SaveChanges:{\n en_US: \"Save changes\",\n ru_RU: \"Сохранить\"\n },\n LevelMeter:{\n en_US: \"Level meter\",\n ru_RU: \"Уровнемер\"\n },\n};\n","import React, { useState, useMemo, Component } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport Layout from './../../components/Layout';\r\nimport { Button, Card, Table, Badge, Modal, ListGroup, Accordion, DropdownButton, Dropdown, ProgressBar, Tabs, Tab, Form, Spinner, Nav} from 'react-bootstrap';\r\nimport { YMaps, Map, Placemark, GeoObject, TypeSelector, ListBoxItem, ListBox } from '@pbe/react-yandex-maps';\r\nimport MaterialReactTable from 'material-react-table';\r\nimport { MRT_Localization_RU } from 'material-react-table/locales/ru';\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport moment from 'moment/moment';\r\nimport axios from 'axios';\r\nimport Skeleton from 'react-loading-skeleton'\r\nimport tank100 from \"../../img/tanks/black/64/barrel-black-green-100.png\";\r\nimport tank90 from \"../../img/tanks/black/64/barrel-black-green-090.png\";\r\nimport tank80 from \"../../img/tanks/black/64/barrel-black-green-080.png\";\r\nimport tank70 from \"../../img/tanks/black/64/barrel-black-green-070.png\";\r\nimport tank60 from \"../../img/tanks/black/64/barrel-black-green-060.png\";\r\nimport tank50 from \"../../img/tanks/black/64/barrel-black-green-050.png\";\r\nimport tank40 from \"../../img/tanks/black/64/barrel-black-yellow-040.png\";\r\nimport tank30 from \"../../img/tanks/black/64/barrel-black-yellow-030.png\";\r\nimport tank20 from \"../../img/tanks/black/64/barrel-black-red-020.png\";\r\nimport tank10 from \"../../img/tanks/black/64/barrel-black-red-010.png\";\r\nimport tank_black from \"../../img/tanks/black/64/barrel-black.png\";\r\nimport { DashboardTranslate } from '../../lang/dashboard';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport { TranslateSection } from '../../lang/stations/translateSection';\r\nimport api from '../../utils/axiosInterceptions';\r\nimport { Chart as ChartJS } from 'chart.js/auto'\r\nimport zoomPlugin from 'chartjs-plugin-zoom';\r\nimport {\r\n CategoryScale,\r\n LinearScale,\r\n PointElement,\r\n LineElement,\r\n Title,\r\n Tooltip,\r\n Filler,\r\n Legend,\r\n } from 'chart.js';\r\nimport { Doughnut, Bar } from 'react-chartjs-2'\r\n\r\nconst Dashboard = () => {\r\n\r\n const router = useHistory();\r\n const [fillings, setFillings] = useState([])\r\n const [listStations, setListStations] = useState([])\r\n const [placeMarks, setPlaceMarks] = useState([])\r\n const translated = useLittera(DashboardTranslate);\r\n const translatedSection = useLittera(TranslateSection);\r\n const [centerMap, setCenterMap] = useState([0, 0])\r\n const methods = useLitteraMethods();\r\n const [isLoading, setIsLoading] = useState(true)\r\n const [modalSection, setModalSection] = useState(false)\r\n const [dashboardData, setDashboardData] = useState({\r\n countControllers:0,\r\n countControllerActiveLicense:0,\r\n countControllerDisableLicense:0,\r\n countControllerConnect:0,\r\n countControllerDisconnect:0,\r\n countUsers:0,\r\n countTransports:0,\r\n countActiveCompanies:0,\r\n countDisableCompanies:0,\r\n sumDayLitres:0,\r\n sumMonthLitres:0,\r\n sumMonthPouringLitres:0,\r\n sumDayPouringLitres:0\r\n })\r\n const [bar, setBar] = useState({\r\n labels:[],\r\n datasets: [\r\n {\r\n data: [],\r\n backgroundColor: 'rgba(255, 99, 132, 1)',\r\n },\r\n ],\r\n })\r\n const [barPouring, setBarPouring] = useState({\r\n labels:[],\r\n datasets: [\r\n {\r\n data: [],\r\n backgroundColor: 'rgba(255, 99, 132, 1)',\r\n },\r\n ],\r\n })\r\n const [selectedSection, setSelectedSection] = useState({\r\n name:'',\r\n fuel:null,\r\n fuelBalance:0,\r\n allVolume:0,\r\n currentVolume:0,\r\n })\r\n\r\n const placeMark = {\r\n geometry: [56.848217, 53.236675],\r\n properties:{\r\n balloonContentBody:\"\",\r\n },\r\n options:{\r\n iconLayout: 'default#image',\r\n iconImageHref: tank_black,\r\n iconImageSize: [64, 64],\r\n }\r\n }\r\n\r\n const columns = useMemo(\r\n () => [\r\n {\r\n accessorFn: (row) => row.firstname != \"\" && row.lastname != \"\" && row.firstname != null && row.lastname != null\r\n ? row.firstname + ' ' + row.lastname\r\n : \"Не указано\",\r\n id: 'userName',\r\n header: translated.User,\r\n },\r\n {\r\n accessorFn: (row) => moment(row.fillingDateTime).format(\"DD.MM.YYYY HH:mm\"),\r\n id: 'date',\r\n header: translated.FillingDate,\r\n },\r\n {\r\n accessorFn: (row) => row.fuelName != \"\" && row.fuelName != null ? row.fuelName : translated.Unknow,\r\n id: 'fuel',\r\n header: translated.Fuel,\r\n },\r\n {\r\n accessorFn: (row) => row.countLitre,\r\n id: 'liters',\r\n header: translated.Liters,\r\n },\r\n {\r\n accessorFn: (row) => row.controllerName,\r\n id: 'controllerName',\r\n header: translated.Controller,\r\n }\r\n ],\r\n [],\r\n );\r\n\r\n const getProgressBar = (volume, fuel, section) => {\r\n \r\n let success = `${section} (${fuel})`+\r\n `
    `+ \r\n `${volume}%` +\r\n `
    `;\r\n\r\n let danger = `${section} (${fuel})`+\r\n `
    `+ \r\n `${volume}%` +\r\n `
    `;\r\n\r\n let warning = `${section} (${fuel})`+\r\n `
    `+ \r\n `${volume}%` +\r\n `
    `;\r\n\r\n let none = `${section} (${fuel})`+\r\n `
    `+ \r\n `0%` +\r\n `
    `;\r\n\r\n let html = ''\r\n if(volume >= 50 && volume <= 100){\r\n html += success;\r\n }\r\n\r\n if(volume >= 30 && volume <= 49)\r\n {\r\n html += warning;\r\n }\r\n\r\n if(volume < 30 && volume > 0)\r\n {\r\n html += danger;\r\n }\r\n\r\n if(volume == 0)\r\n {\r\n html += none;\r\n }\r\n\r\n return html;\r\n }\r\n\r\n const getTankLevelImage = (balance) => {\r\n \r\n if(balance == 100) {\r\n return tank100\r\n } else if(balance < 100 && balance >= 90) {\r\n return tank90\r\n } else if(balance < 90 && balance >= 80) {\r\n return tank80\r\n } else if(balance < 80 && balance >= 70) {\r\n return tank70\r\n } else if(balance < 70 && balance >= 60) {\r\n return tank60\r\n } else if(balance < 60 && balance >= 50) {\r\n return tank50\r\n } else if(balance < 50 && balance >= 40) {\r\n return tank40\r\n } else if(balance < 40 && balance >= 30) {\r\n return tank30\r\n } else if(balance < 30 && balance >= 20) {\r\n return tank20\r\n } else {\r\n return tank10\r\n } \r\n\r\n }\r\n\r\n const user = () => {\r\n let token = localStorage.getItem(\"accessToken\")\r\n api.get('/api/users/dashboard', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"dashboard\")\r\n console.log(response)\r\n\r\n setDashboardData({\r\n countControllers:response.data.dataResult.countControllers,\r\n countControllerActiveLicense:response.data.dataResult.countControllerActiveLicense,\r\n countControllerDisableLicense:response.data.dataResult.countControllerDisableLicense,\r\n countControllerConnect:response.data.dataResult.countControllerConnect,\r\n countControllerDisconnect:response.data.dataResult.countControllerDisconnect,\r\n countUsers:response.data.dataResult.countUsers,\r\n countTransports: response.data.dataResult.countTransports,\r\n countActiveCompanies: response.data.dataResult.countActiveCompanies,\r\n countDisableCompanies: response.data.dataResult.countDisableCompanies,\r\n sumDayLitres: response.data.dataResult.sumDayLitres,\r\n sumMonthLitres: response.data.dataResult.sumMonthLitres,\r\n sumDayPouringLitres: response.data.dataResult.sumDayPouringLitres,\r\n sumMonthPouringLitres: response.data.dataResult.sumMonthPouringLitres\r\n })\r\n\r\n let array_donut_series = []\r\n let array_bar_labels = []\r\n\r\n if(response.data.dataResult.fillingGraphics.length != 0)\r\n {\r\n response.data.dataResult.fillingGraphics.map((item) => {\r\n array_donut_series.push(item.sumLitres)\r\n array_bar_labels.push(item.date)\r\n })\r\n \r\n setBar(\r\n {\r\n labels:array_bar_labels,\r\n datasets: [\r\n {\r\n label:\"Литры\",\r\n data: array_donut_series,\r\n backgroundColor: 'rgba(0, 70, 128, 1)',\r\n },\r\n ],\r\n }\r\n )\r\n }\r\n\r\n let array_donut_pouring_series = []\r\n let array_bar_pouring_labels = []\r\n\r\n if(response.data.dataResult.pouringGraphics.length != 0)\r\n {\r\n response.data.dataResult.pouringGraphics.map((item) => {\r\n array_donut_pouring_series.push(item.sumLitres)\r\n array_bar_pouring_labels.push(item.date)\r\n })\r\n \r\n setBarPouring(\r\n {\r\n labels:array_bar_pouring_labels,\r\n datasets: [\r\n {\r\n label:\"Литры\",\r\n data: array_donut_pouring_series,\r\n backgroundColor: 'rgba(0, 70, 128, 1)',\r\n },\r\n ],\r\n }\r\n )\r\n }\r\n\r\n setListStations(response.data.dataResult.stations)\r\n setFillings(response.data.dataResult.fillings)\r\n let stations_with_sections = []\r\n if(response.data.dataResult.stations.length != 0)\r\n { \r\n response.data.dataResult.stations.map(item => { \r\n\r\n let html_baloon = ''\r\n\r\n if(item.sections != null)\r\n {\r\n item.sections.map((stat => { \r\n html_baloon += getProgressBar(stat.fuelBalance.toFixed(2), stat.fuel.name, stat.name) \r\n }))\r\n }\r\n\r\n let station = {\r\n geometry: [item.lantitude, item.longtitude],\r\n properties:{\r\n // Зададим содержимое заголовка балуна.\r\n balloonContentHeader: item.name,\r\n // Зададим содержимое основной части балуна.\r\n balloonContentBody: html_baloon,\r\n\r\n // Зададим содержимое нижней части балуна.\r\n balloonContentFooter: `${item.description}`,\r\n // Зададим содержимое всплывающей подсказки.\r\n hintContent: item.description\r\n },\r\n options:{\r\n iconLayout: 'default#image',\r\n iconImageHref: getTankLevelImage(item.currentFuelVolume),\r\n iconImageSize: [35, 35],\r\n }\r\n }\r\n stations_with_sections.push(station)\r\n\r\n })\r\n\r\n setPlaceMarks(stations_with_sections)\r\n setCenterMap([response.data.dataResult.stations[0].lantitude, response.data.dataResult.stations[0].longtitude ])\r\n }\r\n\r\n setIsLoading(false)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n }); \r\n }\r\n\r\n React.useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage)\r\n user()\r\n }, [])\r\n\r\n const optionsTest = {\r\n responsive: true,\r\n animation:false,\r\n plugins: {\r\n legend: {\r\n display: false,\r\n position: 'bottom',\r\n },\r\n zoom: {\r\n zoom: {\r\n wheel: {\r\n enabled: true,\r\n },\r\n pinch: {\r\n enabled: true\r\n },\r\n mode: 'xy',\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 {translated.StationOnTheMap}\r\n {listStations.length}\r\n

    \r\n
    \r\n \r\n
    \r\n {\r\n isLoading\r\n ?\r\n \r\n :\r\n \r\n \r\n \r\n {\r\n placeMarks.length != 0\r\n ?\r\n placeMarks.map((item, index) => (\r\n \r\n ))\r\n : null\r\n }\r\n \r\n \r\n }\r\n \r\n
    \r\n
    \r\n {\r\n isLoading\r\n ?\r\n \r\n :\r\n \r\n {\r\n listStations.length != 0\r\n ?\r\n listStations.map((item) => (\r\n \r\n \r\n {item.name}\r\n \r\n

    {item.description}

    \r\n \r\n { \r\n i.id)} alwaysOpen>\r\n {\r\n item.sections.map((section) => (\r\n <>\r\n \r\n {section.name} ({section.fuel.name})\r\n \r\n
    \r\n {translated.Fuel}: {section.fuel.name}\r\n {translated.Volume}: {section.volume}\r\n {translated.CurrentVolume}: {section.fuelLitreBalance.toFixed(2)}\r\n {translated.Occupancy}: {section.fuelBalance.toFixed(2)}%\r\n
    \r\n
    \r\n
    \r\n \r\n )) \r\n }\r\n
    \r\n }\r\n \r\n \r\n \r\n {translated.Actions}\r\n \r\n\r\n \r\n {\r\n setCenterMap([item.lantitude, item.longtitude])\r\n }}>\r\n {translated.OpenTheMap}\r\n \r\n router.push(`/station/${item.id}`)}>\r\n {translated.More}\r\n \r\n \r\n \r\n
    \r\n ))\r\n : \r\n \r\n \r\n {translated.ObjectNotFound}\r\n \r\n \r\n }\r\n\r\n
    \r\n }\r\n
    \r\n\r\n
    \r\n
    \r\n {\r\n isLoading\r\n ? \r\n :\r\n
    \r\n
    \r\n

    {translated.Controllers} {dashboardData.countControllers}

    \r\n
    \r\n
    \r\n {translated.ControllerConnectMessage} \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    {translated.OnConnect}
    \r\n

    {dashboardData.countControllerConnect}

    \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

    {translated.Disconnect}

    \r\n

    {dashboardData.countControllerDisconnect}

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n

    {translated.LicenseActive}

    \r\n

    {dashboardData.countControllerActiveLicense}

    \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

    {translated.LicenseDisable}

    \r\n

    {dashboardData.countControllerDisableLicense}

    \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 isLoading\r\n ? \r\n :\r\n
    \r\n
    \r\n

    {translated.FuelRelease}

    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n

    {translated.Day}

    \r\n

    {dashboardData.sumDayLitres}

    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n

    {translated.Month}

    \r\n

    {dashboardData.sumMonthLitres}

    \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 isLoading\r\n ? \r\n :\r\n
    \r\n
    \r\n

    {translated.UserAndTransport}

    \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
    {translated.Users}
    \r\n

    {dashboardData.countUsers}

    \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

    {translated.Transports}

    \r\n

    {dashboardData.countTransports}

    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n }\r\n
    \r\n\r\n
    \r\n {\r\n isLoading\r\n ? \r\n :\r\n
    \r\n
    \r\n

    {translated.Companies}

    \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
    {translated.CompanyActive}
    \r\n

    {dashboardData.countActiveCompanies}

    \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

    {translated.CompanyBlocked}

    \r\n

    {dashboardData.countDisableCompanies}

    \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 isLoading\r\n ? \r\n :\r\n
    \r\n
    \r\n

    {translated.FuelIntake}

    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n

    {translated.Day}

    \r\n

    {dashboardData.sumDayPouringLitres}

    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n

    {translated.Month}

    \r\n

    {dashboardData.sumMonthPouringLitres}

    \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

    Controllers 125

    \r\n
    \r\n
    \r\n Information on controllers about the presence of communication and a valid license \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    Connect
    \r\n

    10

    \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

    Disconnect

    \r\n

    2

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n

    Active

    \r\n

    10

    \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

    Disable

    \r\n

    5

    \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

    Notifications

    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Update
    \r\n

    benzamatPro was updated

    \r\n
    \r\n
    20.10.24
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Controller's connect
    \r\n

    Error with controller connect

    \r\n
    \r\n
    20.10.24
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Support
    \r\n

    User manual was updated

    \r\n
    \r\n
    20.10.24
    \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 {translated.LastFillings}\r\n

    \r\n
    \r\n
    \r\n {\r\n isLoading\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\nexport default Dashboard;\r\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4AMVFCgLK1cQ0QAABT9JREFUeNrtmltsVEUYx38ze6MtA6XAUibh0tIi8QaItCY1XoKEgDeiTyRG+0bwxdj6ju9GXwn4QPVBnzTGCxeR2KCGXohoVDRYqmAcdRECHMq2lJ7x4Zytpd3Tdns77XJ+jzvf7nz/b+fMme/7BiIiIiLuYMR4DbXWABVAGWCnYN4bwCVjTKgBiBdgK4G9wE7g1hTM+zHwCuDOlQAApIGVUzR3OkzhOWSB9pNd+rOOcQfAGOMCPwPXp2DeHuAMIS9/gFghxkqpDuAksARYQwGbqI8FjgCvAu8ZYya7l0yaQgUAoLV+GDgMzC/wqz3AdmPMV2ELz1HoHpCjn4ktX9f/7qxh1LeA/+5PA/cDa/H+cRdYBSQnMF8SeMFfQRMN/ni4DvwKfA9kRjtrBD4CWusK4EXgJeAuoGQaHZ4OeoFfgHeAd40xl8cdAK313cAbwDYK3ChnIQPA58BrxpgzwwdHiNNa3we0AI8yvct0ppBALVCvlGpzHCcTGADtPfRvAw1hez0NaGCdUuqY4zjOiABorePA68CusD2dRqqAmFLquOM4Lty+xB8DGsP2cAZo9LUyGACtdQmwBygP27sZoBzY42seXAGbgS1hezaDbPE1Dx6EdgILAaSUVFdXU1NTQyqVCtvRKaGvr4+uri66u7txXRdf67PAibjWuhL/mUgkEjQ2NrJ7927S6TRSSqyd2xmwEALXdclkMhw4cICDBw/S398P8LjWujIOrMfL7GhoaKC5uRk3Zfk6007PrR5EnrOSxZKKpXgo/SAAbZlT9A305bUFiMs49elNJGW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z73gXGR7w3reWDIU5OBjinieVzAXyCpqrR07ctvnkpuuTyUrpaS6uhohBJlMJscITjhAN/44sKqnpwfXdalIP49Ud2KnSYdJrgIgfv+L49Lh+nqH1obx6XBlZSWJRIIdO3ZMmw7X1NSQTCbZvn37tOlwKpXCcRy2bt06bTrsui7d3d3Zyy7QLYIFkS+AjfF4nLa2NnaV6ILI/v376ejoyC6IHAeeEQBa63eBdvDDpb6+noaGhlJeEgN4zxizJ+uAx/D37KwOW9lF4hrwrDHmaHYq3AscCVurReRIYLO/LG6MyQD7gKtha7YIXAX2BTaPqwx14RdFS52OwFYgpzbouq6nlPoVaMKvoZUi3+GXya9NckDgBFcp9TN+1USHre088xOw2xjze+7FScu+ruv2K6W+x4+CdSz9PQKjwFfA68aYUxNv5l33dl33slKqEz9RWotfUIyHbUmR3ARO4u902WuM+TOf0JTLYcEmqTX41aPsJqmlwIw3SUVERERERERERERERCxL/gOCxb3g+6FQpQAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxNi0wMy0yMVQyMzoyNjowNiswMzowMKk5eYEAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTYtMDItMjRUMjM6Mzg6MjYrMDM6MDDovXR9AAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAABJRU5ErkJggg==\"","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4AMVFCgKXFAgRwAABTZJREFUeNrtml1sFFUUgL97O92lPxfappTNTahp3aoxCKXB8lCCGgiiJJUYXkyM9o3gi7H1Hd+NvhIwptUH34xJE7QqDQ3GaLtENCoSrIT4cKOlNtC7uPRvxoeZraXdbbv9G7rMlzRNZs7ce87Z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hCQPYGbZyIRI38J//+xRpAKXxsl8blsEa1wVLBKMU8v31eYASLHYUgWMAM2FrESKzBmCvu5nti20A/4StRYj8bQDjSw5v8wwwHwWy2nETuIiXG4tMJgNCYO7Y4U0dvdwZF3AdB9d1cfyGHP9/7u9CqbOfg2cVcRynYC4QtBG0F8jnIzddX07WMAzq6+sRQpDJZLJdAT+awBjeOFCTTCaxbZu6oy9i7dp1VzrcaVmoRemwlN4ksqenZ8V0uLa2FsuyOHLkyIrpcENDA7FYjMOHD6+YDsfjcUzT5ODBgyumw7ZtMzY2Fhy2gTHhL4h8Cuwt9QWR06dPMzg4GCyIXASeFwBKqXeAPvDCpbm5mdbW1lJeEgN4V2vdHzjgSbw9Ow+ErewWcRPo0VpfCKbCKWAkbK22kBHfZm9ZXGudAU4BN8LWbAu4AZzybb6rMjSKVxQtdQZ9W4Gc2qBt246U8megA6+GVoqcxyuT31ziAN8JtpTyB7yqiQpb2w3me+CE1vrP3INL9gfYtj0hpfwGLwpa2P57BBaAz4HXtNa/Lj6Zd/eHbdvXpZTDeInSTryCYnnYlhTJbeAXvJ0uJ7XWf+UTWnY5zN8ktQOvehRsktoOrHqTVERERERERERERERExH3J/4vYxOca+0i/AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE2LTAzLTIxVDIzOjI2OjA2KzAzOjAwqTl5gQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNi0wMi0yNFQyMzozODoyNiswMzowMOi9dH0AAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC\"","import React, { useContext, useState, useEffect } from 'react';\nimport { NavLink, useHistory, useParams } from 'react-router-dom';\nimport { Button, Offcanvas, Form, Badge, Spinner } from 'react-bootstrap';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport './../../boxicons.css';\nimport Select from 'react-select';\nimport api from '../../utils/axiosInterceptions';\n\nexport const CompanyFormAdd = ({translated, companyData, IsParent, setCompanyService ,addCompanyInList, setCountCompanies}) => {\n\nconst params = useParams();\nconst { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\nconst [listTimezone, setListTimezone] = useState([])\nconst [loadingData, setLoadingData] = useState({\n button:false,\n});\n\nconst onSubmit = data => {\n console.log(data)\n setLoadingData({button:true})\n api.post('/api/company/create', {\n Name: data.Name,\n INN: data.INN,\n KPP: data.KPP,\n OGRN: data.OGRN,\n Address: data.Address,\n MailAddress: data.MailAddress,\n IsParent: IsParent,\n CompanyServiceId: companyData === undefined ? 0 : companyData.id\n })\n .then(function (response) {\n \n setLoadingData({button:false})\n displayToast(response.data.message, response.data.isSuccess);\n\n if(IsParent) {\n addCompanyInList(response.data.listDatas);\n setCountCompanies(response.data.listDatas.length);\n } else {\n setCompanyService(response.data.listDatas)\n }\n\n reset({\n Name:'',\n INN:'',\n OGRN:'',\n KPP:'',\n Address:'',\n MailAddress:'',\n })\n })\n .catch(function (error) {\n console.log(error);\n });\n}\n\nconst displayToast = (message, status) => {\n\n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n}\n\nreturn (\n <>\n
    \n \n \n {translated.Name} *\n \n {errors.Name && \n {errors.Name.message}\n }\n \n\n \n {translated.TIN} *\n \n {errors.INN && \n {errors.INN.message}\n }\n \n\n \n {translated.OGRN} *\n \n {errors.OGRN && \n {errors.OGRN.message}\n }\n \n\n \n {translated.KPP} \n \n {errors.KPP && \n {errors.KPP.message}\n }\n \n\n \n {translated.LegalAddress} *\n \n {errors.Address && \n {errors.Address.message}\n }\n \n\n \n {translated.MailAddress} *\n \n {errors.MailAddress && \n {errors.MailAddress.message}\n }\n \n \n
    \n \n
    \n \n
    \n \n )\n}","import React from \"react\";\nimport { useLittera } from \"@assembless/react-littera\";\n\nexport const TranslateCompanyModule = {\n\n Companies: {\n en_US: \"Companies\",\n ru_RU: \"Компании\"\n },\n Name:{\n en_US: \"Name\",\n ru_RU: \"Название\"\n },\n CreatedDate:{\n en_US: \"Created date\",\n ru_RU: \"Дата добавления\"\n },\n IsBlocked:{\n en_US: \"Blocked\",\n ru_RU: \"Заблокирована\"\n },\n CompanyIsActive:{\n en_US: \"Active\",\n ru_RU: \"Активна\"\n },\n CompanyIsBlocked:{\n en_US: \"Blocked\",\n ru_RU: \"Заблокирована\"\n },\n CompanyType:{\n en_US: \"Type\",\n ru_RU: \"Вид компании\"\n },\n CompanyIsClient:{\n en_US: \"Client\",\n ru_RU: \"Клиент\"\n },\n CompanyIsVendor:{\n en_US: \"Oil Trader\",\n ru_RU: \"Нефтетрейдер\"\n },\n Actions:{\n en_US: \"Actions\",\n ru_RU: \"Действия\"\n },\n AddCompany:{\n en_US: \"Add company\",\n ru_RU: \"Добавить компанию\"\n },\n AddCompanyProgress:{\n en_US: \"Creating company\",\n ru_RU: \"Добавление компании\"\n },\n CreateCompany:{\n en_US: \"Create company\",\n ru_RU: \"Добавление компании\"\n },\n LegalInfo:{\n en_US: \"Legal information\",\n ru_RU: \"Юридическая информация\"\n },\n LegalAddress:{\n en_US: \"Legal address\",\n ru_RU: \"Юридический адрес\"\n },\n BIK:{\n en_US: \"BIK\",\n ru_RU: \"БИК\"\n },\n EnterBIK:{\n en_US: \"Enter BIK (up to 9 symbols)\",\n ru_RU: \"Введите БИК (до 9 цифр)\"\n },\n EnterLegalAddress: {\n en_US: \"Enter legal address (up to 800 symbols)\",\n ru_RU: \"Введите юридический адрес (до 800 символов)\"\n },\n EnterMailAddress: {\n en_US: \"Enter mail address (up to 800 sybmols)\",\n ru_RU: \"Введите почтовый адрес (до 800 символов)\"\n }, \n MailAddress:{\n en_US: \"Mail address\",\n ru_RU: \"Почтовый адрес\"\n },\n OGRN:{\n en_US: \"OGRN\",\n ru_RU: \"ОГРН\"\n },\n EnterOGRN:{\n en_US: \"Enter OGRN (13-15 symbols)\",\n ru_RU: \"Введите ОГРН (13-15 цифр)\"\n },\n KPP:{\n en_US: \"KPP\",\n ru_RU: \"КПП\"\n },\n EnterKPP:{\n en_US: \"Enter KPP (up to 9 symbols)\",\n ru_RU: \"Введите КПП (до 9 цифр)\"\n },\n EnterName:{\n en_US: \"Enter name (up to 500 symbols)\",\n ru_RU: \"Введите название (до 500 символов)\"\n },\n TIN:{\n en_US: \"TIN\",\n ru_RU: \"ИНН\"\n },\n EnterINN: {\n en_US: \"Enter TIN (10-12 digits)\",\n ru_RU: \"Введите ИНН (10-12 цифр)\"\n },\n Required:{\n en_US: \"Required\",\n ru_RU: \"Обязательное поле\"\n },\n MaxLenghtString: (number) => ({\n en_US: `Max length is ${number} symbols`,\n ru_RU: `Максимальная длина ${number} символов`\n }),\n MinLengthString: (number) => ({\n en_US: `Min length is ${number} symbols`,\n ru_RU: `Минимальная длина ${number} символов`\n }),\n MaxNumber: (number) => ({\n en_US: `Max length is ${number} symbols`,\n ru_RU: `Максимальная длина ${number} символов`\n }),\n MinNumber: (number) => ({\n en_US: `Min length is ${number} symbols`,\n ru_RU: `Минимальная длина ${number} символов`\n }),\n AccessDenied:{\n en_US: \"Access denied\",\n ru_RU: \"У вас недостаточно прав доступа для просмотра информации к данному разделу\"\n },\n Title: {\n en_US: `Company`,\n ru_RU: `Компания`\n },\n Unlock: {\n en_US: `Unlock`,\n ru_RU: `Разблокировать`\n },\n Block: {\n en_US: `Block`,\n ru_RU: `Заблокировать`\n },\n General: {\n en_US: `General`,\n ru_RU: `Информация`\n },\n Balance: {\n en_US: `Balance`,\n ru_RU: `Баланс`\n },\n Users: {\n en_US: `Users`,\n ru_RU: `Пользователи`\n },\n Stations: {\n en_US: `Stations`,\n ru_RU: `Станции`\n },\n Fuels: {\n en_US: `Fuels`,\n ru_RU: `Виды топлива`\n },\n Clients: {\n en_US: `Clients`,\n ru_RU: `Клиентские компании`\n },\n API: {\n en_US: `API`,\n ru_RU: `API`\n },\n WarningApiKey: {\n en_US: \"Attention! Do not share this key with third parties. If it was stolen, update it by clicking on the button below\",\n ru_RU: \"Внимание! Не передавайте данный ключ третьим лицам. В случае если его украли, обновите его нажав на кнопку ниже\"\n },\n ChangeApiButton:{\n en_US: \"Change API key\",\n ru_RU: \"Сменить API-ключ\"\n },\n CompanyIsBlockAlert: {\n en_US: `Company is blocked`,\n ru_RU: `Компания заблокирована. Дальнейшая работа невозможна`\n },\n SignalStep: {\n en_US: `Singnal step`,\n ru_RU: `Сигнальный порог`\n },\n BankName: {\n en_US: `Name of bank`,\n ru_RU: `Банк`\n },\n RatedAccount: {\n en_US: `Rated account`,\n ru_RU: `Расчетный счет`\n },\n EnterRatedAccount: {\n en_US: `Enter rated account (up to 20 sybmols)`,\n ru_RU: `Введите номер (до 20 цифр)`\n },\n CorrAccount: {\n en_US: `Correspondent account`,\n ru_RU: `Корреспондетский счет`\n },\n EnterCorrAccount:{\n en_US: `Enter cor. account (up to 20 sybmols)`,\n ru_RU: `Введите норм (до 20 цифр)`\n },\n SaveChanges:{\n en_US: `Save changes`,\n ru_RU: `Сохранить изменения`\n },\n SaveChangesProccess:{\n en_US: `Saving`,\n ru_RU: `Сохранение`\n },\n InputLiters:{\n en_US: `Input liters`,\n ru_RU: `Введите литры`\n },\n SignalStepAlert: {\n en_US: `Attention! Signal step is exceded balance of company. You need add money to account for continue work`,\n ru_RU: `Внимание! Превышен сигнальный порог. Пополните баланс компании для продолжения работы заправок`\n },\n ListCompanies: {\n en_US: \"List of companies\",\n ru_RU: \"Список компаний\"\n },\n ActionWithCompanies:{\n en_US: \"Actions with company\",\n ru_RU: \"Действия с компаниями\"\n }\n \n};\n","import React, { useContext, useState, useEffect, Redirect, useMemo } from 'react';\r\nimport { NavLink, Link, useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, Badge, Alert, Spinner } from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport { CompanyFormAdd } from './CompanyFormAdd';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport moment from 'moment';\r\nimport './../../boxicons.css'; \r\nimport MaterialReactTable from 'material-react-table';\r\nimport { MRT_Localization_RU } from 'material-react-table/locales/ru';\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslateCompanyModule } from '../../lang/company';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nconst Company = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const [showFormAdd, setShowFormAdd] = useState(false);\r\n const [listOfCompanies, addCompanyInList] = useState({});\r\n const [countCompanies, setCountCompanies] = useState(0);\r\n const translated = useLittera(TranslateCompanyModule);\r\n const methods = useLitteraMethods();\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n grid:false\r\n });\r\n const handleShow = () => setShowFormAdd(true);\r\n const handleClose = () => setShowFormAdd(false);\r\n\r\n const columns = useMemo(\r\n () => [\r\n {\r\n accessorKey: 'name', //access nested data with dot notation\r\n header: translated.Name,\r\n },\r\n {\r\n accessorFn: (row) => moment(row.dateCreate).format(\"DD.MM.YYYY\"),\r\n id: 'dateCreate',\r\n header: translated.CreatedDate,\r\n },\r\n {\r\n accessorFn: (row) => row.isBlocked != null \r\n ? {translated.CompanyIsActive} \r\n : {translated.CompanyIsBlocked},\r\n accessorKey: 'isBlocked',\r\n header: translated.IsBlocked,\r\n },\r\n {\r\n accessorFn: (row) => row.isParent\r\n ? {translated.CompanyIsVendor} \r\n : {translated.CompanyIsClient},\r\n accessorKey: 'isParent',\r\n header: translated.CompanyType,\r\n },\r\n {\r\n accessorFn: (row) => \r\n <>\r\n \r\n ,\r\n accessorKey: 'button',\r\n header: translated.Actions,\r\n },\r\n ],\r\n [],\r\n );\r\n\r\n const getCompanies = () => {\r\n\r\n setIsLoading(true)\r\n setLoadingData({grid:true})\r\n api.get('/api/company/all', {\r\n withCrenditials:true\r\n })\r\n .then(function(response){\r\n \r\n addCompanyInList(response.data.listDatas);\r\n setCountCompanies(response.data.listDatas.length);\r\n setLoadingData({grid:false})\r\n setPermission({\r\n read: response.data.read,\r\n create: response.data.create,\r\n fullAccess: response.data.fullAccess\r\n })\r\n setIsLoading(false)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n getCompanies();\r\n }, []);\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n\r\n {\r\n isLoading\r\n ? \r\n :\r\n <>\r\n
    \r\n

    \r\n {translated.Companies}\r\n {countCompanies}\r\n

    \r\n {\r\n permission.create || permission.fullAccess\r\n ? \r\n
    \r\n \r\n
    \r\n : ''\r\n } \r\n
    \r\n
    \r\n
    \r\n
    \r\n {\r\n permission.read || permission.create || permission.fullAccess\r\n ? \r\n \r\n : \r\n {translated.AccessDenied}\r\n }\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n {translated.CreateCompany}\r\n \r\n
    \r\n \r\n\r\n

    {translated.LegalInfo}

    \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\nexport default Company;\r\n","import React, { useContext, useState, useEffect } from 'react';\nimport { useForm, Controller} from 'react-hook-form';\nimport Select from 'react-select';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport { Form, Spinner } from 'react-bootstrap';\nimport CurrencyInput from 'react-currency-input-field'\nimport api from '../../../utils/axiosInterceptions';\n\nexport const FuelCompanyFormAdd = ({translatedForm, translated, companyId, setFuels}) => {\n\n const { control, register, handleSubmit, reset, formState, formState: { errors }} = useForm();\n const [loadingDataBtn, setLoadingDataButton] = useState(false)\n const [catalogFuels, setCatalogFuels] = useState([])\n const [price, setPrice] = useState(0)\n\n useEffect(() => { \n api.get(\"/api/fuels/all\", {\n headers:{\n \"content-type\" : \"application/json\",\n },\n })\n .then(function (response) {\n const addFuel = response.data.listDatas.map(item => ({\n ...item,\n value: item.id,\n label: item.name\n }))\n\n setCatalogFuels(addFuel)\n })\n .catch(function (error) {\n console.log(error);\n });\n\n }, [])\n\n const onSubmit = data => {\n data.Price = price;\n \n setLoadingDataButton(true)\n api.post('/api/company/fuels/create', {\n Price: data.Price,\n FuelId: data.Fuel.id,\n CompanyId: companyId\n })\n .then(function (response) {\n console.log(\"fuels\")\n \n displayToast(response.data.message, response.data.isSuccess)\n setLoadingDataButton(false)\n setFuels(response.data.listDatas)\n })\n .catch(function (error) {\n console.log(error);\n setLoadingDataButton(false)\n displayToast(error.response.data.message, error.response.data.isSuccess)\n });\n }\n \n const displayToast = (message, status) => {\n \n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n \n }\n\n return (\n <>\n
    \n\n \n {translated.Fuel} *\n (\n {\n setValue(\"Fuel\", item)\n setSelectedCompanyFuel({label:item.label, value:item.value})\n }}\n />\n )}\n />\n {errors.Fuel && \n {errors.Fuel.message}\n }\n \n\n \n Дата начала *\n (\n {\n setValue(\"DateStart\", date)\n }}\n />\n )}\n />\n {errors.DateStart && \n {errors.DateStart.message}\n }\n \n\n\n
    \n \n
    \n
    \n \n \n \n )\n}","import React from \"react\";\nimport { useLittera } from \"@assembless/react-littera\";\n\nexport const BalanceLang = {\n\n LimitPlan: {\n en_US: \"Limit plan\",\n ru_RU: \"Лимитный план\"\n },\n PlannedСonsumption: {\n en_US: \"Planned consumption\",\n ru_RU: \"Плановое потребление\"\n },\n HistoryChanges:{\n en_US: \"History changes\",\n ru_RU: \"История измнений\"\n },\n Account:{\n en_US: \"Account\",\n ru_RU: \"Счет\"\n },\n Limit:{\n en_US: \"Limit\",\n ru_RU: \"Лимит\"\n },\n Balance:{\n en_US: \"Balance\",\n ru_RU: \"Остаток\"\n },\n BalanceOn: {\n en_US: \"Balance on\",\n ru_RU: \"Остаток на\"\n },\n RefreshLimitAndAccount:{\n en_US: \"Refresh limit and account\",\n ru_RU: \"Обновить лимит и счет\"\n },\n UseMoneyWallet:{\n en_US: \"Use account of company for recalculation balance\",\n ru_RU: \"Использовать деньги для пересчета остатка топлива\"\n },\n EditLimit:{\n en_US: \"Edit\",\n ru_RU: \"Изменение лимита\"\n },\n TitleEditLimit: {\n en_US: \"Change limit\",\n ru_RU: \"Изменение лимита\"\n },\n MessageRecalcLimit:{\n en_US: \"Fuel balance of company will be recalculation from current money account and last fillings from controller, with current fuel's price\",\n ru_RU: \"Остаток топлива будет автоматически расчитываться из текущего остатка денег на счете компании и проведенных заправок на контроллерах, с учетом указаной цены на конкретный вид топлива у контроллера\"\n },\n Unlimited:{\n en_US: \"Unlimited\",\n ru_RU: \"Безлимитный\"\n },\n Absolute:{\n en_US: \"Absolute\",\n ru_RU: \"Абсолютный\"\n },\n SaveChanges:{\n en_US: \"Save changes\",\n ru_RU: \"Сохранить\"\n },\n TypeLimit:{\n en_US: \"Type limit\",\n ru_RU: \"Тип лимита\" \n },\n SelectValueFromList:{\n en_US: \"Select value from list\",\n ru_RU: \"Выберите значение из списка\" \n },\n Liters:{\n en_US: \"Liters\",\n ru_RU: \"Литры\"\n },\n EnterLiters:{\n en_US: \"Enter liters\",\n ru_RU: \"Введите литры\"\n },\n UpdateData:{\n en_US: \"Get updated data\",\n ru_RU: \"Обновить информацию\"\n },\n Comment:{\n en_US: \"Commentary\",\n ru_RU: \"Комментарий\"\n },\n User:{\n en_US: \"User\",\n ru_RU: \"Пользователь\"\n },\n DateRecord:{\n en_US: \"Date\",\n ru_RU: \"Дата записи\"\n }\n};\n","import React, { useContext, useEffect, useMemo, useState, Redirect } from 'react';\r\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\r\nimport { Button, Tabs, Badge, Tab, Nav, Alert, Tooltip, OverlayTrigger, Form, Card, Spinner, Offcanvas} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller } from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport moment from 'moment';\r\nimport CurrencyInput from 'react-currency-input-field';\r\nimport ReactDataGrid from '@inovua/reactdatagrid-community';\r\nimport '@inovua/reactdatagrid-community/index.css';\r\nimport '@inovua/reactdatagrid-community/theme/default-light.css';\r\nimport './../../boxicons.css';\r\nimport { Account } from \"./account\";\r\nimport { FillingPlan } from './FillingPlan';\r\nimport MaterialReactTable from 'material-react-table';\r\nimport { MRT_Localization_RU } from 'material-react-table/locales/ru';\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en'; \r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { BalanceLang } from '../../lang/company/balance_lang';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const CompanyBalance = () => {\r\n\r\n const params = useParams();\r\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [currentTime, setCurrentTime] = useState(0)\r\n const [btnDayLoad, setBtnDayLoad] = useState(false)\r\n const [btnMonthLoad, setBtnMonthLoad] = useState(false)\r\n const [listLimits, setListLimits] = useState({})\r\n const [checkedIsFuelWallet, setCheckedIsFuelWallet] = useState(false)\r\n const [historyLimit, setHistoryLimit] = useState([])\r\n const [liters, setLiters] = useState(0)\r\n const translated = useLittera(BalanceLang);\r\n const methods = useLitteraMethods();\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [loadingDataGrid, setLoadingDataGrid] = useState(false)\r\n const [dayLimit, setDayLimit] = useState()\r\n const [monthLimit, setMonthLimit] = useState();\r\n const [loadingDataBtn, setLoadingDataButton] = useState(false)\r\n const [limit, setLimit] = useState(0)\r\n const [balance, setBalance] = useState(0)\r\n const [money, setMoney] = useState(0)\r\n const [typeLimit, setTypeLimit] = useState(0)\r\n const [listTypeLimit, setListTypeLimit] = useState([])\r\n const [isUnlimited, setIsUnlimited] = useState(false)\r\n\r\n const listTypeLimits = [\r\n {label:translated.Unlimited, value:4},\r\n {label:translated.Absolute, value:3}\r\n ]\r\n\r\n const handleShow = () => {\r\n getTypeLimit()\r\n setShowFormAdd(true)\r\n }\r\n const handleClose = () => setShowFormAdd(false);\r\n \r\n const handleDayLimit = () => {\r\n api.get(\"/api/companies/details\", {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"id\":params.id\r\n },\r\n params:{\r\n id: params.id,\r\n }\r\n })\r\n .then(function (response) {\r\n setDayLimit(response.data.dataResult.countDayLimit)\r\n setMoney(response.data.dataResult.account)\r\n displayToast(response.data.message, response.data.isSuccess)\r\n setCurrentTime(moment().format(\"DD.MM.YYYY HH:mm\"))\r\n setBtnDayLoad(false)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const handleUpdateHistoryLimit = () => {\r\n setLoadingDataButton(true)\r\n setLoadingDataGrid(true)\r\n \r\n api.get(\"/api/transport/details/history-limits\", {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"id\":params.id\r\n },\r\n params:{\r\n id: params.id,\r\n }\r\n })\r\n .then(function (response) {\r\n setLoadingDataButton(false)\r\n setLoadingDataGrid(false)\r\n setHistoryLimit(response.data.listDatas)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const handleGetHistory = () => {\r\n api.get(\"/api/company/details/limits/history\", {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":params.id\r\n },\r\n params:{\r\n companyId: params.id,\r\n }\r\n })\r\n .then(function (response) {\r\n console.log(\"history limit\")\r\n \r\n setHistoryLimit(response.data.listDatas)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const onSubmit = data => {\r\n setLoadingDataButton(true)\r\n api.post('/api/company/details/limits/update', {\r\n Id: params.id,\r\n CountLitre: liters,\r\n TypeLimitId: data.TypeLimit.value\r\n })\r\n .then(function (response) {\r\n\r\n console.log(\"update limits\")\r\n \r\n setLimit(response.data.dataResult.limit)\r\n setBalance(response.data.dataResult.balance)\r\n setLoadingDataButton(false)\r\n displayToast(response.data.message, response.data.isSuccess)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setLoadingDataButton(false)\r\n });\r\n }\r\n\r\n const getCompany = () => {\r\n setIsLoading(true)\r\n api.get(\"/api/company/details\", {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"id\":params.id\r\n },\r\n params:{\r\n id: params.id,\r\n },\r\n withCrenditials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"permission balance\")\r\n \r\n setLimit(response.data.dataResult.limit)\r\n setBalance(response.data.dataResult.balance) \r\n setMoney(response.data.dataResult.account)\r\n setTypeLimit(response.data.dataResult.typeLimitId)\r\n setCheckedIsFuelWallet(!response.data.dataResult.isFuelWallet)\r\n\r\n let findLimit = listTypeLimits.filter((item) => item.value === response.data.dataResult.typeLimitId)\r\n setValue(\"TypeLimit\", findLimit[0])\r\n\r\n if(response.data.dataResult.typeLimitId == 3) {\r\n setIsUnlimited(false)\r\n } else {\r\n setIsUnlimited(true)\r\n }\r\n\r\n setIsLoading(false)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getTypeLimit = () => {\r\n api.get(\"/api/enum-type-limits/all\", {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"id\":params.id\r\n },\r\n params:{\r\n id: params.id,\r\n },\r\n withCrenditials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"enum type limit\")\r\n \r\n\r\n let limit = response.data.listDatas.filter((item) => item.id == 3 || item.id == 4).map((i) => ({\r\n ...i,\r\n label:i.id == 3 ? translated.Absolute : translated.Unlimited,\r\n value:i.id\r\n }))\r\n setListTypeLimit(limit)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const handleUpdateDataLimit = () => {\r\n setLoadingDataButton(true)\r\n api.get(\"/api/company/details\", {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"id\":params.id\r\n },\r\n params:{\r\n id: params.id,\r\n },\r\n withCrenditials:true\r\n })\r\n .then(function (response) { \r\n setLimit(response.data.dataResult.limit)\r\n setBalance(response.data.dataResult.balance) \r\n setMoney(response.data.dataResult.account)\r\n displayToast(\"Данные по лимиту и счету успешно обновлены\", true) \r\n setLoadingDataButton(false) \r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const dateCreate = (rowData) => {\r\n return moment(rowData.createdAt).format(\"DD.MM.YYYY\")\r\n }\r\n \r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n handleGetHistory()\r\n getCompany()\r\n setCurrentTime(moment().format(\"DD.MM.YYYY HH:mm\"))\r\n }, [])\r\n\r\n const displayToast = (message, status) => {\r\n\r\n if(status) {\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n }); \r\n } else {\r\n toast.error(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n }\r\n\r\n const updateFuelWallet = () => {\r\n api.post('/api/company/details/limits/update-type-wallet', {\r\n Id: params.id,\r\n IsFuelWallet: checkedIsFuelWallet,\r\n })\r\n .then(function (response) {\r\n getCompany()\r\n displayToast(response.data.message, response.data.isSuccess)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setLoadingDataButton(false)\r\n });\r\n }\r\n\r\n const columns = useMemo(\r\n () => [\r\n {\r\n accessorFn: (row) => row.countLitre,\r\n id: 'countLitre',\r\n header: translated.Liters,\r\n },\r\n {\r\n accessorFn: (row) => row.user.userName,\r\n accessorKey: 'user', //normal accessorKey\r\n header: translated.User,\r\n },\r\n {\r\n accessorFn: (row) => moment(row.createdAt).format(\"DD.MM.YYYY\"),\r\n accessorKey: 'date', //normal accessorKey\r\n header: translated.DateRecord,\r\n },\r\n {\r\n accessorFn: (row) => row.comment,\r\n accessorKey: 'comment', //normal accessorKey\r\n header: translated.Comment,\r\n },\r\n ],\r\n [],\r\n );\r\n\r\n return (\r\n <>\r\n {\r\n isLoading\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 updateFuelWallet()\r\n setCheckedIsFuelWallet(e.target.checked)\r\n }}\r\n />\r\n
    \r\n\r\n {\r\n checkedIsFuelWallet\r\n ? \r\n
    \r\n \r\n {translated.MessageRecalcLimit}\r\n \r\n
    \r\n : null\r\n }\r\n\r\n
    \r\n \r\n
    \r\n\r\n {\r\n !checkedIsFuelWallet\r\n ?\r\n
    \r\n \r\n \r\n
    \r\n
    {translated.Limit}
    \r\n \r\n \r\n {translated.EditLimit}\r\n \r\n }\r\n >\r\n \r\n \r\n\r\n
    \r\n {\r\n !isUnlimited\r\n ? {translated.Balance}: {balance}\r\n : {translated.Unlimited}\r\n }\r\n
    \r\n \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
    {translated.Account}
    \r\n\r\n
    \r\n {translated.Balance}: {money}\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
    \r\n
    \r\n\r\n
    \r\n
    \r\n\r\n \r\n \r\n \r\n {translated.TitleEditLimit}\r\n \r\n \r\n
    \r\n \r\n
    \r\n\r\n \r\n {translated.TypeLimit}\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}\r\n\r\nexport default Login;","import React, { useState, useEffect, useContext, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, Form, Spinner} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller} from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport './../../boxicons.css';\r\nimport CurrencyInput from 'react-currency-input-field';\r\nimport Flatpickr from \"react-flatpickr\";\r\nimport \"flatpickr/dist/themes/light.css\";\r\nimport { Russian } from \"flatpickr/dist/l10n/ru.js\"\r\nimport api from '../../utils/axiosInterceptions';\r\nimport InputMask from 'react-input-mask';\r\n\r\nexport const FormAddTransport = ({translated, translatedForm, isChild, stationData, setListTransport}) => {\r\n \r\n const [listCompanies, setListCompanies] = useState([])\r\n const [selectedTypeLimit, setSelectedTypeLimit] = useState(0)\r\n const [listTypeLimit, setListTypeLimit] = useState([])\r\n const [rfidBtnLoad, setRfidBtnLoad] = useState(false)\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:translatedForm.SelectFromList,\r\n value:0\r\n })\r\n const [selectedBenzaRfidType, setSelectedBenzaRfidType] = useState({\r\n label:\"Benza Mifare\",\r\n value:true\r\n })\r\n const [limitDay, setLimitDay] = useState(0)\r\n const [limitMonth, setLimitMonth] = useState(0)\r\n const [loadingData, setLoadingData] = useState({\r\n button:false,\r\n grid:false\r\n })\r\n const [defaultItem, setDefaultItem] = useState({\r\n stations:[],\r\n })\r\n const [listTypeAuth, setListTypeAuth] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedAuth, setSelectedAuth] = useState({\r\n label:translatedForm.SelectFromList,\r\n value:0\r\n })\r\n const [selectedTypeAuth, setSelectedTypeAuth] = useState({\r\n rfid:false,\r\n password:false,\r\n rfid_password:false,\r\n })\r\n const [listControllers, setListControllers] = useState([])\r\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\r\n const listBenzaRfidType = [\r\n {label:\"Benza Mifare\", value:true},\r\n {label:\"Benza EM Marine\", value:false}\r\n ]\r\n const formatChars = {\r\n '*': '[A-Fa-f0-9]'\r\n }\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n const addCompany = response.data.listDatas.map(item => ({\r\n ...item,\r\n value: item.id,\r\n label: item.name\r\n }))\r\n setListCompanies(addCompany)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setLoadingData({grid:false})\r\n });\r\n }\r\n\r\n const getTypeAuth = () => {\r\n api.get('/api/type-auths/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n const add = response.data.listDatas.filter((i) => i.id == 1).map(item => ({\r\n ...item,\r\n value: item.id,\r\n label: item.name\r\n }))\r\n setListTypeAuth(add)\r\n\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n \r\n const getControllers = id => {\r\n api.get('/api/company/details/controllers', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":id\r\n },\r\n params:{\r\n companyId: id,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n\r\n if(response.data.listDatas.length == 0)\r\n {\r\n displayToast(\"Контроллеры еще не добавлены к компании\", false)\r\n }\r\n else\r\n {\r\n const add = response.data.listDatas.map(item => ({\r\n ...item,\r\n value: item.id,\r\n label: item.name\r\n }))\r\n setListControllers(add)\r\n displayToast(\"Список контроллеров компании успешно получен\", response.data.isSuccess)\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setLoadingData({grid:false})\r\n });\r\n }\r\n\r\n const getEnumTypeLimits = () => {\r\n api.get(\"/api/enum-type-limits/all\", {\r\n })\r\n .then(function (response) {\r\n const addTypeLimit = response.data.listDatas.filter((i) => i.id != 1 && i.id != 2).map(item => ({\r\n ...item,\r\n value: item.id,\r\n label: item.name\r\n }))\r\n setListTypeLimit(addTypeLimit)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n }); \r\n }\r\n\r\n useEffect(() => {\r\n setSelectedBenzaRfidType({\r\n label:listBenzaRfidType[0].label,\r\n value:listBenzaRfidType[0].value\r\n })\r\n getCompanies()\r\n getTypeAuth()\r\n getEnumTypeLimits()\r\n }, [])\r\n\r\n const onSubmit = data => {\r\n data.LimitDay = limitDay\r\n data.LimitMonth = limitMonth\r\n data.SingleStationId = isChild ? stationData.id : 0\r\n setLoadingData({button:true})\r\n\r\n api.post('/api/transport/create', {\r\n Name: data.Name,\r\n Number:data.Number,\r\n CompanyId: selectedCompany.value,\r\n Controllers: data.Controllers,\r\n SingleStationId: data.SingleStationId,\r\n Model: data.Model,\r\n Contract: data.Contract,\r\n Password: data.Password,\r\n NumberRfid: data.NumberRfid,\r\n LimitDay: data.LimitDay,\r\n LimitMonth: data.LimitMonth,\r\n LimitAbsolute: data.AbsolutLimit,\r\n EnumTypeAuthId: selectedAuth.value,\r\n EnumTypeLimitId: selectedTypeLimit.value,\r\n RfidIsMifare: selectedBenzaRfidType.value,\r\n ServiceDate: data.ServiceDate != null ? data.ServiceDate.toISOString() : null\r\n })\r\n .then(function (response) {\r\n \r\n displayToast(response.data.message, response.data.isSuccess)\r\n setLoadingData({button:false})\r\n setListTransport(response.data.listDatas)\r\n reset({\r\n Number:'',\r\n Model:'',\r\n NumberRfid:'',\r\n Contract:'',\r\n Password:'',\r\n LimitDay:'',\r\n LimitMonth:''\r\n })\r\n })\r\n .catch(function (error) {\r\n console.log(error)\r\n error.response.data.errors.map((item) => {\r\n displayToast(item.errorMessage, error.response.data.isSuccess)\r\n })\r\n setLoadingData({button:false})\r\n displayToast(error.response.data.message, error.response.data.isSuccess)\r\n });\r\n }\r\n\r\n const displayToast = (message, status) => {\r\n\r\n if(status){\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n \r\n } else {\r\n toast.error(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n } \r\n }\r\n\r\n const getLastCard = () => {\r\n setRfidBtnLoad(true)\r\n api.get(\"/api/users/details/cards/last\", {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n \r\n setValue(\"NumberRfid\", response.data.dataResult)\r\n setRfidBtnLoad(false)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setRfidBtnLoad(false)\r\n }); \r\n }\r\n\r\n return (\r\n
    \r\n\r\n \r\n\r\n \r\n {translated.Name} *\r\n \r\n {errors.Name && \r\n {errors.Name.message}\r\n }\r\n \r\n\r\n {translated.Company} * \r\n (\r\n \r\n )}\r\n />\r\n {errors.Controllers && \r\n {errors.Controllers.message}\r\n } \r\n \r\n\r\n \r\n {translated.TypeAuth} *\r\n (\r\n {\r\n if(item.id == 1) {\r\n setSelectedTypeAuth({rfid:true, password:false, rfid_password:false})\r\n } else if (item.id == 2) {\r\n setSelectedTypeAuth({rfid:false, password:true, rfid_password:false})\r\n } else {\r\n setSelectedTypeAuth({rfid:false, password:false, rfid_password:true})\r\n }\r\n setSelectedAuth({label: item.label, value:item.value})\r\n setValue(\"TypeAuth\", selectedAuth)\r\n }}\r\n value={selectedAuth}\r\n options={listTypeAuth} \r\n placeholder={translatedForm.SelectFromList}\r\n classNamePrefix=\"select\"\r\n />\r\n )}\r\n />\r\n {errors.TypeAuth && \r\n {errors.TypeAuth.message}\r\n }\r\n \r\n\r\n {\r\n selectedTypeAuth.password || selectedTypeAuth.rfid_password\r\n ?\r\n \r\n {translated.Password}\r\n \r\n {errors.Password && \r\n {errors.Password.message}\r\n }\r\n \r\n : \r\n ''\r\n }\r\n\r\n {\r\n selectedTypeAuth.rfid || selectedTypeAuth.rfid_password\r\n ?\r\n <>\r\n\r\n \r\n {translated.BenzaRfidType} \r\n (\r\n {\r\n setSelectedBenzaRfidType({\r\n label:item.label,\r\n value:item.value\r\n })\r\n }}\r\n value={selectedBenzaRfidType}\r\n options={listBenzaRfidType} \r\n placeholder={translatedForm.SelectFromList}\r\n classNamePrefix=\"select\"\r\n />\r\n )}\r\n />\r\n {errors.BenzaRfidType && \r\n {errors.BenzaRfidType.message}\r\n }\r\n \r\n \r\n {/*\r\n {translated.NumberRfid}\r\n \r\n {errors.NumberRfid && \r\n {errors.NumberRfid.message}\r\n }\r\n */}\r\n\r\n \r\n {translated.NumberRfid} *\r\n (\r\n {\r\n setValue(\"NumberRfid\", item.target.value)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.NumberRfid && \r\n {errors.NumberRfid.message}\r\n }\r\n \r\n\r\n \r\n \r\n :\r\n null\r\n }\r\n\r\n \r\n {translated.TypeLimit} *\r\n (\r\n {\r\n console.log(item)\r\n setSelectedTypeLimit(item)\r\n setValue(\"TypeLimit\", {label:item.label, value:item.value})\r\n }}\r\n value={value}\r\n options={listTypeLimit} \r\n placeholder={translatedForm.SelectFromList}\r\n classNamePrefix=\"select\"\r\n />\r\n )}\r\n />\r\n {errors.TypeLimit && \r\n {errors.TypeLimit.message}\r\n }\r\n \r\n\r\n {\r\n selectedTypeLimit.id == 5\r\n ?\r\n <>\r\n \r\n {translated.LimitMonth}\r\n \r\n (\r\n setLimitMonth(value)}\r\n />\r\n )}\r\n />\r\n {errors.LimitMonth && \r\n {errors.LimitMonth.message}\r\n } \r\n\r\n \r\n\r\n \r\n {translated.LimitDay}\r\n \r\n (\r\n setLimitDay(value)}\r\n />\r\n )}\r\n />\r\n {errors.LimitDay && \r\n {errors.LimitDay.message}\r\n } \r\n\r\n \r\n \r\n : selectedTypeLimit.id == 3\r\n ? \r\n \r\n {translated.LimitAbsolute}\r\n \r\n (\r\n setValue(\"AbsolutLimit\", value)}\r\n />\r\n )}\r\n />\r\n {errors.AbsolutLimit && \r\n {errors.AbsolutLimit.message}\r\n } \r\n\r\n \r\n : null\r\n }\r\n\r\n \r\n {translated.ServiceDate}\r\n (\r\n {\r\n setValue(\"ServiceDate\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n \r\n\r\n \r\n {translated.Number}\r\n \r\n {errors.Number && \r\n {errors.Number.message}\r\n }\r\n \r\n\r\n \r\n {translated.Model}\r\n \r\n {errors.Model && \r\n {errors.Model.message}\r\n }\r\n \r\n\r\n \r\n {translated.Contract}\r\n \r\n {errors.Contract && \r\n {errors.Contract.message}\r\n }\r\n \r\n \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n\r\n )\r\n}","import React from \"react\";\nimport { useLittera } from \"@assembless/react-littera\";\n\nexport const TranslateTransport = {\n\n Title:{\n en_US: \"Transports\",\n ru_RU: \"Транспортные средства\"\n },\n TitleSingle:{\n en_US: \"Transport\",\n ru_RU: \"Транспорт\"\n },\n AddTransportTitle:{\n en_US: \"Add transport\",\n ru_RU: \"Добавление ТС\"\n },\n AddTransport:{\n en_US: \"Add transport\",\n ru_RU: \"Добавить ТС\"\n },\n BenzaRfidType:{\n en_US: \"RFID type\",\n ru_RU: \"Тип считывателя\"\n },\n ButtonRfid:{\n en_US: \"Get card number\",\n ru_RU: \"Получить номер карты\"\n },\n Name:{\n en_US: \"Name\",\n ru_RU: \"Название\"\n },\n AccessDenied:{\n en_US: \"Access denied\",\n ru_RU: \"У вас недостаточно прав доступа для просмотра информации к данному разделу\"\n },\n CarNumber:{\n en_US: \"Transport's number\",\n ru_RU: \"Номер\"\n },\n Lock:{\n en_US: \"Lock\",\n ru_RU: \"Заблокировать\"\n },\n Unlock:{\n en_US: \"Unlock\",\n ru_RU: \"Разблокировать\"\n },\n LockMessage:{\n en_US: \"The transport is locked and will not be recorded in the controller\",\n ru_RU: \"Транспортное средство заблокировано и не будет записано в контроллер\"\n },\n Unknow:{\n en_US: \"Unknow\",\n ru_RU: \"Не указано\"\n },\n Actions:{\n en_US: \"Actions\",\n ru_RU: \"Действия\"\n },\n Company: {\n en_US: \"Company\",\n ru_RU: \"Компания\"\n },\n ServiceDate: {\n en_US: \"Maintain up to\",\n ru_RU: \"Обслуживать до\"\n },\n Contract:{\n en_US: \"Contract number\",\n ru_RU: \"Договор\"\n },\n BenzamatOffice:{\n en_US: \"ID from benzamatOffice\",\n ru_RU: \"ID из benzamatOffice\"\n },\n TypeAuth:{\n en_US: \"Type auth\",\n ru_RU: \"Тип авторизации\"\n },\n NumberRfid:{\n en_US: \"RFID number\",\n ru_RU: \"Номер RFID\"\n },\n RfidWithNumber:{\n en_US: \"RFID with password\",\n ru_RU: \"RFID и пароль\"\n },\n AuthTransport:{\n en_US: \"Use auth transport\",\n ru_RU: \"Авторизация ТС\"\n },\n TypeLimit:{\n en_US: \"Type limit\",\n ru_RU: \"Тип лимита\"\n },\n LimitAbsolute:{\n en_US: \"Limit absolute\",\n ru_RU: \"Абсолютный\"\n },\n LimitDay:{\n en_US: \"Daily limit\",\n ru_RU: \"Лимит день\"\n },\n LimitMonth:{\n en_US: \"Month limit\",\n ru_RU: \"Лимит месяц\"\n },\n Yes:{\n en_US: \"Active\",\n ru_RU: \"Да\"\n },\n No:{\n en_US: \"Disabled\",\n ru_RU: \"Нет\"\n },\n WarningLimitMonth:{\n en_US: \"Monthly limit cannot be less than daily limit\",\n ru_RU: \"Лимит в месяц не может быть меньше дневного лимита\"\n },\n Block:{\n en_US: \"Block\",\n ru_RU: \"Заблокировать\"\n },\n General:{\n en_US: \"General\",\n ru_RU: \"Основная информация\"\n },\n Limits:{\n en_US: \"Limits\",\n ru_RU: \"Лимиты\"\n },\n Options:{\n en_US: \"Options\",\n ru_RU: \"Параметры\"\n },\n Controllers:{\n en_US: \"Controllers\",\n ru_RU: \"Контроллеры\" \n },\n LimitPlan:{\n en_US: \"Limit plan\",\n ru_RU: \"Лимитный план\" \n },\n HistoryChangeLimit:{\n en_US: \"History change\",\n ru_RU: \"История изменений\" \n },\n Balance:{\n en_US: \"Balance\",\n ru_RU: \"Остаток\" \n },\n Limit:{\n en_US: \"Limit\",\n ru_RU: \"Лимит\" \n },\n EditLimit:{\n en_US: \"Edit limit\",\n ru_RU: \"Изменение лимита\" \n },\n Liters:{\n en_US: \"Liters\",\n ru_RU: \"Литры\" \n },\n Number:{\n en_US: \"Number\",\n ru_RU: \"Номер\" \n },\n Model:{\n en_US: \"Model\",\n ru_RU: \"Модель\" \n },\n Settings:{\n en_US: \"Settings\",\n ru_RU: \"Настройки\"\n },\n AutoRead:{\n en_US: \"Auto read\",\n ru_RU: \"Автоопрос\"\n },\n VersionSoftware:{\n en_US: \"Version software\",\n ru_RU: \"Версия ПО\"\n },\n GSM:{\n en_US: \"GSM status\",\n ru_RU: \"GSM связь\"\n },\n Actions:{\n en_US: \"Actions\",\n ru_RU: \"Действия\"\n },\n ActionWithTransports:{\n en_US: \"Action with transports\",\n ru_RU: \"Действия с ТС\"\n },\n Readed:{\n en_US: \"Readed\",\n ru_RU: \"Считаны\"\n },\n NotReaded:{\n en_US: \"Not readed\",\n ru_RU: \"Не считаны\"\n },\n Enable:{\n en_US: \"Enable\",\n ru_RU: \"Включено\"\n },\n Disable:{\n en_US: \"Disable\",\n ru_RU: \"Отключено\"\n },\n ListTransports:{\n en_US: \"List of transports\",\n ru_RU: \"Выберите транспорт\"\n },\n ListCompanies:{\n en_US: \"List of companies\",\n ru_RU: \"Выберите компанию\" \n },\n SelectAllUsers:{\n en_US: \"Select all transports\",\n ru_RU: \"Выбрать весь транспорт\"\n },\n MessageSelectUsers:{\n en_US: \"Only those transports that are not blocked, not deleted in the system and not added to the controller will be added to the controller\",\n ru_RU: \"В контроллер будут добавлены только тот транспорт, который: не заблокирован, не удалены в системе и не добавлен в контроллер\"\n },\n Submit:{\n en_US: \"Submit\",\n ru_RU: \"Подтвердить\"\n },\n Cancel:{\n en_US: \"Cancel\",\n ru_RU: \"Отмена\"\n },\n TextDelete:{\n en_US: \"Are you sure you want to delete the transport?\",\n ru_RU: \"Вы уверены, что хотите удалить транспорт?\"\n },\n HeaderDelete:{\n en_US: \"Delete the transport\",\n ru_RU: \"Удаление транспорта\"\n }\n};\n","import React, { useState, useEffect, useContext, useMemo, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, Modal, Form, Spinner, Alert, Badge} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller} from 'react-hook-form';\r\nimport { FormAddTransport } from './FormAddTransport';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport './../../boxicons.css';\r\nimport CurrencyInput from 'react-currency-input-field';\r\nimport MaterialReactTable from 'material-react-table';\r\nimport { MRT_Localization_RU } from 'material-react-table/locales/ru';\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslateTransport } from '../../lang/transports/translateTransport';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport {FormLocale} from '../../lang/form';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nconst Transport = () => {\r\n\r\n const router = useHistory();\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [countTransport, setCountTransport] = useState(0)\r\n const [listTransport, setListTransport] = useState({})\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [showDeleteTransport, setShowDeleteTransport] = useState(false)\r\n const [userIdForDelete, setUserIdForDelete] = useState(0) \r\n const translated = useLittera(TranslateTransport);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [selectedItem, setSelectedItem] = useState({\r\n companies:''\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n button:false,\r\n grid:false\r\n })\r\n const handleShow = () => setShowFormAdd(true);\r\n const handleClose = () => setShowFormAdd(false);\r\n const {isAuth} = useContext(AuthContext);\r\n \r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n getTransports()\r\n }, [])\r\n\r\n const deleteTransport = () => {\r\n api.post('/api/transport/details/delete', {\r\n Id:userIdForDelete,\r\n IsBlocked:true,\r\n withCredentials: true\r\n })\r\n .then(function (response) {\r\n console.log(response.data)\r\n displayToast(response.data.message, response.data.isSuccess)\r\n setListTransport(response.data.listDatas)\r\n setCountTransport(response.data.listDatas.length)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const onDelete = (id) => {\r\n setShowDeleteTransport(true)\r\n setUserIdForDelete(id)\r\n }\r\n\r\n const displayToast = (message, status) => {\r\n\r\n if(status){\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n\r\n } else {\r\n toast.error(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n}\r\n\r\n const getTransports = () => {\r\n setIsLoading(true)\r\n api.get('/api/transport/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n \r\n setPermission({\r\n read: response.data.read,\r\n create: response.data.create,\r\n fullAccess: response.data.fullAccess\r\n })\r\n setLoadingData({grid:false})\r\n setListTransport(response.data.listDatas)\r\n setCountTransport(response.data.listDatas.length)\r\n setIsLoading(false)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const columns = useMemo(\r\n () => [\r\n {\r\n accessorFn: (row) => row.name,\r\n accessorKey: 'name',\r\n header: translated.Name,\r\n },\r\n {\r\n accessorFn: (row) => row.number != \"\" && row.number != null ? row.number : translated.Unknow,\r\n accessorKey: 'carNumber',\r\n header: translated.CarNumber,\r\n },\r\n {\r\n accessorFn: (row) => row.numberRfid,\r\n accessorKey: 'rfidKey',\r\n header: translated.NumberRfid,\r\n },\r\n {\r\n accessorFn: (row) => {row.enumTypeLimitName},\r\n accessorKey: 'rfid',\r\n header: translated.TypeLimit,\r\n },\r\n {\r\n accessorFn: (row) => \r\n <>\r\n \r\n\r\n \r\n ,\r\n accessorKey: 'button',\r\n header: translatedForm.Actions,\r\n },\r\n ],\r\n [],\r\n );\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n {\r\n isLoading\r\n ? \r\n : \r\n <>\r\n
    \r\n

    \r\n {translated.Title}\r\n {countTransport}\r\n

    \r\n {\r\n permission.create || permission.fullAccess\r\n ?\r\n
    \r\n \r\n
    \r\n : ''\r\n } \r\n
    \r\n
    \r\n
    \r\n
    \r\n {\r\n permission.read || permission.fullAccess\r\n ?\r\n \r\n : \r\n \r\n {translated.PermissionDenied}\r\n \r\n }\r\n
    \r\n
    \r\n
    \r\n\r\n setShowDeleteTransport(false)}>\r\n \r\n {translated.HeaderDelete}\r\n \r\n \r\n
    \r\n
    \r\n

    {translated.TextDelete}

    \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 {translated.AddTransportTitle}\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\nexport default Transport;\r\n","import React, { useContext, useEffect, useState, Redirect } from 'react';\nimport { useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Card, ProgressBar, Form, Offcanvas, Spinner} from 'react-bootstrap';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport Select from 'react-select';\nimport axios from 'axios';\nimport './../../boxicons.css';\nimport api from '../../utils/axiosInterceptions';\n\nexport const Stations = () => {\n\n const router = useHistory()\n const params = useParams();\n const [listStation, setListStation] = useState([])\n const [loadingData, setLoadingData] = useState({\n button:false,\n grid:false\n })\n\n const gridStyle = { minHeight: 550 }\n\n const stationsColumns = [\n { name: 'name', header: 'Название', minWidth: 50, defaultFlex: 1,\n render: ({ value, data }) => { \n return data.station.name\n }\n },\n { name: 'description', header: 'Описание', minWidth: 50, defaultFlex: 1,\n render: ({ value, data }) => { \n return data.description == null || data.description == \"\" ? \"Не указано\" : data.description\n } \n },\n { name: 'company', header: 'Компания', minWidth: 50, defaultFlex: 1,\n\n render: ({ value, data }) => { \n return data.station.company == null \n ? \"Не указано\" \n : \n \n }\n\n },\n { name: 'buttons', header: 'Действие', minWidth:5,\n render: ({ value, data }) => { \n return <>\n \n \n \n } \n}\n]\n\n const displayToast = (message, status) => {\n\n if(status){\n toast.success(message, {\n position: \"top-right\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n\n } else {\n toast.error(message, {\n position: \"top-right\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n }\n \n }\n\n const onDelete = data => {\n\n console.log(data)\n setLoadingData({grid:true})\n \n api.post('/api/transport/details/stations/delete', {\n SingleStationId: data.station.id,\n SingleTransportId: data.transport.id,\n withCredentials:true\n })\n .then(function (response) {\n setListStation(response.data.listDatas)\n setLoadingData({grid:false})\n displayToast(response.data.message, response.data.isSuccess)\n })\n .catch(function (error) {\n console.log(error);\n setLoadingData({grid:false})\n displayToast(error.response.data.message, error.response.data.isSuccess)\n });\n }\n\n useEffect(() => {\n \n api.get(\"/api/transport/details/stations\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"Id\":params.id\n },\n params:{\n Id: params.id,\n }\n })\n .then(function (response) {\n \n setListStation(response.data.listDatas)\n })\n .catch(function (error) {\n console.log(error);\n });\n \n }, [])\n\n return(\n <>\n \n\n \n );\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Nav, Tooltip, OverlayTrigger, Form, Card, Alert, Spinner, Offcanvas} from 'react-bootstrap';\nimport { AuthContext } from '../../context/AuthContext';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport Select from 'react-select';\nimport moment from 'moment';\nimport CurrencyInput from 'react-currency-input-field';\nimport './../../boxicons.css';\nimport api from '../../utils/axiosInterceptions';\n\nexport const LimitDayMonthTransport = ({translated, translatedForm, permission}) => {\n\n const params = useParams();\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\n const [showFormAdd, setShowFormAdd] = useState(false)\n const [currentTime, setCurrentTime] = useState(0)\n const [btnDayLoad, setBtnDayLoad] = useState(false)\n const [btnMonthLoad, setBtnMonthLoad] = useState(false)\n const [listLimits, setListLimits] = useState({})\n const [liters, setLiters] = useState(0)\n const [loadingDataGrid, setLoadingDataGrid] = useState(false)\n const [dayLimit, setDayLimit] = useState({\n limit:0,\n balance:0\n })\n const [monthLimit, setMonthLimit] = useState({\n limit: 0,\n balance:0\n });\n const [loadingDataBtn, setLoadingDataButton] = useState(false)\n const [currentActiveTab, setCurrentActiveTab] = useState('')\n\n const handleShow = () => {\n setShowFormAdd(true)\n getEnumTypeLimits()\n }\n\n const handleClose = () => setShowFormAdd(false);\n\n const handleDayLimit = () => {\n setBtnDayLoad(true)\n api.get(\"/api/transport/details/limit-day\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"id\":params.id\n },\n params:{\n id: params.id,\n }\n })\n .then(function (response) {\n \n setDayLimit({\n balance: response.data.dataResult.balanceDay,\n limit: response.data.dataResult.countDayLimit\n })\n displayToast(response.data.message, response.data.isSuccess)\n setCurrentTime(moment().format(\"DD.MM.YYYY\"))\n setBtnDayLoad(false)\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n const handleMonthLimit = () => {\n setBtnMonthLoad(true)\n api.get(\"/api/transport/details/limit-month\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"id\":params.id\n },\n params:{\n id: params.id,\n }\n })\n .then(function (response) {\n \n setMonthLimit({\n limit: response.data.dataResult.countMonthLimit,\n balance: response.data.dataResult.balanceMonth\n })\n displayToast(response.data.message, response.data.isSuccess)\n setCurrentTime(moment().format(\"DD.MM.YYYY\"))\n setBtnMonthLoad(false)\n })\n .catch(function (error) {\n console.log(error);\n setBtnMonthLoad(false)\n });\n }\n\n const onHandleUpdateLimit = dataLimit => { \n setLoadingDataButton(true)\n api.post('/api/transport/details/update-limit', {\n Id: params.id,\n Liters: liters,\n EnumTypeLimitId: dataLimit.EnumTypeLimit.id\n })\n .then(function (response) {\n \n setLoadingDataButton(false)\n displayToast(response.data.message, response.data.isSuccess)\n\n if (response.data.dataResult.enumTypeLimitId == 1) {\n setDayLimit({\n limit: response.data.dataResult.countDayLimit,\n balance: response.data.dataResult.balanceDay\n })\n } else {\n setMonthLimit({\n limit: response.data.dataResult.countMonthLimit,\n balance: response.data.dataResult.balanceMonth\n })\n }\n })\n .catch(function (error) {\n console.log(error);\n displayToast(error.response.data.errors[0].errorMessage, error.response.data.isSuccess)\n setLoadingDataButton(false)\n });\n }\n\n const getEnumTypeLimits = () => {\n api.get(\"/api/enum-type-limits/all\", {\n })\n .then(function (response) {\n const addTypeLimit = response.data.listDatas.filter((i) => i.id == 1 || i.id == 2).map(item => ({\n ...item,\n value: item.id,\n label: item.name\n }))\n setListLimits(addTypeLimit)\n })\n .catch(function (error) {\n console.log(error);\n }); \n }\n\n const getLimits = () => {\n api.get(\"/api/transport/details/limit-day\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"id\":params.id\n },\n params:{\n id: params.id,\n }\n })\n .then(function (response) {\n console.log(\"limits\")\n \n setDayLimit({\n limit: response.data.dataResult.countDayLimit,\n balance: response.data.dataResult.balanceDay\n })\n setCurrentTime(moment().format(\"DD.MM.YYYY\"))\n })\n .catch(function (error) {\n console.log(error);\n });\n\n api.get(\"/api/transport/details/limit-month\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"id\":params.id\n },\n params:{\n id: params.id,\n }\n })\n .then(function (response) {\n setMonthLimit({\n limit: response.data.dataResult.countMonthLimit,\n balance: response.data.dataResult.balanceMonth\n })\n setCurrentTime(moment().format(\"DD.MM.YYYY\"))\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n useEffect(() => {\n getLimits()\n }, [])\n\n const displayToast = (message, status) => {\n\n if(status) {\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n \n }\n\n return (\n <>\n
    \n \n \n
    \n
    {translated.LimitDay} {currentTime}
    \n\n {\n permission.update || permission.fullAccess\n ?\n \n {translated.EditLimit}\n \n }\n >\n \n \n : ''\n }\n\n
    \n {translated.Limit}: {dayLimit.limit}\n {translated.Balance}: {dayLimit.balance}\n\n {\n permission.update || permission.fullAccess\n ?\n <>\n
    \n \n
    \n \n \n
    \n \n : ''\n } \n
    \n
    \n
    \n\n
    \n \n \n
    \n
    {translated.LimitMonth} {currentTime}
    \n\n {\n permission.update || permission.fullAccess\n ?\n \n {translated.EditLimit}\n \n }\n >\n \n \n : ''\n }\n\n
    \n {translated.Limit}: {monthLimit.limit}\n {translated.Balance}: {monthLimit.balance}\n\n {\n permission.update || permission.fullAccess\n ?\n <>\n
    \n \n
    \n \n \n
    \n \n : ''\n }\n \n
    \n
    \n
    \n \n \n \n \n {translated.EditLimit}\n \n \n
    \n \n
    \n\n \n\n {translated.TypeLimit}\n (\n \n )}\n />\n {errors.EnumTypeLimit && \n {errors.EnumTypeLimit.message}\n } \n \n Литры\n (\n setLiters(value)}\n />\n )}\n />\n\n \n\n
    \n \n
    \n\n
    \n
    \n
    \n \n )\n}","import React from \"react\";\nimport { useLittera } from \"@assembless/react-littera\";\n\nexport const TranslateUser = {\n\n Title:{\n en_US: \"Users\",\n ru_RU: \"Пользователи\"\n },\n TitleSingle:{\n en_US: \"User\",\n ru_RU: \"Пользователь\"\n },\n Fullname:{\n en_US: \"Full name\",\n ru_RU: \"ФИО\"\n },\n Role:{\n en_US: \"Role\",\n ru_RU: \"Роль\"\n },\n LK:{\n en_US: \"Access\",\n ru_RU: \"Доступ в ЛК\"\n },\n AccessActive:{\n en_US: \"Active\",\n ru_RU: \"Включен\"\n },\n AccessNotActive:{\n en_US: \"Disable\",\n ru_RU: \"Отключен\"\n },\n ButtonRfid:{\n en_US: \"Get card number\",\n ru_RU: \"Получить номер карты\"\n },\n Actions:{\n en_US: \"Actions\",\n ru_RU: \"Действия\"\n },\n ActionsWithUser:{\n en_US: \"Action with users\",\n ru_RU: \"Действия с пользователями\"\n },\n AddUser:{\n en_US: \"Add user\",\n ru_RU: \"Добавить пользователя\"\n },\n AddUserTitle:{\n en_US: \"Create user\",\n ru_RU: \"Добавление пользователя\"\n },\n UploadFromExcel:{\n en_US: \"Upload from excel\",\n ru_RU: \"Загрузить из Excel\"\n },\n PermissionDenied:{\n en_US: \"Permission denied\",\n ru_RU: \"У вас недостаточно прав доступа для просмотра информации\"\n },\n Firstname:{\n en_US: \"Firstname\",\n ru_RU: \"Имя\"\n },\n Lastname: {\n en_US: \"Lastname\",\n ru_RU: \"Фамилия\"\n },\n Middlename: {\n en_US: \"Middlename\",\n ru_RU: \"Отчество\"\n },\n Company: {\n en_US: \"Company\",\n ru_RU: \"Компания\"\n },\n Role:{\n en_US: \"System role\",\n ru_RU: \"Роль в системе\"\n },\n AccessSystem:{\n en_US: \"Access to system\",\n ru_RU: \"Доступ к ЛК\"\n },\n ServiceDate: {\n en_US: \"Maintain up to\",\n ru_RU: \"Обслуживать до\"\n },\n Contract:{\n en_US: \"Contract number\",\n ru_RU: \"Договор\"\n },\n BenzamatOffice:{\n en_US: \"ID from benzamatOffice\",\n ru_RU: \"ID из benzamatOffice\"\n },\n ResetAbsoluteLimit:{\n en_US: \"Reset limit\",\n ru_RU: \"Сбросить лимит\"\n },\n StartDateFilling:{\n en_US: \"Service start date\",\n ru_RU: \"Дата начала обслуживания\"\n },\n TypeAuth:{\n en_US: \"Type auth\",\n ru_RU: \"Тип авторизации\"\n },\n BenzaRfidType:{\n en_US: \"RFID type\",\n ru_RU: \"Тип считывателя\"\n },\n Password:{\n en_US: \"New password\",\n ru_RU: \"Новый пароль\"\n },\n CurrentPassword:{\n en_US: \"Current password\",\n ru_RU: \"Текущий пароль\"\n },\n NumberRfid:{\n en_US: \"RFID number\",\n ru_RU: \"Номер RFID\"\n },\n AuthTransport:{\n en_US: \"Use auth transport\",\n ru_RU: \"Авторизация ТС\"\n },\n TypeLimit:{\n en_US: \"Type limit\",\n ru_RU: \"Тип лимита\"\n },\n LimitAbsolute:{\n en_US: \"Limit absolute\",\n ru_RU: \"Абсолютный\"\n },\n LimitDay:{\n en_US: \"Daily limit\",\n ru_RU: \"Лимит день\"\n },\n LimitMonth:{\n en_US: \"Month limit\",\n ru_RU: \"Лимит месяц\"\n },\n Login:{\n en_US: \"Log in\",\n ru_RU: \"Логин\"\n },\n Yes:{\n en_US: \"Active\",\n ru_RU: \"Да\"\n },\n No:{\n en_US: \"Disabled\",\n ru_RU: \"Нет\"\n },\n WarningLimitMonth:{\n en_US: \"Monthly limit cannot be less than daily limit\",\n ru_RU: \"Лимит в месяц не может быть меньше дневного лимита\"\n },\n Lock:{\n en_US: \"Lock\",\n ru_RU: \"Заблокировать\"\n },\n Unlock:{\n en_US: \"Unlock\",\n ru_RU: \"Разблокировать\"\n },\n LockMessage:{\n en_US: \"The user is blocked, further writing to the controller is impossible\",\n ru_RU: \"Пользователь заблокирован дальнейшая запись в контроллер невозможна\"\n },\n General:{\n en_US: \"General\",\n ru_RU: \"Основная информация\"\n },\n Limits:{\n en_US: \"Limits\",\n ru_RU: \"Лимиты\"\n },\n Options:{\n en_US: \"Options\",\n ru_RU: \"Параметры\"\n },\n HistoryAuth:{\n en_US: \"History auth\",\n ru_RU: \"История авторизаций\"\n },\n UserRights:{\n en_US: \"User rights\",\n ru_RU: \"Права на контроллерах\"\n },\n AdminFillTank:{\n en_US: \"Administrator (fill into measuring tank)\",\n ru_RU: \"Администратор ТРК (налив в мерник)\" \n },\n FuelIntake:{\n en_US: \"Fuel supply\",\n ru_RU: \"Прием топлива\" \n },\n ViewLevelSenser:{\n en_US: \"View level sensor indications\",\n ru_RU: \"Просмотр показания уровнемеров\" \n },\n TurningOffSirena:{\n en_US: \"Turning off sirena\",\n ru_RU: \"Выключение сирены\" \n },\n Controllers:{\n en_US: \"Controllers\",\n ru_RU: \"Контроллеры\" \n },\n MessagePassword:{\n en_US: \"The output of the user's password is not provided in the system, since all passwords are stored in encrypted form\",\n ru_RU: \"Вывод пароля пользователя не предусмотрен в системе, так как все пароли хранятся в зашифрованном виде\",\n },\n IPAddress:{\n en_US: \"IP address\",\n ru_RU: \"IP адрес\" \n },\n DateAuth:{\n en_US: \"Auth date\",\n ru_RU: \"Дата входа\" \n },\n LimitPlan:{\n en_US: \"Limit plan\",\n ru_RU: \"Лимитный план\" \n },\n HistoryChangeLimit:{\n en_US: \"History change\",\n ru_RU: \"История изменений\" \n },\n Balance:{\n en_US: \"Balance\",\n ru_RU: \"Остаток\" \n },\n Limit:{\n en_US: \"Limit\",\n ru_RU: \"Лимит\" \n },\n EditLimit:{\n en_US: \"Edit limit\",\n ru_RU: \"Изменение лимита\" \n },\n Liters:{\n en_US: \"Liters\",\n ru_RU: \"Литры\" \n },\n CreatedDate:{\n en_US: \"Date\",\n ru_RU: \"Дата\" \n },\n UpdateLimits:{\n en_US: \"Get limit's data\",\n ru_RU: \"Обновить информацию\" \n },\n ListUsers:{\n en_US: \"List of users\",\n ru_RU: \"Выберите пользователей\" \n },\n ListCompanies:{\n en_US: \"List of companies\",\n ru_RU: \"Выберите компанию\" \n },\n UploadFromExcelHeader:{\n en_US: \"Upload users from Excel\",\n ru_RU: \"Загрузка пользователей из Excel\" \n },\n UploadInfoAlert:{\n en_US: \"You can upload a file with the extension .XLS or .XLSX\",\n ru_RU: \"Допускается загрузка файла с расширением .XLS или .XLSX\" \n },\n UploadDangerAlert:{\n en_US: \"To bulk upload users, download and fill out the template according to the data specified inside\",\n ru_RU: \"Для массовой загрузки пользователей скачайте и заполните шаблон в соответствии с указанными внутри данными\" \n },\n SelectFile:{\n en_US: \"Select file\",\n ru_RU: \"Выберите файл\"\n },\n DownloadTemplate:{\n en_US: \"Download template\",\n ru_RU: \"Скачать шаблон\"\n },\n SelectAllUsers:{\n en_US: \"Select all users\",\n ru_RU: \"Выбрать всех пользователей\"\n },\n MessageSelectUsers:{\n en_US: \"Only those transports that are not blocked, not deleted in the system and not added to the controller will be added to the controller\",\n ru_RU: \"В контроллер будут добавлены только тот транспорт, который: не заблокирован, не удалены в системе и не добавлен в контроллер\"\n },\n MessageWarningUpdateLimits:{\n en_US: \"When updating the daily and monthly limit, an automatic recalculation takes place taking into account refuelings for the current day and month\",\n ru_RU: \"При обновлении дневного и месячного лимита происходит автоматический пересчет с учетом заправок за текущий день и месяц\"\n },\n Submit:{\n en_US: \"Submit\",\n ru_RU: \"Подтвердить\"\n },\n Cancel:{\n en_US: \"Cancel\",\n ru_RU: \"Отмена\"\n },\n TextDelete:{\n en_US: \"Are you sure you want to delete the user?\",\n ru_RU: \"Вы уверены, что хотите удалить пользователя?\"\n },\n HeaderDelete:{\n en_US: \"Delete the user\",\n ru_RU: \"Удаление пользователя\"\n }\n};\n","import React, { useContext, useEffect, useMemo, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Nav, Tooltip, OverlayTrigger, Form, Card, Spinner, Offcanvas} from 'react-bootstrap';\nimport { AuthContext } from '../../context/AuthContext';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport Select from 'react-select';\nimport moment from 'moment';\nimport CurrencyInput from 'react-currency-input-field';\nimport './../../boxicons.css';\nimport MaterialReactTable from 'material-react-table';\nimport { MRT_Localization_RU } from 'material-react-table/locales/ru'; \nimport { LimitDayMonthTransport } from './limitDayMonth';\nimport { LimitAbsoluteTransport } from './limitAbsolute';\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\nimport { TranslateUser } from '../../lang/users/user';\nimport { CurrentSelectLanguage } from '../../helpers/language';\nimport {FormLocale} from '../../lang/form';\nimport api from '../../utils/axiosInterceptions';\n\nexport const TransportLimits = ({typeLimit, setTypeLimit, transportData, permission}) => {\n\n const params = useParams();\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\n const [showFormAdd, setShowFormAdd] = useState(false)\n const [currentTime, setCurrentTime] = useState(0)\n const [btnDayLoad, setBtnDayLoad] = useState(false)\n const [btnMonthLoad, setBtnMonthLoad] = useState(false)\n const [listLimits, setListLimits] = useState({})\n const [historyLimit, setHistoryLimit] = useState([])\n const [liters, setLiters] = useState(0)\n const [loadingDataGrid, setLoadingDataGrid] = useState(false)\n const translated = useLittera(TranslateUser);\n const translatedForm = useLittera(FormLocale);\n const [lastChangeTypeLimit, setLastChangeTypeLimit] = useState(new Date())\n const methods = useLitteraMethods();\n const [dayLimit, setDayLimit] = useState({\n limit:0,\n balance:0\n })\n const [monthLimit, setMonthLimit] = useState({\n limit:0,\n balance:0\n });\n const [loadingDataBtn, setLoadingDataButton] = useState(false)\n\n const handleShow = () => setShowFormAdd(true)\n const handleClose = () => setShowFormAdd(false);\n\n const handleDayLimit = () => {\n setBtnDayLoad(true)\n api.get(\"/api/transport/details/limit-day\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"id\":params.id\n },\n params:{\n id: params.id,\n }\n })\n .then(function (response) {\n setDayLimit(response.data.dataResult.countDayLimit)\n displayToast(response.data.message, response.data.isSuccess)\n setCurrentTime(moment().format(\"DD.MM.YYYY\"))\n setBtnDayLoad(false)\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n const handleMonthLimit = () => {\n setBtnMonthLoad(true)\n api.get(\"/api/transport/details/limit-month\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"id\":params.id\n },\n params:{\n id: params.id,\n }\n })\n .then(function (response) {\n setMonthLimit(response.data.dataResult.countMonthLimit)\n displayToast(response.data.message, response.data.isSuccess)\n setCurrentTime(moment().format(\"DD.MM.YYYY HH:mm\"))\n setBtnMonthLoad(false)\n })\n .catch(function (error) {\n console.log(error);\n setBtnMonthLoad(false)\n });\n }\n \n const handleUpdateHistoryLimit = () => {\n setLoadingDataButton(true)\n setLoadingDataGrid(true)\n \n api.get(\"/api/transport/details/history-limits\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"id\":params.id\n },\n params:{\n id: params.id,\n }\n })\n .then(function (response) {\n setLoadingDataButton(false)\n setLoadingDataGrid(false)\n setHistoryLimit(response.data.listDatas)\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n const onHandleUpdateLimit = dataLimit => { \n setLoadingDataButton(true)\n api.post('/api/transport/details/update-limit', {\n Id: params.id,\n Liters: liters,\n EnumTypeLimitId: dataLimit.EnumTypeLimit.id\n })\n .then(function (response) {\n console.log(\"update limit\")\n \n setLoadingDataButton(false)\n displayToast(response.data.message, response.data.isSuccess)\n\n if (response.data.dataResult.enumTypeLimitId == 1) {\n setDayLimit({\n limit: response.data.dataResult.countDayLimit,\n balance: response.data.dataResult.balanceDay\n })\n } else {\n setMonthLimit({\n limit: response.data.dataResult.countMonthLimit,\n balance: response.data.dataResult.balanceMonth\n })\n }\n\n })\n .catch(function (error) {\n console.log(error);\n setLoadingDataButton(false)\n });\n }\n\n const getEnumTypeLimits = () => {\n api.get(\"/api/enum-type-limits/all\", {\n })\n .then(function (response) {\n const addTypeLimit = response.data.listDatas.filter((i) => i.id == 3 || i.id == 4 || i.id == 5).map(item => ({\n ...item,\n value: item.id,\n label: item.name\n }))\n \n setListLimits(addTypeLimit)\n let findTypeLimit = response.data.listDatas.filter((item) => item.id == typeLimit)\n setValue(\"TypeLimit\", {label:findTypeLimit[0].name, value:findTypeLimit[0].id})\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n const getHistoryLimits = () => {\n api.get(\"/api/transport/details/history-limits\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"id\":params.id\n },\n params:{\n id: params.id,\n }\n })\n .then(function (response) {\n \n //setHistoryLimit(response.data.listDatas)\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n const getLimits = () => {\n api.get(\"/api/transport/details/limit-day\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"id\":params.id\n },\n params:{\n id: params.id,\n }\n })\n .then(function (response) {\n setDayLimit({\n limit: response.data.dataResult.countDayLimit,\n balance: response.data.dataResult.balanceDay\n })\n setCurrentTime(moment().format(\"DD.MM.YYYY\"))\n })\n .catch(function (error) {\n console.log(error);\n });\n \n api.get(\"/api/transport/details/limit-month\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"id\":params.id\n },\n params:{\n id: params.id,\n }\n })\n .then(function (response) {\n \n setMonthLimit({\n limit: response.data.dataResult.countMonthLimit,\n balance: response.data.dataResult.balanceMonth\n })\n setCurrentTime(moment().format(\"DD.MM.YYYY\"))\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n const changeTypeLimit = (typeLimitId) => {\n api.post('/api/transport/details/change-type-limit', {\n Id: transportData.dataResult.id,\n EnumTypeLimitId:typeLimitId,\n withCredentials:true\n })\n .then(function (response) {\n setLastChangeTypeLimit(response.data.dataResult.lastChangeTypeLimit)\n setTypeLimit(typeLimitId)\n displayToast(response.data.message, response.data.isSuccess)\n })\n .catch(function (error) {\n displayToast(error.response.data.message, error.response.data.isSuccess)\n });\n }\n\n useEffect(() => {\n getLimits()\n getHistoryLimits()\n getEnumTypeLimits()\n }, [])\n\n const displayToast = (message, status) => {\n\n if(status) {\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n }); \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n }\n\n const columns = useMemo(\n () => [\n {\n accessorFn: (row) => row.liters > 0 \n ? {row.liters} \n : {row.liters},\n accessorKey: 'liters',\n header: translated.Liters,\n },\n {\n accessorFn: (row) => row.enumTypeLimit.name,\n accessorKey: 'enumTypeLimit',\n header: translated.TypeLimit,\n },\n {\n accessorFn: (row) => moment(row.createdAt).format('DD.MM.YYYY HH:mm'),\n accessorKey: 'createddAt',\n header: translated.CreatedDate,\n },\n ],\n [],\n );\n\n\n return (\n <>\n
    \n \n\n
    \n \n
    \n\n
    \n \n\n \n
    \n\n \n {translated.TypeLimit}\n (\n {\n setValue(\"TypeLimit\", {label:item.label, value:item.value})\n changeTypeLimit(item.value)\n }}\n />\n )}\n />\n {errors.TypeLimit && \n {errors.TypeLimit.message}\n }\n \n\n {\n typeLimit == 5\n ? \n : typeLimit == 3\n ? \n : typeLimit == 4\n ? null\n : null\n }\n \n
    \n
    \n\n \n \n\n \n\n \n\n
    \n
    \n\n
    \n
    \n\n \n \n \n \n {translated.EditLimit}\n \n \n
    \n \n
    \n\n \n\n {translated.TypeLimit}\n (\n \r\n )}\r\n />\r\n {errors.Company && \r\n {errors.Company.message}\r\n } \r\n \r\n\r\n \r\n setFile(e.target.files[0])}\r\n type=\"file\"\r\n />\r\n {errors.file && \r\n {errors.file.message}\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}","import React from \"react\";\r\nimport { useLittera } from \"@assembless/react-littera\";\r\n\r\nexport const TranslateController = {\r\n\r\n TitleSingle:{\r\n en_US: \"Controller\",\r\n ru_RU: \"Контроллер\"\r\n },\r\n ListController: {\r\n en_US: \"Controllers\",\r\n ru_RU: \"Контроллеры\"\r\n },\r\n Undefined:{\r\n en_US: \"Unknow\",\r\n ru_RU: \"Неизвестно\"\r\n },\r\n ListGroup:{\r\n en_US: \"Groups\",\r\n ru_RU: \"Группы\"\r\n },\r\n ActionWithControllers:{\r\n en_US: \"Action with controllers\",\r\n ru_RU: \"Действия с контроллерами\"\r\n },\r\n PermissionDenied:{\r\n en_US: \"Permission denied\",\r\n ru_RU: \"У вас недостаточно прав для доступа к разделу\"\r\n },\r\n AddControllerTitle:{\r\n en_US: \"Add controller\",\r\n ru_RU: \"Добавление контроллера\"\r\n },\r\n AddController:{\r\n en_US: \"Add controller\",\r\n ru_RU: \"Добавить контроллер\",\r\n },\r\n AddGroup:{\r\n en_US: \"Add group\",\r\n ru_RU: \"Добавить группу\"\r\n },\r\n UpdateList:{\r\n en_US: \"Update list of controllers\",\r\n ru_RU: \"Обновить список\"\r\n },\r\n EnableAutoRead:{\r\n en_US: \"Enable auto read\",\r\n ru_RU: \"Включить автоопрос\"\r\n },\r\n DisabledAutoRead:{\r\n en_US: \"Disable auto read\",\r\n ru_RU: \"Выключить автоопрос\"\r\n },\r\n MessageAfterAdd:{\r\n en_US: \"After adding the controller, the automatic process of reading the factory settings and writing them to the system will start\",\r\n ru_RU: \"После добавления контроллера будет запущен автоматический процесс считывания заводских настроек и запись их в систему\"\r\n },\r\n Cancel:{\r\n en_US: \"Cancel\",\r\n ru_RU: \"Отмена\"\r\n },\r\n Submit:{\r\n en_US: \"Submit\",\r\n ru_RU: \"Подтвердить\"\r\n },\r\n SetData:{\r\n en_US: \"Write data\",\r\n ru_RU: \"Записать данные\"\r\n },\r\n SetFactory:{\r\n en_US: \"Reseting settings\",\r\n ru_RU: \"Сброс к заводским настройкам\"\r\n },\r\n TextSetFactory:{\r\n en_US: \"Are you sure you want to reset the controller to factory settings?\",\r\n ru_RU: \"Вы уверены, что хотите сбросить контроллер к заводским настройкам?\"\r\n },\r\n DeleteController: {\r\n en_US: \"Delete the controller\",\r\n ru_RU: \"Удаление контроллера\"\r\n },\r\n TextDeleteController:{\r\n en_US: \"Are you sure you want to delete the controller?\",\r\n ru_RU: \"Вы уверены, что хотите удалить контроллер?\"\r\n },\r\n SynchControllerTime:{\r\n en_US: \"Controller time synchronization\",\r\n ru_RU: \"Синхронизировать время на контроллере\"\r\n },\r\n WriteControllerConfig:{\r\n en_US: \"Write controller configuration\",\r\n ru_RU: \"Записать настройки контроллера\"\r\n },\r\n WriteLimits:{\r\n en_US: \"Write users and transports limits\",\r\n ru_RU: \"Записать лимиты пользователей и ТС\"\r\n },\r\n WriteTable:{\r\n en_US: \"Write calibration charts of level sensor\",\r\n ru_RU: \"Записать градуировочные таблицы для уровнемеров\"\r\n },\r\n ReadLogEvents:{\r\n en_US: \"Read log events\",\r\n ru_RU: \"Считать журнал событий\"\r\n },\r\n ReadLimits:{\r\n en_US: \"Read limits of users and transports\",\r\n ru_RU: \"Чтение лимитов пользователей и ТС\"\r\n },\r\n ReadDataButton:{\r\n en_US: \"Read data\",\r\n ru_RU: \"Чтение данных\"\r\n },\r\n ReadingJournal: {\r\n en_US: \"Reading journal\",\r\n ru_RU: \"Чтение журнала\"\r\n },\r\n ReadingData:{\r\n en_US: \"Reading data\",\r\n ru_RU: \"Чтение данных\"\r\n },\r\n UpdateFirmware:{\r\n en_US: \"Update firmware\",\r\n ru_RU: \"Обновление прошивки\"\r\n },\r\n UpdateFirmwareFromServer:{\r\n en_US: \"Update firmware from server\",\r\n ru_RU: \"Обновление прошивки с сервера\"\r\n },\r\n Motherboard:{\r\n en_US: \"Motherboard\",\r\n ru_RU: \"Материнская плата\"\r\n },\r\n Keyboard:{\r\n en_US: \"Keyboard\",\r\n ru_RU: \"Клавиатура\"\r\n },\r\n Indicator:{\r\n en_US: \"Indicator\",\r\n ru_RU: \"Индикатор\"\r\n },\r\n ReadingSettings:{\r\n en_US: \"Reading settings\",\r\n ru_RU: \"Чтение настроек\"\r\n },\r\n Name:{\r\n en_US: \"Name\",\r\n ru_RU: \"Название\"\r\n },\r\n ID:{\r\n en_US: \"Controller's ID\",\r\n ru_RU: \"ID контроллера\"\r\n },\r\n Station:{\r\n en_US: \"Station\",\r\n ru_RU: \"Станция\"\r\n },\r\n Sections:{\r\n en_US: \"Sections\",\r\n ru_RU: \"Секции\"\r\n },\r\n VersionSoftware:{\r\n en_US: \"Software version\",\r\n ru_RU: \"Версия ПО\"\r\n },\r\n VersionProtocol:{\r\n en_US: \"Protocol version\",\r\n ru_RU: \"Версия протокола\"\r\n },\r\n TypeController:{\r\n en_US: \"Controller's type\",\r\n ru_RU: \"Тип контроллера\"\r\n },\r\n AutoRead:{\r\n en_US: \"Auto read\",\r\n ru_RU: \"Автоопрос\"\r\n },\r\n Settings:{\r\n en_US: \"Settings\",\r\n ru_RU: \"Настройки\"\r\n },\r\n Enable:{\r\n en_US: \"Enable\",\r\n ru_RU: \"Включено\"\r\n },\r\n Disable:{\r\n en_US: \"Disable\",\r\n ru_RU: \"Отключено\"\r\n },\r\n Readed:{\r\n en_US: \"Readed\",\r\n ru_RU: \"Считаны\"\r\n },\r\n NotReaded:{\r\n en_US: \"Not readed\",\r\n ru_RU: \"Не считаны\"\r\n },\r\n Write:{\r\n en_US: \"A-Z, 0-9 symbols for controller's ID\",\r\n ru_RU: \"Введите ID содержащий цифры 0-9 и буквы A-F\"\r\n },\r\n General:{\r\n en_US: \"General\",\r\n ru_RU: \"Основное\"\r\n },\r\n Users:{\r\n en_US: \"Users\",\r\n ru_RU: \"Пользователи\"\r\n },\r\n Transports:{\r\n en_US: \"Transports\",\r\n ru_RU: \"Транспортные средства\"\r\n },\r\n Companies:{\r\n en_US: \"Companies\",\r\n ru_RU: \"Компании\"\r\n },\r\n Company:{\r\n n_US: \"Company\",\r\n ru_RU: \"Компания\"\r\n },\r\n LevelMeters:{\r\n en_US: \"Level meters\",\r\n ru_RU: \"Уровнемеры\"\r\n },\r\n Pump:{\r\n en_US: \"Pump\",\r\n ru_RU: \"Насос\"\r\n },\r\n Valves:{\r\n en_US: \"Valves\",\r\n ru_RU: \"Клапаны\"\r\n },\r\n ExternalInputs:{\r\n en_US: \"External inpus\",\r\n ru_RU: \"Внешние входы\"\r\n },\r\n FlowSensor:{\r\n en_US: \"Flow sensors\",\r\n ru_RU: \"Датчики расхода\"\r\n },\r\n Metrology:{\r\n en_US: \"Metrology\",\r\n ru_RU: \"Метрология\"\r\n },\r\n Filling:{\r\n en_US: \"Filling\",\r\n ru_RU: \"Налив\"\r\n },\r\n Modem:{\r\n en_US: \"Modem\",\r\n ru_RU: \"Модем\"\r\n },\r\n Auth:{\r\n en_US: \"Login and password\",\r\n ru_RU: \"Логин и пароль\"\r\n },\r\n Topaz:{\r\n en_US: \"AZT 2.0 (Topaz, Kvant)\",\r\n ru_RU: \"АЗT 2.0 (Топаз. Квант)\"\r\n },\r\n Gilbarco:{\r\n en_US: \"Gilbarco\",\r\n ru_RU: \"Гилбарко\"\r\n },\r\n Tokheim:{\r\n en_US: \"Tokheim India\",\r\n ru_RU: \"Токхейм Индия\" \r\n },\r\n Livenka:{\r\n en_US: \"Livenka\",\r\n ru_RU: \"Ливенка\"\r\n },\r\n Electro:{\r\n en_US: \"Electromechanical\",\r\n ru_RU: \"Электромеханическая\"\r\n },\r\n PrinteCheque:{\r\n en_US: \"Printer cheques\",\r\n ru_RU: \"Принтер чеков\"\r\n },\r\n ParamTRK:{\r\n en_US: \"Params\",\r\n ru_RU: \"Параметры ТРК\" \r\n },\r\n ButtonStartStop:{\r\n en_US: \"Button start/stop\",\r\n ru_RU: \"Кнопка старт/стоп\" \r\n },\r\n Indicators:{\r\n en_US: \"Indicators\",\r\n ru_RU: \"Индикаторы\" \r\n },\r\n MessageAutoReadActive:{\r\n en_US: \"The controller has auto-polling enabled. Disable auto-request to manually read settings\",\r\n ru_RU: \"У контроллера включен автоопрос. Отключите автопрос для ручного чтения настроек\" \r\n },\r\n Yes:{\r\n en_US: \"Active\",\r\n ru_RU: \"Да\"\r\n },\r\n No:{\r\n en_US: \"Disabled\",\r\n ru_RU: \"Нет\"\r\n },\r\n ModemInstall:{\r\n en_US: \"The moded is installed\",\r\n ru_RU: \"Модем установлен\"\r\n },\r\n EnablePowerModem:{\r\n en_US: \"Turn on modem power\",\r\n ru_RU: \"Включать питание модема\"\r\n },\r\n TurnModemPower:{\r\n en_US: \"Turn on modem power\",\r\n ru_RU: \"Автономный налив\"\r\n },\r\n OpenCollector:{\r\n en_US: \"Open collector\",\r\n ru_RU: \"Открытым коллектором\"\r\n },\r\n RegularOutput:{\r\n en_US: \"Regular output\",\r\n ru_RU: \"Обычным выходом\"\r\n },\r\n SelfFilling:{\r\n en_US: \"Self-contained filling\",\r\n ru_RU: \"Автономный налив\"\r\n },\r\n RefuelingComputer:{\r\n en_US: \"Refueling from a computer\",\r\n ru_RU: \"Заправки с компьютера\"\r\n },\r\n LicenseStart:{\r\n en_US: \"License start\",\r\n ru_RU: \"Лицензия с\"\r\n },\r\n LicenseEnd:{\r\n en_US: \"License end\",\r\n ru_RU: \"Лицензия до\"\r\n },\r\n LicenseMessage:{\r\n en_US: \"License validity\",\r\n ru_RU: \"Действие лицензии\"\r\n },\r\n OfflineComputer:{\r\n en_US: \"Offline or from a computer\",\r\n ru_RU: \"Автономный или с компьютера\"\r\n },\r\n SvoyClub:{\r\n en_US: \"Svoy club\",\r\n ru_RU: \"Svoy club\"\r\n },\r\n ReadDataFromController:{\r\n en_US: \"Read data from a controller\",\r\n ru_RU: \"Чтение данных с контроллера\"\r\n },\r\n SetDataToController:{\r\n en_US: \"Set settings to controller\",\r\n ru_RU: \"Запись настроек в контроллер\"\r\n },\r\n SetConfiguration:{\r\n en_US: \"Set configuration\",\r\n ru_RU: \"Установка конфигурации\"\r\n },\r\n DefaultSettings:{\r\n en_US: \"Set default settings\",\r\n ru_RU: \"Сброс к заводским настройкам\"\r\n },\r\n FuelIntake:{\r\n en_US: \"Fuel intake\",\r\n ru_RU: \"Прием топлива\"\r\n },\r\n RfidReader:{\r\n en_US: \"Rfid reader\",\r\n ru_RU: \"Считыватель\"\r\n },\r\n TRKWork:{\r\n en_US: \"Is working\",\r\n ru_RU: \"ТРК работает\"\r\n },\r\n Inforcom:{\r\n en_US: \"Inforcom\",\r\n ru_RU: \"Инфорком\"\r\n },\r\n OperationMode:{\r\n en_US: \"Operating mode\",\r\n ru_RU: \"Режим работы\"\r\n },\r\n OnIndAndKey:{\r\n en_US: \"2nd indicator and keyboard\",\r\n ru_RU: \"2-ой индикатор и клавиатура\"\r\n },\r\n Sum:{\r\n en_US: \"Total\",\r\n ru_RU: \"Сумма\"\r\n },\r\n RemoveSurvey:{\r\n en_US: \"Remove survey\",\r\n ru_RU: \"Автоопрос включен\"\r\n },\r\n Topaz20:{\r\n en_US: \"Topaz 2.0\",\r\n ru_RU: \"Топаз 2.0\"\r\n },\r\n InterfacePanel:{\r\n en_US: \"Interface panel\",\r\n ru_RU: \"Интерфейсная панель\"\r\n },\r\n PumpControl:{\r\n en_US: \"Pump control\",\r\n ru_RU: \"Управление насосом\"\r\n },\r\n TurningPumpOn:{\r\n en_US: \"Turning pump on\",\r\n ru_RU: \"Включение насоса\"\r\n },\r\n PumpSwitchDelay:{\r\n en_US: \"Pump switching on delay, sec\",\r\n ru_RU: \"Задержка включения насоса, с.\"\r\n },\r\n PumpRelay1:{\r\n en_US: \"Relay 1\",\r\n ru_RU: \"Реле 1\"\r\n },\r\n PumpOut1:{\r\n en_US: \"Out 1\",\r\n ru_RU: \"Выход 1\"\r\n },\r\n PumpConnect:{\r\n en_US: \"Connection\",\r\n ru_RU: \"Замыкание\"\r\n },\r\n ShutOffValve:{\r\n en_US: \"Shut-off valve\",\r\n ru_RU: \"Отсечной клапан\"\r\n },\r\n ShutOffControlValve:{\r\n en_US: \"Shut-off valve control\",\r\n ru_RU: \"Управление отсченым клапаном\"\r\n },\r\n TurnShutOffValve:{\r\n en_US: \"Turn shut-off valve on\",\r\n ru_RU: \"Включение клапана\"\r\n },\r\n ReducingValve:{\r\n en_US: \"Reducing valve\",\r\n ru_RU: \"Клапан снижения\"\r\n },\r\n ReducingControlValve:{\r\n en_US: \"Reducing valve control\",\r\n ru_RU: \"Управление клапаном снижения\"\r\n },\r\n TurnReducingValve:{\r\n en_US: \"Turn reducing valve on\",\r\n ru_RU: \"Включение клапана снижения\"\r\n },\r\n Relay3:{\r\n en_US: \"Relay 3\",\r\n ru_RU: \"Реле 3\"\r\n },\r\n Relay2:{\r\n en_US: \"Relay 2\",\r\n ru_RU: \"Реле 2\"\r\n },\r\n NotConnected:{\r\n en_US: \"Not connected\",\r\n ru_RU: \"Не подключен\"\r\n },\r\n Connected:{\r\n en_US: \"Connected\",\r\n ru_RU: \"Подключен\"\r\n },\r\n FlowSensor:{\r\n en_US: \"Flow sensor\",\r\n ru_RU: \"Датчик расхода\"\r\n },\r\n CountImpulseFW:{\r\n en_US: \"Count impulse while\",\r\n ru_RU: \"Счет импульсов при\"\r\n },\r\n FirstChannelFW:{\r\n en_US: \"First channel in\",\r\n ru_RU: \"Вход первого канал\"\r\n },\r\n SecondChannelFW:{\r\n en_US: \"Second channel in\",\r\n ru_RU: \"Вход второго канал\"\r\n },\r\n ImpulseDurationFW:{\r\n en_US: \"Impulse duration, msec\",\r\n ru_RU: \"Длительность импульса, с.\"\r\n },\r\n WaitingTimeFirst:{\r\n en_US: \"Waiting time of the first impulse (flow), sec\",\r\n ru_RU: \"Время ожидания первого импульса (расход), с.\"\r\n },\r\n WaitingTimeNext:{\r\n en_US: \"Waiting time of the subsequent impulses (flow), sec\",\r\n ru_RU: \"Время ожидания следующих импульсов (расход), с.\"\r\n },\r\n SingleChannel:{\r\n en_US: \"Single channel pulse sensor\",\r\n ru_RU: \"Импульсный одноканальный\"\r\n },\r\n DoubleChannel:{\r\n en_US: \"Double channel pulse sensor\",\r\n ru_RU: \"Импульсный двухканальный\"\r\n },\r\n MassFlowSensor:{\r\n en_US: \"Mass flow sensor\",\r\n ru_RU: \"Массомер Sealand\"\r\n },\r\n MassFlowEmis:{\r\n en_US: \"Mass flow EMIS\",\r\n ru_RU: \"Массомер EMIS\"\r\n },\r\n DigitalBenza:{\r\n en_US: \"Digital Benza\",\r\n ru_RU: \"Цифровая Benza\"\r\n },\r\n ClosedToOpen:{\r\n en_US: \"Closed switches to open\",\r\n ru_RU: \"Переход из замкнуто в разамкнуто\"\r\n },\r\n OpenToClose:{\r\n en_US: \"Open switches to closed\",\r\n ru_RU: \"Переход и разамкнуто в замкнуто\"\r\n },\r\n IN_FW:{\r\n en_US: \"IN 1\",\r\n ru_RU: \"Вход 1\"\r\n },\r\n IN2_FW:{\r\n en_US: \"IN 2\",\r\n ru_RU: \"Вход 2\"\r\n },\r\n ImpulseCountPerMetro:{\r\n en_US: \"Impulse count per liter\",\r\n ru_RU: \"Число импульсов на литр\"\r\n },\r\n AdjustmentFactor:{\r\n en_US: \"Adjustment factor\",\r\n ru_RU: \"Юстировочный коэффицент\"\r\n },\r\n Totaliser:{\r\n en_US: \"Totaliser, L.\",\r\n ru_RU: \"Сумматор, л.\"\r\n },\r\n ElectronicSeal:{\r\n en_US: \"Metrological significant change counter parts (Electronical seal)\",\r\n ru_RU: \"Электронная пломба\"\r\n },\r\n CommonSensor:{\r\n en_US: \"Common sensor\",\r\n ru_RU: \"Общий сенсор\"\r\n },\r\n Input1:{\r\n en_US: \"Input 1\",\r\n ru_RU: \"Вход 1\"\r\n },\r\n Input2:{\r\n en_US: \"Input 2\",\r\n ru_RU: \"Вход 2\"\r\n },\r\n Input3:{\r\n en_US: \"Input 3\",\r\n ru_RU: \"Вход 3\"\r\n },\r\n HatchOpenType:{\r\n en_US: \"Hatch open type\",\r\n ru_RU: \"Тип сенсора открытяи крышки\"\r\n },\r\n OpeningSensor:{\r\n en_US: \"Opening sensor input\",\r\n ru_RU: \"Вход сенсора открытия входа\"\r\n },\r\n PrinterType:{\r\n en_US: \"Printer type\",\r\n ru_RU: \"Тип принтера\"\r\n },\r\n ChequeHeader:{\r\n en_US: \"Cheque header\",\r\n ru_RU: \"Заголовок чека\"\r\n },\r\n ChequeString:{\r\n en_US: \"String 1\",\r\n ru_RU: \"Строка 1\"\r\n },\r\n ChequeString2:{\r\n en_US: \"String 2\",\r\n ru_RU: \"Строка 2\"\r\n },\r\n TotalCheque:{\r\n en_US: \"Cheque total\",\r\n ru_RU: \"Итог чека\"\r\n },\r\n AccessPoint:{\r\n en_US: \"Access point (APN)\",\r\n ru_RU: \"Точка доступа (APN)\"\r\n },\r\n UserName:{\r\n en_US: \"User name\",\r\n ru_RU: \"Пользователь\"\r\n },\r\n Port:{\r\n en_US: \"Port\",\r\n ru_RU: \"Порт\"\r\n },\r\n Login:{\r\n en_US: \"Login\",\r\n ru_RU: \"Логин\"\r\n },\r\n Password:{\r\n en_US: \"Password\",\r\n ru_RU: \"Пароль\"\r\n },\r\n Address:{\r\n en_US: \"Network address\",\r\n ru_RU: \"Сетевой адрес\"\r\n },\r\n IPAddress:{\r\n en_US: \"IP address\",\r\n ru_RU: \"IP адрес\"\r\n },\r\n Address:{\r\n en_US: \"Address\",\r\n ru_RU: \"Адрес\"\r\n },\r\n Server:{\r\n en_US: \"Server\",\r\n ru_RU: \"Сервер\"\r\n },\r\n\r\n ExternalButton:{\r\n en_US: \"External button\",\r\n ru_RU: \"Внешняя кнопка\"\r\n },\r\n ButtonExternalType:{\r\n en_US: \"Button external type\",\r\n ru_RU: \"Тип внешней кнопки\"\r\n },\r\n ButtonInput:{\r\n en_US: \"Button input\",\r\n ru_RU: \"Вход кнопки\"\r\n },\r\n MinStartSignal:{\r\n en_US: \"Minimal start/stop signal length, sec.\",\r\n ru_RU: \"Мин. длительность сигнала старт/стоп, с.\"\r\n },\r\n StartButtonPanel:{\r\n en_US: \"Start refueling with the Start button on thecontroller panel without identyifying the user or vehicle\",\r\n ru_RU: \"Пуск заправки кнопкой Старт на панели контроллера без идентификации пользователя или ТС\"\r\n },\r\n RefuelingTypeButton:{\r\n en_US: \"Refueling type by start button\",\r\n ru_RU: \"Тип заправки по кнопке старт\"\r\n },\r\n ActivationViewReadingButton:{\r\n en_US: \"Activation of viewing the readings of the level gauges for the button 0\",\r\n ru_RU: \"Активация просмотра показаний уровнемеров на кнопку 0\"\r\n },\r\n SettingsButton:{\r\n en_US: \"Settings button\",\r\n ru_RU: \"Настройки режима работы\"\r\n },\r\n ButtonOnDisconnect:{\r\n en_US: \"Button on disconnection\",\r\n ru_RU: \"Кнопка на размыкании\"\r\n },\r\n ButtonOnConnection:{\r\n en_US: \"Button on connection\",\r\n ru_RU: \"Кнопка на замыкании\"\r\n },\r\n GunOnDisconnect:{\r\n en_US: \"Gun on disconnection\",\r\n ru_RU: \"Пистолет на размыкании\"\r\n },\r\n GunOnConnect:{\r\n en_US: \"Gun on connection\",\r\n ru_RU: \"Пистолет на замыкании\"\r\n },\r\n NotDose:{\r\n en_US: \"Not dose injection\",\r\n ru_RU: \"Без набора дозы\"\r\n },\r\n WithDose:{\r\n en_US: \"Dose injection\",\r\n ru_RU: \"С набором дозы\"\r\n },\r\n\r\n FuelType:{\r\n en_US: \"Fuel type\",\r\n ru_RU: \"Топливо\"\r\n },\r\n MinimalDose:{\r\n en_US: \"Minimal dose, l(kg)\",\r\n ru_RU: \"Минимальная доза, л (кг)\"\r\n },\r\n MaximalDose:{\r\n en_US: \"Maximal dose, l(kg)\",\r\n ru_RU: \"Максимальная доза, л (кг)\"\r\n },\r\n ReduceEndFill:{\r\n en_US: \"Reduce capacity of the end of fill, l (kg)\",\r\n ru_RU: \"Снижение расхода в конце налива, л (кг)\"\r\n },\r\n FullCapacityAfterFilling:{\r\n en_US: \"Full capacity after filling, l (kg)\",\r\n ru_RU: \"Полный расход после отпуска, л (кг)\"\r\n },\r\n EndFillAfterSwitch:{\r\n en_US: \"End fill after switching pump off, sec\",\r\n ru_RU: \"Завершение налива после выкл. насоса через, с.\"\r\n },\r\n StopFill:{\r\n en_US: \"Stop fill in case of flow sensor error\",\r\n ru_RU: \"Остановка налива при ошибке от датчиков расхода\"\r\n },\r\n TimeLastFill:{\r\n en_US: \"Time of last fill indication, sec\",\r\n ru_RU: \"Время индикации последнего налива, с.\"\r\n },\r\n\r\n InputIn:{\r\n en_US: \"Input IN1\",\r\n ru_RU: \"Вход IN1\"\r\n },\r\n InputIn2:{\r\n en_US: \"Input IN2\",\r\n ru_RU: \"Вход IN2\"\r\n },\r\n InputIn3:{\r\n en_US: \"Input IN3\",\r\n ru_RU: \"Вход IN3\"\r\n },\r\n InputIn4:{\r\n en_US: \"Input IN4\",\r\n ru_RU: \"Вход IN4\"\r\n },\r\n MininalSignalDuration:{\r\n en_US: \"Minimal signal duration for the external button, ms\",\r\n ru_RU: \"Мин. длительность сигнала для внешней кнопки, мс\"\r\n },\r\n MessageButtonExternalInputs:{\r\n en_US: \"Meaning Closing pushbutton or Opening pushbutton, must be in only one input\",\r\n ru_RU: \"Значение Кнопка на замыкание или Кнопка на размыкание, должна быть только в одном входе\"\r\n },\r\n NotSet:{\r\n en_US: \"Not set\",\r\n ru_RU: \"Не задано\"\r\n },\r\n TamperSensor:{\r\n en_US: \"Tamper sensor\",\r\n ru_RU: \"Датчик вскрытия\"\r\n },\r\n ClosingButton:{\r\n en_US: \"Closing button (normally open)\",\r\n ru_RU: \"Кнопка на замыкание (нормально разомкнутая)\"\r\n },\r\n OpenButton:{\r\n en_US: \"Open button (normally closed)\",\r\n ru_RU: \"Кнопка на размыкание (нормально замкнутая)\"\r\n },\r\n\r\n ModalHardwareTitle:{\r\n en_US: \"Set controller configuration\",\r\n ru_RU: \"Установка конфигурации\"\r\n },\r\n MessageModalHardware:{\r\n en_US: \"Before installong, make sure that the controller supports selected hardware and software configuration\",\r\n ru_RU: \"Перед установкой убедитесь, что контроллер поддерживает выбранную аппаратно-программную конфигурацию\"\r\n },\r\n SaveConfiguration:{\r\n en_US: \"Install hardware configuration\",\r\n ru_RU: \"Установить конфигурацию\"\r\n },\r\n SelectFileForUpload:{\r\n en_US: \"Select file for upload\",\r\n ru_RU: \"Выберите файл для загрузки\"\r\n },\r\n GetLevelMeterData:{\r\n en_US: \"Get level meters data\",\r\n ru_RU: \"Показания уровнемеров\"\r\n },\r\n MessageSelectTypeLevelMeter:{\r\n en_US: \"To successfully record controller and level meter settings, all cells must have the same types. Different types will not be written to the controller\",\r\n ru_RU: \"Для успешной записи настроек контроллера и уровнемеров, во всех ячейках должны быть одинаковые типы. Разные типы не запишутся в контроллер\"\r\n },\r\n SettingCriticalLevel:{\r\n en_US: \"Settings critical levels\",\r\n ru_RU: \"Настройки критических уровней\"\r\n },\r\n PeriodSaveLevelMeterData:{\r\n en_US: \"Period save level meter data\",\r\n ru_RU: \"Период сохранения показаний уровнемеров\"\r\n },\r\n Period:{\r\n en_US: \"Period (min)\",\r\n ru_RU: \"Период, мин\"\r\n },\r\n Disable:{\r\n en_US: \"Disable\",\r\n ru_RU: \"Отключено\"\r\n },\r\n SettingOnController:{\r\n en_US: \"Settings on controller\",\r\n ru_RU: \"Настройки на контроллере\"\r\n },\r\n ControlBalance:{\r\n en_US: \"Control fuel's balance\",\r\n ru_RU: \"Контроль остатка топлива\"\r\n },\r\n NotControlBalance:{\r\n en_US: \"Do not control\",\r\n ru_RU: \"Не контроллировать\"\r\n },\r\n ControlBalanceLm:{\r\n en_US: \"Control the balance by level meters\",\r\n ru_RU: \"Контролировать по уровнемеру\"\r\n },\r\n ControlBalanceInvoice:{\r\n en_US: \"Controler fuel's balance\",\r\n ru_RU: \"Контролировать по накладным\"\r\n },\r\n ControlBalanceInvoiceLm:{\r\n en_US: \"Controler fuel's balance\",\r\n ru_RU: \"Контролировать по уровнемеру и накладным\"\r\n },\r\n HeaderLevelMeterData:{\r\n en_US: \"Reading of level meters\",\r\n ru_RU: \"Показания уровнемеров\"\r\n },\r\n LevelMeter_1:{\r\n en_US: \"Level meter 1\",\r\n ru_RU: \"Уровнемер 1\"\r\n },\r\n LevelMeter_2:{\r\n en_US: \"Level meter 2\",\r\n ru_RU: \"Уровнемер 2\"\r\n },\r\n LevelMeter_3:{\r\n en_US: \"Level meter 3\",\r\n ru_RU: \"Уровнемер 3\"\r\n },\r\n LevelMeter_4:{\r\n en_US: \"Level meter 4\",\r\n ru_RU: \"Уровнемер 4\"\r\n },\r\n Level:{\r\n en_US: \"Level\",\r\n ru_RU: \"Уровень\"\r\n },\r\n Temperature:{\r\n en_US: \"Temperature\",\r\n ru_RU: \"Температура\"\r\n },\r\n Filling:{\r\n en_US: \"Filling\",\r\n ru_RU: \"Заполнение\"\r\n },\r\n FullVolume:{\r\n en_US: \"Full volume\",\r\n ru_RU: \"Общий объем\"\r\n },\r\n Volume:{\r\n en_US: \"Volume\",\r\n ru_RU: \"Объем\"\r\n },\r\n Massa:{\r\n en_US: \"Mass\",\r\n ru_RU: \"Масса\"\r\n },\r\n Density:{\r\n en_US: \"Density\",\r\n ru_RU: \"Плотность\"\r\n },\r\n StateCriticalLevel:{\r\n en_US: \"State of critical level\",\r\n ru_RU: \"Состояние критических уровней\"\r\n },\r\n FuelVolume:{\r\n en_US: \"Fuel volume\",\r\n ru_RU: \"Объем основного продукта\"\r\n },\r\n ProductFluidLevel:{\r\n en_US: \"Product fluid level\",\r\n ru_RU: \"Уровень подтоварной жидкости\"\r\n },\r\n CodeError:{\r\n en_US: \"Code error\",\r\n ru_RU: \"Код ошибки\"\r\n },\r\n CodeErrorText:{\r\n en_US: \"Error description
    • Error code 1: No response from the level gauge
    • Error code 2: CRC error
    • Error code 3: Data is invalid
    \",\r\n ru_RU:\"Описание ошибок
    • Код ошибки 1: Нет ответа от уровнемера
    • Код ошибки 2: Ошибка CRC
    • Код ошибки 3: Данные недостоверны
    \"\r\n },\r\n CodeError1:{\r\n en_US: \"Error code 1: No response from the level gauge\",\r\n ru_RU: \"Код ошибки 1: Нет ответа от уровнемера\"\r\n },\r\n CodeError2:{\r\n en_US: \"Error code 2: CRC error\",\r\n ru_RU: \"Код ошибки 2: Ошибка CRC\"\r\n },\r\n CodeError3:{\r\n en_US: \"Error code 3: Data is invalid\",\r\n ru_RU: \"Код ошибки 3: Данные недостоверны\"\r\n },\r\n LevelMeter:{\r\n en_US: \"Level meter \",\r\n ru_RU: \"Уровнемер \" \r\n },\r\n Struna:{\r\n en_US: \"PPP Struna+\",\r\n ru_RU: \"ППП Струна+\" \r\n },\r\n PMP118:{\r\n en_US: \"PMP118\",\r\n ru_RU: \"ПМП 118\" \r\n },\r\n Type:{\r\n en_US: \"Type\",\r\n ru_RU: \"Тип\"\r\n },\r\n Address:{\r\n en_US: \"Address\",\r\n ru_RU: \"Адрес\"\r\n },\r\n GradTable:{\r\n en_US: \"Calibration size\",\r\n ru_RU: \"Градуировочная таблица\"\r\n },\r\n Params:{\r\n en_US: \"Params\",\r\n ru_RU: \"Параметры\"\r\n },\r\n OnOff:{\r\n en_US: \"On/Off\",\r\n ru_RU: \"Вкл/Выкл\"\r\n },\r\n DisableLevelMeter:{\r\n en_US: \"Disable\",\r\n ru_RU: \"Выключен\"\r\n },\r\n ActiveLevelMeter:{\r\n en_US: \"Active\",\r\n ru_RU: \"Включен\"\r\n },\r\n Occupancy:{\r\n en_US: \"Occupancy %\",\r\n ru_RU: \"Заполненность %\"\r\n },\r\n LowLevel:{\r\n en_US: \"Low level\",\r\n ru_RU: \"Нижний уровень\"\r\n },\r\n LevelSensorSetting:{\r\n en_US: \"Level sensor settings\",\r\n ru_RU: \"Настройки параметров уровнемера\"\r\n },\r\n RelativeUnits:{\r\n en_US: \"Relative units per 10 mm\",\r\n ru_RU: \"Относительных единиц на 10 мм\"\r\n },\r\n OffsetFromBottomSection:{\r\n en_US: \"Offset from the bottom of section, mm\",\r\n ru_RU: \"Смещение от дна секции, мм\" \r\n },\r\n CalibrationChartSize:{\r\n en_US: \"Calibration chart size\",\r\n ru_RU: \"Размер градуировочной таблицы\" \r\n },\r\n MeasuringRange:{\r\n en_US: \"Measuring range\",\r\n ru_RU: \"Диапазон измерения\" \r\n },\r\n LengthDUT:{\r\n en_US: \"Length of DUT in mm\",\r\n ru_RU: \"Длина ДУТа в мм\" \r\n },\r\n CalibrationTable:{\r\n en_US: \"Calibration table\",\r\n ru_RU: \"Градуировочная таблица\" \r\n },\r\n MessageErrorLengthDut4096:{\r\n en_US: \"With a measurement range of 4096, the length of the DUT must be at least 640 mm\",\r\n ru_RU: \"При диапазоне измерения 4096, длина ДУТа должна быть не меньше 640 мм\" \r\n },\r\n MessageErrorLengthDut4096:{\r\n en_US: \"With a measurement range of 1024, the length of the DUT must be at least 160 mm\",\r\n ru_RU: \"При диапазоне измерения 1024, длина ДУТа должна быть не меньше 160 мм\"\r\n },\r\n MessageErroCalibrationSize:{\r\n en_US: \"The size of the calibration table cannot be less than 100 and more than 400\",\r\n ru_RU: \"Размер градуировочной таблицы не может быть меньше 100 и больше 400\"\r\n },\r\n IgnoreButtonStart:{\r\n en_US: \"Ingore the Start button on the fuel distributor\",\r\n ru_RU: \"Игнорировать кнопку Пуск на ТРК\" \r\n },\r\n ReadSwtich:{\r\n en_US: \"Read switch\",\r\n ru_RU: \"Геркона\" \r\n },\r\n SleeveGrade:{\r\n en_US: \"Sleeve (Grade)\",\r\n ru_RU: \"Рукав (сорт)\" \r\n },\r\n Sleeves:{\r\n en_US: \"Sleeves\",\r\n ru_RU: \"Рукава\" \r\n },\r\n AddressParty1:{\r\n en_US: \"Address for party 1\",\r\n ru_RU: \"Адрес для стороны 1\" \r\n },\r\n AddressParty2:{\r\n en_US: \"Address for party 2\",\r\n ru_RU: \"Адрес для стороны 2\" \r\n },\r\n SleeveGrade1:{\r\n en_US: \"Sleeve 1 (Grade 1)\",\r\n ru_RU: \"Рукав 1 (сорт 1)\" \r\n },\r\n SleeveGrade2:{\r\n en_US: \"Sleeve 2 (Grade 2)\",\r\n ru_RU: \"Рукав 2 (сорт 2)\" \r\n },\r\n SleeveGrade3:{\r\n en_US: \"Sleeve 3 (Grade 3)\",\r\n ru_RU: \"Рукав 3 (сорт 3)\" \r\n },\r\n SleeveGrade4:{\r\n en_US: \"Sleeve 4 (Grade 4)\",\r\n ru_RU: \"Рукав 4 (сорт 4)\" \r\n },\r\n Topaz610:{\r\n en_US: \"Topaz 610(611), 510(511)\",\r\n ru_RU: \"Топаз 610(611), 510(511)\" \r\n },\r\n Topaz420:{\r\n en_US: \"Topaz 420 (421)\",\r\n ru_RU: \"Топаз 420 (421)\" \r\n },\r\n ModelDispenser:{\r\n en_US: \"Model dispencer\",\r\n ru_RU: \"Модель колонки\" \r\n },\r\n Sleeve1:{\r\n en_US: \"Sleeve 1\",\r\n ru_RU: \"Рукав 1\" \r\n },\r\n Sleeve2:{\r\n en_US: \"Sleeve 2\",\r\n ru_RU: \"Рукав 2\" \r\n },\r\n Sleeve3:{\r\n en_US: \"Sleeve 3\",\r\n ru_RU: \"Рукав 3\" \r\n },\r\n Sleeve4:{\r\n en_US: \"Sleeve 4\",\r\n ru_RU: \"Рукав 4\" \r\n },\r\n Sleeve5:{\r\n en_US: \"Sleeve 5\",\r\n ru_RU: \"Рукав 5\" \r\n },\r\n Sleeve6:{\r\n en_US: \"Sleeve 6\",\r\n ru_RU: \"Рукав 6\" \r\n },\r\n CountDispencer:{\r\n en_US: \"Count dispencer\",\r\n ru_RU: \"Кол-во ТРК подключено\" \r\n },\r\n Params1:{\r\n en_US: \"Params 1\",\r\n ru_RU: \"Параметры ТРК 1\" \r\n },\r\n Params2:{\r\n en_US: \"Params 2\",\r\n ru_RU: \"Параметры ТРК 2\" \r\n },\r\n Params3:{\r\n en_US: \"Params 3\",\r\n ru_RU: \"Параметры ТРК 3\" \r\n },\r\n Params4:{\r\n en_US: \"Params 4\",\r\n ru_RU: \"Параметры ТРК 4\" \r\n },\r\n Sides:{\r\n en_US: \"Sides\",\r\n ru_RU: \"Стороны\" \r\n },\r\n Side1:{\r\n en_US: \"Side 1\",\r\n ru_RU: \"Сторона 1\" \r\n },\r\n Side2:{\r\n en_US: \"Side 2\",\r\n ru_RU: \"Сторона 2\" \r\n },\r\n CountFuels:{\r\n en_US: \"Count fuels\",\r\n ru_RU: \"Кол-во сортов топлива\"\r\n },\r\n AddPoint:{\r\n en_US: \"Add point\",\r\n ru_RU: \"Добавить точку\"\r\n },\r\n DeleteLastPoint:{\r\n en_US: \"Delete last point\",\r\n ru_RU: \"Удалить последнюю точку\"\r\n },\r\n DeleteCalibrTable:{\r\n en_US: \"Delete calibration table\",\r\n ru_RU: \"Удалить таблицу\"\r\n },\r\n DownloadTemplateTable:{\r\n en_US: \"Download template Excel\",\r\n ru_RU: \"Скачать шаблон градуировочной таблицы\"\r\n },\r\n Point:{\r\n en_US: \"Point\",\r\n ru_RU: \"Точка\"\r\n },\r\n Sm:{\r\n en_US: \"ct\",\r\n ru_RU: \"см\"\r\n },\r\n ShortLiter:{\r\n en_US: \"litres\",\r\n ru_RU: \"л\"\r\n },\r\n Kg:{\r\n en_US: \"kg\",\r\n ru_RU: \"кг\"\r\n },\r\n KgM3:{\r\n en_US: \"kg/m3\",\r\n ru_RU: \"кг/м3\"\r\n },\r\n ControlLevel:{\r\n en_US: \"Control of the remaining fuel on the controller\",\r\n ru_RU: \"Контроль остатка топлива на контроллере\"\r\n }\r\n};\r\n","import React, { useContext, useEffect, useState, useMemo, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Card, ProgressBar, Form, Badge, Offcanvas, Spinner} from 'react-bootstrap';\nimport { AuthContext } from '../../context/AuthContext';\nimport { FormAddTransport } from '../Transport/FormAddTransport';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport Select from 'react-select';\nimport axios from 'axios';\nimport MaterialReactTable from 'material-react-table';\nimport { MRT_Localization_RU } from 'material-react-table/locales/ru';\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\nimport './../../boxicons.css';\nimport StatusConnect01 from \"../../img/image_connect/StatusConnect-01.png\";\nimport StatusConnect02 from \"../../img/image_connect/StatusConnect-02.png\";\nimport StatusConnect03 from \"../../img/image_connect/StatusConnect-03.png\";\nimport StatusConnect04 from \"../../img/image_connect/StatusConnect-04.png\";\nimport StatusConnect05 from \"../../img/image_connect/StatusConnect-05.png\";\nimport StatusConnect06 from \"../../img/image_connect/StatusConnect-06.png\";\nimport StatusConnect07 from \"../../img/image_connect/StatusConnect-07.png\";\nimport StatusConnect08 from \"../../img/image_connect/StatusConnect-08.png\";\nimport StatusConnect09 from \"../../img/image_connect/StatusConnect_09.png\";\nimport StatusConnect009 from \"../../img/image_connect/StatusConnect-09.png\";\nimport StatusConnect10 from \"../../img/image_connect/StatusConnect-10.png\";\nimport { TranslateController } from '../../lang/controllers/translateController';\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\nimport { CurrentSelectLanguage } from '../../helpers/language';\nimport {FormLocale} from '../../lang/form';\nimport api from '../../utils/axiosInterceptions';\n\nexport const UserControllers = ({stationData}) => {\n\n const params = useParams()\n const router = useHistory()\n const [showFormAdd, setShowFormAdd] = useState(false)\n const [listController, setListController] = useState([])\n const [loadingDataBtn, setLoadingDataButton] = useState(false)\n const translated = useLittera(TranslateController);\n const translatedForm = useLittera(FormLocale);\n const methods = useLitteraMethods();\n\n const gridStyle = { minHeight: 550 }\n\n useEffect(() => {\n methods.setLocale(CurrentSelectLanguage);\n api.get(\"/api/users/details/controllers\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"id\":params.id\n },\n params:{\n id: params.id,\n },\n })\n .then(function (response) {\n \n setListController(response.data.listDatas)\n })\n \n }, [])\n\n\n const columns = useMemo(\n () => [\n {\n accessorKey: 'name', //access nested data with dot notation\n header: translated.Name,\n },\n {\n accessorFn: (row) => row.connectId,\n id: 'connectId',\n size:300,\n header: translated.ID,\n },\n {\n accessorFn: (row) => row.firstConfigRead \n ? {translated.Readed} \n : {translated.NotReaded},\n accessorKey: 'firstConfigRead', //normal accessorKey\n header: translated.Settings,\n },\n {\n accessorFn: (row) => row.doScanning == 1 \n ? {translated.Enable} \n : {translated.Disable},\n accessorKey: 'doScanning',\n header: translated.AutoRead,\n },\n {\n accessorFn: (row) => row.versionSoftware != null && row.versionSoftware != \"\" ? row.versionSoftware : translated.Undefined,\n accessorKey: 'versionSoftware',\n header: translated.VersionSoftware,\n },\n {\n accessorFn: (row) => row.stationName,\n accessorKey: 'stationName',\n header: translated.Station,\n },\n {\n accessorFn: (row) => {\n\n if(row.statusConnect == -1 || row.statusConnect == -2 || row.statusConnect == -99 || row.statusConnect == -97 \n || row.statusConnect == -96 || row.statusConnect == -95 || row.statusConnect == -93)\n {\n return \n }\n\n if(row.statusConnect == -98) {\n return \n }\n\n if(row.statusConnect == -94) {\n return \n }\n\n if(row.statusConnect >= 0 && row.statusConnect <= 4) {\n return \n }\n\n if(row.statusConnect > 4 && row.statusConnect <= 9) {\n return \n }\n\n if(row.statusConnect > 9 && row.statusConnect <= 16) {\n return \n }\n\n if(row.statusConnect > 16 && row.statusConnect <= 21) {\n return \n }\n\n if(row.statusConnect > 21 && row.statusConnect <= 31) {\n return \n }\n\n if(row.statusConnect == 99) {\n return \n }\n\n if(row.statusConnect == 128) {\n return \n }\n },\n accessorKey: 'statusConnect',\n header: \"GSM\",\n }\n ],\n [],\n );\n return(\n <>\n
    \n \n
    \n \n );\n}","import React, { useState, useEffect, useMemo, useContext, Redirect } from 'react';\nimport { useHistory, useParams } from 'react-router-dom';\nimport { Button, Badge, Offcanvas, Form, Spinner} from 'react-bootstrap';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport MaterialReactTable from 'material-react-table';\nimport { MRT_Localization_RU } from 'material-react-table/locales/ru';\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\nimport moment from 'moment';\nimport api from '../../utils/axiosInterceptions';\n\nexport const HistoryLimits = ({translated}) => {\n\n const params = useParams();\n const router = useHistory();\n const [listCompanies, setListCompanies] = useState({})\n const [historyLimit, setHistoryLimit] = useState([])\n const [loadingData, setLoadingData] = useState({\n button:false,\n grid:false\n })\n\n const columns = useMemo(\n () => [\n {\n accessorFn: (row) => row.limitDay,\n accessorKey: 'limitDay',\n header: translated.LimitDay,\n },\n {\n accessorFn: (row) => row.limitMonth,\n accessorKey: 'limitMonth',\n header: translated.LimitMonth,\n },\n {\n accessorFn: (row) => row.typeLimit.name,\n accessorKey: 'enumTypeLimit',\n header: translated.TypeLimit,\n },\n {\n accessorFn: (row) => moment(row.createdAt).format('DD.MM.YYYY HH:mm'),\n accessorKey: 'dateCreated',\n header: translated.CreatedDate,\n },\n ],\n [],\n );\n\n useEffect(() => {\n api.get(\"/api/users/details/history-limits\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"id\":params.id\n },\n params:{\n id: params.id,\n }\n })\n .then(function (response) {\n console.log(\"update limit\")\n \n setHistoryLimit(response.data.listDatas)\n })\n .catch(function (error) {\n console.log(error);\n });\n }, [])\n\n const createdAt = rowData => {\n return moment(rowData.createdAt).format('DD-MM-YYYY HH:mm')\n }\n\n const balance = rowData => {\n return rowData.enumTypeLimit.id == 1 ? rowData.limitDay : rowData.limitMonth\n }\n\n return ( \n
    \n \n
    \n );\n}\n\n","import React, { useContext, useEffect, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Nav, Tooltip, OverlayTrigger, Form, Card, Alert, Spinner, Offcanvas} from 'react-bootstrap';\nimport { AuthContext } from '../../context/AuthContext';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport Select from 'react-select';\nimport moment from 'moment';\nimport CurrencyInput from 'react-currency-input-field';\nimport './../../boxicons.css';\nimport api from '../../utils/axiosInterceptions';\n\nexport const LimitDayMonth = ({translated, translatedForm}) => {\n\n const params = useParams();\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\n const [showFormAdd, setShowFormAdd] = useState(false)\n const [currentTime, setCurrentTime] = useState(0)\n const [btnDayLoad, setBtnDayLoad] = useState(false)\n const [btnMonthLoad, setBtnMonthLoad] = useState(false)\n const [listLimits, setListLimits] = useState({})\n const [liters, setLiters] = useState(0)\n const [loadingDataGrid, setLoadingDataGrid] = useState(false)\n const [dayLimit, setDayLimit] = useState({\n limit:0,\n balance:0\n })\n const [monthLimit, setMonthLimit] = useState({\n limit: 0,\n balance:0\n });\n const [permission, setPermission] = useState({\n read: false,\n update: false,\n fullAccess: false\n })\n const [loadingDataBtn, setLoadingDataButton] = useState(false)\n const [currentActiveTab, setCurrentActiveTab] = useState('')\n\n const handleShow = () => {\n setShowFormAdd(true)\n getEnumTypeLimits()\n }\n\n const handleClose = () => setShowFormAdd(false);\n\n const handleDayLimit = () => {\n setBtnDayLoad(true)\n api.get(\"/api/users/details/limit-day\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"id\":params.id\n },\n params:{\n id: params.id,\n }\n })\n .then(function (response) {\n \n setDayLimit({\n balance: response.data.dataResult.balanceDay,\n limit: response.data.dataResult.countDayLimit\n })\n displayToast(response.data.message, response.data.isSuccess)\n setCurrentTime(moment().format(\"DD.MM.YYYY\"))\n setBtnDayLoad(false)\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n const handleMonthLimit = () => {\n setBtnMonthLoad(true)\n api.get(\"/api/users/details/limit-month\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"id\":params.id\n },\n params:{\n id: params.id,\n }\n })\n .then(function (response) {\n \n setMonthLimit({\n limit: response.data.dataResult.countMonthLimit,\n balance: response.data.dataResult.balanceMonth\n })\n displayToast(response.data.message, response.data.isSuccess)\n setCurrentTime(moment().format(\"DD.MM.YYYY\"))\n setBtnMonthLoad(false)\n })\n .catch(function (error) {\n console.log(error);\n setBtnMonthLoad(false)\n });\n }\n\n const onHandleUpdateLimit = dataLimit => { \n setLoadingDataButton(true)\n api.post('/api/users/details/update-limit', {\n Id: params.id,\n Liters: liters,\n EnumTypeLimitId: dataLimit.EnumTypeLimit.id\n })\n .then(function (response) {\n \n setLoadingDataButton(false)\n displayToast(response.data.message, response.data.isSuccess)\n\n if (response.data.dataResult.enumTypeLimitId == 1) {\n setDayLimit({\n limit: response.data.dataResult.countDayLimit,\n balance: response.data.dataResult.balanceDay\n })\n } else {\n setMonthLimit({\n limit: response.data.dataResult.countMonthLimit,\n balance: response.data.dataResult.balanceMonth\n })\n }\n })\n .catch(function (error) {\n console.log(error);\n displayToast(error.response.data.errors[0].errorMessage, error.response.data.isSuccess)\n setLoadingDataButton(false)\n });\n }\n\n const getEnumTypeLimits = () => {\n api.get(\"/api/enum-type-limits/all\", {\n })\n .then(function (response) {\n const addTypeLimit = response.data.listDatas.filter((i) => i.id == 1 || i.id == 2).map(item => ({\n ...item,\n value: item.id,\n label: item.name\n }))\n setListLimits(addTypeLimit)\n })\n .catch(function (error) {\n console.log(error);\n }); \n }\n\n const getLimits = () => {\n api.get(\"/api/users/details/limit-day\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"id\":params.id\n },\n params:{\n id: params.id,\n }\n })\n .then(function (response) {\n console.log(\"limits\")\n \n setPermission({\n read: response.data.read,\n update: response.data.update,\n fullAccess: response.data.fullAccess\n })\n setDayLimit({\n limit: response.data.dataResult.countDayLimit,\n balance: response.data.dataResult.balanceDay\n })\n setCurrentTime(moment().format(\"DD.MM.YYYY\"))\n })\n .catch(function (error) {\n console.log(error);\n });\n\n api.get(\"/api/users/details/limit-month\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"id\":params.id\n },\n params:{\n id: params.id,\n }\n })\n .then(function (response) {\n setMonthLimit({\n limit: response.data.dataResult.countMonthLimit,\n balance: response.data.dataResult.balanceMonth\n })\n setCurrentTime(moment().format(\"DD.MM.YYYY\"))\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n useEffect(() => {\n getLimits()\n }, [])\n\n const displayToast = (message, status) => {\n\n if(status) {\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n \n }\n\n return (\n <>\n
    \n \n \n
    \n
    {translated.LimitDay} {currentTime}
    \n\n {\n permission.update || permission.fullAccess\n ?\n \n {translated.EditLimit}\n \n }\n >\n \n \n : null\n }\n\n
    \n {translated.Limit}: {dayLimit.limit}\n {translated.Balance}: {dayLimit.balance}\n\n {\n permission.update || permission.fullAccess\n ?\n <>\n
    \n \n
    \n \n \n
    \n \n : ''\n } \n
    \n
    \n
    \n\n
    \n \n \n
    \n
    {translated.LimitMonth} {currentTime}
    \n\n {\n permission.update || permission.fullAccess\n ?\n \n {translated.EditLimit}\n \n }\n >\n \n \n : null\n }\n\n
    \n {translated.Limit}: {monthLimit.limit}\n {translated.Balance}: {monthLimit.balance}\n\n {\n permission.update || permission.fullAccess\n ?\n <>\n
    \n \n
    \n \n \n
    \n \n : ''\n }\n \n
    \n
    \n
    \n \n \n \n \n {translated.EditLimit}\n \n \n
    \n \n
    \n\n \n\n {translated.TypeLimit}\n (\n \n )}\n />\n {errors.EnumTypeLimit && \n {errors.EnumTypeLimit.message}\n } \n \n {translated.Liters}\n (\n setLiters(value)}\n />\n )}\n />\n\n \n\n
    \n \n
    \n\n
    \n
    \n
    \n \n )\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Nav, Tooltip, OverlayTrigger, Form, Card, Alert, Spinner, Offcanvas} from 'react-bootstrap';\nimport { AuthContext } from '../../context/AuthContext';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport Select from 'react-select';\nimport moment from 'moment';\nimport CurrencyInput from 'react-currency-input-field';\nimport './../../boxicons.css';\nimport { HistoryLimits } from './historylimits';\nimport { LimitDayMonth } from './limitDayMonth';\nimport { LimitAbsolute } from './limitAbsolute';\nimport { LimitUnlimited } from './limitUnlimited';\nimport api from '../../utils/axiosInterceptions';\n\nexport const UserLimits = ({translated, translatedForm, permission, userData}) => {\n\n const params = useParams();\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\n const [showFormAdd, setShowFormAdd] = useState(false)\n const [currentTime, setCurrentTime] = useState(0)\n const [btnDayLoad, setBtnDayLoad] = useState(false)\n const [btnMonthLoad, setBtnMonthLoad] = useState(false)\n const [listLimits, setListLimits] = useState([])\n const [liters, setLiters] = useState(0)\n const [typeLimit, setTypeLimit] = useState(0)\n const [loadingDataGrid, setLoadingDataGrid] = useState(false)\n const [lastChangeTypeLimit, setLastChangeTypeLimit] = useState(new Date())\n const [dayLimit, setDayLimit] = useState({\n limit:0,\n balance:0\n })\n const [monthLimit, setMonthLimit] = useState({\n limit: 0,\n balance:0\n });\n const [loadingDataBtn, setLoadingDataButton] = useState(false)\n const [currentActiveTab, setCurrentActiveTab] = useState('')\n\n const handleTabActive = data =>{\n setCurrentActiveTab(data)\n }\n\n const displayToast = (message, status) => {\n\n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n }\n\n const changeTypeLimit = (typeLimitId) => {\n api.post('/api/users/details/change-type-limit', {\n Id: userData.id,\n EnumTypeLimitId:typeLimitId,\n withCredentials:true\n })\n .then(function (response) {\n setLastChangeTypeLimit(response.data.dataResult.lastChangeTypeLimit)\n setTypeLimit(response.data.dataResult.typeLimitId)\n displayToast(response.data.message, response.data.isSuccess)\n })\n .catch(function (error) {\n displayToast(error.response.data.message, error.response.data.isSuccess)\n });\n }\n\n const getEnumTypeLimits = (userTypeLimitId) => {\n api.get(\"/api/enum-type-limits/all\", {\n })\n .then(function (response) {\n \n const addTypeLimit = response.data.listDatas.filter((i) => i.id == 5 || i.id == 3 || i.id == 4).map(item => ({\n ...item,\n value: item.id,\n label: item.name\n }))\n setListLimits(addTypeLimit)\n\n let typeLimit = response.data.listDatas.filter((item) => item.id == userTypeLimitId)\n setValue(\"TypeLimit\", {label:typeLimit[0].name, value:typeLimit[0].id})\n })\n .catch(function (error) {\n console.log(error);\n }); \n }\n\n useEffect(() => {\n getUserData()\n }, [])\n\n const getUserData = () => {\n api.get(\"/api/users/details\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"id\":userData.id\n },\n params:{\n id: userData.id,\n }\n })\n .then(function (response) {\n console.log(response.data)\n setLastChangeTypeLimit(response.data.dataResult.lastChangeTypeLimit)\n setTypeLimit(response.data.dataResult.typeLimitId)\n getEnumTypeLimits(response.data.dataResult.typeLimitId)\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n return (\n <>\n
    \n \n\n
    \n \n
    \n\n
    \n\n \n {translated.MessageWarningUpdateLimits}\n \n \n \n\n \n
    \n\n
    \n Последняя смена типа лимита: {moment(lastChangeTypeLimit).format(\"DD.MM.YYYY HH:mm:ss\")}\n
    \n\n \n {translated.TypeLimit}\n (\n {\n setValue(\"TypeLimit\", {label:item.label, value:item.value})\n changeTypeLimit(item.value)\n }}\n />\n )}\n />\n {errors.TypeLimit && \n {errors.TypeLimit.message}\n }\n \n\n {\n typeLimit == 5\n ? \n : typeLimit == 3\n ? \n : typeLimit == 4\n ? ''\n : null\n }\n \n
    \n \n
    \n\n \n {\n currentActiveTab == \"history-limit\" && (permission.read || permission.fullAccess)\n ? \n : \n \n {translated.PermissionDenied}\n \n }\n \n\n
    \n
    \n\n
    \n
    \n\n \n )\n}","import React, { useContext, useEffect, useMemo, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Nav, Form, OffCanvas ,Table, Spinner, Offcanvas} from 'react-bootstrap';\nimport { UpdateCatalogForm } from './updateForm';\nimport { AuthContext } from '../../context/AuthContext';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport moment from 'moment';\nimport MaterialReactTable from 'material-react-table';\nimport { MRT_Localization_RU } from 'material-react-table/locales/ru';\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\nimport './../../boxicons.css';\nimport api from '../../utils/axiosInterceptions';\n\nconst CatalogSingle = ({single, translated, translatedForm}) => {\n\n console.log(single)\n const router = useHistory()\n const [catalogData, setCatalogData] = useState({});\n const [showFormAdd, setShowFormAdd] = useState(false);\n const [catalogName, setCatalogName] = useState('')\n const [listValues, addValueToList] = useState([])\n const [isUpdate, setIsUpdate] = useState(false)\n const [loadingData, setLoadingData] = useState({\n button:false,\n grid:false\n })\n const {isAuth} = useContext(AuthContext);\n const { register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\n const handleShow = () => setShowFormAdd(true);\n const handleClose = () => setShowFormAdd(false);\n\n const onSubmit = data => {\n console.log(data)\n setLoadingData({button:true})\n let link = isUpdate ? \"api/fuels/update\" : \"api/fuels/create\"\n api.post(link, {\n Id: isUpdate ? data.Id : 0,\n Name: data.Value,\n withCredentials:true\n })\n .then(function (response) {\n \n displayToast(response.data.message, response.data.isSuccess)\n setLoadingData({button:false})\n addValueToList(response.data.listDatas)\n reset({\n Value:''\n })\n })\n .catch(function (error) {\n console.log(error);\n setLoadingData({button:false})\n });\n }\n\n const displayToast = (message, status) => {\n\n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n\n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n \n }\n\n const columns = useMemo(\n () => [\n {\n accessorFn: (row) => row.name,\n id: 'name',\n header: translated.Name,\n },\n {\n accessorFn: (row) => \n <>\n \n ,\n accessorKey: 'button',\n header: translated.Actions,\n },\n ],\n [],\n );\n\n useEffect(() => {\n api.get(\"api/fuels/all\", {\n headers:{\n \"content-type\" : \"application/json\",\n },\n withCredentials:true\n })\n .then(function (response) {\n console.log('values')\n \n addValueToList(response.data.listDatas)\n })\n .catch(function (error) {\n console.log(error);\n });\n\n }, [])\n\n const openFormUpdate = (id) => {\n console.log(id)\n setIsUpdate(true)\n api.get(\"api/fuels/find\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"Id\":id\n },\n params:{\n Id:id\n },\n withCredentials:true\n })\n .then(function (response) {\n console.log(\"update\")\n \n setValue(\"Value\", response.data.dataResult.name)\n setValue(\"Id\", response.data.dataResult.id)\n handleShow()\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n return(\n isAuth ?\n <>\n
    \n

    \n {translated.Title} - {single.name}\n

    \n
    \n \n
    \n \n \n \n\n
    \n \n
    \n\n
    \n \n
    \n
    \n\n
    \n
    \n handleClose()}>\n \n \n {\n isUpdate\n ? translated.TitleUpdate\n : translated.TitleAdd\n }\n \n \n
    \n \n
    \n \n \n {translated.Value} *\n \n {errors.Value && \n {errors.Value.message}\n }\n \n\n
    \n \n
    \n \n
    \n \n
    \n
    \n \n :\n \n );\n}\n\nexport default CatalogSingle;","import React from \"react\";\nimport { useLittera } from \"@assembless/react-littera\";\n\nexport const TranslateFuel = {\n\n SaveChanges:{\n en_US: \"Save changes\",\n ru_RU: \"Сохранить\"\n },\n Title:{\n en_US: \"Dictionary\",\n ru_RU: \"Справочник\"\n },\n Actions:{\n en_US: \"Actions\",\n ru_RU: \"Действия\"\n },\n Name:{\n en_US: \"Name\",\n ru_RU: \"Название\"\n },\n FuelType:{\n en_US: \"Fuels\",\n ru_RU: \"Виды топлива\"\n },\n Values:{\n en_US: \"Values\",\n ru_RU: \"Значения\"\n },\n Value:{\n en_US: \"Value\",\n ru_RU: \"Значение\"\n },\n Add:{\n en_US: \"Add\",\n ru_RU: \"Добавить\"\n },\n TitleAdd:{\n en_US: \"Add new value\",\n ru_RU: \"Добавление значения\"\n },\n TitleUpdate:{\n en_US: \"Update value\",\n ru_RU: \"Обновление значения\"\n }\n};\n","import React from \"react\";\nimport { useLittera } from \"@assembless/react-littera\";\n\nexport const TranslateStation = {\n\n Title:{\n en_US: \"Stations\",\n ru_RU: \"Станции\"\n },\n TitleSingle:{\n en_US: \"Station\",\n ru_RU: \"Станция\"\n },\n Name:{\n en_US: \"Name\",\n ru_RU: \"Название\"\n },\n Description:{\n en_US: \"Description\",\n ru_RU: \"Описание\"\n },\n Status:{\n en_US: \"Status\",\n ru_RU: \"Статус\"\n },\n Company:{\n en_US: \"Company\",\n ru_RU: \"Компания\"\n },\n Actions:{\n en_US: \"Actions\",\n ru_RU: \"Действия\"\n },\n Add:{\n en_US: \"Add station\",\n ru_RU: \"Добавить станцию\"\n },\n SerialNumber:{\n en_US: \"Serial number\",\n ru_RU: \"Серийный номер\"\n },\n OrderNumber:{\n en_US: \"Order number\",\n ru_RU: \"Наряд заказа\"\n },\n Longtitude:{\n en_US: \"Longtitude\",\n ru_RU: \"Долгота\"\n },\n Langtitude:{\n en_US: \"Lantitude\",\n ru_RU: \"Широта\"\n },\n AddStationTitle:{\n en_US: \"Create station\",\n ru_RU: \"Добавление станции\"\n },\n Active:{\n en_US: \"Active\",\n ru_RU: \"Активна\"\n },\n Deleted:{\n en_US: \"Deleted\",\n ru_RU: \"Удалена\"\n },\n Empty:{\n en_US: \"Empty\",\n ru_RU: \"Не указано\"\n },\n Timezone:{\n en_US: \"Timezone\",\n ru_RU: \"Часовой пояс\"\n },\n PermissionDenied:{\n en_US: \"Permission denied\",\n ru_RU: \"У вас недостаточно прав для просмотра данного раздела\"\n },\n Sections:{\n en_US: \"Sections\",\n ru_RU: \"Секции\"\n },\n Controllers:{\n en_US: \"Controllers\",\n ru_RU: \"Контроллеры\"\n },\n General:{\n en_US: \"General\",\n ru_RU: \"Основная информация\"\n },\n SaveChanges:{\n en_US: \"Save changes\",\n ru_RU: \"Сохранить изменения\"\n },\n Occupancy:{\n en_US: \"Occupancy sections, %\",\n ru_RU: \"Заполненность секций, %\"\n },\n OccupancySingle:{\n en_US: \"Occupancy\",\n ru_RU: \"Заполнено\"\n }\n};\n","import React, { useContext, useEffect, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, ProgressBar, Badge, Form, Offcanvas, Spinner} from 'react-bootstrap';\nimport { AuthContext } from '../../context/AuthContext';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport Select from 'react-select';\nimport axios from 'axios';\nimport './../../boxicons.css';\nimport api from '../../utils/axiosInterceptions';\n\nexport const FormAddSection = ({translated, translatedForm, setListSections}) => {\n\n const params = useParams()\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\n const [listFuels, setFuels] = useState([])\n const [loadingData, setLoadingDataButton] = useState({\n button:false\n })\n\n useEffect(() => {\n api.get('/api/fuels/all', {\n withCredentials:true\n })\n .then(function(response){\n \n\n const addFuel = response.data.listDatas.map(item => ({\n ...item,\n value: item.id,\n label: item.name\n }))\n \n setFuels(addFuel)\n })\n .catch(function (error) {\n console.log(error);\n });\n },[])\n\n const onSubmit = data => {\n setLoadingDataButton({button:true})\n api.post('/api/stations/details/sections/create', {\n Name: data.Name,\n FuelId: data.Fuel.id,\n StationId: params.id,\n LevelHeightLow: data.LevelHeightLow,\n LevelHeightUp: data.LevelHeightUp,\n VolumeLow: data.VolumeLow,\n VolumeUp: data.VolumeUp,\n Height: data.Height,\n Volume: data.Volume\n })\n .then(function (response) {\n console.log(\"list of sections after create\")\n \n displayToast(response.data.message, response.data.isSuccess)\n setLoadingDataButton({button:false})\n setListSections(response.data.listDatas)\n reset({\n Name:'',\n LevelHeightLow:'',\n LevelHeightUp:'',\n VolumeLow:'',\n VolumeUp:'',\n Volume:'',\n Height:''\n })\n })\n .catch(function (error) {\n console.log(error);\n setLoadingDataButton({button:false})\n displayToast(error.response.data.message, error.response.data.isSuccess)\n });\n }\n\n const displayToast = (message, status) => {\n\n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n }\n\n return (\n
    \n\n \n {translated.Name} *\n \n {errors.Name && \n {errors.Name.message}\n }\n \n \n \n {translated.Fuel} *\n \n (\n \n\n \n {translated.Name} *\n \n {errors.Name && \n {errors.Name.message}\n }\n \n\n \n {translated.Fuel} *\n\n (\n {\n setValue(\"LevelMeter\", {label:item.label, value:item.value})\n setSelectedLm({label:item.label, value:item.value})\n }} \n />\n )}\n />\n \n\n {/*\n ТРК \n (\n \n )}\n />\n */}\n\n \n Рукав \n (\n \n \n : null\n }\n\n \n {translated.PumpSwitchDelay}\n \n (\n {\n setStartPumpDelay({label:item.label, value:item.value})\n setValue(\"PumpStartDelay\", selectedPumpStartDelay)\n }}\n value={selectedPumpStartDelay}\n options={pumpStartDelay} \n placeholder={translated.SelectFromList}\n classNamePrefix=\"select\"\n />\n )}\n />\n {errors.PumpStartDelay && \n {errors.PumpStartDelay.message}\n } \n\n \n\n
    \n \n
    \n \n \n \n \n :\n \n );\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Form, Spinner, Nav} from 'react-bootstrap';\nimport { AuthContext } from '../../context/AuthContext';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport Select from 'react-select';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport './../../boxicons.css';\nimport api from '../../utils/axiosInterceptions';\n\nexport const ControllerValve = ({translated, translatedForm, controllerInfo}) => {\n\n const router = useHistory()\n const params = useParams();\n const {isAuth} = useContext(AuthContext);\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\n const [selectedValveGate, setSelectedValveGate] = useState({\n label:'',\n value:''\n })\n const [selectedValveDecrease, setSelectedValveDecrease] = useState({\n label:'',\n value:''\n })\n const [loadingBtn, setLoadingBtn] = useState(false)\n\n const isConnect = [\n {label:translated.Connected, value:1},\n {label:translated.NotConnected, value:0}\n ]\n\n useEffect(() => {\n\n api.get(`api/controllers/details/valve`, {\n headers:{\n \"content-type\" : \"application/json\",\n \"controllerId\":params.id\n },\n params:{\n controllerId: params.id,\n },\n withCredentials:true\n })\n .then(function (response) { \n \n let valveGateType = isConnect.filter((item) => item.value == response.data.dataResult.valveGateControl)\n let valveDecreaseType = isConnect.filter((item) => item.value == response.data.dataResult.valveDecreaseControl)\n setSelectedValveGate({label:valveGateType[0].label, value:valveGateType[0].value})\n setSelectedValveDecrease({label:valveDecreaseType[0].label, value:valveDecreaseType[0].value})\n\n setValue(\"ValveGateControl\", selectedValveGate)\n setValue(\"ValveDecreaseControl\", selectedValveDecrease)\n })\n .catch(function (error) {\n console.log(error);\n });\n\n }, [])\n\n const onSubmit = data => {\n\n setLoadingBtn(true);\n api.post(\"/api/controllers/details/valve/update\", {\n ValveGateControl: selectedValveGate.value,\n ValveDecreaseControl: selectedValveDecrease.value,\n ControllerId: params.id\n })\n .then(function (response) {\n setLoadingBtn(false)\n displayToast(response.data.message, response.data.isSuccess)\n })\n .catch(function (error) {\n setLoadingBtn(false)\n displayToast(error.response.data.message, error.response.data.isSuccess)\n });\n }\n\n const displayToast = (message, status) => {\n\n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n \n }\n\n return(\n isAuth ?\n <>\n
    \n
    \n
    \n \n \n {translated.ShutOffValve}\n \n (\n {\n setSelectedValveGate({label:item.label, value:item.value})\n setValue(\"ValveGateControl\", selectedValveGate)\n }}\n value={selectedValveGate}\n options={isConnect} \n placeholder={translatedForm.SelectFromList}\n classNamePrefix=\"select\"\n />\n )}\n />\n {errors.ValveGateControl && \n {errors.ValveGateControl.message}\n } \n\n \n\n {\n controllerInfo.type != 3\n ?\n <>\n \n {translated.ShutOffControlValve}\n \n \n\n \n {translated.TurnShutOffValve}\n \n \n \n : null\n }\n\n \n
    \n \n
    \n
    \n\n
    \n \n \n {translated.ReducingValve}\n \n (\n {\n setSelectedValveDecrease({label:item.label, value:item.value})\n setValue(\"ValveDecreaseControl\", selectedValveDecrease)\n }}\n value={selectedValveDecrease}\n options={isConnect} \n placeholder={translatedForm.SelectFromList}\n classNamePrefix=\"select\"\n />\n )}\n />\n {errors.ValveDecreaseControl && \n {errors.ValveDecreaseControl.message}\n } \n\n \n\n {\n controllerInfo.type != 3\n ?\n <>\n \n {translated.ReducingControlValve}\n \n \n\n \n {translated.TurnReducingValve}\n \n \n \n : null\n }\n\n
    \n
    \n
    \n \n :\n \n );\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Form, Spinner, Nav} from 'react-bootstrap';\nimport { AuthContext } from '../../context/AuthContext';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport Select from 'react-select';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport '@inovua/reactdatagrid-community/index.css';\nimport '@inovua/reactdatagrid-community/theme/default-light.css';\nimport './../../boxicons.css';\nimport api from '../../utils/axiosInterceptions';\n\nexport const ControllerButton = ({translated, translatedForm, controllerInfo}) => {\n\n const router = useHistory()\n const params = useParams();\n const {isAuth} = useContext(AuthContext);\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\n const [loadingBtn, setLoadingBtn] = useState(false)\n const [disabledCheckViewLm, setDisabledCheckViewLm] = useState(true)\n const [disabledTypeFilling, setDisabledTypFilling] = useState(true)\n const [selectedDurationButton, setSelectedDurationButton] = useState({\n label:'',\n value:''\n })\n const [selectedButtonInput, setSelectedButtonInput] = useState({\n label:'',\n value:''\n })\n const [selectedTypeButton, setSelectedTypeButton] = useState({\n label:'',\n value:''\n })\n\n const listActiveStartPanelController = [\n {label:translated.No, value:false},\n {label:translated.Yes, value:true},\n ]\n\n const listTypeFilling = [\n {label:translated.WithDose, value:true},\n {label:translated.NotDose, value:false},\n ]\n\n const listTypeButton = [\n {label:translated.NotConnected, value:0},\n {label:translated.ButtonOnDisconnect, value:1},\n {label:translated.ButtonOnConnection, value:2},\n {label:translated.GunOnDisconnect, value:3},\n {label:translated.GunOnConnect, value:4},\n ]\n\n const listButtonInput = [\n {label:translated.Input1, value:0},\n {label:translated.Input2, value:1},\n {label:translated.Input3, value:2},\n ]\n \n const minDurationSignal = [\n {label:\"0\", value:0},\n {label:\"1\", value:1},\n {label:\"2\", value:2},\n {label:\"3\", value:3},\n {label:\"4\", value:4},\n {label:\"5\", value:5},\n {label:\"6\", value:6},\n {label:\"7\", value:7},\n {label:\"8\", value:8},\n {label:\"9\", value:9},\n {label:\"10\", value:10}\n ]\n\n useEffect(() => {\n\n api.get(`api/controllers/details/button`, {\n headers:{\n \"content-type\" : \"application/json\",\n \"controllerId\":params.id\n },\n params:{\n controllerId: params.id,\n },\n withCredentials:true\n })\n .then(function (response) { \n\n console.log(\"button start stop\")\n \n\n let startButton = listActiveStartPanelController.filter((item) => item.value == response.data.dataResult.startButton)\n setValue(\"StartButton\", startButton[0])\n\n if(response.data.dataResult.startButton) {\n\n setDisabledTypFilling(false)\n let type = listTypeFilling.filter((item) => item.value == response.data.dataResult.typeFilling)\n setValue(\"TypeFilling\", type[0])\n\n if(response.data.dataResult.typeFilling) {\n \n setDisabledCheckViewLm(false)\n let lm = listActiveStartPanelController.filter((item) => item.value == response.data.dataResult.checkViewLevelMeter)\n setValue(\"CheckViewLevelMeter\", lm[0])\n\n } else {\n\n setDisabledCheckViewLm(true)\n let lm = listActiveStartPanelController.filter((item) => item.value == false)\n setValue(\"CheckViewLevelMeter\", lm[0])\n \n }\n\n } else {\n setDisabledTypFilling(true)\n let type = listTypeFilling.filter((item) => item.value == false)\n setValue(\"TypeFilling\", type[0])\n setValue(\"CheckViewLevelMeter\", listActiveStartPanelController[1])\n }\n\n //let findButtonDuration = minDurationSignal.filter((item) => item.value == response.data.dataResult.buttonDuration)\n //setSelectedDurationButton({label:findButtonDuration[0].label, value:findButtonDuration[0].value})\n setValue(\"ButtonDuration\", response.data.dataResult.buttonDuration)\n\n let findTypeButton = listTypeButton.filter((item) => item.value == response.data.dataResult.buttonType)\n setSelectedTypeButton({label:findTypeButton[0].label, value:findTypeButton[0].value})\n //setValue(\"ButtonType\", selectedTypeButton)\n\n let findButtonInput = listButtonInput.filter((item) => item.value == response.data.dataResult.buttonInput)\n setSelectedButtonInput({label:findButtonInput[0].label, value:findButtonInput[0].value})\n\n })\n .catch(function (error) {\n console.log(error);\n });\n\n }, [])\n\n const onSubmit = data => {\n\n setLoadingBtn(true);\n api.post(\"/api/controllers/details/button/update\", {\n ButtonType: selectedTypeButton.value,\n ButtonInput: selectedButtonInput.value,\n ButtonDuration: data.ButtonDuration,\n StartButton: data.StartButton.value,\n CheckViewLevelMeter: data.CheckViewLevelMeter.value,\n TypeFilling: data.TypeFilling.value,\n ControllerId: params.id\n })\n .then(function (response) {\n setLoadingBtn(false)\n displayToast(response.data.message, response.data.isSuccess)\n })\n .catch(function (error) {\n setLoadingBtn(false)\n displayToast(error.response.data.message, error.response.data.isSuccess)\n });\n }\n\n const displayToast = (message, status) => \n {\n\n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n \n }\n\n return(\n isAuth ?\n <>\n
    \n
    \n \n {\n controllerInfo.type != 3\n ?\n
    \n\n

    {translated.ExternalButton}

    \n \n \n {translated.ButtonExternalType}\n (\n {\n setSelectedTypeButton({label:item.label, value:item.value})\n setValue(\"ButtonType\", selectedTypeButton)\n }}\n value={selectedTypeButton}\n options={listTypeButton}\n placeholder={translatedForm.SelectFromList}\n classNamePrefix=\"select\"\n />\n )}\n />\n {errors.ButtonType && \n {errors.ButtonType.message}\n }\n \n\n \n {translated.ButtonInput}\n \n \n\n \n {translated.MinStartSignal}\n \n {errors.ButtonDuration && \n {errors.ButtonDuration.message}\n }\n \n\n
    \n \n
    \n
    \n : null\n }\n\n
    \n

    {translated.SettingsButton}

    \n\n \n \n {translated.StartButtonPanel}\n \n (\n {\n setValue(\"StartButton\", item)\n if(item.value) {\n setDisabledTypFilling(false)\n } else {\n setDisabledTypFilling(true)\n }\n }}\n value={value}\n options={listActiveStartPanelController}\n placeholder={translatedForm.SelectFromList}\n classNamePrefix=\"select\"\n />\n )}\n />\n {errors.StartButton && \n {errors.StartButton.message}\n }\n \n\n {\n controllerInfo.type == 2 || controllerInfo.type == 3\n ?\n <>\n \n {translated.RefuelingTypeButton}\n (\n {\n setValue(\"TypeFilling\", item)\n if(item.value) {\n setDisabledCheckViewLm(false)\n } else {\n setDisabledCheckViewLm(true)\n }\n }}\n isDisabled={disabledTypeFilling}\n value={value}\n options={listTypeFilling}\n placeholder={translatedForm.SelectFromList}\n classNamePrefix=\"select\"\n />\n )}\n />\n {errors.TypeFilling && \n {errors.TypeFilling.message}\n }\n \n\n \n \n {translated.ActivationViewReadingButton}\n \n (\n {\n setValue(\"CheckViewLevelMeter\", item)\n }}\n isDisabled={disabledCheckViewLm}\n value={value}\n options={listActiveStartPanelController}\n placeholder={translatedForm.SelectFromList}\n classNamePrefix=\"select\"\n />\n )}\n />\n {errors.CheckViewLevelMeter && \n {errors.CheckViewLevelMeter.message}\n }\n \n\n
    \n \n
    \n \n : null\n }\n \n
    \n
    \n
    \n \n :\n \n );\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\r\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\r\nimport { Button, Tabs, Tab, Form, Spinner, Nav} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller, set } from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport Select from 'react-select';\r\nimport CurrencyInput from 'react-currency-input-field';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport '@inovua/reactdatagrid-community/index.css';\r\nimport '@inovua/reactdatagrid-community/theme/default-light.css';\r\nimport './../../boxicons.css';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const ControllerFlowSensor = ({translated, translatedForm, controllerInfo}) => {\r\n\r\n const router = useHistory()\r\n const params = useParams();\r\n const {isAuth} = useContext(AuthContext);\r\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\r\n const [isDisabled, setIsDisabled] = useState(false)\r\n const [selectedSensorType, setSelectedSensorType] = useState({\r\n label:'',\r\n value:''\r\n })\r\n const [selectedCounterImpuls, setSelectedCounterImpuls] = useState({\r\n label:'',\r\n value:''\r\n })\r\n const [selectedImpulsLength, setSelectedImpulsLength] = useState({\r\n label:'',\r\n value:''\r\n })\r\n const [selectedImpulsFirstTime, setSelectedImpulsFirstTime] = useState({\r\n label:'',\r\n value:''\r\n }) \r\n const [selectedImpulsNextTime, setSelectedImpulsNextTime] = useState({\r\n label:'',\r\n value:''\r\n }) \r\n const [loadingBtn, setLoadingBtn] = useState(false)\r\n\r\n const sensorType = [\r\n {label:translated.NotConnected, value:0},\r\n {label:translated.SingleChannel, value:1},\r\n {label:translated.DoubleChannel, value:2},\r\n {label:translated.MassFlowSensor, value:3},\r\n {label:translated.MassFlowEmis, value:4},\r\n {label:translated.DigitalBenza, value:5}\r\n ]\r\n\r\n const listCountImpuls = [\r\n {label:translated.ClosedToOpen, value:0},\r\n {label:translated.OpenToClose, value:1}\r\n ]\r\n\r\n const lengthImpuls = [\r\n {label:\"1.0\", value:1},\r\n {label:\"2.0\", value:2},\r\n {label:\"3.0\", value:3},\r\n {label:\"4.0\", value:4},\r\n {label:\"5.0\", value:5},\r\n {label:\"6.0\", value:6},\r\n {label:\"7.0\", value:7},\r\n {label:\"8.0\", value:8},\r\n {label:\"9.0\", value:9},\r\n {label:\"10.0\", value:10},\r\n ]\r\n\r\n const timeWaitImpuls = [\r\n {label:\"10\", value:10},\r\n {label:\"20\", value:20},\r\n {label:\"30\", value:30},\r\n {label:\"40\", value:40},\r\n {label:\"50\", value:50},\r\n {label:\"60\", value:60},\r\n {label:\"90\", value:90},\r\n {label:\"120\", value:120},\r\n {label:\"180\", value:180},\r\n ]\r\n\r\n useEffect(() => {\r\n\r\n api.get(`api/controllers/details/sensor`, {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"controllerId\":params.id\r\n },\r\n params:{\r\n controllerId: params.id,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) { \r\n \r\n\r\n let setFlowSensortType = sensorType.filter((item) => item.value == response.data.dataResult.flowSensorType)\r\n setSelectedSensorType({label:setFlowSensortType[0].label, value:setFlowSensortType[0].value})\r\n setValue(\"FlowSensorType\", selectedSensorType)\r\n\r\n if(response.data.dataResult.flowSensorType === 4 || response.data.dataResult.flowSensorType === 3) {\r\n setIsDisabled(true)\r\n } else {\r\n setIsDisabled(false)\r\n }\r\n\r\n let setCounterImpuls = listCountImpuls.filter((item) => item.value == response.data.dataResult.flowSensorCounterType)\r\n setSelectedCounterImpuls({label:setCounterImpuls[0].label, value:setCounterImpuls[0].value})\r\n setValue(\"FlowSensorCounterType\", selectedCounterImpuls)\r\n\r\n let setImpulsLength = lengthImpuls.filter((item) => item.value == response.data.dataResult.flowSensorImpulseLength)\r\n setSelectedImpulsLength({label:setImpulsLength[0].label, value:setImpulsLength[0].value})\r\n setValue(\"FlowSensorImpulseLength\", setImpulsLength[0].value)\r\n\r\n setValue(\"AddressFlowrate\", response.data.dataResult.addressFlowrate);\r\n //let setImpulsFirstTime = timeWaitImpuls.filter((item) => item.value == response.data.dataResult.flowSensorImpulseFirstTime)\r\n //setSelectedImpulsFirstTime({label:setImpulsFirstTime[0].label, value:setImpulsFirstTime[0].value})\r\n setValue(\"FlowSensorImpulseFirstTime\", response.data.dataResult.flowSensorImpulseFirstTime)\r\n\r\n //let setImpulsNextTime = timeWaitImpuls.filter((item) => item.value == response.data.dataResult.flowSensorImpulseNextTime)\r\n //setSelectedImpulsNextTime({label:setImpulsNextTime[0].label, value:setImpulsNextTime[0].value})\r\n setValue(\"FlowSensorImpulseNextTime\", response.data.dataResult.flowSensorImpulseNextTime)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n\r\n }, [])\r\n\r\n const onSubmit = data => {\r\n\r\n console.log(data)\r\n setLoadingBtn(true);\r\n api.post(\"/api/controllers/details/sensor/update\", {\r\n FlowSensorType: selectedSensorType.value,\r\n FlowSensorCounterType: selectedCounterImpuls.value,\r\n FlowSensorImpulseLength: data.FlowSensorImpulseLength,\r\n FlowSensorImpulseFirstTime: data.FlowSensorImpulseFirstTime,\r\n FlowSensorImpulseNextTime: data.FlowSensorImpulseNextTime,\r\n AddressFlowrate: data.AddressFlowrate,\r\n ControllerId: params.id\r\n })\r\n .then(function (response) {\r\n setLoadingBtn(false)\r\n displayToast(response.data.message, response.data.isSuccess)\r\n })\r\n .catch(function (error) {\r\n console.log(error)\r\n setLoadingBtn(false)\r\n displayToast(error.response.data.errors[0].errorMessage, error.response.data.isSuccess)\r\n });\r\n }\r\n\r\n const displayToast = (message, status) => {\r\n\r\n if(status){\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n \r\n } else {\r\n toast.error(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n \r\n }\r\n\r\n return(\r\n isAuth ?\r\n <>\r\n
    \r\n
    \r\n
    \r\n\r\n \r\n {translated.FlowSensor}\r\n (\r\n {\r\n setSelectedSensorType({label:item.label, value:item.value})\r\n setValue(\"FlowSensorType\", selectedSensorType)\r\n\r\n if(item.value === 4 || item.value === 3) {\r\n setIsDisabled(true)\r\n } else {\r\n setIsDisabled(false)\r\n }\r\n }}\r\n value={selectedSensorType}\r\n options={sensorType}\r\n isDisabled={selectedSensorType.value == 5 ? true : false}\r\n placeholder={translatedForm.SelectFromList}\r\n classNamePrefix=\"select\"\r\n />\r\n )}\r\n />\r\n {errors.FlowSensorType && \r\n {errors.FlowSensorType.message}\r\n }\r\n \r\n\r\n \r\n {translated.CountImpulseFW}\r\n (\r\n {\r\n setSelectedCounterImpuls({label:item.label, value:item.value})\r\n setValue(\"FlowSensorCounterType\", selectedCounterImpuls)\r\n }}\r\n value={selectedCounterImpuls}\r\n options={listCountImpuls}\r\n placeholder={translatedForm.SelectFromList}\r\n classNamePrefix=\"select\"\r\n isDisabled={isDisabled}\r\n />\r\n )}\r\n />\r\n {errors.FlowSensorCounterType && \r\n {errors.FlowSensorCounterType.message}\r\n }\r\n \r\n\r\n {\r\n controllerInfo.type != 3\r\n ?\r\n <>\r\n \r\n {translated.FirstChannelFW}\r\n \r\n \r\n \r\n \r\n {translated.SecondChannelFW}\r\n \r\n \r\n \r\n : null\r\n }\r\n\r\n {\r\n controllerInfo.firmwareVersionBSString == \"BS-02 GOST\" && selectedSensorType.value == 5\r\n ?\r\n <>\r\n \r\n {translated.Address}\r\n \r\n {errors.AddressFlowrate && \r\n {errors.AddressFlowrate.message}\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
    \r\n\r\n {\r\n controllerInfo.type != 3\r\n ?\r\n \r\n {translated.ImpulseDurationFW}\r\n (\r\n setValue(\"FlowSensorImpulseLength\", value)}\r\n isDisabled={isDisabled}\r\n />\r\n )}\r\n />\r\n {errors.FlowSensorImpulseLength && \r\n {errors.FlowSensorImpulseLength.message}\r\n }\r\n \r\n : null\r\n }\r\n\r\n \r\n {translated.WaitingTimeFirst}\r\n \r\n (\r\n {\r\n console.log(value)\r\n setValue(\"FlowSensorImpulseFirstTime\", value)\r\n }}\r\n isDisabled={isDisabled}\r\n />\r\n )}\r\n />\r\n {errors.FlowSensorImpulseFirstTime && \r\n {errors.FlowSensorImpulseFirstTime.message}\r\n }\r\n \r\n\r\n \r\n {translated.WaitingTimeNext}\r\n \r\n (\r\n setValue(\"FlowSensorImpulseNextTime\", value)}\r\n isDisabled={isDisabled}\r\n />\r\n )}\r\n />\r\n {errors.FlowSensorImpulseNextTime && \r\n {errors.FlowSensorImpulseNextTime.message}\r\n }\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n :\r\n \r\n );\r\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Form, Spinner, Nav} from 'react-bootstrap';\nimport { AuthContext } from '../../context/AuthContext';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport Select from 'react-select';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport './../../boxicons.css';\nimport api from '../../utils/axiosInterceptions';\n\nexport const Printer = ({translated, translatedForm, typeController}) => {\n\n const router = useHistory()\n const params = useParams();\n const {isAuth} = useContext(AuthContext);\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\n const [selectedImpuls, setSelectedImpuls] = useState({\n label:'1',\n value:1\n })\n const [adjustingFactor, setAdjustingFactor] = useState({\n label:'',\n value:''\n })\n const [summator, setSummator] = useState(0)\n const [selectedCountPlomb, setSelectedCountPlomb] = useState(0)\n const [loadingBtn, setLoadingBtn] = useState(false)\n\n const printerTypes = [\n {label:translated.NotConnected, value:0},\n {label:\"TG2480H\", value:1},\n ]\n \n useEffect(() => {\n api.get(\"/api/controllers/details/printer\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"controllerId\":params.id\n },\n params:{\n controllerId: params.id,\n },\n withCredentials:true\n })\n .then(function (response) {\n console.log(\"printer\")\n \n\n let printer = printerTypes.filter((item) => item.value === response.data.dataResult.type)\n setValue(\"Type\", {label:printer[0].label, value:printer[0].value})\n setValue(\"Header1\", response.data.dataResult.header1)\n setValue(\"Header2\", response.data.dataResult.header2)\n setValue(\"Footer\", response.data.dataResult.footer)\n \n })\n .catch(function (error) {\n console.log(error);\n });\n }, [])\n\n const onSubmit = data => {\n setLoadingBtn(true);\n api.post(\"/api/controllers/details/printer/update\", {\n Header1: data.Header1,\n Header2: data.Header2,\n Footer: data.Footer,\n Type: data.Type.value,\n ControllerId: params.id\n })\n .then(function (response) {\n setLoadingBtn(false)\n displayToast(response.data.message, response.data.isSuccess)\n })\n .catch(function (error) {\n setLoadingBtn(false)\n displayToast(error.response.data.message, error.response.data.isSuccess)\n });\n }\n\n const displayToast = (message, status) => {\n\n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n \n }\n\n return(\n isAuth ?\n <>\n
    \n
    \n
    \n\n \n {translated.PrinterType}\n (\n {\n setValue(\"Type\", {label:item.label, value:item.value})\n }}\n value={value}\n options={printerTypes} \n placeholder={translatedForm.SelectFromList}\n classNamePrefix=\"select\"\n />\n )}\n />\n {errors.PumpControlOutput && \n {errors.PumpControlOutput.message}\n }\n \n\n
    \n \n
    \n
    \n\n\n
    \n \n

    {translated.ChequeHeader}

    \n \n {translated.ChequeString}\n \n {errors.Header1 && \n {errors.Header1.message}\n }\n \n \n \n {translated.ChequeString2}\n \n {errors.Header2 && \n {errors.Header2.message}\n }\n \n \n

    {translated.TotalCheque}

    \n \n {translated.ChequeString}\n \n {errors.Footer && \n {errors.Footer.message}\n }\n \n\n
    \n
    \n
    \n \n :\n \n );\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Form, Spinner, Nav} from 'react-bootstrap';\nimport { AuthContext } from '../../context/AuthContext';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport Select from 'react-select';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport CurrencyInput from 'react-currency-input-field';\nimport './../../boxicons.css';\nimport api from '../../utils/axiosInterceptions';\n\nexport const ControllerFilling = ({translated, translatedForm, controllerInfo, typeController}) => {\n\n const router = useHistory()\n const params = useParams();\n const {isAuth} = useContext(AuthContext);\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\n const [listFuels, setFuels] = useState([])\n const [selectedMinDoze, setSelectedMinDoze] = useState({\n label:'',\n value:''\n })\n const [selectedFuel, setSelectedFuel] = useState({\n label:'',\n value:''\n })\n const [selectedMaxDoze, setSelectedMaxDoze] = useState({\n label:'',\n value:''\n })\n const [selectedBeforeStop, setSelectedBeforeStop] = useState({\n label:'',\n value:''\n })\n const [selectedAfterStop, setSelectedAfterStop] = useState({\n label:'',\n value:''\n })\n const [selectedDelayDoze, setSelectedDelayDoze] = useState({\n label:'',\n value:''\n })\n const [selectedFlowError, setSelectedFlowError] = useState({\n label:'',\n value:''\n })\n const [selectedTimeIndication, setSelectedTimeIndication] = useState({\n label:'',\n value:''\n })\n\n const [loadingBtn, setLoadingBtn] = useState(false)\n\n const stopForError = [\n {label:translated.Yes, value:1},\n {label:translated.No, value:0},\n ]\n\n const listMinDoze = [\n {label:'0', value:0},\n {label:'1', value:1},\n {label:'2', value:2},\n {label:'3', value:3},\n {label:'4', value:4},\n {label:'5', value:5},\n {label:'500', value:500},\n ]\n\n const listMaxDoze = [\n {label:'5', value:5},\n {label:'10', value:10},\n {label:'20', value:20},\n {label:'50', value:50},\n {label:'100', value:100},\n {label:'200', value:200},\n {label:'500', value:500},\n {label:'990', value:990},\n {label:'999', value:999} \n ]\n\n const listVolumeBeforeStop = [\n {label:'0.5', value:0.5},\n {label:'1.0', value:1},\n {label:'1.5', value:1.5},\n {label:'2.0', value:2},\n {label:'5.0', value:5},\n {label:'10.0', value:10},\n {label:'15.0', value:15},\n {label:'20.0', value:20},\n {label:'999', value:999} \n ]\n\n const listVolumeAfterStop = [\n {label:'0.5', value:0.5},\n {label:'1.0', value:1},\n {label:'1.5', value:1.5},\n {label:'2.0', value:2},\n ]\n\n const listDelayDoze = [\n {label:'0', value:0},\n {label:'1', value:1},\n {label:'2', value:2},\n {label:'3', value:3},\n {label:'4', value:4},\n {label:'5', value:5},\n {label:'6', value:6},\n {label:'7', value:7},\n {label:'8', value:8},\n {label:'9', value:9},\n {label:'10', value:10},\n {label:'15', value:12},\n {label:'20', value:20}\n ]\n\n const listTimeIndication = [\n {label:'5', value:5},\n {label:'10', value:10},\n {label:'15', value:15},\n {label:'20', value:20},\n {label:'30', value:30},\n {label:'40', value:40},\n {label:'50', value:50},\n {label:'60', value:60}\n ]\n\n const getFuels = () => {\n api.get(`/api/fuels/all`, {\n withCredentials:true\n })\n .then(function (response) { \n const add = response.data.listDatas.map(item => ({\n ...item,\n value: item.id,\n label: item.name\n }))\n setFuels(add)\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n const getFilling = () => {\n api.get(`api/controllers/details/filling`, {\n headers:{\n \"content-type\" : \"application/json\",\n \"controllerId\":params.id\n },\n params:{\n controllerId: params.id,\n },\n withCredentials:true\n })\n .then(function (response) { \n\n console.log(\"Doze\")\n \n\n setSelectedFuel({label:response.data.dataResult.fuel.name, value:response.data.dataResult.fuel.id})\n setValue(\"Fuel\", selectedFuel)\n\n //let findMinDoze = listMinDoze.filter((item) => item.value == response.data.dataResult.dozeMin)\n //setSelectedMinDoze({label:findMinDoze[0].label, value:findMinDoze[0].value})\n setValue(\"DozeMin\", response.data.dataResult.dozeMin)\n\n //let findMaxDoze = listMaxDoze.filter((item) => item.value == response.data.dataResult.dozeMax)\n //setSelectedMaxDoze({label:findMaxDoze[0].label, value:findMaxDoze[0].value})\n setValue(\"DozeMax\", response.data.dataResult.dozeMax)\n\n //let findBeforeStop = listVolumeBeforeStop.filter((item) => item.value == response.data.dataResult.volumeBeforeStop)\n //setSelectedBeforeStop({label:findBeforeStop[0].label, value:findBeforeStop[0].value})\n setValue(\"VolumeBeforeStop\", response.data.dataResult.volumeBeforeStop)\n\n //let findAfterStart = listVolumeAfterStop.filter((item) => item.value == response.data.dataResult.volumeAfterStart)\n //setSelectedAfterStop({label:findAfterStart[0].label, value:findAfterStart[0].value})\n setValue(\"VolumeAfterStart\", response.data.dataResult.volumeAfterStart)\n\n //let findDelayDoze = listDelayDoze.filter((item) => item.value == response.data.dataResult.delayDozeStopAfterPumpOff)\n //setSelectedDelayDoze({label:findDelayDoze[0].label, value:findDelayDoze[0].value})\n setValue(\"DelayDozeStopAfterPumpOff\", response.data.dataResult.delayDozeStopAfterPumpOff)\n\n let findError = stopForError.filter((item) => item.value == response.data.dataResult.stopIfErrorFlowSensor)\n setSelectedFlowError({label:findError[0].label, value:findError[0].value})\n setValue(\"StopIfErrorFlowSensor\", selectedFlowError)\n\n //let findTimeIndication = listTimeIndication.filter((item) => item.value == response.data.dataResult.timeShowLastDoze)\n //setSelectedTimeIndication({label:findTimeIndication[0].label, value:findTimeIndication[0].value})\n setValue(\"TimeShowLastDoze\", response.data.dataResult.timeShowLastDoze)\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n useEffect(() => {\n getFuels()\n getFilling()\n }, [])\n\n const onSubmit = data => {\n\n setLoadingBtn(true);\n api.post(\"/api/controllers/details/filling/update\", {\n DozeMin: data.DozeMin,\n DozeMax: data.DozeMax,\n VolumeBeforeStop: data.VolumeBeforeStop,\n VolumeAfterStart: data.VolumeAfterStart,\n DelayDozeStopAfterPumpOff: data.DelayDozeStopAfterPumpOff,\n StopIfErrorFlowSensor: selectedFlowError.value,\n TimeShowLastDoze: data.TimeShowLastDoze,\n FuelId: selectedFuel.value,\n ControllerId: params.id\n })\n .then(function (response) {\n setLoadingBtn(false)\n displayToast(response.data.message, response.data.isSuccess)\n })\n .catch(function (error) {\n setLoadingBtn(false)\n displayToast(error.response.data.errors[0].errorMessage, error.response.data.isSuccess)\n });\n }\n\n const displayToast = (message, status) => {\n\n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n \n }\n\n return(\n isAuth ?\n <>\n
    \n
    \n
    \n \n {translated.FuelType} \n (\n {\n setSelectedFuel({label:item.label, value:item.value})\n setValue(\"Fuel\", selectedFuel)\n }}\n value={selectedFuel}\n options={listFuels} \n placeholder={translatedForm.SelectFromList}\n classNamePrefix=\"select\"\n />\n )}\n />\n {errors.Fuel && \n {errors.Fuel.message}\n } \n \n\n \n {translated.MinimalDose}\n (\n setValue(\"DozeMin\", value)}\n />\n )}\n />\n {errors.DozeMin && \n {errors.DozeMin.message}\n }\n \n\n \n {translated.MaximalDose}\n (\n setValue(\"DozeMax\", value)}\n />\n )}\n />\n {errors.DozeMax && \n {errors.DozeMax.message}\n }\n \n\n \n \n {translated.ReduceEndFill}\n \n \n (\n setValue(\"VolumeBeforeStop\", value)}\n />\n )}\n />\n {errors.VolumeBeforeStop && \n {errors.VolumeBeforeStop.message}\n } \n\n \n\n\n
    \n \n
    \n
    \n\n
    \n\n \n {translated.FullCapacityAfterFilling}\n \n (\n setValue(\"VolumeAfterStart\", value)}\n />\n )}\n />\n {errors.VolumeAfterStart && \n {errors.VolumeAfterStart.message}\n } \n\n \n\n \n {translated.EndFillAfterSwitch}\n \n (\n setValue(\"DelayDozeStopAfterPumpOff\", value)}\n />\n )}\n />\n {errors.DelayDozeStopAfterPumpOff && \n {errors.DelayDozeStopAfterPumpOff.message}\n } \n \n \n\n \n {translated.StopFill}\n (\n {\n setSelectedFlowError({label:item.label, value:item.value})\n setValue(\"StopIfErrorFlowSensor\", selectedFlowError)\n }}\n value={selectedFlowError}\n options={stopForError} \n placeholder={translatedForm.SelectFromList}\n classNamePrefix=\"select\"\n />\n )}\n />\n {errors.StopIfErrorFlowSensor && \n {errors.StopIfErrorFlowSensor.message}\n }\n \n\n \n {translated.TimeLastFill}\n \n (\n setValue(\"TimeShowLastDoze\", value)}\n />\n )}\n />\n {errors.TimeShowLastDoze && \n {errors.TimeShowLastDoze.message}\n } \n \n \n
    \n
    \n
    \n \n :\n \n );\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Form, Spinner, Nav} from 'react-bootstrap';\nimport { AuthContext } from '../../context/AuthContext';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport Select from 'react-select';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport './../../boxicons.css';\nimport api from '../../utils/axiosInterceptions';\n\nexport const GsmModem = ({translated, translatedForm}) => {\n\n const router = useHistory()\n const params = useParams();\n const {isAuth} = useContext(AuthContext);\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\n\n const [loadingBtn, setLoadingBtn] = useState(false)\n\n useEffect(() => {\n api.get(\"/api/controllers/details/modem\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"controllerId\":params.id\n },\n params:{\n controllerId: params.id,\n },\n withCredentials:true\n })\n .then(function (response) {\n setValue(\"Username\", response.data.dataResult.gprsUser)\n setValue(\"Password\", response.data.dataResult.gprsPassword)\n setValue(\"APN\", response.data.dataResult.gprsApn)\n setValue(\"Server\", response.data.dataResult.serverName)\n setValue(\"Port\", response.data.dataResult.serverPort)\n })\n .catch(function (error) {\n console.log(error);\n });\n }, [])\n\n const onSubmit = data => {\n\n setLoadingBtn(true);\n api.post(\"/api/controllers/details/modem/update\", {\n GprsUser: data.Username,\n GprsPassword: data.Password,\n GprsApn: data.APN,\n ServerPort: data.Port,\n ServerName: data.Server,\n ControllerId: params.id\n })\n .then(function (response) {\n setLoadingBtn(false)\n displayToast(response.data.message, response.data.isSuccess)\n })\n .catch(function (error) {\n setLoadingBtn(false)\n displayToast(error.response.data.message, error.response.data.isSuccess)\n });\n }\n\n const displayToast = (message, status) => \n {\n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n \n }\n\n return(\n isAuth ?\n <>\n
    \n
    \n
    \n\n \n {translated.AccessPoint}\n \n {errors.Name && \n {errors.APN.message}\n }\n \n\n \n {translated.UserName}\n \n {errors.Username && \n {errors.Username.message}\n }\n \n\n \n {translated.Password}\n \n {errors.Password && \n {errors.Password.message}\n }\n \n\n
    \n \n
    \n
    \n\n\n
    \n \n \n {translated.Server}\n \n {errors.Server && \n {errors.Server.message}\n }\n \n\n \n {translated.Port}\n \n {errors.Port && \n {errors.Port.message}\n }\n \n\n
    \n
    \n
    \n \n :\n \n );\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Form, Spinner, Nav} from 'react-bootstrap';\nimport { AuthContext } from '../../context/AuthContext';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport Select from 'react-select';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport CurrencyInput from 'react-currency-input-field';\nimport './../../boxicons.css';\nimport api from '../../utils/axiosInterceptions';\n\nexport const Metrolog = ({translated, translatedForm}) => {\n\n const router = useHistory()\n const params = useParams();\n const {isAuth} = useContext(AuthContext);\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\n const [selectedImpuls, setSelectedImpuls] = useState({\n label:'1',\n value:1\n })\n const [adjustingFactor, setAdjustingFactor] = useState({\n label:'',\n value:''\n })\n const [summator, setSummator] = useState(0)\n const [selectedCountPlomb, setSelectedCountPlomb] = useState(0)\n const [loadingBtn, setLoadingBtn] = useState(false)\n\n const listImpulses = [\n {label:\"1\", value:1},\n {label:\"10\", value:10},\n {label:\"100\", value:100},\n {label:\"200\", value:200},\n ]\n\n const adjustingFactorList = [\n {label:\"0.9992\", value:9992},\n {label:\"0.9000\", value:9000},\n {label:\"1.0000\", value:10000},\n {label:\"1.1000\", value:11000},\n ]\n \n useEffect(() => {\n api.get(\"/api/controllers/details/metrolog\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"controllerId\":params.id\n },\n params:{\n controllerId: params.id,\n },\n withCredentials:true\n })\n .then(function (response) {\n console.log(\"metrolog\")\n \n\n setSelectedCountPlomb(response.data.dataResult.countChangePlomb)\n setSummator(response.data.dataResult.summator / 100)\n\n setValue(\"AdjustingFactor\", response.data.dataResult.adjustingFactor)\n setValue(\"Impulse\", response.data.dataResult.impulseCount)\n \n })\n .catch(function (error) {\n console.log(error);\n });\n }, [])\n\n const onSubmit = data => {\n\n setLoadingBtn(true);\n api.post(\"/api/controllers/details/metrolog/update\", {\n ImpulseCount: data.Impulse,\n AdjustingFactor: data.AdjustingFactor,\n CountChangePlomb: selectedCountPlomb,\n Summator: summator,\n ControllerId: params.id\n })\n .then(function (response) {\n setLoadingBtn(false)\n displayToast(response.data.message, response.data.isSuccess)\n })\n .catch(function (error) {\n setLoadingBtn(false)\n displayToast(error.response.data.errors[0].errorMessage, error.response.data.isSuccess)\n });\n }\n\n const displayToast = (message, status) => {\n\n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n \n }\n\n return(\n isAuth ?\n <>\n
    \n
    \n
    \n\n \n {translated.ImpulseCountPerMetro}\n (\n setValue(\"Impulse\", value)}\n />\n )}\n />\n {errors.Impulse && \n {errors.Impulse.message}\n }\n \n\n \n {translated.AdjustmentFactor}\n \n {errors.AdjustingFactor && \n {errors.AdjustingFactor.message}\n }\n\n \n\n
    \n \n
    \n
    \n\n\n
    \n \n \n {translated.ElectronicSeal}\n \n \n\n \n {translated.Totaliser}\n \n \n\n
    \n
    \n
    \n \n :\n \n );\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Form, Spinner, Nav} from 'react-bootstrap';\nimport { AuthContext } from '../../context/AuthContext';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport Select from 'react-select';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport './../../boxicons.css';\nimport api from '../../utils/axiosInterceptions';\n\nexport const Indicator = ({translated, translatedForm}) => {\n\n const router = useHistory()\n const params = useParams();\n const {isAuth} = useContext(AuthContext);\n const [isDefined, setIsDefined] = useState(false)\n const [setlectedTypeIndicator, setTypeIndicator] = useState({\n label:'',\n value:''\n })\n const [selectedInput, setSelectedInput] = useState({\n label:'',\n value:''\n })\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\n const [loadingBtn, setLoadingBtn] = useState(false)\n\n const listInput = [\n {label: translated.Input1, value: 0},\n {label: translated.Input2, value: 1},\n {label: translated.Input3, value: 2}\n ]\n\n const listConnect = [\n {label: translated.NotConnected, value: 0},\n {label: translated.CommonSensor, value: 1},\n ]\n \n useEffect(() => {\n api.get(\"/api/controllers/details/indicator\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"controllerId\":params.id\n },\n params:{\n controllerId: params.id,\n },\n withCredentials:true\n })\n .then(function (response) {\n\n response.data.dataResult.hatchOpenType == 1 ? setIsDefined(true) : setIsDefined(false)\n let findIndicator = listConnect.filter((item) => item.value == response.data.dataResult.hatchOpenType)\n setTypeIndicator({label:findIndicator[0].label, value:findIndicator[0].value})\n setValue(\"HatchOpenType\", setlectedTypeIndicator)\n\n let findInput = listInput.filter((item) => item.value == response.data.dataResult.hatchOpenInput)\n setSelectedInput({label:findInput[0].label, value:findInput[0].value})\n setValue(\"HatchOpenInput\", selectedInput)\n })\n .catch(function (error) {\n console.log(error);\n });\n }, [])\n\n const onSubmit = data => {\n\n setLoadingBtn(true);\n api.post(\"/api/controllers/details/indicator/update\", {\n HatchOpenType: setlectedTypeIndicator.value,\n HatchOpenInput: selectedInput.value,\n ControllerId: params.id\n })\n .then(function (response) {\n setLoadingBtn(false)\n displayToast(response.data.message, response.data.isSuccess)\n })\n .catch(function (error) {\n setLoadingBtn(false)\n displayToast(error.response.data.message, error.response.data.isSuccess)\n });\n }\n\n const displayToast = (message, status) => {\n\n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n \n }\n\n return(\n isAuth ?\n <>\n
    \n
    \n
    \n\n \n {translated.HatchOpenType}\n (\n {\n setTypeIndicator({label:item.label, value:item.value})\n setValue(\"HatchOpenType\", setlectedTypeIndicator)\n isDefined ? setIsDefined(false) : setIsDefined(true)\n }}\n value={setlectedTypeIndicator}\n options={listConnect}\n placeholder={translatedForm.SelectFromList}\n classNamePrefix=\"select\"\n />\n )}\n />\n {errors.HatchOpenType && \n {errors.HatchOpenType.message}\n }\n \n\n \n {translated.OpeningSensor}\n \n {\n isDefined ? \n (\n {\n setSelectedInput({label:item.label, value:item.value})\n setValue(\"HatchOpenInput\", selectedInput)\n }}\n value={selectedInput}\n options={listInput}\n placeholder={translatedForm.SelectFromList}\n classNamePrefix=\"select\"\n />\n )}\n />\n : \n }\n\n \n\n
    \n \n
    \n
    \n
    \n
    \n \n :\n \n );\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\r\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\r\nimport { Button, Tabs, Tab, Form, Spinner, Offcanvas, Dropdown, DropdownButton, Card, Tooltip, OverlayTrigger, Nav} from 'react-bootstrap';\r\nimport { useForm, Controller } from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport Select from 'react-select';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport api from '../../../utils/axiosInterceptions';\r\n\r\nexport const FormAddParam = ({translated, translatedForm, id}) => {\r\n \r\n const { control, register, handleSubmit, reset, setValue, getValues, formState, formState: { errors }} = useForm()\r\n const [loadingBtn, setLoadingBtn] = useState(false)\r\n\r\n const listValues = [\r\n {label:\"1024\", value:1024},\r\n {label:\"4096\", value:4096}\r\n ]\r\n\r\n const submitPostRequest = (data) => {\r\n setLoadingBtn(true)\r\n api.post('/api/controllers/details/level-meters/details/params/update', {\r\n Id: id,\r\n Param2: data.Param2,\r\n Param3: Number(data.Param3),\r\n Param5: data.Param5.value,\r\n Param6: Number(data.Param6),\r\n ChartTableSize: data.ChartTableSize,\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"critical level\")\r\n \r\n setLoadingBtn(false)\r\n displayToast(response.data.message, response.data.isSuccess)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setLoadingBtn(false)\r\n displayToast(error.response.data.errors[0].errorMessage, error.response.data.isSuccess)\r\n });\r\n }\r\n\r\n const onSubmit= data => {\r\n console.log(data)\r\n submitPostRequest(data)\r\n }\r\n \r\n const displayToast = (message, status) => {\r\n\r\n if(status){\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n \r\n } else {\r\n toast.error(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n \r\n }\r\n\r\n useEffect(() => { \r\n api.get(\"/api/controllers/details/level-meters/details/params\", {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"levelMeterId\":id\r\n },\r\n params:{\r\n levelMeterId: id,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"param data level meter\") \r\n console.log(response.data)\r\n\r\n let param5 = listValues.filter((item) => item.value == response.data.dataResult.param5)\r\n setValue(\"Param5\", {label:param5[0].label, value: param5[0].value})\r\n \r\n setValue(\"Param2\", parseFloat((response.data.dataResult.param2 / 1000).toFixed(3)))\r\n setValue(\"Param3\", response.data.dataResult.param3)\r\n setValue(\"ChartTableSize\", response.data.dataResult.chartTableSize)\r\n setValue(\"Param6\", response.data.dataResult.param6)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }, [])\r\n\r\n return ( \r\n
    \r\n \r\n {translated.RelativeUnits}\r\n \r\n {errors.Param2 && \r\n {errors.Param2.message}\r\n }\r\n \r\n\r\n \r\n {translated.OffsetFromBottomSection}\r\n \r\n {errors.Param3 && \r\n {errors.Param3.message}\r\n }\r\n \r\n\r\n \r\n {translated.CalibrationChartSize}\r\n \r\n {errors.ChartTableSize && \r\n {errors.ChartTableSize.message}\r\n }\r\n \r\n\r\n \r\n {translated.MeasuringRange}\r\n (\r\n {\r\n setValue(\"Param5\", item)\r\n let param6 = getValues(\"Param6\")\r\n\r\n if(param6 == 0 || param6 == '') {\r\n setValue(\"Param2\", 0)\r\n } else {\r\n let val = parseFloat((param6 / item.value).toFixed(3))*10\r\n setValue(\"Param2\", val)\r\n }\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Param5 && \r\n {errors.Param5.message}\r\n } \r\n \r\n\r\n \r\n {translated.LengthDUT}\r\n {\r\n let param5 = getValues(\"Param5\")\r\n\r\n if(e.target.value == '' || e.target.value == 0) {\r\n setValue(\"Param2\", 0)\r\n } else {\r\n let val = parseFloat((param5.value / e.target.value).toFixed(3)) * 10\r\n setValue(\"Param2\", val)\r\n }\r\n }}\r\n \r\n />\r\n {errors.Param6 && \r\n {errors.Param6.message}\r\n }\r\n \r\n\r\n
    \r\n \r\n
    \r\n
    \r\n )\r\n}","import React, { useState, useEffect, useContext, useMemo, Redirect } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { Button, Offcanvas, Form, Spinner, DropdownButton, Dropdown, Badge, Alert} from 'react-bootstrap';\nimport { useForm, Controller} from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport Select from 'react-select';\nimport CurrencyInput from 'react-currency-input-field';\nimport api from '../../../utils/axiosInterceptions';\n\nexport const UploadTable = ({setListPoints, id}) => {\n\n const { control, register, handleSubmit, setValue, reset, formState, getValues, formState: { errors }} = useForm();\n const [file, setFile] = useState('')\n const [loadingData, setLoadingData] = useState({\n button:false,\n grid:false\n })\n\n const onSubmitUpload = data => {\n setLoadingData({button:true})\n console.log(\"upload\")\n let formData = new FormData()\n formData.append(\"uploadFile\", file)\n formData.append(\"levelMeterId\", id)\n api({\n method: 'post',\n url: '/api/controllers/details/level-meters/details/table/import',\n data: formData ,\n headers: {'Content-Type': 'multipart/form-data' },\n withCredentials: true\n })\n .then(function (response) {\n \n displayToast(response.data.message, response.data.isSuccess)\n setListPoints(response.data.listDatas)\n setLoadingData({button:false})\n })\n .catch(function (error) {\n console.log(error)\n setLoadingData({button:false})\n displayToast(error.response.data.message, error.response.data.isSuccess)\n }); \n }\n\n const displayToast = (message, status) => {\n\n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n }\n\n return(\n <>\n
    Выберите файл для загрузки
    \n
    \n\n \n setFile(e.target.files[0])}\n type=\"file\"\n />\n {errors.file && \n {errors.file.message}\n }\n \n\n
    \n \n
    \n\n
    \n \n\n )\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Table, Form, Spinner, Offcanvas, Dropdown, DropdownButton, Card, Tooltip, OverlayTrigger, Nav} from 'react-bootstrap';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport Select from 'react-select';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport { UploadTable } from './upload';\nimport api from '../../../utils/axiosInterceptions';\n\nexport const FormAddTable = ({translated, translatedForm, id}) => {\n \n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\n const [loadingBtn, setLoadingBtn] = useState(false)\n const [listPoints, setListPoints] = useState([])\n\n const getTable = () => {\n api.get(\"/api/controllers/details/level-meters/details/table\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"levelMeterId\":id\n },\n params:{\n levelMeterId: id,\n },\n withCredentials:true\n })\n .then(function (response) { \n setListPoints(response.data.listDatas) \n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n const onSubmit= () => {\n setLoadingBtn(true)\n api.post('/api/controllers/details/level-meters/details/table/create', {\n LevelMeterId: id,\n CountPoints:1,\n withCredentials:true\n })\n .then(function (response) {\n console.log(\"table level\")\n \n setLoadingBtn(false)\n displayToast(response.data.message, response.data.isSuccess)\n setListPoints(response.data.listDatas)\n })\n .catch(function (error) {\n console.log(error);\n setLoadingBtn(false)\n });\n }\n\n const deletaLastPoint = () => {\n console.log(id)\n api.post('/api/controllers/details/level-meters/details/table/delete-point', {\n Id: id,\n withCredentials:true\n })\n .then(function (response) {\n setLoadingBtn(false)\n setListPoints(response.data.listDatas)\n displayToast(response.data.message, response.data.isSuccess)\n })\n .catch(function (error) {\n console.log(error);\n setLoadingBtn(false)\n });\n }\n\n const deleteTable = () => {\n console.log(id)\n api.post('/api/controllers/details/level-meters/details/table/delete', {\n Id: id,\n withCredentials:true\n })\n .then(function (response) {\n setLoadingBtn(false)\n setListPoints(response.data.listDatas)\n displayToast(response.data.message, response.data.isSuccess)\n })\n .catch(function (error) {\n console.log(error);\n setLoadingBtn(false)\n });\n }\n \n const displayToast = (message, status) => {\n\n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n \n }\n\n useEffect(() => {\n getTable()\n }, [])\n\n return (\n <>\n
    \n \n onSubmit()}>{translated.AddPoint}\n deletaLastPoint()}>{translated.DeleteLastPoint}\n deleteTable()}>{translated.DeleteCalibrTable}\n {translated.DownloadTemplateTable}\n \n
    \n\n \n\n \n \n \n \n \n \n \n \n \n {\n listPoints.length == 0\n ? \n \n \n \n :\n listPoints.map((item) => (\n \n \n \n \n \n ))\n }\n \n
    {translated.Point}{translated.Level}{translated.Volume}
    {translatedForm.NotFound}
    {item.point}{item.levelMm}{item.volume}
    \n \n )\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\r\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\r\nimport { Button, Tabs, Tab, Modal, Form, Spinner, Offcanvas, Dropdown, DropdownButton, Card, Tooltip, OverlayTrigger, Nav} from 'react-bootstrap';\r\nimport { useForm, Controller } from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport { FormAddParam } from './FormAddParam';\r\nimport { FormAddTable } from './FormAddTable';\r\nimport Select from 'react-select';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport api from '../../../utils/axiosInterceptions';\r\n\r\nexport const LevelMeterSingle = ({addresses, controllerInfo, versionSoftware, translated, translatedForm, index, item, isOmmnicom}) => {\r\n\r\n const router = useHistory()\r\n const params = useParams();\r\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\r\n const [loadingBtn, setLoadingBtn] = useState(false)\r\n const [settingShow, setSettingShow] = useState(false)\r\n const [showModalTable, setShowModalTable] = useState(false)\r\n const [show, setShow] = useState(false)\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [modalShowParam, setModalShowParam] = useState(false)\r\n const [disabled, setDisabled] = useState(false)\r\n const [is16LevelMeter, setIs16LevelMeter] = useState(false)\r\n const [paramsLevelMeter, setParamsLevelMeter] = useState({})\r\n const [selectedAddress, setSelectedAddress] = useState({\r\n label:\"\",\r\n value:0\r\n })\r\n const [selectedType, setSelectedType] = useState({\r\n label:'',\r\n value:0\r\n })\r\n\r\n const types = [\r\n {label:translated.NotSet, value:0},\r\n {label:\"201\", value:1},\r\n {label:\"Omnicomm\", value:2},\r\n {label:translated.Struna, value:3},\r\n {label:\"Veeder-Root TLS\", value:4},\r\n ]\r\n\r\n const listEnabled = [\r\n {label: translated.DisableLevelMeter, value:0},\r\n {label: translated.ActiveLevelMeter, value:1},\r\n ]\r\n\r\n const setDataLevelMeter = (split, level_meter) => \r\n {\r\n if(split[0] >= 3 && split[1] >= 10)\r\n {\r\n setIs16LevelMeter(true)\r\n\r\n if(level_meter.type == 0)\r\n {\r\n setDisabled(true)\r\n }\r\n\r\n setSettingShow(isOmmnicom)\r\n\r\n if(level_meter.type == 0)\r\n {\r\n setSelectedType({label:listEnabled[0].label, value: listEnabled[0].value})\r\n setValue(\"Type\", selectedType)\r\n }\r\n else\r\n {\r\n setSelectedType({label:listEnabled[1].label, value: listEnabled[0].value})\r\n setValue(\"Type\", selectedType)\r\n }\r\n\r\n let address = addresses.filter((i) => i.value == level_meter.address)\r\n setSelectedAddress({label:address[0].label, value: address[0].value})\r\n setValue(\"Address\", selectedAddress)\r\n }\r\n else\r\n {\r\n let type = types.filter((i) => i.value == level_meter.type)\r\n setSelectedType({label:type[0].label, value: type[0].value})\r\n setValue(\"Type\", selectedType)\r\n\r\n if(level_meter.type == 2) {\r\n setSettingShow(true)\r\n } else {\r\n setSettingShow(false)\r\n }\r\n\r\n if(type[0].value == 3)\r\n {\r\n setSelectedAddress({label:\"80\", value: 80})\r\n setValue(\"Address\", selectedAddress)\r\n setDisabled(true)\r\n }\r\n else\r\n {\r\n let address = addresses.filter((i) => i.value == level_meter.address)\r\n setSelectedAddress({label:address[0].label, value: address[0].value})\r\n setValue(\"Address\", selectedAddress)\r\n }\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n setIsLoading(true)\r\n let split = versionSoftware.split('.')\r\n setDataLevelMeter(split, item)\r\n setIsLoading(false)\r\n }, [])\r\n\r\n const onSubmit = data => {\r\n setLoadingBtn(true)\r\n api.post('/api/controllers/details/level-meters/update', {\r\n Id: item.id,\r\n Type: selectedType.value,\r\n Address: selectedAddress.value,\r\n ControllerId: controllerInfo.id,\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n \r\n setLoadingBtn(false) \r\n \r\n let split = versionSoftware.split('.')\r\n setDataLevelMeter(split, response.data.dataResult)\r\n\r\n displayToast(response.data.message, response.data.isSuccess)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setLoadingBtn(false)\r\n displayToast(error.response.data.message, error.response.data.isSuccess)\r\n });\r\n }\r\n \r\n const displayToast = (message, status) => {\r\n\r\n if(status){\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n \r\n } else {\r\n toast.error(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n \r\n }\r\n\r\n return(\r\n <>\r\n {\r\n !isLoading\r\n ?\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    {translated.LevelMeter} {++index}
    \r\n {\r\n settingShow\r\n ?\r\n \r\n \r\n \r\n setShow(true)}>{translated.Params}\r\n setShowModalTable(true)}>{translated.GradTable}\r\n \r\n \r\n : null\r\n }\r\n
    \r\n\r\n
    \r\n {\r\n !is16LevelMeter\r\n ?\r\n \r\n {translated.Type} \r\n (\r\n {\r\n if(item.value == 0)\r\n {\r\n setDisabled(true)\r\n }\r\n else\r\n {\r\n setDisabled(false)\r\n }\r\n setSelectedType({\r\n label: item.label,\r\n value: item.value\r\n })\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Type && \r\n {errors.Type.message}\r\n } \r\n \r\n }\r\n\r\n \r\n {translated.Address} \r\n (\r\n = 3 && majorMinor.minor >= 11 && majorMinor.patch >= 6 ? types : types.filter((u) => u.value != 5)} \r\n placeholder={translated.SelectFromList}\r\n classNamePrefix=\"select\"\r\n value={selectedType}\r\n onChange={(item) => {\r\n setValue(\"Type\", item)\r\n changeCountLevelMeters(item.value)\r\n setSelectedType({\r\n label: item.label,\r\n value: item.value\r\n })\r\n onHandleUpdateType()\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Type && \r\n {errors.Type.message}\r\n } \r\n \r\n
    \r\n\r\n {\r\n selectedType.value == 4\r\n ?\r\n <>\r\n
    \r\n \r\n Код безопасности\r\n \r\n {errors.VeederRootTLS && \r\n {errors.VeederRootTLS.message}\r\n }\r\n \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n \r\n : null\r\n }\r\n
    \r\n : null\r\n }\r\n \r\n
    \r\n {\r\n listLevelMeters.slice(0, countLevelMeter).map((item, index) => (\r\n \r\n ))\r\n }\r\n
    \r\n \r\n\r\n \r\n\r\n {\r\n controllerInfo.type != 3\r\n ?\r\n setModalLm(false)}\r\n aria-labelledby=\"example-modal-sizes-title-lg\"\r\n dialogClassName=\"modal-90w\"\r\n > \r\n \r\n \r\n {translated.HeaderLevelMeterData}\r\n \r\n \r\n \r\n {\r\n !levelMeterIsLoading\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 listLevelMeterData.filter((item) => item.level).map((i, index) => (\r\n \r\n ))\r\n }\r\n \r\n \r\n \r\n \r\n {\r\n listLevelMeterData.filter((item) => item.temperature).map((i, index) => (\r\n \r\n ))\r\n }\r\n \r\n \r\n \r\n \r\n {\r\n listLevelMeterData.filter((item) => item.fill).map((i, index) => (\r\n \r\n ))\r\n }\r\n \r\n \r\n \r\n \r\n {\r\n listLevelMeterData.filter((item) => item.all_volume).map((i, index) => (\r\n \r\n ))\r\n }\r\n \r\n \r\n \r\n \r\n {\r\n listLevelMeterData.filter((item) => item.mass).map((i, index) => (\r\n \r\n ))\r\n }\r\n \r\n \r\n \r\n \r\n {\r\n listLevelMeterData.filter((item) => item.density).map((i, index) => (\r\n \r\n ))\r\n }\r\n \r\n \r\n \r\n \r\n {\r\n listLevelMeterData.filter((item) => item.fuel_volume).map((i, index) => (\r\n \r\n ))\r\n }\r\n \r\n \r\n \r\n \r\n {\r\n listLevelMeterData.filter((item) => item.fuel_volume).map((i, index) => (\r\n \r\n ))\r\n }\r\n \r\n \r\n \r\n \r\n {\r\n listLevelMeterData.filter((item) => item.critical_level).map((i, index) => (\r\n \r\n ))\r\n }\r\n \r\n \r\n \r\n
    {moment(new Date()).format(\"DD.MM.YYYY HH:mm\")}{translated.LevelMeter_1}{translated.LevelMeter_2}{translated.LevelMeter_3}{translated.LevelMeter_4}{translated.Sum}
    {translated.Level} ({translated.Sm}){(i.level.data * 100).toFixed(1)}
    {translated.Temperature}{(i.temperature.data).toFixed(1)}
    {translated.Filling} (%){(i.fill.data).toFixed(1)}
    {translated.FullVolume} ({translated.ShortLiter}){(i.all_volume.data * 1000).toFixed(1)}{(sumLevelMeters.all_volume * 1000).toFixed(1)}
    {translated.Massa} ({translated.Kg}){(i.mass.data * 1000).toFixed(1)}{(sumLevelMeters.mass * 1000).toFixed(1)}
    {translated.Density} ({translated.KgM3}){(i.density.data * 1000).toFixed(1)}
    {translated.FuelVolume} ({translated.ShortLiter}){(i.fuel_volume.data * 1000).toFixed(1)}{(sumLevelMeters.fuel_volume * 1000).toFixed(1)}
    {translated.ProductFluidLevel} ({translated.Sm}){(i.water_level.data * 100).toFixed(1)}
    {translated.StateCriticalLevel}{(i.critical_level.data)}
    \r\n : \r\n
    \r\n \r\n
    \r\n }\r\n
    \r\n \r\n : \r\n setModalLm(false)}\r\n aria-labelledby=\"example-modal-sizes-title-lg\"\r\n dialogClassName=\"modal-90w\"\r\n > \r\n \r\n \r\n {translated.HeaderLevelMeterData}\r\n \r\n \r\n \r\n {\r\n !levelMeterIsLoading\r\n ?\r\n <>\r\n \r\n \r\n \r\n \r\n {\r\n listLevelMeterData.map((item, index) => (\r\n \r\n ))\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n listLevelMeterData.map((i, index) => (\r\n \r\n ))\r\n }\r\n \r\n\r\n \r\n \r\n {\r\n listLevelMeterData.map((i, index) => (\r\n \r\n ))\r\n }\r\n \r\n\r\n \r\n \r\n {\r\n listLevelMeterData.map((i, index) => (\r\n \r\n ))\r\n }\r\n \r\n\r\n \r\n \r\n {\r\n listLevelMeterData.map((i, index) => (\r\n \r\n ))\r\n }\r\n \r\n \r\n\r\n \r\n \r\n {\r\n listLevelMeterData.map((i, index) => (\r\n \r\n ))\r\n }\r\n \r\n \r\n\r\n \r\n \r\n {\r\n listLevelMeterData.map((i, index) => (\r\n \r\n ))\r\n }\r\n \r\n\r\n \r\n \r\n {\r\n listLevelMeterData.map((i, index) => ( \r\n \r\n ))\r\n }\r\n \r\n \r\n\r\n \r\n \r\n {\r\n majorMinor.major >= 3 && majorMinor.minor >= 11 && majorMinor.patch >= 6\r\n && selectedType.value == 5\r\n ?\r\n listLevelMeterData.map((i, index) => ( \r\n \r\n ))\r\n :\r\n listLevelMeterData.map((i, index) => (\r\n \r\n \r\n ))\r\n }\r\n \r\n\r\n \r\n \r\n {\r\n listLevelMeterData.map((i, index) => ( \r\n i.codeError == 0\r\n ? \r\n : i.codeError == 1\r\n ? \r\n : i.codeError == 2\r\n ? \r\n : i.codeError == 2\r\n ? \r\n : null\r\n ))\r\n }\r\n \r\n\r\n \r\n
    {moment(new Date()).format(\"DD.MM.YYYY HH:mm\")}{translated.LevelMeter}{++index}{translated.Sum}
    {translated.Level} ({translated.Sm})\r\n {\r\n i.codeError != 1 && i.codeError != 2 && i.codeError != 3\r\n ? (i.level).toFixed(1)\r\n : \"-\"\r\n }\r\n
    {translated.Temperature}\r\n {\r\n i.codeError != 1 && i.codeError != 2 && i.codeError != 3\r\n ? (i.temperature).toFixed(1)\r\n : \"-\"\r\n }\r\n
    {translated.Filling} (%)\r\n {\r\n i.codeError != 1 && i.codeError != 2 && i.codeError != 3\r\n ? (i.fill).toFixed(1)\r\n : \"-\"\r\n }\r\n
    {translated.FullVolume} ({translated.ShortLiter})\r\n {\r\n i.codeError != 1 && i.codeError != 2 && i.codeError != 3\r\n ? (i.allVolume).toFixed(1)\r\n : \"-\"\r\n }\r\n {(sumLevelMeters.all_volume).toFixed(1)}
    {translated.Massa} ({translated.Kg})\r\n {\r\n i.codeError != 1 && i.codeError != 2 && i.codeError != 3\r\n ? (i.mass).toFixed(1)\r\n : \"-\"\r\n }\r\n {(sumLevelMeters.mass).toFixed(1)}
    {translated.Density} ({translated.KgM3})\r\n {\r\n i.codeError != 1 && i.codeError != 2 && i.codeError != 3\r\n ? (i.density).toFixed(1)\r\n : \"-\"\r\n }\r\n
    {translated.FuelVolume} ({translated.ShortLiter})\r\n {\r\n i.codeError != 1 && i.codeError != 2 && i.codeError != 3\r\n ? (i.fuelVolume).toFixed(1)\r\n : \"-\"\r\n }\r\n {(sumLevelMeters.fuel_volume).toFixed(1)}
    {translated.ProductFluidLevel} ({translated.Sm})-\r\n {\r\n i.codeError != 1 && i.codeError != 2 && i.codeError != 3\r\n ? (i.levelWater).toFixed(1)\r\n : \"-\"\r\n }\r\n
    {translated.CodeError}{translated.CodeError1}{translated.CodeError2}{translated.CodeError3}
    \r\n \r\n : \r\n
    \r\n \r\n
    \r\n }\r\n
    \r\n \r\n }\r\n\r\n setShowModal(false)}\r\n aria-labelledby=\"example-modal-sizes-title-lg\"\r\n dialogClassName=\"modal-90w\"\r\n >\r\n \r\n \r\n {translated.SettingCriticalLevel} - {translated.LowLevel}\r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n\r\n\r\n {\r\n controllerInfo.type == 3\r\n ?\r\n <>\r\n \r\n \r\n setParamIsActive({\r\n level_use: e.target.checked,\r\n all_volume_use:false\r\n })\r\n }\r\n />\r\n (\r\n setValue(\"LevelLow\", value)}\r\n />\r\n )}\r\n />\r\n {errors.LevelLow && \r\n {errors.LevelLow.message}\r\n }\r\n \r\n\r\n \r\n setParamIsActive({\r\n all_volume_use: e.target.checked,\r\n level_use: false,\r\n })}\r\n />\r\n (\r\n setValue(\"AllVolumeLow\", value)}\r\n />\r\n )}\r\n />\r\n {errors.LevelLow && \r\n {errors.AllVolumeLow.message}\r\n }\r\n \r\n \r\n \r\n :\r\n <>\r\n \r\n \r\n setParamIsActive({\r\n level_use: e.target.checked,\r\n all_volume_use: paramIsActive.all_volume_use,\r\n density_use: paramIsActive.density_use,\r\n fill_use: paramIsActive.fill_use,\r\n fuel_volume_use: paramIsActive.fuel_volume_use,\r\n level_water_use: paramIsActive.level_water_use,\r\n mass_use: paramIsActive.mass_use,\r\n temperature_use: paramIsActive.temperature_use\r\n })\r\n }\r\n />\r\n (\r\n setValue(\"LevelLow\", value)}\r\n />\r\n )}\r\n />\r\n {errors.LevelLow && \r\n {errors.LevelLow.message}\r\n }\r\n \r\n\r\n \r\n setParamIsActive({\r\n all_volume_use: e.target.checked,\r\n level_use: paramIsActive.level_use,\r\n density_use: paramIsActive.density_use,\r\n fill_use: paramIsActive.fill_use,\r\n fuel_volume_use: paramIsActive.fuel_volume_use,\r\n level_water_use: paramIsActive.level_water_use,\r\n mass_use: paramIsActive.mass_use,\r\n temperature_use: paramIsActive.temperature_use\r\n })}\r\n />\r\n (\r\n setValue(\"AllVolumeLow\", value)}\r\n />\r\n )}\r\n />\r\n {errors.LevelLow && \r\n {errors.AllVolumeLow.message}\r\n }\r\n \r\n \r\n\r\n \r\n setParamIsActive({\r\n temperature_use: e.target.checked,\r\n level_use: paramIsActive.level_use,\r\n all_volume_use: paramIsActive.all_volume_use,\r\n density_use: paramIsActive.density_use,\r\n fill_use: paramIsActive.fill_use,\r\n fuel_volume_use: paramIsActive.fuel_volume_use,\r\n level_water_use: paramIsActive.level_water_use,\r\n mass_use: paramIsActive.mass_use,\r\n })}\r\n />\r\n (\r\n setValue(\"TemperatureLow\", value)}\r\n />\r\n )}\r\n />\r\n {errors.TemperatureLow && \r\n {errors.TemperatureLow.message}\r\n }\r\n \r\n \r\n\r\n \r\n setParamIsActive({\r\n fill_use: e.target.checked,\r\n level_use: paramIsActive.level_use,\r\n all_volume_use: paramIsActive.all_volume_use,\r\n density_use: paramIsActive.density_use,\r\n fuel_volume_use: paramIsActive.fuel_volume_use,\r\n level_water_use: paramIsActive.level_water_use,\r\n mass_use: paramIsActive.mass_use,\r\n temperature_use: paramIsActive.temperature_use\r\n })}\r\n />\r\n (\r\n setValue(\"FillLow\", value)}\r\n />\r\n )}\r\n />\r\n {errors.FillLow && \r\n {errors.FillLow.message}\r\n }\r\n \r\n \r\n\r\n \r\n setParamIsActive({\r\n mass_use: e.target.checked,\r\n level_use: paramIsActive.level_use,\r\n all_volume_use: paramIsActive.all_volume_use,\r\n density_use: paramIsActive.density_use,\r\n fuel_volume_use: paramIsActive.fuel_volume_use,\r\n level_water_use: paramIsActive.level_water_use,\r\n temperature_use: paramIsActive.temperature_use\r\n })}\r\n />\r\n (\r\n setValue(\"MassLow\", value)}\r\n />\r\n )}\r\n />\r\n {errors.MassLow && \r\n {errors.MassLow.message}\r\n }\r\n \r\n \r\n\r\n \r\n setParamIsActive({\r\n density_use: e.target.checked,\r\n level_use: paramIsActive.level_use,\r\n all_volume_use: paramIsActive.all_volume_use,\r\n fuel_volume_use: paramIsActive.fuel_volume_use,\r\n level_water_use: paramIsActive.level_water_use,\r\n mass_use: paramIsActive.mass_use,\r\n temperature_use: paramIsActive.temperature_use\r\n })}\r\n />\r\n (\r\n setValue(\"Density\", value)}\r\n />\r\n )}\r\n />\r\n {errors.Density && \r\n {errors.Density.message}\r\n }\r\n \r\n\r\n \r\n setParamIsActive({\r\n fuel_volume_use: e.target.checked,\r\n level_use: paramIsActive.level_use,\r\n all_volume_use: paramIsActive.all_volume_use,\r\n density_use: paramIsActive.density_use,\r\n level_water_use: paramIsActive.level_water_use,\r\n mass_use: paramIsActive.mass_use,\r\n temperature_use: paramIsActive.temperature_use\r\n })}\r\n />\r\n (\r\n setValue(\"Density\", value)}\r\n />\r\n )}\r\n />\r\n {errors.FuelVolumeLow && \r\n {errors.FuelVolumeLow.message}\r\n }\r\n \r\n\r\n \r\n setParamIsActive({\r\n level_water_use: e.target.checked,\r\n level_use: paramIsActive.level_use,\r\n all_volume_use: paramIsActive.all_volume_use,\r\n density_use: paramIsActive.density_use,\r\n fuel_volume_use: paramIsActive.fuel_volume_use,\r\n mass_use: paramIsActive.mass_use,\r\n temperature_use: paramIsActive.temperature_use\r\n })}\r\n />\r\n (\r\n setValue(\"LevelWaterLow\", value)}\r\n />\r\n )}\r\n />\r\n {errors.LevelWaterLow && \r\n {errors.LevelWaterLow.message}\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 setModalControlLevel(false)}\r\n aria-labelledby=\"example-modal-sizes-title-lg\"\r\n dialogClassName=\"modal-90w\"\r\n >\r\n \r\n \r\n {translated.ControlLevel}\r\n \r\n \r\n \r\n \r\n (\r\n {\r\n setValue(\"ControlLevel\", item)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.ControlLevel && \r\n {errors.ControlLevel.message}\r\n }\r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n\r\n {\r\n openPeriod\r\n ? \r\n : null\r\n }\r\n \r\n :\r\n \r\n );\r\n}","import React, { useState, useEffect, useMemo, useContext, Redirect } from 'react';\r\nimport { useHistory, useParams } from 'react-router-dom';\r\nimport { Button, Alert, Offcanvas, Form, Spinner, Badge, DropdownButton, Dropdown} from 'react-bootstrap';\r\nimport { useForm, Controller } from 'react-hook-form';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport MaterialReactTable from 'material-react-table';\r\nimport { MRT_Localization_RU } from 'material-react-table/locales/ru';\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslateUser } from '../../../lang/users/user';\r\nimport {CurrentSelectLanguage} from '../../../helpers/language';\r\nimport {FormLocale} from '../../../lang/form';\r\nimport api from '../../../utils/axiosInterceptions';\r\n\r\nconst ControllerUsers = ({controllerInfo}) => {\r\n\r\n const params = useParams()\r\n const router = useHistory();\r\n const { register, handleSubmit, control, reset, setValue, formState, formState: { errors }} = useForm();\r\n const [listTransport, setListTransport] = useState([])\r\n const [listTransportForSelect, setListTransportForSelect] = useState([])\r\n const [listCompaniesForSelect, setListCompaniesForSelect] = useState([])\r\n const [selectedTransports, setSelectedTransports] = useState([])\r\n const [show, setShow] = useState(false)\r\n const [selectAllUsers, setSelectAllUsers] = useState(false)\r\n const [usersIsDisabled, setUsersIsDisabled] = useState(false)\r\n const [listCompanyUsers, setListCompanyUsers] = useState([])\r\n const translated = useLittera(TranslateUser);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [loadingData, setLoadingData] = useState({\r\n button:false,\r\n grid:false\r\n })\r\n \r\n const getUsers = () => {\r\n api.get('/api/controllers/details/users', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"id\":params.id\r\n },\r\n params:{\r\n id: params.id\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"controller users\")\r\n \r\n setListTransport(response.data.listDatas)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setLoadingData({grid:false})\r\n });\r\n }\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n getUsers()\r\n }, [])\r\n\r\n const displayToast = (message, status) => {\r\n\r\n if(status){\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n\r\n } else {\r\n toast.error(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n \r\n }\r\n\r\n const onSubmit = data => {\r\n console.log(data)\r\n setLoadingData({button:true});\r\n api.post(\"/api/controllers/details/users/add\", {\r\n UserIds: data.User,\r\n SelectAllUsers: selectAllUsers,\r\n CompanyId: data.Company.id,\r\n ControllerId: params.id,\r\n withCredentials: true\r\n })\r\n .then(function (response) {\r\n displayToast(response.data.message, response.data.isSuccess)\r\n setLoadingData({button:false});\r\n setListTransport(response.data.listDatas)\r\n reset({\r\n \"User\":''\r\n })\r\n getNotInclude()\r\n })\r\n .catch(function (error) {\r\n setLoadingData({button:false})\r\n displayToast(error.response.data.message, error.response.data.isSuccess)\r\n });\r\n }\r\n\r\n const onDelete = userId => {\r\n\r\n setLoadingData({grid:true})\r\n api.get('/api/controllers/details/users/delete', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"controllerId\":params.id,\r\n \"userId\": userId\r\n },\r\n params:{\r\n controllerId: params.id,\r\n userId: userId\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n \r\n setListTransport(response.data.listDatas)\r\n setLoadingData({grid:false})\r\n displayToast(response.data.message, response.data.isSuccess)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setLoadingData({grid:false})\r\n displayToast(error.data.message, error.data.isSuccess)\r\n });\r\n\r\n }\r\n\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCrenditials:true\r\n })\r\n .then(function(response){\r\n const add = response.data.listDatas.map(item => ({\r\n ...item,\r\n value: item.id,\r\n label: item.name\r\n }))\r\n setListCompaniesForSelect(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getCompanyUsers = companyId => {\r\n api.get('/api/company/details/users', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":companyId\r\n },\r\n params:{\r\n companyId: companyId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"stations of company\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.firstname + ' ' + item.lastname\r\n }))\r\n setListCompanyUsers(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getNotInclude = (companyId) => {\r\n api.get('/api/controllers/details/users/include', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"controllerId\": params.id,\r\n \"CompanyId\": companyId\r\n },\r\n params:{\r\n controllerId: params.id,\r\n CompanyId: companyId\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"users include\")\r\n \r\n\r\n const add = response.data.listDatas.map(item => ({\r\n ...item,\r\n value: item.id,\r\n label: item.firstname + ' ' + item.lastname\r\n }))\r\n setListTransportForSelect(add)\r\n \r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setLoadingData({grid:false})\r\n });\r\n }\r\n\r\n const onHandleShow = () => {\r\n getCompanies()\r\n setSelectAllUsers(false)\r\n setUsersIsDisabled(false)\r\n setValue(\"Company\", null)\r\n setShow(true)\r\n }\r\n \r\n const columns = useMemo(\r\n () => [\r\n {\r\n accessorFn: (row) => row.firstname+' '+row.lastname,\r\n accessorKey: 'name',\r\n header: translated.Fullname,\r\n },\r\n {\r\n accessorFn: (row) => {row.role.name},\r\n accessorKey: 'role',\r\n header: translated.Role,\r\n },\r\n {\r\n accessorFn: (row) => row.isExistDataAuth \r\n ? {translated.AccessActive} \r\n : {translated.AccessNotActive},\r\n accessorKey: 'Auth',\r\n header: translated.AccessSystem,\r\n },\r\n {\r\n accessorFn: (row) => \r\n <>\r\n \r\n \r\n ,\r\n accessorKey: 'button',\r\n header: translated.Actions,\r\n },\r\n ],\r\n [],\r\n );\r\n\r\n return ( \r\n <>\r\n \r\n onHandleShow()}>{translated.AddUser}\r\n \r\n\r\n
    \r\n \r\n
    \r\n\r\n setShow(false)}>\r\n \r\n Добавление пользователей\r\n \r\n
    \r\n \r\n\r\n
    \r\n \r\n {translated.MessageSelectUsers}\r\n \r\n
    \r\n \r\n
    \r\n\r\n \r\n {translated.ListCompanies} *\r\n (\r\n {\r\n setValue(\"Company\", item)\r\n getCompanyUsers(item.id)\r\n setValue(\"User\", null)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.User && \r\n {errors.User.message}\r\n }\r\n \r\n\r\n
    \r\n {\r\n setSelectAllUsers(e.target.checked)\r\n setUsersIsDisabled(e.target.checked)\r\n }}\r\n />\r\n
    \r\n \r\n \r\n {translated.ListUsers} *\r\n (\r\n setValue(\"User\", item)}\r\n />\r\n )}\r\n />\r\n {errors.User && \r\n {errors.User.message}\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\nexport default ControllerUsers;\r\n","import React, { useContext, useEffect, useState, useMemo, Redirect } from 'react';\r\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\r\nimport { Button, Tabs, Tab, Nav, DropdownButton, Badge, Dropdown, Form, OffCanvas, Alert, Table, Spinner, Offcanvas} from 'react-bootstrap';\r\nimport { AuthContext } from '../../../context/AuthContext';\r\nimport { useForm, Controller } from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport moment from 'moment';\r\nimport './../../../boxicons.css';\r\nimport MaterialReactTable from 'material-react-table';\r\nimport { MRT_Localization_RU } from 'material-react-table/locales/ru';\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport {TranslateCompanyModule} from '../../../lang/company'\r\nimport { CurrentSelectLanguage } from '../../../helpers/language';\r\nimport {FormLocale} from '../../../lang/form';\r\nimport api from '../../../utils/axiosInterceptions';\r\n\r\nconst ControllerCompanies = ({controllerId, controllerInfo}) => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const { register, handleSubmit, control, reset, setValue, formState, formState: { errors }} = useForm();\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [listServiceCompanies, setListServiceCompanies] = useState([])\r\n const [selectedCompanies, setSelectedCompanies] = useState([])\r\n const [showFormAdd, setShowFormAdd] = useState(false);\r\n const translated = useLittera(TranslateCompanyModule);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [textButtonCompany, setTextBtnCompany] = useState(translated.ActionWithCompanies)\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n button:false,\r\n grid:false\r\n })\r\n\r\n const onDelete = id => {\r\n \r\n api.post('/api/controllers/details/companies/delete', {\r\n ControllerId: controllerId,\r\n CompanyId: id,\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n\r\n \r\n setListCompanies(response.data.listDatas)\r\n setLoadingData({grid:false})\r\n displayToast(response.data.message, response.data.isSuccess)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setLoadingData({grid:false})\r\n displayToast(error.response.data.message, error.response.data.isSuccess)\r\n });\r\n\r\n }\r\n\r\n const onSubmit = data => {\r\n console.log(data)\r\n console.log(controllerInfo.id)\r\n setLoadingData({button:true})\r\n let array_ids = []\r\n data.Companies.map((item) => {\r\n array_ids.push(item.id)\r\n })\r\n api.post(\"/api/controllers/details/companies/create\", {\r\n Company: array_ids,\r\n ControllerId: controllerInfo.id,\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n setListCompanies(response.data.listDatas)\r\n displayToast(response.data.message, response.data.isSuccess)\r\n setLoadingData({button:false})\r\n })\r\n .catch(function (error) {\r\n setLoadingData({button:false})\r\n displayToast(error.response.data.message, error.response.data.isSuccess)\r\n });\r\n }\r\n\r\n const getControllerCompanies = () => {\r\n api.get('/api/controllers/details/companies/all', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"controllerId\": controllerInfo.id\r\n },\r\n params:{\r\n controllerId: controllerInfo.id\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log('controller companies')\r\n \r\n setPermission({\r\n read: response.data.read,\r\n create: response.data.create,\r\n fullAccess: response.data.fullAccess\r\n })\r\n setListCompanies(response.data.listDatas)\r\n setLoadingData({grid:false})\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setLoadingData({grid:false})\r\n });\r\n }\r\n\r\n const getCompanies = () => {\r\n\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n \r\n\r\n const addCompany = response.data.listDatas.map(item => ({\r\n ...item,\r\n value: item.id,\r\n label: item.name\r\n }))\r\n\r\n setListServiceCompanies(addCompany)\r\n\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const handleShow = () => {\r\n setShowFormAdd(true)\r\n }\r\n\r\n const handleClose = () => setShowFormAdd(false);\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n setLoadingData({grid:true})\r\n getControllerCompanies()\r\n getCompanies()\r\n }, [])\r\n\r\n const displayToast = (message, status) => {\r\n\r\n if(status){\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n\r\n } else {\r\n toast.error(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n \r\n }\r\n\r\n const columns = useMemo(\r\n () => [\r\n {\r\n accessorKey: 'name',\r\n header: translated.Name,\r\n },\r\n {\r\n accessorFn: (row) => \r\n <>\r\n \r\n \r\n \r\n ,\r\n accessorKey: 'button',\r\n header: translatedForm.Actions,\r\n },\r\n ],\r\n [],\r\n );\r\n\r\n return ( \r\n isAuth ?\r\n <>\r\n
    \r\n \r\n {\r\n permission.create || permission.fullAccess\r\n ?\r\n \r\n handleShow()}>{translated.AddCompany}\r\n \r\n : null\r\n }\r\n \r\n
    \r\n {\r\n permission.read || permission.fullAccess\r\n ?\r\n \r\n : \r\n \r\n {translated.AccessDenied}\r\n \r\n }\r\n
    \r\n
    \r\n\r\n \r\n \r\n \r\n {translated.AddCompanyProgress}\r\n \r\n \r\n
    \r\n \r\n\r\n
    \r\n \r\n \r\n {translated.ListCompanies} *\r\n (\r\n \r\n )}\r\n />\r\n {errors.Companies && \r\n {errors.Companies.message}\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\nexport default ControllerCompanies;\r\n","import React, { useContext, useEffect, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, DropdownButton, Alert, Dropdown, Badge, Modal, Form, Offcanvas, Spinner, Nav} from 'react-bootstrap';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport ControllerUsers from './User';\nimport ControllerCompanies from './Company/all';\nimport InputMask from 'react-input-mask';\nimport Select from 'react-select'\nimport axios from 'axios';\nimport api from '../../utils/axiosInterceptions';\n\nexport const ModalHardware = ({translatedForm, translated, controllerData, controllerInfo, typeController, showModalChangeType, setShowModalChangeType}) => {\n\n const params = useParams()\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\n const [loadingBtn, setLoadingBtn] = useState(false)\n \n const displayToast = (message, status) => {\n\n if(status)\n {\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n } \n else \n {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n \n }\n\n const onSubmit = data => {\n setLoadingBtn(true)\n api.post(\"/api/controllers/details/update-hardware\", {\n Type: data.Type.value,\n HasModem: controllerInfo.type != 3 ? data.HasModem.value : 0,\n EnabledModem: controllerInfo.type != 3 ? data.EnabledModem.value : 0,\n ControllerId: params.id,\n })\n .then(function (response) {\n console.log(\"hardware\")\n \n setLoadingBtn(false)\n displayToast(response.data.message, response.data.isSuccess)\n controllerData()\n })\n .catch(function (error) {\n setLoadingBtn(false)\n displayToast(error.response.data.message, error.response.data.isSuccess)\n });\n }\n\n const listTypeController = [\n {label:translated.NotSet, value:0},\n {label:translated.Electro, value:1},\n {label:translated.Livenka, value:2},\n {label:translated.Topaz, value:3},\n {label:translated.Gilbarco, value:4},\n ]\n\n const listTypeControllerNewB2 = [\n {label:translated.Electro, value:0},\n {label:translated.Livenka, value:1},\n {label:translated.Topaz, value:2},\n {label:translated.Gilbarco, value:3},\n {label:translated.Tokheim, value:4},\n ]\n\n const listModemCheck = [\n {label:translated.No, value:false},\n {label:translated.Yes, value:true},\n ]\n\n const listEnableModem = [\n {label:translated.OpenCollector, value:0},\n {label:translated.RegularOutput, value:1},\n ]\n\n useEffect(() => {\n let type = controllerInfo.type != 3 \n ? listTypeController.filter((item) => item.value == typeController)\n : listTypeControllerNewB2.filter((item) => item.value == typeController)\n setValue(\"Type\", type[0])\n\n let hasModem = listModemCheck.filter((item) => item.value == controllerInfo.hasModem)\n setValue(\"HasModem\", hasModem[0])\n\n if(controllerInfo.dayManufacture == 20) {\n let enableModem = listEnableModem.filter((item) => item.value == 0)\n setValue(\"EnabledModem\", enableModem[0])\n } else {\n let enableModem = listEnableModem.filter((item) => item.value == 1)\n setValue(\"EnabledModem\", enableModem[0])\n }\n\n }, [])\n\n return ( \n setShowModalChangeType(false)}\n aria-labelledby=\"example-modal-sizes-title-lg\"\n dialogClassName=\"modal-90w\"\n >\n \n \n {translated.ModalHardwareTitle}\n \n \n \n \n {translated.MessageModalHardware}\n \n
    \n
    \n \n Конфигурация *\n (\n setValue(\"Type\", item)}\n />\n )}\n />\n {errors.Type && \n {errors.ControlleType.message}\n }\n \n\n {\n controllerInfo.type != 3\n ?\n <> \n \n {translated.ModemInstall}\n (\n \n )}\n />\n {errors.HasModem && \n {errors.HasModem.message}\n }\n \n\n \n {translated.EnablePowerModem} *\n (\n setValue(\"EnabledModem\", item)}\n />\n )}\n />\n {errors.EnabledModem && \n {errors.EnabledModem.message}\n }\n \n \n : null\n }\n\n
    \n \n
    \n
    \n
    \n
    \n \n )\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Form, Card, Spinner, Nav} from 'react-bootstrap';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport Select from 'react-select';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport './../../../../boxicons.css';\nimport api from '../../../../utils/axiosInterceptions';\n\nexport const LivenkaBs2 = ({smartData, controllerInfo}) => {\n\n const router = useHistory()\n const params = useParams();\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\n const [showSecondSleeva, setShowSecondSleeve] = useState(false)\n const [fuels, setFuels] = useState([])\n const [loadingBtn, setLoadingBtn] = useState(false)\n\n const listSubtypes = [\n {label:\"КУП-2. КУП-4. КУП-6\", value:0},\n {label:\"КУП-47\", value:1},\n {label:\"КУП-7 (м)\", value:2},\n {label:\"КУП-7 (в)\", value:3},\n {label:\"КУП-7 (м) 1 рукав без геркона\", value:4},\n {label:\"КУП-47 без кнопки старт\", value:5},\n ]\n\n const addresses = [\n {label:\"1\", value:1},\n {label:\"2\", value:2},\n {label:\"3\", value:3},\n {label:\"4\", value:4},\n {label:\"5\", value:5},\n {label:\"6\", value:6},\n {label:\"7\", value:7},\n {label:\"8\", value:8},\n {label:\"9\", value:9},\n {label:\"10\", value:10},\n ]\n\n const getFuels = () => {\n api.get(`/api/fuels/all`, {\n withCredentials:true\n })\n .then(function (response) { \n const add = response.data.listDatas.map(item => ({\n ...item,\n value: item.id,\n label: item.name\n }))\n setFuels(add)\n\n let find_fuel_type = response.data.listDatas.filter((item) => item.id === smartData.fuel_type)\n setValue(\"FuelType\", {label:find_fuel_type[0].name, value:find_fuel_type[0].id})\n\n if(smartData.fuel_type2 != 0) {\n let find_fuel_type2 = response.data.listDatas.filter((item) => item.id === smartData.fuel_type2)\n setValue(\"FuelType2\", {label:find_fuel_type2[0].name, value:find_fuel_type2[0].id})\n } else {\n let find_fuel_type2 = response.data.listDatas.filter((item) => item.id === 1)\n setValue(\"FuelType2\", {label:find_fuel_type2[0].name, value:find_fuel_type2[0].id})\n }\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n useEffect(() => {\n getFuels()\n\n let find_address = addresses.filter((item) => item.value === smartData.address)\n setValue(\"Address\", find_address[0])\n\n let find_address2 = addresses.filter((item) => item.value === smartData.address2)\n setValue(\"Address2\", find_address2[0])\n\n let find_subtype = listSubtypes.filter((item) => item.value === smartData.subtype)\n setValue(\"Subtype\", find_subtype[0])\n\n if(smartData.subtype == 2) {\n console.log(\"antonnnn\")\n setShowSecondSleeve(true)\n } else {\n setShowSecondSleeve(false)\n }\n }, [])\n\n const onSubmit = data => {\n setLoadingBtn(true)\n console.log(data)\n api.post('/api/controllers/details/livenka/update', {\n ControllerId: params.id,\n SubType: data.Subtype.value,\n Address: data.Address.value,\n Address2: data.Address2.value,\n FuelType: data.FuelType != undefined ? data.FuelType.id : 1,\n FuelType2: data.FuelType2 != undefined ? data.FuelType2.value : 1,\n withCredentials:true\n })\n .then(function (response) {\n setLoadingBtn(false)\n displayToast(response.data.message, response.data.isSuccess)\n })\n .catch(function (error) {\n console.log(error);\n setLoadingBtn(false)\n });\n }\n\n const displayToast = (message, status) => {\n\n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n \n }\n\n return( \n
    \n
    \n
    \n

    Ливенка

    \n
    \n\n
    \n \n Модель колонки \n (\n {\n setValue(\"Subtype\", item)\n if(item.value == 2) {\n setShowSecondSleeve(true)\n } else {\n setShowSecondSleeve(false)\n }\n }}\n />\n )}\n />\n {errors.Subtype && \n {errors.Subtype.message}\n }\n \n\n
    \n\n
    \n \n \n

    Рукав 1

    \n
    \n \n Адрес \n (\n setValue(\"FuelType\", item)}\n />\n )}\n />\n {errors.FuelType && \n {errors.FuelType.message}\n } \n \n
    \n
    \n
    \n
    \n \n {\n showSecondSleeva\n ?\n
    \n \n \n

    Рукав 2

    \n
    \n \n Адрес \n (\n setValue(\"FuelType2\", item)}\n />\n )}\n />\n \n
    \n
    \n
    \n
    \n : null\n }\n\n
    \n \n
    \n
    \n
    \n );\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Form, Card, Spinner, Nav, Table, InputGroup} from 'react-bootstrap';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport Select from 'react-select';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport './../../../../boxicons.css';\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\nimport { TranslateController } from '../../../../lang/controllers/translateController';\nimport { CurrentSelectLanguage } from '../../../../helpers/language';\nimport {FormLocale} from '../../../../lang/form';\nimport api from '../../../../utils/axiosInterceptions';\n\nexport const LivenkaBs2v2 = ({smartData, controllerInfo}) => {\n\n let arr = []\n const router = useHistory()\n const params = useParams();\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\n const [showSecondSleeva, setShowSecondSleeve] = useState(false)\n const [fuels, setFuels] = useState([])\n const [loadingBtn, setLoadingBtn] = useState(false)\n const [arrayTrTable, setArrayTrTable] = useState([])\n const [buttonTrk, setButtonTrk] = useState(false)\n const [gerkon, setGerkon] = useState(false)\n const [valueCountSide, setValueCountSide] = useState(1)\n const translated = useLittera(TranslateController);\n const translatedForm = useLittera(FormLocale);\n const methods = useLitteraMethods();\n const CountStorona = [\n {label:\"1\", value:1},\n {label:\"2\", value:2},\n ]\n\n const listCountFuels = [\n {label:\"1\", value:1},\n {label:\"2\", value:2},\n {label:\"3\", value:3},\n {label:\"4\", value:4},\n ]\n\n const addresses = [\n {label:\"0\", value:0},\n {label:\"1\", value:1},\n {label:\"2\", value:2},\n {label:\"3\", value:3},\n {label:\"4\", value:4},\n {label:\"5\", value:5},\n {label:\"6\", value:6},\n {label:\"7\", value:7},\n {label:\"8\", value:8},\n {label:\"9\", value:9},\n {label:\"10\", value:10},\n {label:\"11\", value:11},\n {label:\"12\", value:12},\n {label:\"13\", value:13},\n {label:\"14\", value:14},\n {label:\"15\", value:15},\n {label:\"16\", value:16},\n {label:\"17\", value:17},\n {label:\"18\", value:18},\n {label:\"19\", value:19},\n {label:\"20\", value:20},\n ]\n\n \n useEffect(() => {\n getFuels()\n }, [])\n\n\n const getFuels = () => {\n api.get(`/api/fuels/all`, {\n withCredentials:true\n })\n .then(function (response) { \n const add = response.data.listDatas.map(item => ({\n ...item,\n value: item.id,\n label: item.name\n }))\n setFuels(add)\n getSmarts(add)\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n const getSmarts = (fuels) => {\n api.get(`/api/controllers/details/smarts`, {\n headers:{\n \"content-type\" : \"application/json\",\n \"controllerId\":controllerInfo.id\n },\n params:{\n controllerId: controllerInfo.id,\n },\n withCredentials:true\n })\n .then(function (response) \n { \n console.log(\"SMART DATA method\")\n console.log(response.data)\n\n setButtonTrk(response.data.listDatas[0].buttonLivenkaIsChecked)\n setGerkon(response.data.listDatas[0].gerkonIsChecked)\n let address = addresses.filter((item) => item.value == response.data.listDatas[0].address)\n let address2 = addresses.filter((item) => item.value == response.data.listDatas[0].address2)\n let address3 = addresses.filter((item) => item.value == response.data.listDatas[0].address3)\n let address4 = addresses.filter((item) => item.value == response.data.listDatas[0].address4)\n let address5 = addresses.filter((item) => item.value == response.data.listDatas[0].address5)\n let address6 = addresses.filter((item) => item.value == response.data.listDatas[0].address6)\n let address7 = addresses.filter((item) => item.value == response.data.listDatas[0].address7)\n let address8 = addresses.filter((item) => item.value == response.data.listDatas[0].address8)\n\n let fuelType = fuels.filter((item) => item.id == response.data.listDatas[0].fuelType)\n let fuelType2 = fuels.filter((item) => item.id == response.data.listDatas[0].fuelType2)\n let fuelType3 = fuels.filter((item) => item.id == response.data.listDatas[0].fuelType3)\n let fuelType4 = fuels.filter((item) => item.id == response.data.listDatas[0].fuelType4)\n\n setValue(\"AddressFirst1\", address)\n setValue(\"AddressSecond1\", address2)\n \n setValue(\"AddressFirst2\", address3)\n setValue(\"AddressSecond2\", address4)\n \n setValue(\"AddressFirst3\", address5)\n setValue(\"AddressSecond3\", address6)\n \n setValue(\"AddressFirst4\", address7)\n setValue(\"AddressSecond4\", address8)\n\n setValue(\"FuelType1\", fuelType)\n setValue(\"FuelType2\", fuelType2)\n setValue(\"FuelType3\", fuelType3)\n setValue(\"FuelType4\", fuelType4)\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n const onSubmit = data => {\n setLoadingBtn(true)\n console.log(data)\n api.post('/api/controllers/details/livenka/update', {\n ControllerId: controllerInfo.id,\n Address: data.AddressFirst1.value,\n Address2: data.AddressSecond1.value,\n Address3: data.AddressFirst2.value,\n Address4: data.AddressSecond2.value,\n Address5: data.AddressFirst3.value,\n Address6: data.AddressSecond3.value,\n Address7: data.AddressFirst4.value,\n Address8: data.AddressSecond4.value,\n FuelType: data.FuelType != undefined ? data.FuelType.id : 1,\n FuelType2: data.FuelType2 != undefined ? data.FuelType2.value : 1,\n FuelType3: data.FuelType2 != undefined ? data.FuelType3.value : 1,\n FuelType4: data.FuelType2 != undefined ? data.FuelType4.value : 1,\n withCredentials:true\n })\n .then(function (response) {\n setLoadingBtn(false)\n displayToast(response.data.message, response.data.isSuccess)\n })\n .catch(function (error) {\n console.log(error);\n setLoadingBtn(false)\n });\n }\n\n const displayToast = (message, status) => {\n\n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n \n }\n\n return( \n
    \n
    \n
    \n

    {translated.Livenka}

    \n
    \n\n
    \n setButtonTrk(e.target.checked)}\n />\n
    \n\n
    \n setGerkon(e.target.checked)}\n />\n
    \n \n\n
    \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n\n \n \n \n \n \n \n\n \n \n \n \n \n \n\n \n \n \n \n \n \n\n \n
    {translated.SleeveGrade}{translated.FuelType}{translated.AddressParty1}{translated.AddressParty2}
    {translated.SleeveGrade1}\n (\n {\n console.log(item)\n setValue(\"FuelType1\", item)\n }}\n />\n )}\n />\n \n (\n {\n console.log(item)\n setValue(\"AddressFirst1\", item)\n }}\n />\n )}\n />\n \n (\n {\n setValue(\"AddressSecond1\", item)\n }}\n />\n )}\n />\n
    {translated.SleeveGrade2}\n (\n {\n console.log(item)\n setValue(\"FuelType2\", item)\n }}\n />\n )}\n />\n \n (\n {\n console.log(item)\n setValue(\"AddressFirst2\", item)\n }}\n />\n )}\n />\n \n (\n {\n console.log(item)\n setValue(\"AddressSecond2\", item)\n }}\n />\n )}\n />\n
    {translated.SleeveGrade3}\n (\n {\n console.log(item)\n setValue(\"FuelType3\", item)\n }}\n />\n )}\n />\n \n (\n {\n setValue(\"AddressFirst3\", item)\n }}\n />\n )}\n />\n \n (\n {\n setValue(\"AddressSecond3\", item)\n }}\n />\n )}\n />\n
    {translated.SleeveGrade4}\n (\n {\n console.log(item)\n setValue(\"FuelType4\", item)\n }}\n />\n )}\n />\n \n (\n {\n setValue(\"AddressFirst4\", item)\n }}\n />\n )}\n />\n \n (\n {\n setValue(\"AddressSecond4\", item)\n }}\n />\n )}\n />\n
    \n
    \n\n
    \n \n
    \n
    \n
    \n );\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Form, Card, Spinner, Nav} from 'react-bootstrap';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport Select from 'react-select';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport './../../../boxicons.css';\nimport { LivenkaBs2 } from './Bs2/LivenkaBs2';\nimport { LivenkaBs2v2 } from './Bs2v2/LivenkaB2v2';\n\nexport const Livenka = ({translated, translatedForm, smartData, controllerInfo}) => {\n return(\n <>\n {\n controllerInfo.type != 3\n ? \n : \n }\n \n );\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Form, Card, Spinner, Nav} from 'react-bootstrap';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport Select from 'react-select';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport './../../../../boxicons.css';\nimport api from '../../../../utils/axiosInterceptions';\n\nexport const TopazBs2 = ({smartData}) => {\n\n const router = useHistory()\n const params = useParams();\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\n const [showSecondSleeva, setShowSecondSleeve] = useState(false)\n const [fuels, setFuels] = useState([])\n const [loadingBtn, setLoadingBtn] = useState(false)\n\n const listSubtypes = [\n {label:\"Топаз - 610(611), 510(511)\", value:0},\n {label:\"Топаз - 420 (421)\", value:1}\n ]\n\n const addresses = [\n {label:\"1\", value:1},\n {label:\"2\", value:2},\n {label:\"3\", value:3},\n {label:\"4\", value:4},\n {label:\"5\", value:5},\n {label:\"6\", value:6},\n {label:\"7\", value:7},\n {label:\"8\", value:8},\n {label:\"9\", value:9},\n {label:\"10\", value:10},\n ]\n\n const getFuels = () => {\n api.get(`/api/fuels/all`, {\n withCredentials:true\n })\n .then(function (response) { \n const add = response.data.listDatas.map(item => ({\n ...item,\n value: item.id,\n label: item.name\n }))\n setFuels(add)\n\n let find_fuel_type = response.data.listDatas.filter((item) => item.id === smartData.fuel_type)\n setValue(\"FuelType\", {label:find_fuel_type[0].name, value:find_fuel_type[0].id})\n\n let find_fuel_type2 = response.data.listDatas.filter((item) => item.id === smartData.fuel_type)\n setValue(\"FuelType2\", {label:find_fuel_type2[0].name, value:find_fuel_type2[0].id})\n\n let find_fuel_type3 = response.data.listDatas.filter((item) => item.id === 1)\n setValue(\"FuelType3\", {label:find_fuel_type3[0].name, value:find_fuel_type3[0].id})\n\n let find_fuel_type4 = response.data.listDatas.filter((item) => item.id === 1)\n setValue(\"FuelType4\", {label:find_fuel_type4[0].name, value:find_fuel_type4[0].id})\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n useEffect(() => {\n getFuels()\n let find_subtype = listSubtypes.filter((item) => item.value == smartData.subtype)\n setValue(\"Subtype\", find_subtype[0])\n\n let find_address = addresses.filter((item) => item.value == smartData.address)\n setValue(\"Address\", find_address[0])\n\n let find_address2 = addresses.filter((item) => item.value == smartData.address2)\n setValue(\"Address2\", find_address2[0])\n\n let find_address3 = addresses.filter((item) => item.value == smartData.address3)\n setValue(\"Address3\", find_address3[0])\n\n let find_address4 = addresses.filter((item) => item.value == smartData.address4)\n setValue(\"Address4\", find_address4[0])\n\n if(smartData.subtype == 1) {\n setShowSecondSleeve(false)\n } else {\n setShowSecondSleeve(true)\n }\n\n }, [])\n\n const onSubmit = data => {\n setLoadingBtn(true)\n console.log(data)\n let smart_array = []\n smart_array.push({\n ControllerId: params.id,\n SubType: data.Subtype.value,\n Address: data.Address.value,\n Address2: data.Address2.value,\n Address3: 3,\n Address4: 4,\n FuelType: data.FuelType != undefined ? data.FuelType.id : 1,\n FuelType2: data.FuelType2 != undefined ? data.FuelType2.value : 1,\n FuelType3: data.FuelType3 != undefined ? data.FuelType3.value : 1,\n FuelType4: data.FuelType4 != undefined ? data.FuelType4.value : 1,\n })\n api.post('/api/controllers/details/topaz/update', {\n ControllerId: params.id,\n Smarts:smart_array,\n withCredentials:true\n })\n .then(function (response) {\n setLoadingBtn(false)\n displayToast(response.data.message, response.data.isSuccess)\n })\n .catch(function (error) {\n console.log(error);\n setLoadingBtn(false)\n });\n }\n\n const displayToast = (message, status) => {\n\n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n \n }\n\n return( \n
    \n
    \n
    \n

    Топаз

    \n
    \n\n
    \n \n Модель колонки \n (\n {\n console.log(item)\n setValue(\"Subtype\", item)\n if(item.value == 1) {\n setShowSecondSleeve(false)\n } else {\n setShowSecondSleeve(true)\n }\n }}\n />\n )}\n />\n {errors.Subtype && \n {errors.Subtype.message}\n }\n \n\n
    \n\n
    \n \n \n

    Рукав 1

    \n
    \n \n Адрес \n (\n setValue(\"FuelType\", item)}\n />\n )}\n />\n {errors.FuelType && \n {errors.FuelType.message}\n } \n \n
    \n
    \n
    \n
    \n\n
    \n \n \n

    Рукав 2

    \n
    \n \n Адрес \n (\n setValue(\"FuelType2\", item)}\n />\n )}\n />\n {errors.FuelType && \n {errors.FuelType.message}\n } \n \n
    \n
    \n
    \n
    \n \n
    \n \n \n

    Рукав 3

    \n
    \n \n Адрес \n (\n setValue(\"FuelType3\", item)}\n />\n )}\n />\n {errors.FuelType && \n {errors.FuelType.message}\n } \n \n
    \n
    \n
    \n
    \n\n
    \n \n \n

    Рукав 4

    \n
    \n \n Адрес \n (\n setValue(\"FuelType4\", item)}\n />\n )}\n />\n {errors.FuelType && \n {errors.FuelType.message}\n } \n \n
    \n
    \n
    \n
    \n\n
    \n \n
    \n
    \n
    \n );\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\r\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\r\nimport { Button, Tabs, Tab, Form, Card, Spinner, Nav} from 'react-bootstrap';\r\nimport { useForm, Controller } from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport Select from 'react-select';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport './../../../../boxicons.css';\r\nimport api from '../../../../utils/axiosInterceptions';\r\n\r\nexport const TopazBs2v2 = ({translated, translatedForm, listSmartData, countDispenser, controllerInfo}) => {\r\n\r\n const router = useHistory()\r\n const params = useParams();\r\n const { control, register, handleSubmit, reset, setValue, getValues, formState, formState: { errors }} = useForm();\r\n const [showSecondSleeva, setShowSecondSleeve] = useState({\r\n first_sleeve:false,\r\n second_sleeve:false,\r\n thrid_sleeve:false,\r\n four_sleeve:false\r\n })\r\n const [fuels, setFuels] = useState([])\r\n const [loadingBtn, setLoadingBtn] = useState(false)\r\n\r\n const listSubtypes = [\r\n {label:translated.Topaz610, value:0},\r\n {label:translated.Topaz420, value:1}\r\n ]\r\n\r\n const listCountDispenser = [\r\n {label:\"1\", value:1},\r\n {label:\"2\", value:2},\r\n {label:\"3\", value:3},\r\n {label:\"4\", value:4}\r\n ]\r\n\r\n const addresses = [\r\n {label:\"1\", value:1},\r\n {label:\"2\", value:2},\r\n {label:\"3\", value:3},\r\n {label:\"4\", value:4},\r\n {label:\"5\", value:5},\r\n {label:\"6\", value:6},\r\n {label:\"7\", value:7},\r\n {label:\"8\", value:8},\r\n {label:\"9\", value:9},\r\n {label:\"10\", value:10},\r\n ]\r\n\r\n function setSmartData(data, index, list_fuel)\r\n {\r\n index++\r\n console.log(\"address\"+index)\r\n console.log(data.address)\r\n let subtype = listSubtypes.filter((item) => item.value == data.subType)\r\n let address1 = addresses.filter((item) => item.value == data.address)\r\n let address12 = addresses.filter((item) => item.value == data.address2)\r\n let address13 = addresses.filter((item) => item.value == 3)\r\n let address14 = addresses.filter((item) => item.value == 4)\r\n let fuetype1 = data.fuelType != 0 \r\n ? list_fuel.filter((item) => item.id == data.fuelType)\r\n : list_fuel.filter((item) => item.id == 1)\r\n let fuetype12 = list_fuel.filter((item) => item.id == data.fuelType2)\r\n let fuetype13 = list_fuel.filter((item) => item.id == 1)\r\n let fuetype14 = list_fuel.filter((item) => item.id == 1)\r\n\r\n if(subtype[0].value == 0) {\r\n setShowSecondSleeve({\r\n first_sleeve:true\r\n })\r\n } else {\r\n setShowSecondSleeve({\r\n first_sleeve:false\r\n })\r\n }\r\n\r\n if(address1.length == 0)\r\n {\r\n address1 = [\r\n {\r\n label:\"1\",\r\n value:1\r\n }\r\n ]\r\n }\r\n\r\n setValue(\"Subtype\"+index, subtype)\r\n setValue(\"Address\"+index, {label:address1[0].label, value:address1[0].value})\r\n setValue(\"Address\"+index+\"2\", address12)\r\n setValue(\"Address\"+index+\"3\", address13)\r\n setValue(\"Address\"+index+\"4\", address14)\r\n setValue(\"FuelType\"+index, {label:fuetype1[0].name, value:fuetype1[0].id})\r\n setValue(\"FuelType\"+index+\"2\", {label:fuetype12[0].name, value:fuetype12[0].id})\r\n setValue(\"FuelType\"+index+\"3\", {label:fuetype13[0].name, value:fuetype13[0].id})\r\n setValue(\"FuelType\"+index+\"4\", {label:fuetype14[0].name, value:fuetype14[0].id})\r\n }\r\n\r\n const getSmarts = (fuels) => {\r\n api.get(`/api/controllers/details/smarts`, {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"controllerId\":controllerInfo.id\r\n },\r\n params:{\r\n controllerId: controllerInfo.id,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) \r\n { \r\n let dispenser = listCountDispenser.filter((item) => item.value == response.data.listDatas[0].countDispenser)\r\n setValue(\"CountDispenser\", {label:dispenser[0].label, value:dispenser[0].value})\r\n\r\n for(let i = 0; i < 4; i++)\r\n {\r\n setSmartData(response.data.listDatas[i], i, fuels)\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getFuels = () => {\r\n api.get(`/api/fuels/all`, {\r\n withCredentials:true\r\n })\r\n .then(function (response) { \r\n const add = response.data.listDatas.map(item => ({\r\n ...item,\r\n value: item.id,\r\n label: item.name\r\n }))\r\n setFuels(add)\r\n getSmarts(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n useEffect(() => {\r\n getFuels()\r\n }, [])\r\n\r\n const onSubmit = data => {\r\n setLoadingBtn(true)\r\n\r\n console.log(\"data\")\r\n console.log(data)\r\n let smarts = []\r\n\r\n let trk = {\r\n //ControllerId: params.id,\r\n SubType: data.Subtype1.value,\r\n Address: data.Address1.value,\r\n Address2: 0,//data.Address12.value,\r\n Address3: 3,\r\n Address4: 4,\r\n FuelType: data.FuelType1 != undefined ? data.FuelType1.value : 1,\r\n FuelType2: data.FuelType12 != undefined ? data.FuelType12.value : 1,\r\n FuelType3: 1,\r\n FuelType4: 1,\r\n }\r\n\r\n let trk2 = {\r\n //ControllerId: params.id,\r\n SubType: data.Subtype2.value,\r\n Address: data.Address2.value,\r\n Address2: 0,//data.Address22.value,\r\n Address3: 3,\r\n Address4: 4,\r\n FuelType: data.FuelType2 != undefined ? data.FuelType2.value : 1,\r\n FuelType2: data.FuelType22 != undefined ? data.FuelType22.value : 1,\r\n FuelType3: 1,\r\n FuelType4: 1,\r\n }\r\n\r\n let trk3 = {\r\n // ControllerId: params.id,\r\n SubType: data.Subtype3.value,\r\n Address: data.Address3.value,\r\n Address2: 0,//data.Address32.value,\r\n Address3: 3,\r\n Address4: 4,\r\n FuelType: data.FuelType3 != undefined ? data.FuelType3.value : 1,\r\n FuelType2: data.FuelType32 != undefined ? data.FuelType32.value : 1,\r\n FuelType3: 1,\r\n FuelType4: 1,\r\n }\r\n\r\n let trk4 = {\r\n //ControllerId: params.id,\r\n SubType: data.Subtype4.value,\r\n Address: data.Address4.value,\r\n Address2: 0,//data.Address42.value,\r\n Address3: 3,\r\n Address4: 4,\r\n FuelType: data.FuelType4 != undefined ? data.FuelType4.value : 1,\r\n FuelType2: data.FuelType42 != undefined ? data.FuelType42.value : 1,\r\n FuelType3: 1,\r\n FuelType4: 1,\r\n }\r\n\r\n smarts.push(trk)\r\n smarts.push(trk2)\r\n smarts.push(trk3)\r\n smarts.push(trk4)\r\n\r\n console.log(\"smarts\")\r\n console.log(smarts)\r\n\r\n api.post('/api/controllers/details/topaz/update', {\r\n Smarts: smarts,\r\n ControllerId: params.id,\r\n CountDispenser: data.CountDispenser.value,\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n setLoadingBtn(false)\r\n displayToast(response.data.message, response.data.isSuccess)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setLoadingBtn(false)\r\n });\r\n }\r\n\r\n const displayToast = (message, status) => {\r\n\r\n if(status){\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n \r\n } else {\r\n toast.error(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n \r\n }\r\n\r\n return( \r\n
    \r\n
    \r\n
    \r\n

    {translated.Topaz}

    \r\n
    \r\n\r\n
    \r\n \r\n {translated.CountDispencer}\r\n (\r\n {\r\n setValue(\"CountDispenser\", {label:item.label, value:item.value})\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.CountDispenser && \r\n {errors.CountDispenser.message}\r\n }\r\n \r\n
    \r\n\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n {translated.ModelDispenser} \r\n (\r\n {\r\n console.log(item)\r\n setValue(\"Subtype1\", {label:item.label, value:item.value})\r\n\r\n if(item.value == 0) {\r\n setShowSecondSleeve({\r\n first_sleeve:true\r\n })\r\n } else {\r\n setShowSecondSleeve({\r\n first_sleeve:false\r\n })\r\n }\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Subtype1 && \r\n {errors.Subtype1.message}\r\n }\r\n \r\n\r\n
    \r\n\r\n
    \r\n \r\n \r\n

    {translated.Sleeve1}

    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n setValue(\"FuelType1\", item)}\r\n />\r\n )}\r\n />\r\n {errors.FuelType1 && \r\n {errors.FuelType1.message}\r\n } \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n

    {translated.Sleeve2}

    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n setValue(\"FuelType12\", item)}\r\n />\r\n )}\r\n />\r\n {errors.FuelType12 && \r\n {errors.FuelType12.message}\r\n } \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n \r\n

    {translated.Sleeve3}

    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n setValue(\"FuelType13\", item)}\r\n />\r\n )}\r\n />\r\n {errors.FuelType13 && \r\n {errors.FuelType13.message}\r\n } \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n

    {translated.Sleeve4}

    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n setValue(\"FuelType14\", item)}\r\n />\r\n )}\r\n />\r\n {errors.FuelType14 && \r\n {errors.FuelType14.message}\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 {translated.ModelDispenser} \r\n (\r\n {\r\n console.log(item)\r\n setValue(\"Subtype2\", item)\r\n\r\n if(item.value == 0) {\r\n setShowSecondSleeve({\r\n second_sleeve:true\r\n })\r\n } else {\r\n setShowSecondSleeve({\r\n second_sleeve:false\r\n })\r\n }\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Subtype2 && \r\n {errors.Subtype2.message}\r\n }\r\n \r\n\r\n
    \r\n\r\n
    \r\n \r\n \r\n

    {translated.Sleeve1}

    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n setValue(\"FuelType2\", item)}\r\n />\r\n )}\r\n />\r\n {errors.FuelType2 && \r\n {errors.FuelType2.message}\r\n } \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n

    {translated.Sleeve2}

    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n setValue(\"FuelType22\", item)}\r\n />\r\n )}\r\n />\r\n {errors.FuelType22 && \r\n {errors.FuelType22.message}\r\n } \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n \r\n

    {translated.Sleeve3}

    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n setValue(\"FuelType23\", item)}\r\n />\r\n )}\r\n />\r\n {errors.FuelType23 && \r\n {errors.FuelType23.message}\r\n } \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n

    {translated.Sleeve4}

    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n setValue(\"FuelType24\", item)}\r\n />\r\n )}\r\n />\r\n {errors.FuelType24 && \r\n {errors.FuelType24.message}\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 {translated.ModelDispenser} \r\n (\r\n {\r\n console.log(item)\r\n setValue(\"Subtype3\", {label:item.label, value:item.value})\r\n\r\n if(item.value == 0) {\r\n setShowSecondSleeve({\r\n thrid_sleeve:true\r\n })\r\n } else {\r\n setShowSecondSleeve({\r\n thrid_sleeve:false\r\n })\r\n }\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Subtype3 && \r\n {errors.Subtype3.message}\r\n }\r\n \r\n\r\n
    \r\n\r\n
    \r\n \r\n \r\n

    {translated.Sleeve1}

    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n setValue(\"FuelType3\", item)}\r\n />\r\n )}\r\n />\r\n {errors.FuelType3 && \r\n {errors.FuelType3.message}\r\n } \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n

    {translated.Sleeve2}

    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n setValue(\"FuelType32\", item)}\r\n />\r\n )}\r\n />\r\n {errors.FuelType32 && \r\n {errors.FuelType32.message}\r\n } \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n \r\n

    {translated.Sleeve3}

    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n setValue(\"FuelType33\", item)}\r\n />\r\n )}\r\n />\r\n {errors.FuelType33 && \r\n {errors.FuelType33.message}\r\n } \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n

    {translated.Sleeve4}

    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n setValue(\"FuelType34\", item)}\r\n />\r\n )}\r\n />\r\n {errors.FuelType34 && \r\n {errors.FuelType34.message}\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 {translated.ModelDispenser} \r\n (\r\n {\r\n console.log(item)\r\n setValue(\"Subtype4\", {\r\n label:item.label,\r\n value:item.value\r\n })\r\n\r\n if(item.value == 0) {\r\n setShowSecondSleeve({\r\n four_sleeve:true\r\n })\r\n } else {\r\n setShowSecondSleeve({\r\n four_sleeve:false\r\n })\r\n }\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Subtype4 && \r\n {errors.Subtype4.message}\r\n }\r\n \r\n\r\n
    \r\n\r\n
    \r\n \r\n \r\n

    {translated.Sleeve1}

    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n setValue(\"FuelType4\", item)}\r\n />\r\n )}\r\n />\r\n {errors.FuelType4 && \r\n {errors.FuelType4.message}\r\n } \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n

    {translated.Sleeve2}

    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n setValue(\"FuelType42\", item)}\r\n />\r\n )}\r\n />\r\n {errors.FuelType42 && \r\n {errors.FuelType42.message}\r\n } \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n \r\n

    {translated.Sleeve3}

    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n setValue(\"FuelType43\", item)}\r\n />\r\n )}\r\n />\r\n {errors.FuelType43 && \r\n {errors.FuelType43.message}\r\n } \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n

    {translated.Sleeve4}

    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n setValue(\"FuelType44\", item)}\r\n />\r\n )}\r\n />\r\n {errors.FuelType44 && \r\n {errors.FuelType44.message}\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}","import React, { useContext, useEffect, useState, Redirect } from 'react';\r\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\r\nimport { Button, Tabs, Tab, Form, Card, Table, Spinner, Nav} from 'react-bootstrap';\r\nimport { useForm, Controller } from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport Select from 'react-select';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport './../../../../boxicons.css';\r\nimport api from '../../../../utils/axiosInterceptions';\r\n\r\nexport const TopazKvant = ({translated, translatedForm, listSmartData, countDispenser, controllerInfo}) => {\r\n\r\n const router = useHistory()\r\n const params = useParams();\r\n const { control, register, handleSubmit, reset, setValue, getValues, formState, formState: { errors }} = useForm();\r\n const [showSecondSleeva, setShowSecondSleeve] = useState({\r\n first_sleeve:false,\r\n second_sleeve:false,\r\n thrid_sleeve:false,\r\n four_sleeve:false\r\n })\r\n const [countSleeveAndSide, setCountSleeveAndSide] = useState({\r\n countSideDispenser1:1,\r\n countSleeveDispenser1:1,\r\n \r\n countSideDispenser2:1,\r\n countSleeveDispenser2:1,\r\n\r\n countSideDispenser3:1,\r\n countSleeveDispenser3:1,\r\n\r\n countSideDispenser4:1,\r\n countSleeveDispenser4:1,\r\n })\r\n const [disableSleeveAndSide, setDisableSleeveAndSide] = useState(false)\r\n const [fuels, setFuels] = useState([])\r\n const [loadingBtn, setLoadingBtn] = useState(false)\r\n const [countDispensers, setCountDispensers] = useState(countDispenser)\r\n\r\n const listSides = [\r\n {label: translated.Side1, value:1},\r\n {label: translated.Side2, value:2},\r\n ]\r\n\r\n const listCountDispenser = [\r\n {label:\"1\", value:1},\r\n {label:\"2\", value:2},\r\n {label:\"3\", value:3},\r\n {label:\"4\", value:4},\r\n ]\r\n\r\n const listSleevesParty1 = [\r\n {label: translated.Sleeve1, value:1},\r\n {label: translated.Sleeve2, value:2},\r\n {label: translated.Sleeve3, value:3},\r\n {label: translated.Sleeve4, value:4},\r\n {label: translated.Sleeve5, value:5},\r\n ]\r\n\r\n const listSleevesParty2 = [\r\n {label: translated.Sleeve1, value:1},\r\n {label: translated.Sleeve2, value:2},\r\n {label: translated.Sleeve3, value:3},\r\n {label: translated.Sleeve4, value:4},\r\n {label: translated.Sleeve5, value:5},\r\n ]\r\n\r\n const listSleevesParty3 = [\r\n {label: translated.Sleeve1, value:1},\r\n {label: translated.Sleeve2, value:2},\r\n {label: translated.Sleeve3, value:3},\r\n {label: translated.Sleeve4, value:4},\r\n {label: translated.Sleeve5, value:5},\r\n ]\r\n\r\n const listSleevesParty4 = [\r\n {label: translated.Sleeve1, value:1},\r\n {label: translated.Sleeve2, value:2},\r\n {label: translated.Sleeve3, value:3},\r\n {label: translated.Sleeve4, value:4},\r\n {label: translated.Sleeve5, value:5},\r\n ]\r\n\r\n const addresses = [\r\n {label:\"0\", value:0},\r\n {label:\"1\", value:1},\r\n {label:\"2\", value:2},\r\n {label:\"3\", value:3},\r\n {label:\"4\", value:4},\r\n {label:\"5\", value:5},\r\n {label:\"6\", value:6},\r\n {label:\"7\", value:7},\r\n {label:\"8\", value:8},\r\n {label:\"9\", value:9},\r\n {label:\"10\", value:10},\r\n ]\r\n\r\n function setSmartData(data, index, list_fuel)\r\n {\r\n index++\r\n\r\n let sides = listSides.filter((i) => \r\n data.countParty != 0\r\n ? i.value == data.countParty\r\n : listSides\r\n )\r\n\r\n let sleeves = data.countTypeFuel != 0 \r\n ? listSleevesParty1.filter((i) => i.value == data.countTypeFuel)\r\n : listSleevesParty1\r\n\r\n setValue(`Sides${index}`, {\r\n label: sides[0].label,\r\n value: sides[0].value\r\n })\r\n\r\n setValue(`Sleeves${index}`, {\r\n label: sleeves[0].label,\r\n value: sleeves[0].value\r\n })\r\n\r\n let address1 = addresses.filter((item) => item.value == data.address)\r\n let address2 = addresses.filter((item) => item.value == data.address2)\r\n let address3 = addresses.filter((item) => item.value == data.address3)\r\n let address4 = addresses.filter((item) => item.value == data.address4)\r\n let address5 = addresses.filter((item) => item.value == data.address5)\r\n let address6 = addresses.filter((item) => item.value == data.address6)\r\n let address7 = addresses.filter((item) => item.value == data.address7)\r\n let address8 = addresses.filter((item) => item.value == data.address8)\r\n let address9 = addresses.filter((item) => item.value == data.address9)\r\n let address10 = addresses.filter((item) => item.value == data.address10)\r\n\r\n let fuetype1 = data.fuelType != 0 \r\n ? list_fuel.filter((item) => item.id == data.fuelType)\r\n : list_fuel.filter((item) => item.id == 1)\r\n\r\n let fuetype2 = list_fuel.filter((item) => item.id == data.fuelType2)\r\n let fuetype3 = list_fuel.filter((item) => item.id == data.fuelType3)\r\n let fuetype4 = list_fuel.filter((item) => item.id == data.fuelType4)\r\n let fuetype5 = list_fuel.filter((item) => item.id == data.fuelType5)\r\n let fuetype6 = list_fuel.filter((item) => item.id == data.fuelType6)\r\n let fuetype7 = list_fuel.filter((item) => item.id == data.fuelType7)\r\n let fuetype8 = list_fuel.filter((item) => item.id == data.fuelType8)\r\n let fuetype9 = list_fuel.filter((item) => item.id == data.fuelType9)\r\n let fuetype10 = list_fuel.filter((item) => item.id == data.fuelType10)\r\n\r\n if(address1.length == 0)\r\n {\r\n address1 = [\r\n {\r\n label:\"1\",\r\n value:1\r\n }\r\n ]\r\n }\r\n\r\n setValue(\"Address\"+index+\"_11\", {label:address1[0].label, value:address1[0].value})\r\n setValue(\"Address\"+index+\"_12\", {label:address2[0].label, value:address2[0].value})\r\n setValue(\"Address\"+index+\"_13\", {label:address3[0].label, value:address3[0].value})\r\n setValue(\"Address\"+index+\"_14\", {label:address4[0].label, value:address4[0].value})\r\n setValue(\"Address\"+index+\"_15\", {label:address5[0].label, value:address5[0].value})\r\n\r\n setValue(\"Address\"+index+\"_21\", {label:address6[0].label, value:address6[0].value})\r\n setValue(\"Address\"+index+\"_22\", {label:address7[0].label, value:address7[0].value})\r\n setValue(\"Address\"+index+\"_23\", {label:address8[0].label, value:address8[0].value})\r\n setValue(\"Address\"+index+\"_24\", {label:address9[0].label, value:address9[0].value})\r\n setValue(\"Address\"+index+\"_25\", {label:address10[0].label, value:address10[0].value})\r\n\r\n setValue(\"FuelType\"+index+\"_11\", {label:fuetype1[0].name, value:fuetype1[0].id})\r\n setValue(\"FuelType\"+index+\"_12\", {label:fuetype2[0].name, value:fuetype2[0].id})\r\n setValue(\"FuelType\"+index+\"_13\", {label:fuetype3[0].name, value:fuetype3[0].id})\r\n setValue(\"FuelType\"+index+\"_14\", {label:fuetype4[0].name, value:fuetype4[0].id})\r\n setValue(\"FuelType\"+index+\"_15\", {label:fuetype5[0].name, value:fuetype5[0].id})\r\n\r\n setValue(\"FuelType\"+index+\"_21\", {label:fuetype6[0].name, value:fuetype6[0].id})\r\n setValue(\"FuelType\"+index+\"_22\", {label:fuetype7[0].name, value:fuetype7[0].id})\r\n setValue(\"FuelType\"+index+\"_23\", {label:fuetype8[0].name, value:fuetype8[0].id})\r\n setValue(\"FuelType\"+index+\"_24\", {label:fuetype9[0].name, value:fuetype9[0].id})\r\n setValue(\"FuelType\"+index+\"_25\", {label:fuetype10[0].name, value:fuetype10[0].id})\r\n }\r\n\r\n const getSmarts = (fuels) => {\r\n api.get(`/api/controllers/details/smarts`, {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"controllerId\":controllerInfo.id\r\n },\r\n params:{\r\n controllerId: controllerInfo.id,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) \r\n { \r\n console.log(\"smarts\")\r\n console.log(response)\r\n let dispenser = listCountDispenser.filter((item) => item.value == response.data.listDatas[0].countDispenser)\r\n setValue(\"CountDispenser\", {label:dispenser[0].label, value:dispenser[0].value})\r\n setCountDispensers(dispenser[0].value)\r\n\r\n for(let i = 0; i < 4; i++)\r\n {\r\n setSmartData(response.data.listDatas[i], i, fuels)\r\n }\r\n\r\n if(response.data.listDatas[0].countDispenser > 1)\r\n {\r\n setDisableSleeveAndSide(true)\r\n setCountSleeveAndSide({\r\n countSideDispenser1: 1,\r\n countSleeveDispenser1: 1,\r\n\r\n countSideDispenser2: 1,\r\n countSleeveDispenser2: 1,\r\n\r\n countSideDispenser3: 1,\r\n countSleeveDispenser3: 1,\r\n\r\n countSideDispenser4: 1,\r\n countSleeveDispenser4: 1,\r\n })\r\n\r\n setValue(\"Sides1\", {label: listSides[0].label, value: listSides[0].value})\r\n setValue(\"Sleeves1\", {label: listSleevesParty1[0].label, value:listSleevesParty1[0].value})\r\n\r\n setValue(\"Sides2\", {label: listSides[0].label, value: listSides[0].value})\r\n setValue(\"Sleeves2\", {label: listSleevesParty1[0].label, value:listSleevesParty1[0].value})\r\n\r\n setValue(\"Sides3\", {label: listSides[0].label, value: listSides[0].value})\r\n setValue(\"Sleeves3\", {label: listSleevesParty1[0].label, value:listSleevesParty1[0].value})\r\n\r\n setValue(\"Sides4\", {label: listSides[0].label, value: listSides[0].value})\r\n setValue(\"Sleeves4\", {label: listSleevesParty1[0].label, value:listSleevesParty1[0].value})\r\n }\r\n else\r\n {\r\n setDisableSleeveAndSide(false)\r\n setCountSleeveAndSide({\r\n countSideDispenser1: response.data.listDatas[0].countParty,\r\n countSideDispenser2: response.data.listDatas[1].countParty,\r\n countSideDispenser3: response.data.listDatas[2].countParty,\r\n countSideDispenser4: response.data.listDatas[3].countParty,\r\n\r\n countSleeveDispenser1: response.data.listDatas[0].countTypeFuel != 0 \r\n ? response.data.listDatas[0].countTypeFuel\r\n : 1,\r\n countSleeveDispenser2: response.data.listDatas[1].countTypeFuel != 0\r\n ? response.data.listDatas[1].countTypeFuel\r\n : 1,\r\n countSleeveDispenser3: response.data.listDatas[2].countTypeFuel != 0\r\n ? response.data.listDatas[2].countTypeFuel\r\n : 1,\r\n countSleeveDispenser4: response.data.listDatas[3].countTypeFuel != 0\r\n ? response.data.listDatas[3].countTypeFuel\r\n : 1,\r\n })\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getFuels = () => {\r\n api.get(`/api/fuels/all`, {\r\n withCredentials:true\r\n })\r\n .then(function (response) { \r\n const add = response.data.listDatas.map(item => ({\r\n ...item,\r\n value: item.id,\r\n label: item.name\r\n }))\r\n setFuels(add)\r\n getSmarts(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n useEffect(() => {\r\n getFuels()\r\n }, [])\r\n\r\n const onSubmit = data => {\r\n setLoadingBtn(true)\r\n\r\n console.log(\"data\")\r\n console.log(data)\r\n let smarts = []\r\n \r\n let trk = {\r\n //Address 1-ТРК 1-сторона в ТРК 1..10 - порядковый номер\r\n Address: data.Address1_11.value,\r\n Address2: data.Address1_12.value,\r\n Address3: data.Address1_13.value,\r\n Address4: data.Address1_14.value,\r\n Address5: data.Address1_15.value,\r\n Address6: data.Address1_21.value,\r\n Address7: data.Address1_22.value,\r\n Address8: data.Address1_23.value,\r\n Address9: data.Address1_24.value,\r\n Address10: data.Address1_25.value,\r\n FuelType: data.FuelType1_11 != undefined ? data.FuelType1_11.value : 1,\r\n FuelType2: data.FuelType1_12 != undefined ? data.FuelType1_12.value : 1,\r\n FuelType3: data.FuelType1_13 != undefined ? data.FuelType1_13.value : 1,\r\n FuelType4: data.FuelType1_14 != undefined ? data.FuelType1_14.value : 1,\r\n FuelType5: data.FuelType1_15 != undefined ? data.FuelType1_15.value : 1,\r\n FuelType6: data.FuelType1_21 != undefined ? data.FuelType1_22.value : 1,\r\n FuelType7: data.FuelType1_22 != undefined ? data.FuelType1_22.value : 1,\r\n FuelType8: data.FuelType1_23 != undefined ? data.FuelType1_23.value : 1,\r\n FuelType9: data.FuelType1_24 != undefined ? data.FuelType1_24.value : 1,\r\n FuelType10: data.FuelType1_25 != undefined ? data.FuelType1_25.value : 1,\r\n CountParty: data.Sides1.value,\r\n CountTypeFuel: data.Sleeves1.value\r\n }\r\n\r\n let trk2 = {\r\n //Address 1-ТРК 1-сторона в ТРК 1..10 - порядковый номер\r\n Address: data.Address2_11.value,\r\n Address2: data.Address2_12.value,\r\n Address3: data.Address2_13.value,\r\n Address4: data.Address2_14.value,\r\n Address5: data.Address2_15.value,\r\n Address6: data.Address2_21.value,\r\n Address7: data.Address2_22.value,\r\n Address8: data.Address2_23.value,\r\n Address9: data.Address2_24.value,\r\n Address10: data.Address2_25.value,\r\n FuelType: data.FuelType2_11 != undefined ? data.FuelType2_11.value : 1,\r\n FuelType2: data.FuelType2_12 != undefined ? data.FuelType2_12.value : 1,\r\n FuelType3: data.FuelType2_13 != undefined ? data.FuelType2_13.value : 1,\r\n FuelType4: data.FuelType2_14 != undefined ? data.FuelType2_14.value : 1,\r\n FuelType5: data.FuelType2_15 != undefined ? data.FuelType2_15.value : 1,\r\n FuelType6: data.FuelType2_21 != undefined ? data.FuelType2_22.value : 1,\r\n FuelType7: data.FuelType2_22 != undefined ? data.FuelType2_22.value : 1,\r\n FuelType8: data.FuelType2_23 != undefined ? data.FuelType2_23.value : 1,\r\n FuelType9: data.FuelType2_24 != undefined ? data.FuelType2_24.value : 1,\r\n FuelType10: data.FuelType2_25 != undefined ? data.FuelType2_25.value : 1,\r\n CountParty: data.Sides2.value,\r\n CountTypeFuel: data.Sleeves2.value\r\n }\r\n\r\n let trk3 = {\r\n //Address 1-ТРК 1-сторона в ТРК 1..10 - порядковый номер\r\n Address: data.Address3_11.value,\r\n Address2: data.Address3_12.value,\r\n Address3: data.Address3_13.value,\r\n Address4: data.Address3_14.value,\r\n Address5: data.Address3_15.value,\r\n Address6: data.Address3_21.value,\r\n Address7: data.Address3_22.value,\r\n Address8: data.Address3_23.value,\r\n Address9: data.Address3_24.value,\r\n Address10: data.Address3_25.value,\r\n FuelType: data.FuelType3_11 != undefined ? data.FuelType3_11.value : 1,\r\n FuelType2: data.FuelType3_12 != undefined ? data.FuelType3_12.value : 1,\r\n FuelType3: data.FuelType3_13 != undefined ? data.FuelType3_13.value : 1,\r\n FuelType4: data.FuelType3_14 != undefined ? data.FuelType3_14.value : 1,\r\n FuelType5: data.FuelType3_15 != undefined ? data.FuelType3_15.value : 1,\r\n FuelType6: data.FuelType3_21 != undefined ? data.FuelType3_22.value : 1,\r\n FuelType7: data.FuelType3_22 != undefined ? data.FuelType3_22.value : 1,\r\n FuelType8: data.FuelType3_23 != undefined ? data.FuelType3_23.value : 1,\r\n FuelType9: data.FuelType3_24 != undefined ? data.FuelType3_24.value : 1,\r\n FuelType10: data.FuelType3_25 != undefined ? data.FuelType3_25.value : 1,\r\n CountParty: data.Sides3.value,\r\n CountTypeFuel: data.Sleeves3.value\r\n }\r\n\r\n let trk4 = {\r\n //Address 1-ТРК 1-сторона в ТРК 1..10 - порядковый номер\r\n Address: data.Address4_11.value,\r\n Address2: data.Address4_12.value,\r\n Address3: data.Address4_13.value,\r\n Address4: data.Address4_14.value,\r\n Address5: data.Address4_15.value,\r\n Address6: data.Address4_21.value,\r\n Address7: data.Address4_22.value,\r\n Address8: data.Address4_23.value,\r\n Address9: data.Address4_24.value,\r\n Address10: data.Address4_25.value,\r\n FuelType: data.FuelType4_11 != undefined ? data.FuelType4_11.value : 1,\r\n FuelType2: data.FuelType4_12 != undefined ? data.FuelType4_12.value : 1,\r\n FuelType3: data.FuelType4_13 != undefined ? data.FuelType4_13.value : 1,\r\n FuelType4: data.FuelType4_14 != undefined ? data.FuelType4_14.value : 1,\r\n FuelType5: data.FuelType4_15 != undefined ? data.FuelType4_15.value : 1,\r\n FuelType6: data.FuelType4_21 != undefined ? data.FuelType4_22.value : 1,\r\n FuelType7: data.FuelType4_22 != undefined ? data.FuelType4_22.value : 1,\r\n FuelType8: data.FuelType4_23 != undefined ? data.FuelType4_23.value : 1,\r\n FuelType9: data.FuelType4_24 != undefined ? data.FuelType4_24.value : 1,\r\n FuelType10: data.FuelType4_25 != undefined ? data.FuelType4_25.value : 1,\r\n CountParty: data.Sides4.value,\r\n CountTypeFuel: data.Sleeves4.value\r\n }\r\n\r\n smarts.push(trk)\r\n smarts.push(trk2)\r\n smarts.push(trk3)\r\n smarts.push(trk4)\r\n\r\n api.post('/api/controllers/details/topaz/update', {\r\n Smarts: smarts,\r\n ControllerId: params.id,\r\n CountDispenser: data.CountDispenser.value,\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n setLoadingBtn(false)\r\n displayToast(response.data.message, response.data.isSuccess)\r\n })\r\n .catch(function (error) {\r\n setLoadingBtn(false)\r\n displayToast(error.response.data.errors[0].errorMessage, false)\r\n });\r\n }\r\n\r\n const displayToast = (message, status) => {\r\n\r\n if(status){\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n \r\n } else {\r\n toast.error(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n \r\n }\r\n\r\n return( \r\n
    \r\n
    \r\n
    \r\n

    {translated.Topaz}

    \r\n
    \r\n\r\n
    \r\n \r\n {translated.CountDispencer}\r\n (\r\n {\r\n setValue(\"CountDispenser\", {label:item.label, value:item.value})\r\n setCountDispensers(item.value)\r\n\r\n if(item.value >= 2) \r\n {\r\n setDisableSleeveAndSide(true)\r\n setCountSleeveAndSide({\r\n countSideDispenser1:1,\r\n countSleeveDispenser1:1,\r\n\r\n countSideDispenser2:1,\r\n countSleeveDispenser2:1,\r\n\r\n countSideDispenser3:1,\r\n countSleeveDispenser3:1,\r\n\r\n countSideDispenser4:1,\r\n countSleeveDispenser4:1,\r\n })\r\n \r\n setValue(\"Sides1\", {label: listSides[0].label, value: listSides[0].value})\r\n setValue(\"Sleeves1\", {label: listSleevesParty1[0].label, value:listSleevesParty1[0].value})\r\n \r\n setValue(\"Sides2\", {label: listSides[0].label, value: listSides[0].value})\r\n setValue(\"Sleeves2\", {label: listSleevesParty1[0].label, value:listSleevesParty1[0].value})\r\n\r\n setValue(\"Sides3\", {label: listSides[0].label, value: listSides[0].value})\r\n setValue(\"Sleeves3\", {label: listSleevesParty1[0].label, value:listSleevesParty1[0].value})\r\n\r\n setValue(\"Sides4\", {label: listSides[0].label, value: listSides[0].value})\r\n setValue(\"Sleeves4\", {label: listSleevesParty1[0].label, value:listSleevesParty1[0].value})\r\n\r\n } else {\r\n setDisableSleeveAndSide(false)\r\n }\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.CountDispenser && \r\n {errors.CountDispenser.message}\r\n }\r\n \r\n
    \r\n\r\n \r\n \r\n \r\n
    \r\n \r\n
    \r\n \r\n {translated.Sides} \r\n (\r\n {\r\n setValue(\"Sleeves1\", {label:item.label, value:item.value})\r\n setCountSleeveAndSide({\r\n countSleeveDispenser1:item.value,\r\n countSideDispenser1: countSleeveAndSide.countSideDispenser1,\r\n countSideDispenser2: countSleeveAndSide.countSideDispenser2,\r\n countSleeveDispenser2: countSleeveAndSide.countSleeveDispenser2\r\n })\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Sleeves1 && \r\n {errors.Sleeves1.message}\r\n } \r\n \r\n
    \r\n\r\n
    \r\n \r\n \r\n \r\n \r\n {\r\n countSleeveAndSide.countSideDispenser1 == 2\r\n ? \r\n : null\r\n }\r\n \r\n \r\n \r\n \r\n {\r\n listSleevesParty1.slice(0, countSleeveAndSide.countSleeveDispenser1).map((item) => (\r\n \r\n \r\n\r\n {\r\n countSleeveAndSide.countSideDispenser1 == 2\r\n ?\r\n \r\n : null\r\n }\r\n\r\n \r\n ))\r\n }\r\n \r\n
    {translated.Side1}{translated.Side2}
    \r\n
    {item.label}
    \r\n \r\n {translated.Address} \r\n (\r\n {\r\n setValue(`FuelType1_1${item.value}`, item)\r\n field.onChange(item)\r\n }}\r\n onBlur={field.onBlur}\r\n ref={field.ref}\r\n />\r\n )}\r\n />\r\n {errors.FuelType1 && \r\n {errors.FuelType1.message}\r\n } \r\n \r\n
    \r\n
    {item.label}
    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n {\r\n setValue(`FuelType1_2${item.value}`, item)\r\n field.onChange(item)\r\n }}\r\n ref={field.ref}\r\n />\r\n )}\r\n />\r\n {errors.FuelType1 && \r\n {errors.FuelType1.message}\r\n } \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n {\r\n countDispensers > 1\r\n ?\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Sides} \r\n (\r\n {\r\n setValue(\"Sleeves2\", {label:item.label, value:item.value})\r\n setCountSleeveAndSide({\r\n countSleeveDispenser2:item.value,\r\n countSideDispenser2: countSleeveAndSide.countSideDispenser2,\r\n\r\n countSideDispenser4: countSleeveAndSide.countSideDispenser4,\r\n countSleeveDispenser4: countSleeveAndSide.countSleeveDispenser4,\r\n\r\n countSideDispenser3: countSleeveAndSide.countSideDispenser3,\r\n countSleeveDispenser3: countSleeveAndSide.countSleeveDispenser3,\r\n\r\n countSideDispenser1: countSleeveAndSide.countSideDispenser1,\r\n countSleeveDispenser1: countSleeveAndSide.countSleeveDispenser1\r\n })\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Sleeves2 && \r\n {errors.Sleeves2.message}\r\n } \r\n \r\n
    \r\n\r\n
    \r\n \r\n \r\n \r\n \r\n {\r\n countSleeveAndSide.countSideDispenser2 == 2\r\n ? \r\n : null\r\n }\r\n \r\n \r\n \r\n \r\n {\r\n listSleevesParty2.slice(0, countSleeveAndSide.countSleeveDispenser2).map((item) => (\r\n \r\n \r\n\r\n {\r\n countSleeveAndSide.countSideDispenser2 == 2\r\n ?\r\n \r\n : null\r\n }\r\n\r\n \r\n ))\r\n }\r\n \r\n
    {translated.Side1}{translated.Side2}
    \r\n
    {item.label}
    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n {\r\n setValue(`FuelType2_1${item.value}`, item)\r\n field.onChange(item)\r\n }}\r\n ref={field.ref}\r\n onBlur={field.onBlur}\r\n />\r\n )}\r\n />\r\n {errors.FuelType1 && \r\n {errors.FuelType1.message}\r\n } \r\n \r\n
    \r\n
    \r\n
    {item.label}
    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n {\r\n setValue(`FuelType2_2${item.value}`, item)\r\n field.onChange(item)\r\n }}\r\n ref={field.ref}\r\n onBlur={field.onBlur}\r\n />\r\n )}\r\n />\r\n {errors.FuelType1 && \r\n {errors.FuelType1.message}\r\n } \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n : null\r\n }\r\n\r\n {\r\n countDispensers > 2\r\n ?\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Sides} \r\n (\r\n {\r\n setValue(\"Sleeves3\", {label:item.label, value:item.value})\r\n setCountSleeveAndSide({\r\n \r\n countSleeveDispenser3:item.value,\r\n countSideDispenser3: countSleeveAndSide.countSideDispenser3,\r\n\r\n countSideDispenser4: countSleeveAndSide.countSideDispenser4,\r\n countSleeveDispenser4: countSleeveAndSide.countSleeveDispenser4,\r\n\r\n countSideDispenser2: countSleeveAndSide.countSideDispenser2,\r\n countSleeveDispenser2: countSleeveAndSide.countSleeveDispenser2,\r\n\r\n countSideDispenser1: countSleeveAndSide.countSideDispenser1,\r\n countSleeveDispenser1: countSleeveAndSide.countSleeveDispenser1\r\n })\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Sleeves3 && \r\n {errors.Sleeves3.message}\r\n } \r\n \r\n
    \r\n\r\n
    \r\n \r\n \r\n \r\n \r\n {\r\n countSleeveAndSide.countSideDispenser3 == 2\r\n ? \r\n : null\r\n }\r\n \r\n \r\n \r\n \r\n {\r\n listSleevesParty3.slice(0, countSleeveAndSide.countSleeveDispenser3).map((item) => (\r\n \r\n \r\n\r\n {\r\n countSleeveAndSide.countSideDispenser3 == 2\r\n ?\r\n \r\n : null\r\n }\r\n\r\n \r\n ))\r\n }\r\n \r\n
    {translated.Side1}{translated.Side2}
    \r\n
    {item.label}
    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n {\r\n setValue(`FuelType3_1${item.value}`, item)\r\n field.onChange(item)\r\n }}\r\n ref={field.ref}\r\n onBlur={field.onBlur}\r\n />\r\n )}\r\n />\r\n {errors.FuelType1 && \r\n {errors.FuelType1.message}\r\n } \r\n \r\n
    \r\n
    \r\n
    {item.label}
    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n {\r\n setValue(`FuelType3_2${item.value}`, item)\r\n field.onChange(item)\r\n }}\r\n ref={field.ref}\r\n onBlur={field.onBlur}\r\n />\r\n )}\r\n />\r\n {errors.FuelType1 && \r\n {errors.FuelType1.message}\r\n } \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n : null\r\n }\r\n\r\n {\r\n countDispensers > 3\r\n ?\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Sides} \r\n (\r\n {\r\n setValue(\"Sleeves4\", {label:item.label, value:item.value})\r\n setCountSleeveAndSide({\r\n \r\n countSleeveDispenser4:item.value,\r\n countSideDispenser4: countSleeveAndSide.countSideDispenser4,\r\n\r\n countSideDispenser3: countSleeveAndSide.countSideDispenser3,\r\n countSleeveDispenser3: countSleeveAndSide.countSleeveDispenser3,\r\n\r\n countSideDispenser2: countSleeveAndSide.countSideDispenser2,\r\n countSleeveDispenser2: countSleeveAndSide.countSleeveDispenser2,\r\n\r\n countSideDispenser1: countSleeveAndSide.countSideDispenser1,\r\n countSleeveDispenser1: countSleeveAndSide.countSleeveDispenser1\r\n })\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Sleeves2 && \r\n {errors.Sleeves2.message}\r\n } \r\n \r\n
    \r\n\r\n
    \r\n \r\n \r\n \r\n \r\n {\r\n countSleeveAndSide.countSideDispenser4 == 2\r\n ? \r\n : null\r\n }\r\n \r\n \r\n \r\n \r\n {\r\n listSleevesParty4.slice(0, countSleeveAndSide.countSleeveDispenser4).map((item) => (\r\n \r\n \r\n\r\n {\r\n countSleeveAndSide.countSideDispenser2 == 2\r\n ?\r\n \r\n : null\r\n }\r\n\r\n \r\n ))\r\n }\r\n \r\n
    {translated.Side1}{translated.Side2}
    \r\n
    {item.label}
    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n {\r\n setValue(`FuelType4_1${item.value}`, item)\r\n field.onChange(item)\r\n }}\r\n ref={field.ref}\r\n onBlur={field.onBlur}\r\n />\r\n )}\r\n />\r\n {errors.FuelType1 && \r\n {errors.FuelType1.message}\r\n } \r\n \r\n
    \r\n
    \r\n
    {item.label}
    \r\n
    \r\n \r\n {translated.Address} \r\n (\r\n {\r\n setValue(`FuelType2_2${item.value}`, item)\r\n field.onChange(item)\r\n }}\r\n ref={field.ref}\r\n onBlur={field.onBlur}\r\n />\r\n )}\r\n />\r\n {errors.FuelType1 && \r\n {errors.FuelType1.message}\r\n } \r\n \r\n
    \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
    \r\n
    \r\n
    \r\n );\r\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\r\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\r\nimport { Button, Tabs, Tab, Form, Card, Spinner, Nav} from 'react-bootstrap';\r\nimport { useForm, Controller } from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport Select from 'react-select';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport './../../../boxicons.css';\r\nimport { TopazBs2 } from './Bs2/TopazBs2';\r\nimport { TopazBs2v2 } from './Bs2v2/TopazBs2v2';\r\nimport { TopazKvant } from './Bs2v2/TopazKvant';\r\n\r\nexport const Topaz = ({translated, translatedForm, smartData, listSmartData, countDispenser, controllerInfo}) => {\r\n\r\n const splitVersion = controllerInfo.firmwareVersionString.split('.')\r\n return(\r\n <>\r\n {\r\n controllerInfo.type != 3\r\n ? \r\n : \r\n splitVersion[0] >= 3 && splitVersion[1] >= 11\r\n ?\r\n \r\n :\r\n \r\n }\r\n \r\n )\r\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Form, Card, Spinner, Nav} from 'react-bootstrap';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport Select from 'react-select';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport './../../../boxicons.css';\nimport api from '../../../utils/axiosInterceptions';\n\nexport const Gilbarco = ({translated, translatedForm, smartData, controllerInfo}) => {\n\n const router = useHistory()\n const params = useParams();\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\n const [showSecondSleeva, setShowSecondSleeve] = useState(false)\n const [fuels, setFuels] = useState([])\n const [loadingBtn, setLoadingBtn] = useState(false)\n const [showSecondParity, setShowSecondParity] = useState(false)\n const [showFuelType, setShowFuelType] = useState({\n fuelType:false,\n fuelType2:false,\n fuelType3:false,\n fuelType4:false,\n fuelType5:false,\n fuelType6:false,\n })\n\n const listSubtypes = [\n {label:\"SK700-2\", value:0},\n ]\n\n const listParity = [\n {label:\"1\", value:0},\n {label:\"2\", value:1},\n ]\n\n const listCountFuel = [\n {label:\"1\", value:1},\n {label:\"2\", value:2},\n {label:\"3\", value:3},\n {label:\"4\", value:4},\n {label:\"5\", value:5},\n {label:\"6\", value:6}\n ]\n\n const addresses = [\n {label:\"1\", value:1},\n {label:\"2\", value:2},\n {label:\"3\", value:3},\n {label:\"4\", value:4},\n {label:\"5\", value:5},\n {label:\"6\", value:6},\n {label:\"7\", value:7},\n {label:\"8\", value:8},\n {label:\"9\", value:9},\n {label:\"10\", value:10},\n ]\n\n const getFuels = () => {\n api.get(`/api/fuels/all`, {\n withCredentials:true\n })\n .then(function (response) { \n const add = response.data.listDatas.map(item => ({\n ...item,\n value: item.id,\n label: item.name\n }))\n setFuels(add)\n getSmarts(add)\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n useEffect(() => {\n getSmarts()\n getFuels()\n }, [])\n\n const getSmarts = () => {\n api.get(`/api/controllers/details/smarts`, {\n headers:{\n \"content-type\" : \"application/json\",\n \"controllerId\":controllerInfo.id\n },\n params:{\n controllerId: controllerInfo.id,\n },\n withCredentials:true\n })\n .then(function (response) \n { \n console.log(\"SMART DATA method\")\n console.log(response.data)\n\n if(response.data.listDatas[0].countParty == 1) {\n setShowSecondParity(true)\n } else {\n setShowSecondParity(false)\n }\n\n let find_subtype = listSubtypes.filter((item) => item.value == response.data.listDatas[0].subtype)\n setValue(\"Subtype\", find_subtype[0])\n\n let find_count_party = listParity.filter((item) => item.value == response.data.listDatas[0].countParty)\n setValue(\"CountParty\", find_count_party[0])\n\n let find_count_fuel = listCountFuel.filter((item) => item.value == response.data.listDatas[0].countTypeFuel)\n setValue(\"CountFuel\", find_count_fuel[0])\n\n let find_address = addresses.filter((item) => item.value == response.data.listDatas[0].address)\n setValue(\"Address\", find_address[0])\n\n let find_address2 = addresses.filter((item) => item.value == response.data.listDatas[0].address2)\n setValue(\"Address2\", find_address2[0])\n\n let fuel2 = response.data.listDatas.filter((item) => item.id === response.data.listDatas[0].fuel_type2)\n setValue(\"FuelType2\", {label:fuel2[0].name, value:fuel2[0].id})\n\n let fuel3 = response.data.listDatas.filter((item) => item.id === response.data.listDatas[0].fuel_type3)\n setValue(\"FuelType3\", {label:fuel3[0].name, value:fuel3[0].id})\n\n let fuel4 = response.data.listDatas.filter((item) => item.id === response.data.listDatas[0].fuel_type3)\n setValue(\"FuelType4\", {label:fuel4[0].name, value:fuel4[0].id})\n\n let fuel5 = response.data.listDatas.filter((item) => item.id === response.data.listDatas[0].fuel_type3)\n setValue(\"FuelType5\", {label:fuel5[0].name, value:fuel5[0].id})\n\n let fuel6 = response.data.listDatas.filter((item) => item.id === response.data.listDatas[0].fuel_type3)\n setValue(\"FuelType6\", {label:fuel6[0].name, value:fuel6[0].id})\n \n if(response.data.listDatas[0].countTypeFuel == 2) {\n setShowFuelType({\n fuelType:true,\n fuelType2:true\n })\n } else if(response.data.listDatas[0].countTypeFuel == 3) {\n setShowFuelType({\n fuelType:true,\n fuelType2:true,\n fuelType3:true\n })\n } else if(response.data.listDatas[0].countTypeFuel == 4) {\n setShowFuelType({\n fuelType:true,\n fuelType2:true,\n fuelType3:true,\n fuelType4:true\n })\n } else if(response.data.listDatas[0].countTypeFuel == 5) {\n setShowFuelType({\n fuelType:true,\n fuelType2:true,\n fuelType3:true,\n fuelType4:true,\n fuelType5:true\n })\n } else if(response.data.listDatas[0].countTypeFuel == 6) {\n setShowFuelType({\n fuelType:true,\n fuelType2:true,\n fuelType3:true,\n fuelType4:true,\n fuelType5:true,\n fuelType6:true\n })\n }\n\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n const onSubmit = data => {\n setLoadingBtn(true)\n console.log(data)\n api.post('/api/controllers/details/gilbarco/update', {\n ControllerId: params.id,\n CountParty: data.CountParty != undefined ? data.CountParty.value : 1,\n CountTypeFuel: data.CountFuel != undefined ? data.CountFuel.value : 1,\n SubType: data.Subtype.value,\n FuelType: data.FuelType != undefined ? data.FuelType.value : 1,\n FuelType2: data.FuelType2 != undefined ? data.FuelType2.value : 1,\n FuelType3: data.FuelType3 != undefined ? data.FuelType3.value : 1,\n FuelType4: data.FuelType4 != undefined ? data.FuelType4.value : 1,\n FuelType5: data.FuelType5 != undefined ? data.FuelType5.value : 1,\n FuelType6: data.FuelType6 != undefined ? data.FuelType6.value : 1,\n Address2: data.Address2 != undefined ? data.Address2.value : 1,\n Address: data.Address != undefined ? data.Address.value : 1,\n CountDispenser: 1,\n withCredentials:true\n })\n .then(function (response) {\n setLoadingBtn(false)\n displayToast(response.data.message, response.data.isSuccess)\n })\n .catch(function (error) {\n console.log(error);\n setLoadingBtn(false)\n });\n }\n\n const displayToast = (message, status) => {\n\n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n \n }\n\n return( \n
    \n
    \n
    \n

    Gilbarco

    \n
    \n\n
    \n \n {translated.ModelDispenser} \n (\n {\n console.log(item)\n setValue(\"Subtype\", item)\n if(item.value == 1) {\n setShowSecondSleeve(false)\n } else {\n setShowSecondSleeve(true)\n }\n }}\n />\n )}\n />\n {errors.Subtype && \n {errors.Subtype.message}\n }\n \n
    \n\n
    \n \n {translated.Sides} \n (\n {\n console.log(item)\n setValue(\"CountParty\", item)\n if(item.value === 1) {\n setShowSecondParity(true)\n } else {\n setShowSecondParity(false)\n }\n }}\n />\n )}\n />\n {errors.CountParty && \n {errors.CountParty.message}\n }\n \n
    \n\n
    \n \n {translated.CountFuels} \n (\n {\n console.log(item)\n setValue(\"CountFuel\", item)\n if(item.value == 1) {\n setShowFuelType({\n fuelType:true,\n })\n } else if(item.value == 2) {\n setShowFuelType({\n fuelType:true,\n fuelType2:true\n })\n } else if(item.value == 3) {\n setShowFuelType({\n fuelType:true,\n fuelType2:true,\n fuelType3:true\n })\n } else if(item.value == 4) {\n setShowFuelType({\n fuelType:true,\n fuelType2:true,\n fuelType3:true,\n fuelType4:true\n })\n } else if(item.value == 5) {\n setShowFuelType({\n fuelType:true,\n fuelType2:true,\n fuelType3:true,\n fuelType4:true,\n fuelType5:true\n })\n } else if(item.value == 6) {\n setShowFuelType({\n fuelType:true,\n fuelType2:true,\n fuelType3:true,\n fuelType4:true,\n fuelType5:true,\n fuelType6:true\n })\n }\n }}\n />\n )}\n />\n {errors.CountFuel && \n {errors.CountFuel.message}\n }\n \n
    \n\n
    \n \n {translated.AddressParty1}\n (\n {\n console.log(item)\n setValue(\"Address\", item)\n }}\n />\n )}\n />\n {errors.Address && \n {errors.Address.message}\n }\n \n
    \n\n {\n showSecondParity\n ?\n
    \n \n {translated.AddressParty2} \n (\n {\n console.log(item)\n setValue(\"Address2\", item)\n }}\n />\n )}\n />\n {errors.Address2 && \n {errors.Address2.message}\n }\n \n
    \n : null\n }\n \n
    \n\n
    \n \n \n

    {translated.Sleeve1}

    \n
    \n \n {translated.FuelType} \n (\n setValue(\"FuelType\", item)}\n />\n )}\n />\n \n
    \n
    \n
    \n
    \n\n {\n showFuelType.fuelType2\n ?\n
    \n \n \n

    {translated.Sleeve2}

    \n
    \n \n {translated.FuelType} \n (\n setValue(\"FuelType2\", item)}\n />\n )}\n />\n \n
    \n
    \n
    \n
    \n : null\n }\n\n {\n showFuelType.fuelType3\n ?\n
    \n \n \n

    {translated.Sleeve3}

    \n
    \n \n {translated.FuelType} \n (\n setValue(\"FuelType3\", item)}\n />\n )}\n />\n \n
    \n
    \n
    \n
    \n : null\n }\n\n {\n showFuelType.fuelType4\n ?\n
    \n \n \n

    {translated.Sleeve4}

    \n
    \n \n {translated.FuelType} \n (\n setValue(\"FuelType4\", item)}\n />\n )}\n />\n \n
    \n
    \n
    \n
    \n : null\n }\n\n {\n showFuelType.fuelType5\n ?\n
    \n \n \n

    {translated.Sleeve5}

    \n
    \n \n {translated.FuelType} \n (\n setValue(\"FuelType5\", item)}\n />\n )}\n />\n \n
    \n
    \n
    \n
    \n : null\n }\n \n {\n showFuelType.fuelType6\n ?\n
    \n \n \n

    {translated.Sleeve6}

    \n
    \n \n {translated.FuelType} \n (\n setValue(\"FuelType6\", item)}\n />\n )}\n />\n \n
    \n
    \n
    \n
    \n : null\n }\n\n
    \n \n
    \n
    \n
    \n );\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Form, Spinner, Nav} from 'react-bootstrap';\nimport { AuthContext } from '../../context/AuthContext';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport Select from 'react-select';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport CurrencyInput from 'react-currency-input-field';\nimport './../../boxicons.css';\nimport api from '../../utils/axiosInterceptions';\n\nexport const ExternalInput = ({translated, translatedForm}) => {\n\n const router = useHistory()\n const params = useParams();\n const {isAuth} = useContext(AuthContext);\n const { control, register, handleSubmit, reset, setValue, getValues, formState, formState: { errors }} = useForm();\n const [loadingBtn, setLoadingBtn] = useState(false)\n const [isDisabled, setIsDisabled] = useState(true)\n const [buttonIsSelected, setButtonIsSelected] = useState(false)\n\n const listValues = [\n {label:translated.NotSet, value:0},\n {label:translated.TamperSensor, value:1},\n {label:translated.ClosingButton, value:2},\n {label:translated.OpenButton, value:3},\n ]\n\n useEffect(() => {\n api.get(\"/api/controllers/details/external-inputs/details\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"controllerId\":params.id\n },\n params:{\n controllerId: params.id,\n },\n withCredentials:true\n })\n .then(function (response) {\n \n \n let input2 = listValues.filter((item) => item.value == response.data.dataResult.externalInput2)\n setValue(\"ExternalInput2\", {label:input2[0].label, value:input2[0].value})\n\n let input3 = listValues.filter((item) => item.value == response.data.dataResult.externalInput3)\n setValue(\"ExternalInput3\", {label:input3[0].label, value:input3[0].value})\n\n let input4 = listValues.filter((item) => item.value == response.data.dataResult.externalInput4)\n setValue(\"ExternalInput4\", {label:input4[0].label, value:input4[0].value})\n setValue(\"ButtonDuration\", response.data.dataResult.buttonDuration)\n\n })\n .catch(function (error) {\n console.log(error);\n });\n }, [])\n\n\n const onSubmit = data => {\n console.log(data)\n\n let input2 = getValues(\"ExternalInput2\")\n let input3 = getValues(\"ExternalInput3\")\n let input4 = getValues(\"ExternalInput4\")\n\n let array_button_values = []\n array_button_values.push(input2.value)\n array_button_values.push(input3.value)\n array_button_values.push(input4.value)\n\n console.log(array_button_values)\n\n let find_closing_button = array_button_values.filter((i) => i == 2).length\n let find_open_button = array_button_values.filter((i) => i == 3).length\n\n console.log(find_closing_button)\n console.log(find_open_button)\n\n if(find_closing_button >= 2 || find_open_button >= 2 || (find_closing_button == 1 && find_open_button == 1))\n {\n displayToast(translated.MessageButtonExternalInputs)\n }\n else\n {\n setLoadingBtn(true);\n api.post(\"/api/controllers/details/external-inputs/details/update\", {\n ExternalInput2: data.ExternalInput2.value,\n ExternalInput3: data.ExternalInput3.value,\n ExternalInput4: data.ExternalInput4.value,\n ButtonDuration: data.ButtonDuration,\n ControllerId: params.id\n })\n .then(function (response) {\n setLoadingBtn(false)\n displayToast(response.data.message, response.data.isSuccess)\n })\n .catch(function (error) {\n console.log(error)\n setLoadingBtn(false)\n displayToast(error.response.data.errors[0].errorMessage, error.response.data.isSuccess)\n });\n }\n }\n\n const displayToast = (message, status) => {\n\n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n \n }\n\n return(\n isAuth ?\n <>\n
    \n
    \n\n
    \n \n {translated.InputIn} \n \n {errors.ExternalInput && \n {errors.ExternalInput.message}\n } \n \n\n \n {translated.InputIn2} \n (\n {\n setValue(\"ExternalInput2\", item)\n }}\n value={value}\n options={listValues} \n placeholder={translatedForm.SelectFromList}\n classNamePrefix=\"select\"\n />\n )}\n />\n {errors.ExternalInput2 && \n {errors.ExternalInput2.message}\n } \n \n\n \n {translated.InputIn3} \n (\n {\n setValue(\"ExternalInput3\", item)\n }}\n value={value}\n options={listValues} \n placeholder={translatedForm.SelectFromList}\n classNamePrefix=\"select\"\n />\n )}\n />\n {errors.ExternalInput3 && \n {errors.ExternalInput3.message}\n } \n \n\n \n {translated.InputIn4} \n (\n {\n setValue(\"ExternalInput4\", item)\n }}\n value={value}\n options={listValues} \n placeholder={translatedForm.SelectFromList}\n classNamePrefix=\"select\"\n />\n )}\n />\n {errors.ExternalInput4 && \n {errors.ExteExternalInput4rnalInput2.message}\n } \n \n\n
    \n \n
    \n
    \n\n
    \n \n {translated.MininalSignalDuration}\n (\n setValue(\"ButtonDuration\", value)}\n //disabled={isDisabled}\n />\n )}\n />\n {errors.ButtonDuration && \n {errors.ButtonDuration.message}\n }\n \n
    \n
    \n
    \n \n :\n \n );\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Form, Card, Spinner, Nav, Table, InputGroup} from 'react-bootstrap';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport Select from 'react-select';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport './../../../../boxicons.css';\nimport api from '../../../../utils/axiosInterceptions';\n\nexport const Tokheim = ({translated, translatedForm, listSmartData, controllerInfo}) => {\n\n let arr = []\n const router = useHistory()\n const params = useParams();\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\n const [showSecondSleeva, setShowSecondSleeve] = useState(false)\n const [fuels, setFuels] = useState([])\n const [loadingBtn, setLoadingBtn] = useState(false)\n const [arrayTrTable, setArrayTrTable] = useState([])\n const [buttonTrk, setButtonTrk] = useState(false)\n const [gerkon, setGerkon] = useState(false)\n const [valueCountSide, setValueCountSide] = useState(1)\n\n const CountStorona = [\n {label:\"1\", value:1},\n {label:\"2\", value:2},\n ]\n\n const listSubtypes = [\n {label:\"Q330\", value:2},\n {label:\"Q130\", value:1},\n ]\n\n const listCountFuels = [\n {label:\"1\", value:1},\n {label:\"2\", value:2},\n {label:\"3\", value:3},\n {label:\"4\", value:4},\n ]\n\n const addresses = [\n {label:\"1\", value:1},\n {label:\"2\", value:2},\n {label:\"3\", value:3},\n {label:\"4\", value:4},\n {label:\"5\", value:5},\n {label:\"6\", value:6},\n {label:\"7\", value:7},\n {label:\"8\", value:8},\n {label:\"9\", value:9},\n {label:\"10\", value:10},\n {label:\"11\", value:11},\n {label:\"12\", value:12},\n {label:\"13\", value:13},\n {label:\"14\", value:14},\n {label:\"15\", value:15},\n {label:\"16\", value:16},\n {label:\"17\", value:17},\n {label:\"18\", value:18},\n {label:\"19\", value:19},\n {label:\"20\", value:20},\n ]\n\n const getFuels = () => {\n api.get(`/api/fuels/all`, {\n withCredentials:true\n })\n .then(function (response) { \n \n const add = response.data.listDatas.map(item => ({\n ...item,\n value: item.id,\n label: item.name\n }))\n setFuels(add)\n\n let subtype = listSubtypes.filter((item) => item.value == listSmartData[0].subType)\n console.log(listSmartData[0].subType)\n let address = addresses.filter((item) => item.value == listSmartData[0].address)\n let address2 = addresses.filter((item) => item.value == listSmartData[0].address2)\n let fuetype1 = listSmartData[0].fuelType != 0 \n ? response.data.listDatas.filter((item) => item.id == listSmartData[0].fuelType)\n : response.data.listDatas.filter((item) => item.id == 1)\n let fuetype2 = response.data.listDatas.filter((item) => item.id == listSmartData[0].fuelType2)\n \n setValue(\"Subtype\", subtype[0])\n setValue(\"Address\", address[0])\n setValue(\"Address2\", address2[0])\n\n setValue(\"FuelType\", {label:fuetype1[0].name, value:fuetype1[0].id})\n setValue(\"FuelType2\", {label:fuetype2[0].name, value:fuetype2[0].id})\n\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n useEffect(() => {\n getFuels()\n }, [])\n\n const deleteFuel = () => {\n console.log(\"delete\")\n }\n\n const onSubmit = data => {\n setLoadingBtn(true)\n console.log(data)\n api.post('/api/controllers/details/tokheim/update', {\n ControllerId: params.id,\n SubType: data.Subtype.value,\n Address: data.Address.value,\n Address2: data.Address2.value,\n FuelType: data.FuelType != undefined ? data.FuelType.id : 1,\n FuelType2: data.FuelType2 != undefined ? data.FuelType2.value : 1,\n CountDispenser: 1,\n withCredentials:true\n })\n .then(function (response) {\n setLoadingBtn(false)\n displayToast(response.data.message, response.data.isSuccess)\n })\n .catch(function (error) {\n console.log(error);\n setLoadingBtn(false)\n });\n }\n\n const displayToast = (message, status) => {\n\n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n \n }\n\n return( \n
    \n
    \n
    \n

    Tokheim India

    \n
    \n\n
    \n \n {translated.ModelDispenser} \n (\n {\n console.log(item)\n setValue(\"Subtype\", item)\n }}\n />\n )}\n />\n {errors.Subtype1 && \n {errors.Subtype1.message}\n }\n \n
    \n\n
    \n \n \n

    {translated.Sleeve1}

    \n
    \n \n {translated.Address} \n (\n setValue(\"FuelType\", item)}\n />\n )}\n />\n {errors.FuelType && \n {errors.FuelType.message}\n } \n \n
    \n
    \n
    \n
    \n\n
    \n \n \n

    {translated.Sleeve2}

    \n
    \n \n {translated.Address} \n (\n setValue(\"Address2\", item)}\n />\n )}\n />\n {errors.FuelType2 && \n {errors.FuelType2.message}\n } \n \n
    \n
    \n
    \n
    \n\n
    \n \n
    \n
    \n
    \n );\n}","import React, { useContext, useEffect, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Form, Spinner, Nav} from 'react-bootstrap';\nimport { AuthContext } from '../../context/AuthContext';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport Select from 'react-select';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport './../../boxicons.css';\nimport api from '../../utils/axiosInterceptions';\n\nexport const Auth = ({translated, translatedForm}) => {\n\n const router = useHistory()\n const params = useParams();\n const {isAuth} = useContext(AuthContext);\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\n\n const [loadingBtn, setLoadingBtn] = useState(false)\n\n useEffect(() => {\n api.get(\"/api/controllers/details/auth\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"controllerId\":params.id\n },\n params:{\n controllerId: params.id,\n },\n withCredentials:true\n })\n .then(function (response) {\n setValue(\"Login\", response.data.dataResult.login)\n setValue(\"Password\", response.data.dataResult.password)\n })\n .catch(function (error) {\n console.log(error);\n });\n }, [])\n\n const onSubmit = data => {\n\n setLoadingBtn(true);\n api.post(\"/api/controllers/details/auth/update\", {\n Id: params.id,\n Login: data.Login,\n Password: data.Password,\n })\n .then(function (response) {\n setLoadingBtn(false)\n displayToast(response.data.message, response.data.isSuccess)\n })\n .catch(function (error) {\n setLoadingBtn(false)\n displayToast(error.response.data.errors[0].errorMessage, error.response.data.isSuccess)\n });\n }\n\n const displayToast = (message, status) => {\n\n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n \n }\n\n return(\n isAuth ?\n <>\n
    \n
    \n
    \n\n \n {translated.Login}\n \n {errors.Login && \n {errors.Login.message}\n }\n \n\n \n {translated.Password}\n \n {errors.Password && \n {errors.Password.message}\n }\n \n\n
    \n \n
    \n
    \n\n
    \n
    \n \n :\n \n );\n}","import React, { useContext, useEffect, useMemo, useState, Redirect } from 'react';\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\nimport { Button, Tabs, Tab, Table, DropdownButton, Alert, ProgressBar, Dropdown, Badge, Modal, Form, Offcanvas, Spinner, Nav} from 'react-bootstrap';\nimport { AuthContext } from '../../context/AuthContext';\nimport { useForm, Controller } from 'react-hook-form';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport InputMask from 'react-input-mask';\nimport Select from 'react-select';\nimport CurrencyInput from 'react-currency-input-field';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport moment from 'moment';\nimport Skeleton from 'react-loading-skeleton';\nimport api from '../../utils/axiosInterceptions';\nimport { MRT_Localization_RU } from 'material-react-table/locales/ru';\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\nimport MaterialReactTable from 'material-react-table';\n\nexport const Sections = ({translated, translatedForm, controllerInfo, typeController}) => {\n\n const [show, setShow] = useState(false)\n const [loading, setLoading] = useState(false)\n const [listSection, setListSection] = useState([])\n const [listStationSection, setListStationSection] = useState([])\n const { control, register, handleSubmit, setValue, reset, formState, formState: { errors }} = useForm();\n\n useEffect(() => {\n getSections()\n }, [])\n\n const columns = useMemo(\n () => [\n {\n accessorKey: 'name', //access nested data with dot notation\n header: translated.Name,\n },\n {\n accessorFn: (row) => \n <>\n \n ,\n accessorKey: 'button',\n header: translatedForm.Actions,\n },\n ],\n [],\n ); \n\n const onSubmit = data => {\n setLoading(true)\n api.post(\"/api/controllers/details/sections/add\", {\n ControllerId: controllerInfo.id,\n StationSectionId: data.Section.value\n })\n .then(function (response) {\n setLoading(false)\n displayToast(response.data.message, response.data.isSuccess)\n setListSection(response.data.listDatas)\n })\n .catch(function (error) {\n console.log(error);\n setLoading(false)\n displayToast(error.response.data.message, error.response.data.isSuccess)\n });\n }\n\n const getSections = () => {\n api.get('/api/controllers/details/sections', {\n headers:{\n \"content-type\" : \"application/json\",\n \"ControllerId\": controllerInfo.id\n },\n params:{\n ControllerId: controllerInfo.id,\n },\n withCredentials:true\n })\n .then(function (response) {\n console.log('controller sections')\n \n setListSection(response.data.listDatas)\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n const getStationSections = () => {\n api.get(\"/api/stations/details/sections\", {\n headers:{\n \"content-type\" : \"application/json\",\n \"StationId\": controllerInfo.stationId\n },\n params:{\n StationId: controllerInfo.stationId\n }\n })\n .then(function (response) {\n console.log('sections')\n \n displayToast(response.data.message, response.data.isSuccess)\n \n const addSection = response.data.listDatas.map(item => ({\n ...item,\n value: item.id,\n label: item.name\n }))\n \n setListStationSection(addSection)\n })\n .catch(function (error) {\n console.log(error);\n displayToast(error.response.data.message, error.response.data.isSuccess)\n });\n }\n\n const onDelete = id => {\n api.post(\"/api/controllers/details/sections/delete\", {\n ControllerId: controllerInfo.id,\n Id: id\n })\n .then(function (response) {\n setListSection(response.data.listDatas)\n displayToast(response.data.message, response.data.isSuccess)\n })\n .catch(function (error) {\n console.log(error)\n displayToast(error.response.data.errors.errorMessage, error.response.data.isSuccess)\n });\n }\n\n const displayToast = (message, status) => {\n\n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n \n }\n\n return(\n <>\n
    \n
    \n \n
    \n\n
    \n \n \n \n \n \n \n \n \n {\n listSection.length != 0\n ?\n listSection.map((item) => (\n \n \n \n \n ))\n :\n \n \n \n } \n \n
    НазваниеДействие
    {item.name}\n \n
    Данных нет
    \n
    \n
    \n\n setShow(false)}>\n \n Добавление секций\n \n
    \n \n\n
    \n \n \n Секции *\n \n (\n {\r\n console.log(\"controller mode intake\")\r\n console.log(item)\r\n //setSelectedModeIntake({label:item.name, value:item.value})\r\n setValue(\"ModeIntake\", {label:item.label, value:item.value})\r\n }}\r\n value={value}\r\n options={listBooleans} \r\n placeholder={translated.SelectFromList}\r\n classNamePrefix=\"select\"\r\n />\r\n )}\r\n />\r\n {errors.ModeIntake && \r\n {errors.ModeIntake.message}\r\n }\r\n \r\n\r\n {\r\n controllerInfo.type != 3\r\n ?\r\n \r\n {translated.TRKWork}\r\n \r\n (\r\n {\r\n //setSelectedModeRfid({label:item.name, value:item.value})\r\n setValue(\"ModeRfid\", {label:item.label, value:item.value})\r\n }}\r\n value={value}\r\n options={listRfid} \r\n placeholder={translated.SelectFromList}\r\n classNamePrefix=\"select\"\r\n />\r\n )}\r\n />\r\n {errors.ModeRfid && \r\n {errors.ModeRfid.message}\r\n }\r\n \r\n\r\n \r\n {translated.OperationMode}\r\n \r\n (\r\n {\r\n //setSelectedScanning({label:item.name, value:item.value})\r\n setValue(\"DoScanning\", {label:item.label, value:item.value})\r\n }}\r\n value={value}\r\n options={listStopMode} \r\n placeholder={translated.SelectFromList}\r\n classNamePrefix=\"select\"\r\n />\r\n )}\r\n />\r\n {errors.DoScanning && \r\n {errors.DoScanning.message}\r\n }\r\n \r\n\r\n {\r\n controllerInfo.type != 3\r\n ?\r\n \r\n {translated.Topaz20}\r\n \r\n (\r\n {\r\n //setSelectedPanel({label:item.name, value:item.value})\r\n setValue(\"InterfacePanel\", {label:item.label, value:item.value})\r\n }}\r\n value={value}\r\n options={listPanel} \r\n placeholder={translatedForm.SelectFromList}\r\n classNamePrefix=\"select\"\r\n />\r\n )}\r\n />\r\n {errors.InterfacePanel && \r\n {errors.InterfacePanel.message}\r\n }\r\n \r\n : null\r\n }\r\n\r\n {\r\n controllerInfo.type == 3\r\n ?\r\n \r\n {translated.OnIndAndKey}\r\n \r\n (\r\n \r\n )}\r\n />\r\n {errors.Company && \r\n {errors.Company.message}\r\n } \r\n\r\n \r\n\r\n \r\n {translated.Timezone} *\r\n \r\n {errors.Timezone && \r\n {errors.Timezone.message}\r\n }\r\n \r\n\r\n \r\n {translated.Description} \r\n \r\n {errors.Description && \r\n {errors.Description.message}\r\n }\r\n \r\n\r\n \r\n {translated.SerialNumber} \r\n \r\n {errors.SerialNumber && \r\n {errors.SerialNumber.message}\r\n }\r\n \r\n\r\n \r\n {translated.OrderNumber} \r\n \r\n {errors.OrderNumber && \r\n {errors.OrderNumber.message}\r\n }\r\n \r\n\r\n \r\n {translated.Longtitude} \r\n \r\n {errors.Longtitude && \r\n {errors.Longtitude.message}\r\n }\r\n \r\n\r\n \r\n {translated.Langtitude} \r\n \r\n {errors.Lantitude && \r\n {errors.Lantitude.message}\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","import React, { useContext, useEffect, useState, Redirect } from 'react';\r\nimport { NavLink, useParams, useHistory } from 'react-router-dom';\r\nimport { Button, Tabs, Tab, Card, ProgressBar, Form, Offcanvas, Spinner} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { FormAddSection } from './FormAddSection';\r\nimport { FormEditSection } from './FormEditSection';\r\nimport { useForm, Controller } from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport { ControllerStation } from './ControllerStation';\r\nimport { StationSection } from './sections';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport Select from 'react-select';\r\nimport Chart from \"react-apexcharts\";\r\nimport axios from 'axios';\r\nimport './../../boxicons.css';\r\nimport Skeleton from 'react-loading-skeleton'\r\nimport 'react-loading-skeleton/dist/skeleton.css'\r\nimport { TranslateStation } from '../../lang/stations/translateStation';\r\nimport {FormLocale} from '../../lang/form';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const StationSingle = () => {\r\n\r\n let component = ''\r\n let headerComponentName = ''\r\n const router = useHistory()\r\n const params = useParams();\r\n const {isAuth} = useContext(AuthContext);\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [listSections, setListSections] = useState([])\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [currentActiveTab, setCurrentActiveTab] = useState('')\r\n const [listTimezone, setListTimezone] = useState([])\r\n const translated = useLittera(TranslateStation);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [permission, setPermission] = useState({\r\n read: false,\r\n update:false,\r\n fullAccess: false\r\n })\r\n const [listSeries, setListSeries] = useState([])\r\n const [sectionChart, setSectionChart] = useState({\r\n names:[],\r\n series:[]\r\n })\r\n const [componentForm, setComponentForm] = useState({\r\n componen:'',\r\n name:''\r\n })\r\n const [sectionData, setSectionData] = useState({\r\n name:'',\r\n id:0\r\n })\r\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\r\n const [stationData, setStationData] = useState({\r\n name:'',\r\n id:''\r\n })\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:'',\r\n value:''\r\n })\r\n const [loadingDataBtn, setLoadingDataButton] = useState(false)\r\n \r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n fetchingData()\r\n getSections()\r\n }, [])\r\n\r\n const handleShow = (data, id) => {\r\n setSectionData({id:id})\r\n\r\n if(data == \"addSection\") {\r\n\r\n component = \r\n headerComponentName='Добавление секции'\r\n setComponentForm({\r\n component: component,\r\n name:headerComponentName\r\n })\r\n\r\n } \r\n else if (data == \"updateSection\") {\r\n\r\n component = \r\n headerComponentName='Редактирование секции'\r\n setComponentForm({\r\n component: component,\r\n name:headerComponentName\r\n })\r\n }\r\n\r\n setShowFormAdd(true);\r\n }\r\n\r\n const handleClose = () => setShowFormAdd(false);\r\n\r\n const options = {\r\n labels: [translated.OccupancySingle],\r\n dataLabels: {\r\n enabled: true\r\n },\r\n chart: {\r\n type: 'bar',\r\n height: 500,\r\n stacked: true,\r\n },\r\n xaxis: {\r\n categories: sectionChart.names,\r\n },\r\n yaxis:{\r\n min:0,\r\n max:100\r\n },\r\n plotOptions: {\r\n bar: {\r\n columnWidth: '45%',\r\n distributed: true,\r\n borderRadius: 5,\r\n stackType:\"100%\"\r\n }\r\n }\r\n };\r\n\r\n const series = [{\r\n name: 'Остаток',\r\n data: listSeries\r\n }]\r\n\r\n const onSubmit = data => {\r\n setLoadingDataButton(true)\r\n api.post('/api/stations/update', {\r\n Id: data.Id,\r\n Name: data.Name,\r\n CompanyId: data.Company.id,\r\n Description: data.Description,\r\n SerialNumber: data.SerialNumber,\r\n OrderNumber: data.OrderNumber,\r\n Longtitude: data.Longtitude,\r\n Lantitude: data.Lantitude,\r\n Timezone: data.Timezone\r\n })\r\n .then(function (response) {\r\n setLoadingDataButton(false)\r\n setStationData({name: response.data.dataResult.name})\r\n displayToast(response.data.message, response.data.isSuccess)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const displayToast = (message, status) => {\r\n\r\n if(status){\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n\r\n } else {\r\n toast.error(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n \r\n }\r\n\r\n const getSections = () => {\r\n api.get(\"/api/stations/details/sections\", {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"id\":params.id\r\n },\r\n params:{\r\n StationId: params.id,\r\n },\r\n })\r\n .then(function (response) {\r\n console.log(\"sections\")\r\n \r\n let array_series = []\r\n\r\n const add = response.data.listDatas.map(item => {\r\n array_series.push(Math.ceil(item.fuelBalance))\r\n })\r\n\r\n setListSeries(array_series)\r\n \r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const fetchingData = () => {\r\n setIsLoading(true)\r\n api.get(\"/api/stations/details\", {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"id\":params.id\r\n },\r\n params:{\r\n id: params.id,\r\n },\r\n })\r\n .then(function (response) {\r\n console.log(\"station data\")\r\n \r\n\r\n setPermission({\r\n read: response.data.read,\r\n update: response.data.update,\r\n create: response.data.create,\r\n fullAccess: response.data.fullAccess\r\n })\r\n\r\n setValue(\"Timezone\", response.data.dataResult.timezoneHour)\r\n\r\n setStationData({\r\n name: response.data.dataResult.name,\r\n id: response.data.dataResult.id\r\n })\r\n\r\n setSelectedCompany({\r\n label:response.data.dataResult.company.name,\r\n value: response.data.dataResult.company.id\r\n })\r\n \r\n setValue(\"Company\", selectedCompany)\r\n setValue(\"Id\", response.data.dataResult.id)\r\n setValue(\"Name\", response.data.dataResult.name);\r\n setValue(\"Description\", response.data.dataResult.description);\r\n setValue(\"SerialNumber\", response.data.dataResult.serialNumber);\r\n setValue(\"OrderNumber\", response.data.dataResult.orderNumber);\r\n setValue(\"Longtitude\", response.data.dataResult.longtitude);\r\n setValue(\"Lantitude\", response.data.dataResult.lantitude);\r\n\r\n setIsLoading(false) \r\n \r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n\r\n api.get(\"/api/company/all\", {\r\n\r\n })\r\n .then(function (response) {\r\n const addCompany = response.data.listDatas.map(item => ({\r\n ...item,\r\n value: item.id,\r\n label: item.name\r\n }))\r\n setListCompanies(addCompany)\r\n \r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n } \r\n\r\n return(\r\n isAuth ?\r\n <>\r\n
    \r\n

    \r\n \r\n \r\n \r\n \r\n \r\n \r\n {translated.TitleSingle} - {isLoading ? : stationData.name}\r\n

    \r\n
    \r\n \r\n
    \r\n \r\n setCurrentActiveTab(e.target.dataset.rrUiEventKey)} id=\"uncontrolled-tab-example\" className=\"mt-3 nav-tabs-custom\">\r\n\r\n \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n\r\n {\r\n isLoading\r\n ? \r\n :\r\n <>\r\n \r\n {translated.Name} *\r\n \r\n {errors.Number && \r\n {errors.Name.message}\r\n }\r\n \r\n\r\n \r\n {translated.Company} *\r\n \r\n (\r\n {\r\n setSelectedCompany({label:item.name, value:item.id})\r\n setValue(\"Companies\", selectedCompany)\r\n //getStationsCompany(item.id)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Company && \r\n {errors.Company.message}\r\n } \r\n \r\n\r\n \r\n {translated.Role} * \r\n (\r\n \r\n )}\r\n />\r\n {errors.AuthTransport && \r\n {errors.AuthTransport.message}\r\n } \r\n \r\n\r\n \r\n {translated.TypeLimit} *\r\n (\r\n {\r\n setSelectedTypeLimit(item)\r\n setValue(\"TypeLimit\", {label:item.label, value:item.value})\r\n }}\r\n value={value}\r\n options={listTypeLimit} \r\n placeholder={translatedForm.SelectFromList}\r\n classNamePrefix=\"select\"\r\n />\r\n )}\r\n />\r\n {errors.TypeLimit && \r\n {errors.TypeLimit.message}\r\n }\r\n \r\n\r\n {\r\n selectedTypeLimit.id == 5\r\n ?\r\n <>\r\n \r\n {translated.LimitMonth}\r\n \r\n (\r\n setLimitMonth(value)}\r\n />\r\n )}\r\n />\r\n {errors.LimitMonth && \r\n {errors.LimitMonth.message}\r\n } \r\n\r\n \r\n\r\n \r\n {translated.LimitDay}\r\n \r\n (\r\n setLimitDay(value)}\r\n />\r\n )}\r\n />\r\n {errors.LimitDay && \r\n {errors.LimitDay.message}\r\n } \r\n\r\n \r\n \r\n : selectedTypeLimit.id == 3\r\n ? \r\n \r\n {translated.LimitAbsolute}\r\n \r\n (\r\n setValue(\"AbsolutLimit\", value)}\r\n />\r\n )}\r\n />\r\n {errors.AbsolutLimit && \r\n {errors.AbsolutLimit.message}\r\n } \r\n\r\n \r\n : null\r\n }\r\n\r\n \r\n \r\n \r\n {translated.AccessSystem} * \r\n (\r\n {\r\n console.log(item)\r\n setSelectedAdminController({label:item.label, value:item.value})\r\n setValue(\"AdminController\", selectedAdminController)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.AdminTRK && \r\n {errors.AdminTRK.message}\r\n }\r\n \r\n\r\n \r\n {translated.FuelIntake}\r\n (\r\n {\r\n console.log(item)\r\n setSelectedAdminLevel({label:item.label, value:item.value})\r\n setValue(\"AdminViewLevelMeters\", selectedAdminLevel)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.AdminViewLevelMeters && \r\n {errors.AdminViewLevelMeters.message}\r\n }\r\n \r\n\r\n \r\n {translated.TurningOffSirena}\r\n (\r\n {\r\n setSelectedIsExistDataAuth({label:item.label, value:item.value})\r\n setIsExistDataAuth(item.value)\r\n setValue(\"IsExistDataAuth\", selectedIsExistDataAuth)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.AdminOffSirena && \r\n {errors.AdminOffSirena.message}\r\n }\r\n \r\n\r\n {\r\n isExistDataAuth\r\n ?\r\n <>\r\n \r\n {translated.Login}\r\n \r\n {errors.Login && \r\n {errors.Login.message}\r\n }\r\n \r\n\r\n {\r\n userHasLogin\r\n ?\r\n \r\n {translated.CurrentPassword}\r\n \r\n {errors.CurrentPassword && \r\n {errors.CurrentPassword.message}\r\n }\r\n \r\n : null\r\n }\r\n\r\n \r\n {translated.Password}\r\n \r\n {errors.Password && \r\n {errors.Password.message}\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 {\r\n currentTabActive == \"history-auth\"\r\n ?\r\n \r\n : null\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 currentTabActive == \"limits\"\r\n ? \r\n : null\r\n }\r\n \r\n\r\n \r\n {\r\n currentTabActive == \"controllers\"\r\n ? \r\n : null\r\n }\r\n \r\n\r\n \r\n \r\n \r\n :\r\n \r\n );\r\n}","import React, { useState, useEffect, useMemo, useContext, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, Form, Nav, Modal, Tabs, Tab, Spinner, DropdownButton, Badge, Dropdown, Alert} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller} from 'react-hook-form';\r\nimport InputMask from 'react-input-mask';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport { ControllerGroups } from './groups';\r\nimport CurrencyInput from 'react-currency-input-field';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport moment from 'moment';\r\nimport Select from 'react-select';\r\nimport './../../boxicons.css';\r\nimport MaterialReactTable from 'material-react-table';\r\nimport { MRT_Localization_RU } from 'material-react-table/locales/ru';\r\nimport StatusConnect01 from \"../../img/image_connect/StatusConnect-01.png\";\r\nimport StatusConnect02 from \"../../img/image_connect/StatusConnect-02.png\";\r\nimport StatusConnect03 from \"../../img/image_connect/StatusConnect-03.png\";\r\nimport StatusConnect04 from \"../../img/image_connect/StatusConnect-04.png\";\r\nimport StatusConnect05 from \"../../img/image_connect/StatusConnect-05.png\";\r\nimport StatusConnect06 from \"../../img/image_connect/StatusConnect-06.png\";\r\nimport StatusConnect07 from \"../../img/image_connect/StatusConnect-07.png\";\r\nimport StatusConnect08 from \"../../img/image_connect/StatusConnect-08.png\";\r\nimport StatusConnect09 from \"../../img/image_connect/StatusConnectEth3.png\";\r\nimport StatusConnect10 from \"../../img/image_connect/StatusConnect-10.png\";\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslateController } from '../../lang/controllers/translateController';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport {FormLocale} from '../../lang/form';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const Controllers = () => {\r\n\r\n const router = useHistory();\r\n const { control, register, handleSubmit, setValue, reset, formState, formState: { errors }} = useForm();\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [currentActiveTab, setActiveTab] = useState('')\r\n const [showFormGroupAdd, setShowFormGroupAdd] = useState(false)\r\n const [countController, setCountController] = useState(0)\r\n const [listController, setListController] = useState({})\r\n const [listCompany, setListCompany] = useState([])\r\n const [listStation, setListStation] = useState([])\r\n const [listSection, setListSection] = useState([])\r\n const [listGroup, setListGroup] = useState([])\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [controllerBtn, setControllerBtn] = useState(false)\r\n const [showDeleteController, setShowDeleteController] = useState(false)\r\n const [controllerIdForDelete, setControllerIdForDelete] = useState(0)\r\n const [role, setRole] = useState(0)\r\n const translated = useLittera(TranslateController);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [textButtonController, setTextButtonController] = useState(translated.ActionWithControllers)\r\n const [permission, setPermission] = useState({\r\n read: false,\r\n create: false,\r\n fullAccess: false\r\n })\r\n const [controllerData, setControllerData] = useState({\r\n connectId:''\r\n })\r\n const [selectedItem, setSelectedItem] = useState({\r\n companies:''\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n button:false,\r\n grid:false\r\n })\r\n const handleShow = () => {\r\n setShowFormAdd(true)\r\n getStations()\r\n };\r\n const handleShowGroup = () => {\r\n setShowFormGroupAdd(true)\r\n getUserCompanies()\r\n }\r\n const handleClose = () => setShowFormAdd(false);\r\n const {isAuth} = useContext(AuthContext);\r\n\r\n const formatChars = {\r\n '*': '[A-Fa-f0-9]'\r\n };\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n getControllers()\r\n getGroups()\r\n }, [])\r\n \r\n const repeatGetConfig = data => {\r\n api.get('/api/controllers/repeat-get-config', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"id\":data\r\n },\r\n params:{\r\n id: data,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n \r\n displayToast(response.data.message, response.data.isSuccess)\r\n setListController(response.data.listDatas)\r\n setCountController(response.data.listDatas.length)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const onSubmit = (data) => {\r\n console.log(data)\r\n setLoadingData({button:true})\r\n api.post(\"/api/controllers/create\", {\r\n Name:data.Name,\r\n Login: data.Login,\r\n Password: data.Password,\r\n Address: data.Address,\r\n ConnectId: controllerData.connectId,\r\n StationId: data.Station.id,\r\n StationSections: data.Section,\r\n ControllerGroupId: data.Group == undefined ? 0 : data.Group.value\r\n })\r\n .then(function (response) {\r\n displayToast(response.data.message, response.data.isSuccess)\r\n setLoadingData({button:false})\r\n setListController(response.data.listDatas)\r\n setCountController(response.data.listDatas.length)\r\n reset({\r\n Name:'',\r\n ConnectId:''\r\n })\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setLoadingData({button:false})\r\n displayToast(error.response.data.message, error.response.data.isSuccess)\r\n });\r\n }\r\n\r\n const onSubmitGroup = (data) => {\r\n console.log(data)\r\n setLoadingData({button:true})\r\n api.post(\"/api/controllers/create-group\", {\r\n Name:data.Name,\r\n CompanyId: data.Company.id\r\n })\r\n .then(function (response) {\r\n displayToast(response.data.message, response.data.isSuccess)\r\n setLoadingData({button:false})\r\n reset({\r\n Name:'',\r\n })\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n const getUserCompanies = () => {\r\n api.get('/api/users/details/companies', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"user companies\")\r\n console.log(response.data)\r\n const addStation = response.data.listDatas.map(item => ({\r\n ...item,\r\n value: item.id,\r\n label: item.name\r\n }))\r\n setListCompany(addStation)\r\n\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getStationSections = data => {\r\n\r\n setValue(\"Station\", data)\r\n\r\n api.get(\"/api/stations/details/sections\", {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"StationId\": data.id\r\n },\r\n params:{\r\n StationId: data.id\r\n }\r\n })\r\n .then(function (response) {\r\n console.log('sections')\r\n \r\n displayToast(response.data.message, response.data.isSuccess)\r\n\r\n const addSection = response.data.listDatas.map(item => ({\r\n ...item,\r\n value: item.id,\r\n label: item.name\r\n }))\r\n\r\n setListSection(addSection)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n displayToast(error.response.data.message, error.response.data.isSuccess)\r\n });\r\n }\r\n\r\n const handleConnectId = (item) => {\r\n setControllerData({connectId: item.target.value})\r\n setValue(\"ConnectId\", controllerData.connectId)\r\n }\r\n\r\n const displayToast = (message, status) => {\r\n\r\n if(status){\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n \r\n } else {\r\n toast.error(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n \r\n }\r\n\r\n const getControllers = () => {\r\n setIsLoading(true)\r\n api.get('/api/controllers/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log('controllers')\r\n console.log(response)\r\n setPermission({\r\n read: response.data.read,\r\n create: response.data.create,\r\n fullAccess: response.data.fullAccess\r\n })\r\n setLoadingData({grid:false})\r\n setListController(response.data.listDatas)\r\n setCountController(response.data.listDatas.length)\r\n setRole(response.data.currentAuthUserRoleId)\r\n setIsLoading(false)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getStations = () => {\r\n api.get('/api/stations/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n const addStation = response.data.listDatas.map(item => ({\r\n ...item,\r\n value: item.id,\r\n label: item.name\r\n }))\r\n setListStation(addStation)\r\n\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const delete_controller = () => {\r\n api.post('/api/controllers/details/delete', {\r\n Id:controllerIdForDelete,\r\n withCredentials: true\r\n })\r\n .then(function (response) {\r\n displayToast(response.data.message, response.data.isSuccess)\r\n setLoadingData({button:false})\r\n setListController(response.data.listDatas)\r\n setCountController(response.data.listDatas.length)\r\n setShowDeleteController(false)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n const onDelete = (is_show, id) => {\r\n setShowDeleteController(is_show)\r\n setControllerIdForDelete(id)\r\n }\r\n\r\n const activeAutoRead = (text, active) => {\r\n console.log(active)\r\n setTextButtonController(text)\r\n setControllerBtn(true)\r\n api.post('/api/controllers/auto-read', {\r\n IsActive: active,\r\n withCredentials: true\r\n })\r\n .then(function (response) {\r\n \r\n displayToast(response.data.message, response.data.isSuccess)\r\n setControllerBtn(false)\r\n setListController(response.data.listDatas)\r\n setCountController(response.data.listDatas.length)\r\n setTextButtonController(translated.ActionWithControllers)\r\n setControllerBtn(false)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setControllerBtn(false)\r\n });\r\n }\r\n\r\n const columns = useMemo(\r\n () => [\r\n {\r\n accessorFn: (row) => row.firstConfigRead\r\n ?\r\n <>\r\n \r\n\r\n \r\n \r\n :\r\n ,\r\n accessorKey: 'button',\r\n header: translatedForm.Actions,\r\n },\r\n {\r\n accessorKey: 'name', //access nested data with dot notation\r\n header: translated.Name,\r\n },\r\n {\r\n accessorFn: (row) => row.connectId,\r\n id: 'connectId',\r\n size:300,\r\n header: translated.ID,\r\n },\r\n {\r\n accessorFn: (row) => row.firstConfigRead != null \r\n ? {translated.Readed} \r\n : {translated.NotReaded},\r\n accessorKey: 'firstConfigRead', //normal accessorKey\r\n header: translated.Settings,\r\n },\r\n {\r\n accessorFn: (row) => row.doScanning == 1 \r\n ? {translated.Enable} \r\n : {translated.Disable},\r\n accessorKey: 'doScanning',\r\n header: translated.AutoRead,\r\n },\r\n {\r\n accessorFn: (row) => row.firmwareVersionString != null && row.firmwareVersionString != \"\" ? row.firmwareVersionString : translated.Undefined,\r\n accessorKey: 'versionSoftware',\r\n header: translated.VersionSoftware,\r\n },\r\n {\r\n accessorFn: (row) => row.companyName != null && row.companyName != \"\" ? row.companyName : translated.Undefined,\r\n accessorKey: 'CompanyName',\r\n header: translated.Company,\r\n },\r\n {\r\n accessorFn: (row) => row.licenseStart != null ? moment(row.licenseStart).format(\"DD.MM.YYYY HH:mm\") : translated.Undefined,\r\n accessorKey: 'LicenseStart',\r\n header: translated.LicenseStart,\r\n },\r\n {\r\n accessorFn: (row) => row.licenseEnd != null ? moment(row.licenseEnd).format(\"DD.MM.YYYY HH:mm\") : translated.Undefined,\r\n accessorKey: 'LicenseEnd',\r\n header: translated.LicenseEnd,\r\n },\r\n {\r\n accessorFn: (row) => row.stationName,\r\n accessorKey: 'stationName',\r\n header: translated.Station,\r\n },\r\n {\r\n accessorFn: (row) => {\r\n\r\n if(row.statusConnect == -1 || row.statusConnect == -2 || row.statusConnect == -99 || row.statusConnect == -97 \r\n || row.statusConnect == -96 || row.statusConnect == -95 || row.statusConnect == -93)\r\n {\r\n return \r\n }\r\n\r\n if(row.statusConnect == -98) {\r\n return \r\n }\r\n\r\n if(row.statusConnect == -94) {\r\n return \r\n }\r\n\r\n if(row.statusConnect >= 0 && row.statusConnect <= 4) {\r\n return \r\n }\r\n\r\n if(row.statusConnect > 4 && row.statusConnect <= 9) {\r\n return \r\n }\r\n\r\n if(row.statusConnect > 9 && row.statusConnect <= 16) {\r\n return \r\n }\r\n\r\n if(row.statusConnect > 16 && row.statusConnect <= 21) {\r\n return \r\n }\r\n\r\n if(row.statusConnect > 21 && row.statusConnect <= 31) {\r\n return \r\n }\r\n\r\n if(row.statusConnect == 99) {\r\n return \r\n }\r\n\r\n if(row.statusConnect == 128 || row.statusConnect == 129) {\r\n return \r\n }\r\n\r\n },\r\n accessorKey: 'statusConnect',\r\n header: \"GSM\",\r\n },\r\n ],\r\n [],\r\n );\r\n\r\n const getGroups = () => {\r\n setIsLoading(true)\r\n api.get('/api/controllers/groups', {\r\n withCredentials:true\r\n })\r\n .then(function (response) { \r\n const group = response.data.listDatas.map(item => ({\r\n ...item,\r\n value: item.id,\r\n label: item.name\r\n }))\r\n setListGroup(group)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n {\r\n isLoading\r\n ? \r\n :\r\n <>\r\n
    \r\n

    \r\n {translated.ListController}\r\n {countController}\r\n

    \r\n {\r\n permission.create || permission.fullAccess\r\n ?\r\n
    \r\n \r\n handleShow()}>{translated.AddController}\r\n handleShowGroup()}>{translated.AddGroup}\r\n getControllers()}>{translated.UpdateList}\r\n {\r\n role == 1\r\n ?\r\n <>\r\n activeAutoRead(translated.EnableAutoRead, true)}>{translated.EnableAutoRead}\r\n activeAutoRead(translated.DisabledAutoRead, false)}>{translated.DisabledAutoRead}\r\n \r\n : null\r\n }\r\n \r\n
    \r\n : ''\r\n } \r\n
    \r\n
    \r\n
    \r\n
    \r\n {\r\n permission.read || permission.fullAccess\r\n ?\r\n setActiveTab(e.target.dataset.rrUiEventKey)} id=\"uncontrolled-tab-example\" className=\"nav-tabs-custom\">\r\n \r\n \r\n \r\n\r\n \r\n {\r\n currentActiveTab == \"controller-groups\"\r\n ? \r\n : ''\r\n }\r\n \r\n\r\n \r\n :\r\n \r\n {translated.PermissionDenied}\r\n \r\n }\r\n
    \r\n
    \r\n
    \r\n\r\n setShowDeleteController(false)}>\r\n \r\n {translated.DeleteController}\r\n \r\n \r\n
    \r\n
    \r\n

    {translated.TextDeleteController}

    \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 {translated.AddControllerTitle}\r\n \r\n \r\n
    \r\n \r\n\r\n \r\n {translated.MessageAfterAdd}\r\n \r\n\r\n
    \r\n\r\n \r\n {translated.Name} *\r\n \r\n {errors.Name && \r\n {errors.Name.message}\r\n }\r\n \r\n\r\n \r\n {translated.Login} *\r\n \r\n {errors.Login && \r\n {errors.Login.message}\r\n }\r\n \r\n\r\n \r\n {translated.Password} *\r\n \r\n {errors.Password && \r\n {errors.Password.message}\r\n }\r\n \r\n\r\n \r\n {translated.ID} *\r\n\r\n (\r\n \r\n )}\r\n />\r\n {errors.ConnectId && \r\n {errors.ConnectId.message}\r\n } \r\n\r\n \r\n\r\n \r\n {translated.Station} *\r\n \r\n (\r\n \r\n )}\r\n />\r\n {errors.Section && \r\n {errors.Section.message}\r\n } \r\n \r\n\r\n \r\n {translated.ListGroup}\r\n \r\n (\r\n {\r\n setValue(\"Company\", item)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Company && \r\n {errors.Company.message}\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","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAKCAYAAACwoK7bAAABN2lDQ1BBZG9iZSBSR0IgKDE5OTgpAAAokZWPv0rDUBSHvxtFxaFWCOLgcCdRUGzVwYxJW4ogWKtDkq1JQ5ViEm6uf/oQjm4dXNx9AidHwUHxCXwDxamDQ4QMBYvf9J3fORzOAaNi152GUYbzWKt205Gu58vZF2aYAoBOmKV2q3UAECdxxBjf7wiA10277jTG+38yH6ZKAyNguxtlIYgK0L/SqQYxBMygn2oQD4CpTto1EE9AqZf7G1AKcv8ASsr1fBBfgNlzPR+MOcAMcl8BTB1da4Bakg7UWe9Uy6plWdLuJkEkjweZjs4zuR+HiUoT1dFRF8jvA2AxH2w3HblWtay99X/+PRHX82Vun0cIQCw9F1lBeKEuf1UYO5PrYsdwGQ7vYXpUZLs3cLcBC7dFtlqF8hY8Dn8AwMZP/fNTP8gAAAAJcEhZcwAADsQAAA7EAZUrDhsAAATuaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGl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2MWJlYzEwYyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjE1YTkzZThhLTgzNjUtNDc0YS04OGY0LWY0OTY2MWJlYzEwYyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MTVhOTNlOGEtODM2NS00NzRhLTg4ZjQtZjQ5NjYxYmVjMTBjIiBzdEV2dDp3aGVuPSIyMDI0LTA0LTI2VDE0OjU4OjQ1KzA0OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgMjIuNSAoV2luZG93cykiLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+dL3cBgAAAKlJREFUKJG9kD0KwkAQhb8JUwQbIWVu4A08TApvYGe2E7vVzht4G49gbWMp2FgtbJrNEtb8QERfM8t7s8PjExW7AjZ86hLmUHYH9sDBefMGULGL1suAJbDr+dxVGXbKjpcHL+/ztHWcN/XA0VrFFkAFbJ03z9CuGGuSTTSdrdhYxR6TLLKb0FnFPsI7ovp94xHGU0q5V/Anxuskezlvbl8fBq5JdgLm4qEBjmwqVgxSNkcAAAAASUVORK5CYII=\"","import React, { useContext, useEffect, useState } from 'react';\nimport CatalogSingle from '../single';\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\nimport { CurrentSelectLanguage } from '../../../helpers/language';\nimport { FormLocale } from '../../../lang/form';\nimport { TranslateFuel } from '../../../lang/catalogs/translateFuel';\n\nexport const Fuel = () => {\n\n const FUEL_VALUES_URL = \"api/fuels/all\"\n const FUEL_VALUES_CREATE = \"api/fuels/create\"\n const FUEL_VALUES_UPDATE = \"api/fuels/update\"\n const FUEL_VALUES_FIND = \"api/fuels/find\"\n const translated = useLittera(TranslateFuel)\n const translatedForm = useLittera(FormLocale);\n const methods = useLitteraMethods();\n\n useEffect(() => {\n methods.setLocale(CurrentSelectLanguage);\n }, [])\n\n const single = {\n all_url: FUEL_VALUES_URL,\n create_url: FUEL_VALUES_CREATE,\n update_url: FUEL_VALUES_UPDATE,\n find_url: FUEL_VALUES_FIND,\n name: translated.FuelType\n }\n\n return (\n <>\n \n \n )\n}","import React, { useContext, useEffect, useState } from 'react';\nimport CatalogSingle from '../single';\n\nexport const TypeLimit = () => {\n\n const FUEL_VALUES_URL = \"api/type-limits/all\"\n const FUEL_VALUES_CREATE = \"api/type-limits/create\"\n \n const data = {\n all_url: FUEL_VALUES_URL,\n create_url: FUEL_VALUES_CREATE,\n name: \"Виды лимитов\"\n }\n\n return (\n <>\n \n \n )\n}","import React, { useContext, useEffect, useState } from 'react';\nimport CatalogSingle from '../single';\n\nexport const TypeAuth = () => {\n\n const TYPE_AUTH_VALUES_URL = \"api/type-auths/all\"\n const TYPE_AUTH_VALUES_CREATE = \"api/type-auths/create\"\n \n const data = {\n all_url: TYPE_AUTH_VALUES_URL,\n create_url: TYPE_AUTH_VALUES_CREATE,\n name: \"Типы авторизации\"\n }\n\n return (\n <>\n \n \n )\n}","import React, { useState, useEffect, useContext, useMemo, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, Form, Spinner, Alert, ProgressBar, Modal} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller, useWatch} from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport MaterialReactTable from 'material-react-table';\r\nimport { MRT_Localization_RU } from 'material-react-table/locales/ru';\r\nimport './../../boxicons.css';\r\nimport CurrencyInput from 'react-currency-input-field';\r\nimport Flatpickr from \"react-flatpickr\";\r\nimport \"flatpickr/dist/themes/light.css\";\r\nimport { Russian } from \"flatpickr/dist/l10n/ru.js\"\r\nimport moment from 'moment/moment';\r\nimport { MenuItem } from '@mui/material';\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslatePouring } from '../../lang/pourings/translatePouring';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport {FormLocale} from '../../lang/form';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const Pouring = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const { control, register, handleSubmit, reset, setValue, getValues, watch, formState, formState: { errors }} = useForm();\r\n const [startLevel, setStartLevel] = useState(0)\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [countGsm, setCountGsm] = useState(0)\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [listPourings, setListPourings] = useState([])\r\n const [listStation, setListStation] = useState([])\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [listSections, setListSections] = useState([])\r\n const [btnIsUpdate, setBtnIsUpdate] = useState(false)\r\n const [issetLevelMeter, setIssetLevelMeter] = useState(false)\r\n const [sectionIsSelected, setSectionIsSelected] = useState(false)\r\n const [modalShow, setModalShow] = useState(false)\r\n const [startDateTime, setStartDateTime] = useState(new Date())\r\n const [sectionData, setSectionData] = useState({})\r\n const [endDateTime, setEndDateTime] = useState(new Date())\r\n const [invoiceDate, setInvoiceDate] = useState(new Date())\r\n const [deltaVolume, setDeltaVolume] = useState(0)\r\n const [deltaMass, setDeltaMass] = useState(0)\r\n const [deltaLevel, setDeltaLevel] = useState(0)\r\n const [deltaTemperatur, setDeltaTemperatur] = useState(0)\r\n const [deltaDensity, setDeltaDensity] = useState(0)\r\n const [startMass, setStartMass] = useState(0)\r\n const [lmIndexOnController, setLmIndexOnController] = useState(0)\r\n const translated = useLittera(TranslatePouring);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [loadingLevelMeterBtn, setLoadingLevelMeterBtn] = useState({\r\n start:false,\r\n end:false\r\n })\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedStation, setSelectedStation] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedSection, setSelectedSection] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n grid:false,\r\n button:false\r\n });\r\n\r\n const handleShow = () => {\r\n\r\n setModalShow(true)\r\n setSectionIsSelected(false)\r\n setBtnIsUpdate(false)\r\n\r\n setValue(\"InvoiceDate\", invoiceDate)\r\n setValue(\"StartDateTime\", startDateTime)\r\n setValue(\"EndDateTime\", endDateTime)\r\n\r\n setDeltaVolume(0)\r\n setDeltaTemperatur(0)\r\n setDeltaMass(0)\r\n setDeltaLevel(0)\r\n setDeltaDensity(0)\r\n setStartMass(0)\r\n\r\n reset({\r\n \"Price\":0,\r\n \"InvoiceNumber\": 0,\r\n \"InvoiceVolume\": 0,\r\n \"InvoiceDensity\": 0,\r\n \"InvoiceTemperature\": 0,\r\n \"InvoiceMass\": 0,\r\n\r\n \"StartLevel\": 0,\r\n \"StartVolume\": 0,\r\n \"StartDensity\": 0,\r\n \"StartTemperature\": 0,\r\n \"StartMass\":0,\r\n\r\n \"EndLevel\": 0,\r\n \"EndVolume\": 0,\r\n \"EndDensity\": 0,\r\n \"EndTemperature\": 0,\r\n \"EndMass\":0,\r\n\r\n \"TankTruckVolume\": 0,\r\n \"TankTruckDensity\": 0,\r\n \r\n \"Company\": \"\",\r\n \"Station\": \"\",\r\n \"Section\": \"\"\r\n })\r\n };\r\n\r\n const pourings = () => {\r\n api.get('/api/pourings/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"pourings\")\r\n \r\n setListPourings(response.data.listDatas)\r\n setCountGsm(response.data.listDatas.length)\r\n setPermission({\r\n read: response.data.read,\r\n create: response.data.create,\r\n fullAccess: response.data.fullAccess\r\n })\r\n setIsLoading(false)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const handleClose = () => setShowFormAdd(false);\r\n\r\n const getLevelMeterData = (is_start) => {\r\n \r\n if(is_start) {\r\n setLoadingLevelMeterBtn({start:true})\r\n } else {\r\n setLoadingLevelMeterBtn({end:true})\r\n }\r\n api.get('/api/controllers/details/level-meters/group-get-level-meter', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"controllerId\":sectionData.levelMeterControllerId\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"level meter controller\")\r\n \r\n\r\n if(response.data.listDatas.length != 0) {\r\n\r\n if(is_start) {\r\n\r\n if(response.data.listDatas[lmIndexOnController].controllerTypeId == 3) \r\n { \r\n setValue(\"StartLevel\", response.data.listDatas[lmIndexOnController].level)\r\n setValue(\"StartVolume\", response.data.listDatas[lmIndexOnController].allVolume)\r\n setValue(\"StartDensity\", response.data.listDatas[lmIndexOnController].density)\r\n setValue(\"StartTemperature\", response.data.listDatas[lmIndexOnController].temperature)\r\n setStartMass((response.data.listDatas[lmIndexOnController].allVolume) * (response.data.listDatas[lmIndexOnController].density) / 1000) \r\n } \r\n else \r\n { \r\n setValue(\"StartLevel\", response.data.listDatas[lmIndexOnController].level.data * 100)\r\n setValue(\"StartVolume\", response.data.listDatas[lmIndexOnController].all_volume.data * 1000)\r\n setValue(\"StartDensity\", response.data.listDatas[lmIndexOnController].density.data * 1000)\r\n setValue(\"StartTemperature\", response.data.listDatas[lmIndexOnController].temperature.data)\r\n setStartMass((response.data.listDatas[lmIndexOnController].all_volume.data * 1000) * (response.data.listDatas[lmIndexOnController].density.data * 1000) / 1000)\r\n }\r\n\r\n } else {\r\n\r\n if(response.data.listDatas[lmIndexOnController].controllerTypeId == 3) \r\n {\r\n setValue(\"EndLevel\", response.data.listDatas[lmIndexOnController].level)\r\n setValue(\"EndVolume\", response.data.listDatas[lmIndexOnController].allVolume)\r\n setValue(\"EndDensity\", response.data.listDatas[lmIndexOnController].density)\r\n setValue(\"EndTemperature\", response.data.listDatas[lmIndexOnController].temperature)\r\n setValue(\"EndMass\", ((response.data.listDatas[lmIndexOnController].allVolume) * (response.data.listDatas[lmIndexOnController].density) / 1000))\r\n\r\n } \r\n else \r\n {\r\n setValue(\"EndLevel\", response.data.listDatas[lmIndexOnController].level.data * 100)\r\n setValue(\"EndVolume\", response.data.listDatas[lmIndexOnController].all_volume.data * 1000)\r\n setValue(\"EndDensity\", response.data.listDatas[lmIndexOnController].density.data * 1000)\r\n setValue(\"EndTemperature\", response.data.listDatas[lmIndexOnController].temperature.data)\r\n setValue(\"EndMass\", ((response.data.listDatas[lmIndexOnController].all_volume.data * 1000) * (response.data.listDatas[lmIndexOnController].density.data * 1000) / 1000))\r\n }\r\n }\r\n\r\n let endMass = getValues(\"EndMass\")\r\n setDeltaMass((endMass - startMass))\r\n\r\n let startLevel = getValues(\"StartLevel\")\r\n let endLevel = getValues(\"EndLevel\")\r\n setDeltaLevel((endLevel - startLevel))\r\n\r\n let endVolume = getValues(\"EndVolume\")\r\n let startVolume = getValues(\"StartVolume\")\r\n setDeltaVolume((endVolume - startVolume))\r\n\r\n let endTemp = getValues(\"EndTemperature\")\r\n let startTemp = getValues(\"StartTemperature\")\r\n setDeltaTemperatur((endTemp - startTemp))\r\n\r\n displayToast(translated.GetDataLevelMeterSuccess, true)\r\n } else {\r\n displayToast(translated.NotGetSections, false)\r\n }\r\n\r\n if(is_start) {\r\n setLoadingLevelMeterBtn({start:false})\r\n } else {\r\n setLoadingLevelMeterBtn({end:false})\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setLoadingLevelMeterBtn({end:false})\r\n setLoadingLevelMeterBtn({start:false})\r\n displayToast(error.response.data.message, false)\r\n });\r\n }\r\n\r\n const getSectionData = (id) => {\r\n api.get('/api/stations/details/sections/details', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"Id\":id\r\n },\r\n params:{\r\n Id: id,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"section data\")\r\n console.log(response)\r\n setSectionData(response.data.dataResult)\r\n\r\n if(response.data.dataResult.levelMeterId != 0) {\r\n setIssetLevelMeter(true)\r\n setLmIndexOnController(response.data.dataResult.levelMeterOnController)\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"companies\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n\r\n setListCompanies(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getStations = companyId => {\r\n api.get('/api/company/details/stations', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":companyId\r\n },\r\n params:{\r\n companyId: companyId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"stations of company\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListStation(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getSections = stationId => {\r\n console.log(stationId)\r\n api.get('/api/stations/details/sections', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"StationId\":stationId\r\n },\r\n params:{\r\n StationId: stationId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"sections of station\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListSections(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const displayToast = (message, status) => {\r\n\r\n if(status){\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n \r\n } else {\r\n toast.error(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n }\r\n\r\n const handleUpdate = (id) => {\r\n api.get('/api/pourings/details', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"Id\":id\r\n },\r\n params:{\r\n Id: id,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"pouring details\")\r\n console.log(response.data) \r\n\r\n setValue(\"Company\", {label: response.data.dataResult.company.name, value:response.data.dataResult.company.id})\r\n setValue(\"Station\", {label: response.data.dataResult.station.name, value:response.data.dataResult.station.id})\r\n setValue(\"Section\", {label: response.data.dataResult.stationSection.name, value:response.data.dataResult.stationSection.id})\r\n \r\n getSectionData(response.data.dataResult.stationSection.id)\r\n setSectionIsSelected(true)\r\n setValue(\"Price\", response.data.dataResult.price)\r\n setValue(\"Id\", response.data.dataResult.id)\r\n //StationSectionId: selectedSection.value,\r\n\r\n setInvoiceDate(response.data.dataResult.invoiceDate)\r\n //setValue(\"InvoiceDate\", response.data.dataResult.invoiceDate)\r\n setValue(\"InvoiceNumber\", response.data.dataResult.invoiceNumber)\r\n setValue(\"InvoiceVolume\", response.data.dataResult.invoiceVolumeDec)\r\n setValue(\"InvoiceDensity\", response.data.dataResult.invoiceDensityDec)\r\n setValue(\"InvoiceTemperature\", response.data.dataResult.invoiceTemperatureDec)\r\n setValue(\"InvoiceMass\", response.data.dataResult.invoiceMassDec)\r\n\r\n setValue(\"StartLevel\", response.data.dataResult.startLevelDec)\r\n setValue(\"StartVolume\", response.data.dataResult.startVolumeDec)\r\n setValue(\"StartDensity\", response.data.dataResult.startDensityDec)\r\n setValue(\"StartTemperature\", response.data.dataResult.startTemperatureDec)\r\n setValue(\"StartDateTime\", response.data.dataResult.startDateTime)\r\n\r\n setValue(\"EndLevel\", response.data.dataResult.endLevelDec)\r\n setValue(\"EndVolume\", response.data.dataResult.endVolumeDec)\r\n setValue(\"EndDensity\", response.data.dataResult.endDensityDec)\r\n setValue(\"EndTemperature\", response.data.dataResult.endTemperatureDec)\r\n setValue(\"EndDateTime\", response.data.dataResult.endDateTime)\r\n\r\n setStartMass((response.data.dataResult.startVolumeDec) * (response.data.dataResult.startDensityDec) / 1000)\r\n setValue(\"EndMass\", ((response.data.dataResult.endVolumeDec) * (response.data.dataResult.endDensityDec) / 1000))\r\n\r\n setValue(\"TankTruckVolume\", response.data.dataResult.tankTruckVolume)\r\n setValue(\"TankTruckDensity\", response.data.dataResult.tankTruckDensity)\r\n\r\n setDeltaVolume(response.data.dataResult.factVolume)\r\n setDeltaTemperatur(response.data.dataResult.factTemperature)\r\n setDeltaMass(response.data.dataResult.factKg)\r\n setDeltaLevel(response.data.dataResult.factLitre)\r\n setDeltaDensity(response.data.dataResult.factDensity)\r\n\r\n setModalShow(true)\r\n setBtnIsUpdate(true)\r\n \r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const onSubmit = data => { \r\n\r\n console.log(data)\r\n let link = btnIsUpdate ? \"/api/pourings/details/update\" : \"/api/pourings/create\"\r\n setLoadingData({button: true})\r\n api.post(link, {\r\n Id: btnIsUpdate ? data.Id : 0,\r\n Price: data.Price,\r\n StationSectionId: selectedSection.value,\r\n\r\n InvoiceDate: invoiceDate,\r\n InvoiceNumber: data.InvoiceNumber,\r\n InvoiceVolume: data.InvoiceVolume,\r\n InvoiceDensity: data.InvoiceDensity,\r\n InvoiceTemperature: data.InvoiceTemperature,\r\n InvoiceMass: data.InvoiceMass,\r\n\r\n StartLevel: data.StartLevel,\r\n StartVolume: data.StartVolume,\r\n StartDensity: data.StartDensity,\r\n StartTemperature: data.StartTemperature,\r\n StartDateTime: startDateTime,\r\n\r\n FactVolume: data.DeltaVolume,\r\n FactKg: data.DeltaMass,\r\n FactLitre: data.DeltaLevel,\r\n FactDensity: data.DeltaDensity,\r\n FactTemperature: data.DeltaTemperature,\r\n\r\n EndLevel: data.EndLevel,\r\n EndVolume: data.EndVolume,\r\n EndDensity: data.EndDensity,\r\n EndTemperature: data.EndTemperature,\r\n EndDateTime: endDateTime,\r\n\r\n TankTruckVolume: data.TankTruckVolume,\r\n TankTruckDensity: data.TankTruckDensity\r\n })\r\n .then(function (response) {\r\n console.log(\"response create pourings\")\r\n \r\n displayToast(response.data.message, response.data.isSuccess)\r\n pourings()\r\n setLoadingData({button: false})\r\n setModalShow(false)\r\n reset({\r\n \"Price\":0,\r\n \"InvoiceNumber\": 0,\r\n \"InvoiceVolume\": 0,\r\n \"InvoiceDensity\": 0,\r\n \"InvoiceTemperature\": 0,\r\n \"InvoiceMass\": 0,\r\n\r\n \"StartLevel\": 0,\r\n \"StartVolume\": 0,\r\n \"StartDensity\": 0,\r\n \"StartTemperature\": 0,\r\n\r\n \"FactVolume\": 0,\r\n \"FactKg\": 0,\r\n \"FactLitre\": 0,\r\n \"FactVolume\": 0,\r\n \"FactTemperature\": 0,\r\n\r\n \"EndLevel\": 0,\r\n \"EndVolume\": 0,\r\n \"EndDensity\": 0,\r\n \"EndTemperature\": 0,\r\n\r\n \"TankTruckVolume\": 0,\r\n \"TankTruckDensity\": 0\r\n })\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n displayToast(error.response.data.errors[0].errorMessage, error.response.data.isSuccess)\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n const deletePouring = id => {\r\n api.post('/api/pourings/details/delete', {\r\n Id: id,\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"response create pourings\")\r\n \r\n displayToast(response.data.message, response.data.isSuccess)\r\n pourings()\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n useEffect(() => {\r\n \r\n methods.setLocale(CurrentSelectLanguage);\r\n setIsLoading(true)\r\n pourings()\r\n getCompanies()\r\n }, []);\r\n\r\n const columns = useMemo(\r\n () => [\r\n {\r\n accessorFn: (row) => row.sectionName,\r\n accessorKey: 'sectionName',\r\n header: translated.Section,\r\n },\r\n {\r\n accessorFn: (row) => translated.FuelIntake,\r\n accessorKey: 'operation',\r\n header: translated.Operation,\r\n },\r\n {\r\n accessorFn: (row) => row.price,\r\n accessorKey: 'price',\r\n header: translated.PricePerLiter,\r\n },\r\n {\r\n accessorFn: (row) => row.factVolume,\r\n accessorKey: 'factVolume',\r\n header: translated.ActualArrival,\r\n },\r\n {\r\n accessorFn: (row) => row.invoiceVolume,\r\n accessorKey: 'factInvoice',\r\n header: translated.ArrivalInvoice,\r\n },\r\n {\r\n accessorFn: (row) => moment(row.dateTimeOperation).format(\"DD.MM.YYYY HH:mm\"),\r\n accessorKey: 'dateOperation',\r\n header: translated.OperationDate,\r\n },\r\n {\r\n accessorFn: (row) => moment(row.dateTimeCorrection).format(\"DD.MM.YYYY HH:mm\"),\r\n accessorKey: 'dateOperationUpdate',\r\n header: translated.ChangeDate,\r\n },\r\n {\r\n accessorFn: (row) => row.userName,\r\n accessorKey: 'userName',\r\n header: translated.User,\r\n },\r\n {\r\n accessorFn: (row) => row.arrivalReady === 1 ? translated.Yes : translated.No ,\r\n accessorKey: 'full',\r\n header: translated.FullAdmission,\r\n },\r\n {\r\n accessorFn: (row) => row.operationLocation == 1 ? translated.Controller: translated.benzamat ,\r\n accessorKey: 'operationLocations',\r\n header: translated.EnterData,\r\n },\r\n ],\r\n [],\r\n );\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n {\r\n isLoading\r\n ? \r\n :\r\n <>\r\n\r\n
    \r\n

    \r\n {translated.FuelIntakeTitle}\r\n {countGsm}\r\n

    \r\n {\r\n permission.create || permission.fullAccess\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
    \r\n {\r\n permission.read || permission.fullAccess\r\n ?\r\n [\r\n \r\n handleUpdate(row.original.id)}>\r\n {translated.Edit}\r\n ,\r\n\r\n deletePouring(row.original.id)}>\r\n {translated.Delete}\r\n ,\r\n ]}\r\n muiTablePaperProps={{\r\n elevation: 1,\r\n }}\r\n muiTableHeadCellProps={{\r\n //simple styling with the `sx` prop, works just like a style prop in this example\r\n sx: {\r\n fontWeight: 'bold',\r\n color:\"#000\",\r\n backgroundColor:'#F3F3F3',\r\n fontFamily: 'BenzamatRegular',\r\n },\r\n }}\r\n muiTableBodyCellProps={{\r\n sx: {\r\n color:\"#000\",\r\n fontFamily: 'BenzamatRegular',\r\n },\r\n }}\r\n />\r\n :\r\n \r\n {translated.PermissionDenied}\r\n \r\n }\r\n
    \r\n
    \r\n
    \r\n \r\n setModalShow(false)}\r\n aria-labelledby=\"example-modal-sizes-title-lg\"\r\n dialogClassName=\"modal-90w\"\r\n >\r\n \r\n \r\n {translated.FuelInflow}\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {translated.Company} *\r\n (\r\n {\r\n getStations(item.id)\r\n setSelectedCompany({label:item.label, value:item.value})\r\n setValue(\"Company\", {label:item.label, value:item.value})\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Company && \r\n {errors.Company.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Station} *\r\n (\r\n {\r\n console.log(item)\r\n getSections(item.id)\r\n setSelectedStation({label:item.label, value:item.value})\r\n setValue(\"Station\", {label:item.label, value:item.value})\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Station && \r\n {errors.Station.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Section} *\r\n (\r\n \r\n \r\n {translated.InvoiceNumber}\r\n \r\n \r\n {translated.Number} *\r\n \r\n {errors.InvoiceNumber && \r\n {errors.InvoiceNumber.message}\r\n }\r\n \r\n\r\n \r\n {translated.Volume} *\r\n (\r\n {\r\n setValue(\"InvoiceVolume\", value)\r\n let volume = getValues(\"InvoiceDensity\")\r\n\r\n if(volume === undefined) {\r\n setValue(\"InvoiceDensity\", 0)\r\n setValue(\"InvoiceMass\", parseFloat(value) * parseFloat(0) / 1000)\r\n }\r\n\r\n if(value === undefined) {\r\n setValue(\"InvoiceVolume\", 0)\r\n setValue(\"InvoiceMass\", parseFloat(0) * parseFloat(volume) / 1000)\r\n }\r\n\r\n if(volume != undefined && value != undefined) {\r\n setValue(\"InvoiceMass\", parseFloat(value) * parseFloat(volume) / 1000)\r\n }\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.InvoiceVolume && \r\n {errors.InvoiceVolume.message}\r\n } \r\n \r\n\r\n \r\n {translated.Density} *\r\n (\r\n {\r\n setValue(\"InvoiceDensity\", value)\r\n let volume = getValues(\"InvoiceVolume\")\r\n \r\n if(volume === undefined) {\r\n setValue(\"InvoiceVolume\", 0)\r\n setValue(\"InvoiceMass\", parseFloat(value) * parseFloat(0) / 1000)\r\n }\r\n\r\n if(value === undefined) {\r\n setValue(\"InvoiceDensity\", 0)\r\n setValue(\"InvoiceMass\", parseFloat(0) * parseFloat(volume) / 1000)\r\n }\r\n\r\n if(volume != undefined && value != undefined) {\r\n setValue(\"InvoiceMass\", parseFloat(value) * parseFloat(volume) / 1000)\r\n }\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.InvoiceDensity && \r\n {errors.InvoiceDensity.message}\r\n } \r\n \r\n\r\n \r\n {translated.Temperature} *\r\n (\r\n setValue(\"InvoiceTemperature\", value)}\r\n />\r\n )}\r\n />\r\n {errors.InvoiceTemperature && \r\n {errors.InvoiceTemperature.message}\r\n } \r\n \r\n\r\n \r\n {translated.Mass}\r\n \r\n {errors.InvoiceMass && \r\n {errors.InvoiceMass.message}\r\n }\r\n \r\n\r\n \r\n {translated.Date} *\r\n (\r\n {\r\n setInvoiceDate(date)\r\n setValue(\"InvoiceDate\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.InvoiceDate && \r\n {errors.InvoiceDate.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n {translated.StartDrain}\r\n \r\n \r\n {translated.Level} *\r\n (\r\n {\r\n setValue(\"StartLevel\", value)\r\n let end = getValues(\"EndLevel\")\r\n\r\n if(value === undefined) {\r\n setValue(\"StartLevel\", 0)\r\n setValue(\"DeltaLevel\", parseFloat(end) - parseFloat(0))\r\n }\r\n\r\n if(end === undefined) {\r\n setValue(\"EndLevel\", 0)\r\n setValue(\"DeltaLevel\", parseFloat(0) - parseFloat(value))\r\n }\r\n\r\n if(end != undefined && value != undefined) {\r\n setValue(\"DeltaLevel\", parseFloat(end) - parseFloat(value))\r\n }\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartLevel && \r\n {errors.StartLevel.message}\r\n } \r\n \r\n\r\n \r\n {translated.Volume} *\r\n (\r\n {\r\n setValue(\"StartVolume\", value)\r\n let end = getValues(\"EndVolume\")\r\n \r\n if(value === undefined) {\r\n setValue(\"StartLevel\", 0)\r\n setValue(\"DeltaVolume\", parseFloat(end) - parseFloat(0))\r\n }\r\n\r\n if(end === undefined) {\r\n setValue(\"EndLevel\", 0)\r\n setValue(\"DeltaVolume\", parseFloat(0) - parseFloat(value))\r\n }\r\n\r\n if(end != undefined && value != undefined) {\r\n setValue(\"DeltaVolume\", parseFloat(end) - parseFloat(value))\r\n }\r\n\r\n if(value != undefined) {\r\n let density = getValues(\"StartDensity\")\r\n setValue(\"StartMass\", (parseFloat(density) * parseFloat(value)) / 1000)\r\n let endMass = getValues(\"EndMass\")\r\n let startMass = getValues(\"StartMass\")\r\n setValue(\"DeltaMass\", parseFloat(endMass) - parseFloat(startMass))\r\n }\r\n\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartVolume && \r\n {errors.StartVolume.message}\r\n }\r\n \r\n\r\n \r\n {translated.Density} *\r\n (\r\n {\r\n setValue(\"StartDensity\", value)\r\n let end = getValues(\"EndDensity\")\r\n\r\n if(value === undefined) {\r\n setValue(\"StartDensity\", 0)\r\n setValue(\"DeltaDensity\", parseFloat(end) - parseFloat(0))\r\n }\r\n\r\n if(end === undefined) {\r\n setValue(\"EndDensity\", 0)\r\n setValue(\"DeltaDensity\", parseFloat(0) - parseFloat(value))\r\n }\r\n\r\n if(end != undefined && value != undefined) {\r\n setValue(\"DeltaDensity\", parseFloat(end) - parseFloat(value))\r\n }\r\n\r\n if(value != undefined) {\r\n let volume = getValues(\"StartVolume\")\r\n setValue(\"StartMass\", (parseFloat(volume) * parseFloat(value)) / 1000)\r\n let endMass = getValues(\"EndMass\")\r\n let startMass = getValues(\"StartMass\")\r\n setValue(\"DeltaMass\", parseFloat(endMass) - parseFloat(startMass))\r\n }\r\n \r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartDensity && \r\n {errors.StartDensity.message}\r\n }\r\n \r\n\r\n \r\n {translated.Temperature} *\r\n (\r\n {\r\n setValue(\"StartTemperature\", value)\r\n let end = getValues(\"EndTemperature\")\r\n\r\n if(value === undefined) {\r\n setValue(\"StartTemperature\", 0)\r\n setValue(\"DeltaTemperature\", parseFloat(end) - parseFloat(0))\r\n }\r\n\r\n if(end === undefined) {\r\n setValue(\"EndTemperature\", 0)\r\n setValue(\"DeltaTemperature\", parseFloat(0) - parseFloat(value))\r\n }\r\n\r\n if(end != undefined && value != undefined) {\r\n setValue(\"DeltaTemperature\", parseFloat(end) - parseFloat(value))\r\n }\r\n\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartTemperature && \r\n {errors.StartTemperature.message}\r\n }\r\n \r\n\r\n \r\n {translated.Mass}\r\n \r\n {errors.StartMass && \r\n {errors.StartMass.message}\r\n }\r\n \r\n\r\n \r\n {translated.Date} *\r\n (\r\n {\r\n setStartDateTime(date)\r\n setValue(\"StartDateTime\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartDateTime && \r\n {errors.StartDateTime.message}\r\n }\r\n \r\n\r\n {\r\n issetLevelMeter\r\n ?\r\n \r\n \r\n \r\n : null\r\n }\r\n
    \r\n\r\n
    \r\n {translated.Variation}\r\n \r\n {translated.Level}\r\n \r\n {errors.DeltaLevel && \r\n {errors.DeltaLevel.message}\r\n }\r\n \r\n \r\n {translated.Volume}\r\n \r\n {errors.Description && \r\n {errors.Description.message}\r\n }\r\n \r\n \r\n {translated.Density}\r\n \r\n {errors.DeltaDensity && \r\n {errors.DeltaDensity.message}\r\n }\r\n \r\n \r\n {translated.Temperature}\r\n \r\n {errors.DeltaTemperature && \r\n {errors.DeltaTemperature.message}\r\n }\r\n \r\n \r\n {translated.Mass}\r\n \r\n {errors.Description && \r\n {errors.Description.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n {translated.EndDrain}\r\n \r\n {translated.Level} *\r\n (\r\n {\r\n setValue(\"EndLevel\", value)\r\n let start = getValues(\"StartLevel\")\r\n \r\n if(start === undefined) {\r\n setValue(\"StartLevel\", 0)\r\n setValue(\"DeltaLevel\", parseFloat(value) - parseFloat(0))\r\n }\r\n\r\n if(value === undefined) {\r\n setValue(\"EndLevel\", 0)\r\n setValue(\"DeltaLevel\", parseFloat(0) - parseFloat(start))\r\n }\r\n\r\n if(start != undefined && value != undefined) {\r\n setValue(\"DeltaLevel\", parseFloat(value) - parseFloat(start))\r\n }\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndLevel && \r\n {errors.EndLevel.message}\r\n }\r\n \r\n \r\n {translated.Volume} *\r\n (\r\n {\r\n setValue(\"EndVolume\", value)\r\n let start = getValues(\"StartVolume\")\r\n \r\n if(start === undefined) {\r\n setValue(\"StartLevel\", 0)\r\n setValue(\"DeltaVolume\", parseFloat(value) - parseFloat(0))\r\n }\r\n\r\n if(value === undefined) {\r\n setValue(\"EndLevel\", 0)\r\n setValue(\"DeltaVolume\", parseFloat(0) - parseFloat(start))\r\n }\r\n\r\n if(start != undefined && value != undefined) {\r\n setValue(\"DeltaVolume\", parseFloat(value) - parseFloat(start))\r\n }\r\n\r\n if(value != undefined) {\r\n let volume = getValues(\"EndDensity\")\r\n setValue(\"EndMass\", (parseFloat(volume) * parseFloat(value)) / 1000)\r\n let endMass = getValues(\"EndMass\")\r\n let startMass = getValues(\"StartMass\")\r\n setValue(\"DeltaMass\", parseFloat(endMass) - parseFloat(startMass))\r\n }\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndVolume && \r\n {errors.EndVolume.message}\r\n }\r\n \r\n \r\n {translated.Density} *\r\n (\r\n {\r\n setValue(\"EndDensity\", value)\r\n\r\n let start = getValues(\"StartDensity\")\r\n \r\n if(start === undefined) {\r\n setValue(\"StartDensity\", 0)\r\n setValue(\"DeltaDensity\", parseFloat(value) - parseFloat(0))\r\n }\r\n\r\n if(value === undefined) {\r\n setValue(\"EndDensity\", 0)\r\n setValue(\"DeltaDensity\", parseFloat(0) - parseFloat(start))\r\n }\r\n\r\n if(start != undefined && value != undefined) {\r\n setValue(\"DeltaDensity\", parseFloat(value) - parseFloat(start))\r\n }\r\n\r\n if(value != undefined) {\r\n let volume = getValues(\"EndVolume\")\r\n setValue(\"EndMass\", (parseFloat(volume) * parseFloat(value)) / 1000)\r\n let endMass = getValues(\"EndMass\")\r\n let startMass = getValues(\"StartMass\")\r\n setValue(\"DeltaMass\", parseFloat(endMass) - parseFloat(startMass))\r\n }\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndDensity && \r\n {errors.EndDensity.message}\r\n }\r\n \r\n \r\n {translated.Temperature} *\r\n (\r\n {\r\n setValue(\"EndTemperature\", value)\r\n let start = getValues(\"StartTemperature\")\r\n \r\n if(start === undefined) {\r\n setValue(\"StartTemperature\", 0)\r\n setValue(\"DeltaTemperature\", parseFloat(value) - parseFloat(0))\r\n }\r\n\r\n if(value === undefined) {\r\n setValue(\"EndTemperature\", 0)\r\n setValue(\"DeltaTemperature\", parseFloat(0) - parseFloat(start))\r\n }\r\n\r\n if(start != undefined && value != undefined) {\r\n setValue(\"DeltaTemperature\", parseFloat(value) - parseFloat(start))\r\n }\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndTemperature && \r\n {errors.EndTemperature.message}\r\n }\r\n \r\n \r\n {translated.Mass}\r\n \r\n {errors.EndMass && \r\n {errors.EndMass.message}\r\n }\r\n \r\n\r\n \r\n {translated.Date}*\r\n (\r\n {\r\n setEndDateTime(date)\r\n setValue(\"EndDateTime\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndDateTime && \r\n {errors.EndDateTime.message}\r\n }\r\n \r\n\r\n {\r\n issetLevelMeter\r\n ?\r\n \r\n \r\n \r\n : null\r\n }\r\n\r\n
    \r\n\r\n
    \r\n {translated.FuelTankTruck}\r\n \r\n {translated.MeasuredVolume}\r\n (\r\n setValue(\"TankTruckVolume\", value)}\r\n />\r\n )}\r\n />\r\n {errors.TankTruckVolume && \r\n {errors.TankTruckVolume.message}\r\n }\r\n \r\n \r\n {translated.MeasuredDensity}\r\n (\r\n setValue(\"TankTruckDensity\", value)}\r\n />\r\n )}\r\n />\r\n {errors.TankTruckDensity && \r\n {errors.TankTruckDensity.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n {translated.FuelCost}\r\n \r\n {translated.PricePerLiter}\r\n (\r\n setValue(\"Price\", value)}\r\n />\r\n )}\r\n />\r\n {errors.Price && \r\n {errors.Price.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n {translated.LevelGaging}\r\n
    \r\n\r\n
    \r\n \r\n {translated.StartDrain}\r\n \r\n {errors.Description && \r\n {errors.Description.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.EndDrain}\r\n \r\n {errors.Description && \r\n {errors.Description.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Variation}\r\n \r\n {errors.Description && \r\n {errors.Description.message}\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 {translated.MessageFuelInflow}\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","import React, { useState, useEffect, useContext, useMemo, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, Form, Spinner, Dropdown, Alert, ProgressBar, Modal} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller, useWatch} from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport MaterialReactTable from 'material-react-table';\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/ru';\r\nimport './../../boxicons.css';\r\nimport CurrencyInput from 'react-currency-input-field';\r\nimport Flatpickr from \"react-flatpickr\";\r\nimport \"flatpickr/dist/themes/light.css\";\r\nimport { Russian } from \"flatpickr/dist/l10n/ru.js\"\r\nimport moment from 'moment/moment';\r\nimport { MenuItem } from '@mui/material';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslatePouring } from '../../lang/pourings/translatePouring';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport {FormLocale} from '../../lang/form';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const PouringControllers = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const { control, register, handleSubmit, reset, setValue, getValues, watch, formState, formState: { errors }} = useForm();\r\n const [startLevel, setStartLevel] = useState(0)\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [countGsm, setCountGsm] = useState(0)\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [listPourings, setListPourings] = useState([])\r\n const [listStation, setListStation] = useState([])\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [listSections, setListSections] = useState([])\r\n const [issetLevelMeter, setIssetLevelMeter] = useState(false)\r\n const [sectionIsSelected, setSectionIsSelected] = useState(false)\r\n const [modalShow, setModalShow] = useState(false)\r\n const [startDateTime, setStartDateTime] = useState(new Date())\r\n const [sectionData, setSectionData] = useState({})\r\n const [endDateTime, setEndDateTime] = useState(new Date())\r\n const [invoiceDate, setInvoiceDate] = useState(new Date())\r\n const [deltaVolume, setDeltaVolume] = useState(0)\r\n const [deltaMass, setDeltaMass] = useState(0)\r\n const [deltaLevel, setDeltaLevel] = useState(0)\r\n const [deltaTemperatur, setDeltaTemperatur] = useState(0)\r\n const [deltaDensity, setDeltaDensity] = useState(0)\r\n const [startMass, setStartMass] = useState(0)\r\n const translated = useLittera(TranslatePouring);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [loadingLevelMeterBtn, setLoadingLevelMeterBtn] = useState({\r\n start:false,\r\n end:false\r\n })\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedStation, setSelectedStation] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedSection, setSelectedSection] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n grid:false,\r\n button:false\r\n });\r\n\r\n const handleShow = () => {\r\n setModalShow(true)\r\n getCompanies()\r\n \r\n setValue(\"InvoiceDate\", invoiceDate)\r\n setValue(\"InvoiceMass\", 0)\r\n setValue(\"StartDateTime\", startDateTime)\r\n setValue(\"EndDateTime\", endDateTime)\r\n\r\n setValue(\"StartLevel\", 0)\r\n setValue(\"EndLevel\", 0)\r\n setValue(\"DeltaLevel\", 0)\r\n\r\n setValue(\"StartVolume\", 0)\r\n setValue(\"EndVolume\", 0)\r\n setValue(\"DeltaVolume\", 0)\r\n\r\n setValue(\"StartTemperature\", 0)\r\n setValue(\"EndTemperature\", 0)\r\n setValue(\"DeltaTemperature\", 0)\r\n\r\n setValue(\"StartDensity\", 0)\r\n setValue(\"EndDensity\", 0)\r\n setValue(\"DeltaDensity\", 0)\r\n\r\n setValue(\"StartMass\", 0)\r\n setValue(\"EndMass\", 0)\r\n setValue(\"DeltaMass\", 0)\r\n\r\n };\r\n\r\n const handleClose = () => setShowFormAdd(false);\r\n\r\n const getSectionData = (id) => {\r\n api.get('/api/stations/details/sections/details', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"Id\":id\r\n },\r\n params:{\r\n Id: id,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"section data\")\r\n \r\n setSectionData(response.data.dataResult)\r\n\r\n if(response.data.dataResult.levelMeter != null) {\r\n setIssetLevelMeter(true)\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"companies\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n\r\n setListCompanies(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getStations = companyId => {\r\n api.get('/api/company/details/stations', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":companyId\r\n },\r\n params:{\r\n companyId: companyId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"stations of company\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListStation(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getSections = stationId => {\r\n console.log(stationId)\r\n api.get('/api/stations/details/sections', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"StationId\":stationId\r\n },\r\n params:{\r\n StationId: stationId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"sections of station\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListSections(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const displayToast = (message, status) => {\r\n\r\n if(status){\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n \r\n } else {\r\n toast.error(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n }\r\n\r\n const handleUpdate = (id) => {\r\n api.get('/api/pourings/details', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"Id\":id\r\n },\r\n params:{\r\n Id: id,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"pouring details\")\r\n \r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const onSubmit = data => { \r\n\r\n setLoadingData({button: true})\r\n api.post('/api/pourings/create', {\r\n Price: data.Price,\r\n StationSectionId: selectedSection.value,\r\n\r\n InvoiceDate: data.InvoiceDate,\r\n InvoiceNumber: data.InvoiceNumber,\r\n InvoiceVolume: data.InvoiceVolume,\r\n InvoiceDensity: data.InvoiceDensity,\r\n InvoiceTemperature: data.InvoiceTemperature,\r\n InvoiceMass: data.InvoiceMass,\r\n\r\n StartLevel: data.StartLevel,\r\n StartVolume: data.StartVolume,\r\n StartDensity: data.StartDensity,\r\n StartTemperature: data.StartTemperature,\r\n StartDateTime: data.StartDateTime,\r\n\r\n EndLevel: data.EndLevel,\r\n EndVolume: data.EndVolume,\r\n EndDensity: data.EndDensity,\r\n EndTemperature: data.EndTemperature,\r\n EndDateTime: data.EndDateTime,\r\n\r\n TankTruckVolume: data.TankTruckVolume,\r\n TankTruckDensity: data.TankTruckDensity\r\n })\r\n .then(function (response) {\r\n console.log(\"response create pourings\")\r\n \r\n displayToast(response.data.message, response.data.isSuccess)\r\n setListPourings(response.data.listDatas)\r\n setCountGsm(response.data.listDatas.length)\r\n setLoadingData({button: false})\r\n setModalShow(false)\r\n reset({\r\n \"Price\":0,\r\n \"InvoiceNumber\": 0,\r\n \"InvoiceVolume\": 0,\r\n \"InvoiceDensity\": 0,\r\n \"InvoiceTemperature\": 0,\r\n \"InvoiceMass\": 0,\r\n\r\n \"StartLevel\": 0,\r\n \"StartVolume\": 0,\r\n \"StartDensity\": 0,\r\n \"StartTemperature\": 0,\r\n\r\n \"EndLevel\": 0,\r\n \"EndVolume\": 0,\r\n \"EndDensity\": 0,\r\n \"EndTemperature\": 0,\r\n\r\n \"TankTruckVolume\": 0,\r\n \"TankTruckDensity\": 0\r\n })\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n const controllerPourings = () => {\r\n api.get('/api/pourings/controllers', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"pourings\")\r\n \r\n setListPourings(response.data.listDatas)\r\n setCountGsm(response.data.listDatas.length)\r\n setPermission({\r\n read: response.data.read,\r\n create: response.data.create,\r\n fullAccess: response.data.fullAccess\r\n })\r\n setIsLoading(false)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const fix = id => {\r\n api.post('/api/pourings/controllers/fix', {\r\n Id: id,\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"response create pourings\")\r\n \r\n displayToast(response.data.message, response.data.isSuccess)\r\n controllerPourings()\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n const deletePouring = id => {\r\n api.post('/api/pourings/details/delete', {\r\n Id: id,\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"response create pourings\")\r\n \r\n displayToast(response.data.message, response.data.isSuccess)\r\n controllerPourings()\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n setIsLoading(true)\r\n controllerPourings()\r\n }, []);\r\n\r\n const columns = useMemo(\r\n () => [\r\n {\r\n accessorFn: (row) => row.sectionName,\r\n accessorKey: 'sectionName',\r\n header: 'Section',\r\n },\r\n {\r\n accessorFn: (row) => \"Приход топлива\",\r\n accessorKey: 'operation',\r\n header: 'Operation',\r\n },\r\n {\r\n accessorFn: (row) => row.price,\r\n accessorKey: 'price',\r\n header: 'Price per liter',\r\n },\r\n {\r\n accessorFn: (row) => row.factKg,\r\n accessorKey: 'factVolume',\r\n header: 'Actual arrival',\r\n },\r\n {\r\n accessorFn: (row) => row.invoiceVolume,\r\n accessorKey: 'factInvoice',\r\n header: 'Actual invoice',\r\n },\r\n {\r\n accessorFn: (row) => moment(row.dateTimeOperation).format(\"DD.MM.YYYY HH:mm\"),\r\n accessorKey: 'dateOperation',\r\n header: 'Operation date',\r\n },\r\n {\r\n accessorFn: (row) => moment(row.dateTimeCorrection).format(\"DD.MM.YYYY HH:mm\"),\r\n accessorKey: 'dateOperationUpdate',\r\n header: 'Change date',\r\n },\r\n {\r\n accessorFn: (row) => row.userName,\r\n accessorKey: 'userName',\r\n header: 'User',\r\n },\r\n {\r\n accessorFn: (row) => row.arrivalReady === 1 ? \"Да\" : \"Нет\" ,\r\n accessorKey: 'full',\r\n header: 'Date',\r\n },\r\n ],\r\n [],\r\n );\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n {\r\n isLoading\r\n ? \r\n :\r\n <>\r\n\r\n
    \r\n

    \r\n {translated.FuelReceiptController}\r\n {countGsm}\r\n

    \r\n
    \r\n\r\n
    \r\n\r\n
    \r\n
    \r\n {\r\n permission.read || permission.fullAccess\r\n ?\r\n [\r\n \r\n fix(row.original.id)}>\r\n Зафиксировать\r\n ,\r\n \r\n console.info(row.id)}>\r\n Изменить\r\n ,\r\n\r\n deletePouring(row.original.id)}>\r\n Удалить\r\n ,\r\n ]}\r\n muiTablePaperProps={{\r\n elevation: 1,\r\n }}\r\n muiTableHeadCellProps={{\r\n //simple styling with the `sx` prop, works just like a style prop in this example\r\n sx: {\r\n fontWeight: 'bold',\r\n color:\"#000\",\r\n backgroundColor:'#F3F3F3',\r\n fontFamily: 'BenzamatRegular',\r\n },\r\n }}\r\n muiTableBodyCellProps={{\r\n sx: {\r\n color:\"#000\",\r\n fontFamily: 'BenzamatRegular',\r\n },\r\n }}\r\n />\r\n :\r\n {translated.AccessDenied}\r\n }\r\n
    \r\n
    \r\n
    \r\n \r\n setModalShow(false)}\r\n aria-labelledby=\"example-modal-sizes-title-lg\"\r\n dialogClassName=\"modal-90w\"\r\n >\r\n \r\n \r\n {translated.TitleFuelIntake}\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n Компаниия *\r\n (\r\n {\r\n getStations(item.id)\r\n setSelectedCompany({label:item.label, value:item.value})\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Station && \r\n {errors.Station.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Station} *\r\n (\r\n {\r\n console.log(item)\r\n getSections(item.id)\r\n setSelectedStation({label:item.label, value:item.value})\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Station && \r\n {errors.Station.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Section} *\r\n (\r\n \n \n\n \n {translated.Read} *\n (\n {\n setSelectedRead({label:item.label, value:item.value})\n setValue(\"Read\", selectedRead)\n }}\n />\n )}\n />\n \n\n \n {translated.Create}\n (\n {\n setSelectedCreate({label:item.label, value:item.value})\n setValue(\"Create\", selectedCreate)\n }}\n />\n )}\n />\n \n\n \n {translated.Update}\n (\n {\n setSelectedUpdate({label:item.label, value:item.value})\n setValue(\"Update\", selectedUpdate)\n }}\n />\n )}\n />\n \n\n \n {translated.Blocking}\n (\n {\n setSelectedDelete({label:item.label, value:item.value})\n setValue(\"Delete\", selectedDelete)\n }}\n />\n )}\n />\n \n\n \n {translated.Fullaccess}\n (\n {\n setSelectedFull({label:item.label, value:item.value})\n setValue(\"FullAccess\", selectedFull)\n }}\n />\n )}\n />\n \n\n
    \n \n
    \n \n \n\n \n \n \n :\n \n );\n}","import React, { useState, useEffect, useMemo, useContext, Redirect } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { Button, Offcanvas, FloatingLabel, Form, Nav, Tabs, Tab, Spinner, DropdownButton, Badge, Dropdown, Alert} from 'react-bootstrap';\nimport { AuthContext } from '../../context/AuthContext';\nimport { useForm, Controller} from 'react-hook-form';\nimport InputMask from 'react-input-mask';\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\nimport 'react-toastify/dist/ReactToastify.min.css';\nimport axios from 'axios';\nimport Select from 'react-select';\nimport './../../boxicons.css';\nimport MaterialReactTable from 'material-react-table';\nimport { MRT_Localization_RU } from 'material-react-table/locales/ru';\nimport moment from 'moment';\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\nimport { translations } from '../../lang/main';\nimport { CurrentSelectLanguage } from '../../helpers/language';\nimport {FormLocale} from '../../lang/form';\nimport api from '../../utils/axiosInterceptions';\n\nexport const Notifications = () => {\n \n const router = useHistory();\n const {isAuth} = useContext(AuthContext);\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\n const [countNotifications, setCountNotifications] = useState(0)\n const [listNotification, setListNotification] = useState([])\n const [show, showFormAdd] = useState(false)\n const [isLoading, setIsLoading] = useState(false)\n const translated = useLittera(translations);\n const translatedForm = useLittera(FormLocale);\n const methods = useLitteraMethods();\n\n const [loadingData, setLoadingData] = useState({\n button:false,\n });\n\n const getNotifications = () => {\n api.get('/api/notifications/all', {\n withCrenditials:true\n })\n .then(function(response){\n \n setListNotification(response.data.listDatas)\n setCountNotifications(response.data.listDatas.length)\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n const getNotification = (id) => {\n console.log(id)\n api.get('/api/notifications/details', {\n headers:{\n \"content-type\" : \"application/json\",\n \"Id\":id\n },\n params:{\n Id: id,\n },\n withCrenditials:true\n })\n .then(function(response){\n \n showFormAdd(true)\n setValue(\"Header\", response.data.dataResult.header)\n setValue(\"Message\", response.data.dataResult.message)\n setValue(\"Id\", response.data.dataResult.id)\n })\n .catch(function (error) {\n console.log(error);\n });\n }\n\n const displayToast = (message, status) => {\n\n if(status){\n toast.success(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n \n } else {\n toast.error(message, {\n position: \"top-left\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n theme:\"dark\"\n });\n }\n }\n\n useEffect(() => {\n methods.setLocale(CurrentSelectLanguage);\n getNotifications()\n }, [])\n\n const onSubmit = (data) => {\n console.log(data)\n setLoadingData({button:true})\n api.post('/api/notifications/details/update', {\n Id: data.Id,\n withCrenditials:true\n })\n .then(function (response) {\n \n setLoadingData({button:false})\n displayToast(response.data.message, response.data.isSuccess);\n getNotifications()\n showFormAdd(false)\n })\n .catch(function (error) {\n console.log(error);\n setLoadingData({button:false})\n });\n }\n\n const columns = useMemo(\n () => [\n {\n accessorFn: (row) => row.header,\n id: 'header',\n header: translated.notification,\n },\n {\n accessorFn: (row) => moment(row.createdDate).format(\"DD.MM.YYYY\"),\n id: 'createdDate',\n header: translated.createDate,\n },\n {\n accessorFn: (row) => \n <>\n \n ,\n accessorKey: 'button',\n header: translatedForm.Actions,\n },\n ],\n [],\n );\n\n return (\n isAuth ?\n <> \n {\n isLoading\n ? \n :\n <>\n
    \n

    \n {translated.notifications}\n {countNotifications}\n

    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n showFormAdd(false)}>\n \n Детальная информация\n \n
    \n \n\n
    \n \n \n \n {translated.notification}\n \n \n\n \n {translated.message}\n \n \n \n
    \n \n
    \n \n
    \n\n
    \n
    \n \n }\n \n :\n \n );\n\n}\n\n","import React, { useState, useEffect, useMemo, useContext, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, Form, Card, Spinner, Alert, ProgressBar} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller} from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport moment from 'moment';\r\nimport Chart from \"react-apexcharts\";\r\nimport MaterialReactTable from 'material-react-table';\r\nimport { MRT_Localization_RU } from 'material-react-table/locales/ru';\r\nimport './../../boxicons.css';\r\nimport Flatpickr from \"react-flatpickr\";\r\nimport \"flatpickr/dist/themes/light.css\";\r\nimport { Russian } from \"flatpickr/dist/l10n/ru.js\"\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslateReport } from '../../lang/reports/translateReport';\r\nimport {TranslatePouring} from '../../lang/pourings/translatePouring';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport {FormLocale} from '../../lang/form';\r\nimport { Chart as ChartJS } from 'chart.js/auto'\r\nimport zoomPlugin from 'chartjs-plugin-zoom';\r\nimport {\r\n CategoryScale,\r\n LinearScale,\r\n PointElement,\r\n LineElement,\r\n Title,\r\n Tooltip,\r\n Filler,\r\n Legend,\r\n } from 'chart.js';\r\nimport { Line } from 'react-chartjs-2'\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const ReportLevelMeter = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [listStation, setListStation] = useState([])\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [listControllers, setListControllers] = useState([])\r\n const [listData, setListData] = useState([])\r\n const [countStations, setCountStations] = useState(0)\r\n const translated = useLittera(TranslateReport);\r\n const translatedPouring = useLittera(TranslatePouring);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [showDiagramm, setShowDiagramm] = useState(false)\r\n const [diagrammColumn, setDiagrammColumn] = useState({\r\n series:{\r\n labels: [],\r\n datasets: [],\r\n }\r\n })\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedStation, setSelectedStation] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n grid:false,\r\n button:false\r\n });\r\n \r\n const displayToast = (message, status, typeMessage) => {\r\n \r\n if(typeMessage == \"success\") {\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n } else {\r\n toast.info(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n }\r\n\r\n const columns = useMemo(\r\n () => [\r\n {\r\n accessorFn: (row) => moment(row.dateMeasure).format(\"DD.MM.YYYY HH:mm\"),\r\n accessorKey: 'date', //access nested data with dot notation\r\n header: translatedPouring.Date,\r\n },\r\n {\r\n accessorFn: (row) => row.indexOnController,\r\n accessorKey: 'levelMeterId',\r\n header: translatedPouring.LevelMeter,\r\n },\r\n {\r\n accessorFn: (row) => row.level,\r\n accessorKey: 'level',\r\n size:100,\r\n header: translatedPouring.Level,\r\n },\r\n {\r\n accessorFn: (row) => row.temperature,\r\n accessorKey: 'temperature',\r\n size:100,\r\n header: translatedPouring.Temperature,\r\n },\r\n {\r\n accessorFn: (row) => row.fill,\r\n accessorKey: 'fill',\r\n size:100,\r\n header: translatedPouring.Occupancy,\r\n },\r\n {\r\n accessorFn: (row) => row.allVolume,\r\n accessorKey: 'allVolume',\r\n size:100,\r\n header: translatedPouring.Volume,\r\n },\r\n {\r\n accessorFn: (row) => row.mass,\r\n accessorKey: 'mass',\r\n size:100,\r\n header: translatedPouring.Mass,\r\n },\r\n {\r\n accessorFn: (row) => row.density,\r\n accessorKey: 'density',\r\n size:100,\r\n header: translatedPouring.Density,\r\n },\r\n ],\r\n [],\r\n );\r\n\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"companies\")\r\n console.log(response.data.listDatas)\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n\r\n setListCompanies(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getStations = companyId => {\r\n api.get('/api/company/details/controllers', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":companyId\r\n },\r\n params:{\r\n companyId: companyId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"stations of company\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListControllers(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getControllers = stationId => {\r\n api.get('/api/stations/details/controllers', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"Id\":stationId\r\n },\r\n params:{\r\n Id: stationId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"controllers of station\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListControllers(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const onSubmit = data => {\r\n console.log(data)\r\n setLoadingData({button:true})\r\n api.get(\"/api/reports/level-meters\", {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"ControllerId\": data.ControllerId.id,\r\n \"EndPeriod\": data.EndPeriod.toISOString(),\r\n \"StartPeriod\": data.StartPeriod.toISOString()\r\n },\r\n params:{\r\n ControllerId: data.ControllerId.id,\r\n EndPeriod: data.EndPeriod.toISOString(),\r\n StartPeriod: data.StartPeriod.toISOString()\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"report level meters\")\r\n console.log(response.data.dataResult)\r\n setIsLoading(true)\r\n setPermission({\r\n read: response.data.read,\r\n fullAccess: response.data.fullAccess\r\n })\r\n setLoadingData({button:false})\r\n \r\n if(response.data.read)\r\n {\r\n setListData(response.data.dataResult.levelMeterJournal)\r\n displayToast(response.data.message, response.data.isSuccess, response.data.typeMessage)\r\n\r\n let array_labels = []\r\n let array_series = []\r\n let array_datataset = []\r\n let backgroundColor = [\r\n 'rgb(255, 99, 132)',\r\n 'rgb(54, 162, 235)',\r\n 'rgb(255, 205, 86)',\r\n 'rgb(100, 57, 0)',\r\n ]\r\n\r\n /*response.data.dataResult.chartDateLabels.map((item) => {\r\n array_labels.push(moment(item).format(\"DD.MM.YYYY HH:mm\")) \r\n })*/\r\n\r\n response.data.dataResult.levelMeterResults.map((item, index) => {\r\n console.log(item.data)\r\n let array_item_series = []\r\n item.data.map((i) => {\r\n array_item_series.push({\r\n x: i.dateMeasure,\r\n y: i.allVolume\r\n })\r\n //array_labels.push(moment(i.dateMeasure).format(\"DD.MM.YYYY HH:mm:ss\")) \r\n })\r\n\r\n let color = backgroundColor[index]\r\n\r\n array_datataset.push({\r\n label:++index,\r\n borderColor: color,\r\n backgroundColor: color,\r\n data: array_item_series, \r\n tension: 0.1,\r\n fill: false,\r\n })\r\n })\r\n\r\n console.log(\"dataset\")\r\n console.log(array_datataset)\r\n console.log(\"array label\")\r\n console.log(array_labels)\r\n \r\n setDiagrammColumn({\r\n series: {\r\n labels: array_labels,\r\n datasets: array_datataset,\r\n }\r\n })\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setIsLoading(true)\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n getCompanies()\r\n setValue(\"StartPeriod\", new Date())\r\n setValue(\"EndPeriod\", new Date())\r\n }, []);\r\n\r\n const options = {\r\n responsive: true,\r\n animation:false,\r\n parsing:false,\r\n plugins: {\r\n colors: {\r\n forceOverride: true\r\n },\r\n legend: {\r\n position: 'top',\r\n },\r\n },\r\n scales: {\r\n x: {\r\n ticks: {\r\n display: false //this will remove only the label\r\n }\r\n }\r\n },\r\n parsing: {\r\n xAxisKey: 'x',\r\n yAxisKey: 'y'\r\n }\r\n };\r\n\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n
    \r\n

    \r\n {translated.Analytics} - \r\n {translated.ReadingLevelMeter}\r\n \r\n

    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n {\r\n isLoading\r\n ?\r\n permission.read || permission.fullAccess\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 {translated.PermissionDenied}\r\n \r\n
    \r\n : \r\n
    \r\n {translated.DataNotLoad}\r\n
    \r\n }\r\n
    \r\n\r\n setShowFormAdd(false)}>\r\n \r\n \r\n {translated.FilterReport}\r\n \r\n \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {translated.Company}\r\n (\r\n {\r\n getStations(item.id)\r\n setSelectedCompany({label:item.label, value:item.value})\r\n setValue(\"ControllerId\", null)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Station && \r\n {errors.Station.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Controller}\r\n (\r\n {\r\n console.log(item)\r\n setValue(\"ControllerId\", item)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.ControllerId && \r\n {errors.ControllerId.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.StartDate}\r\n (\r\n {\r\n setValue(\"StartPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartPeriod && \r\n {errors.StartPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.EndDate}\r\n (\r\n {\r\n setValue(\"EndPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndPeriod && \r\n {errors.EndPeriod.message}\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","import React, { useState, useEffect, useContext, useMemo, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, Form, Card, Spinner, Alert, Table, ProgressBar} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller} from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport Chart from \"react-apexcharts\";\r\nimport moment from 'moment/moment';\r\nimport MaterialReactTable from 'material-react-table';\r\nimport { MRT_Localization_RU } from 'material-react-table/locales/ru';\r\nimport './../../boxicons.css';\r\nimport Flatpickr from \"react-flatpickr\";\r\nimport \"flatpickr/dist/themes/light.css\";\r\nimport { Russian } from \"flatpickr/dist/l10n/ru.js\"\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslateReport } from '../../lang/reports/translateReport';\r\nimport {TranslatePouring} from '../../lang/pourings/translatePouring';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport {FormLocale} from '../../lang/form';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const ReportAllMessages = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [listStation, setListStation] = useState([])\r\n const [data, setData] = useState([])\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [listControllers, setListControllers] = useState([])\r\n const [countStations, setCountStations] = useState(0)\r\n const [isLoading, setIsLoading] = useState(false)\r\n const translated = useLittera(TranslateReport);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [controllerType, setControllerType] = useState(0)\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedStation, setSelectedStation] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n grid:false,\r\n button:false\r\n });\r\n \r\n const displayToast = (message, status, typeMessage) => {\r\n \r\n if(typeMessage == \"success\") {\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n } else {\r\n toast.info(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n }\r\n\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"companies\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n\r\n setListCompanies(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getStations = companyId => {\r\n api.get('/api/company/details/controllers', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":companyId\r\n },\r\n params:{\r\n companyId: companyId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"stations of company\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListControllers(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getControllers = stationId => {\r\n api.get('/api/stations/details/controllers', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"Id\":stationId\r\n },\r\n params:{\r\n Id: stationId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"controllers of station\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListControllers(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const onSubmit = data => {\r\n console.log(data)\r\n console.log(data.EndPeriod.toISOString())\r\n setLoadingData({button:true})\r\n api.get(\"/api/reports/messages\", {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"ControllerId\": data.ControllerId.id,\r\n \"EndPeriod\": data.EndPeriod.toISOString(),\r\n \"StartPeriod\": data.StartPeriod.toISOString()\r\n },\r\n params:{\r\n ControllerId: data.ControllerId.id,\r\n EndPeriod: data.EndPeriod.toISOString(),\r\n StartPeriod: data.StartPeriod.toISOString()\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"messages\")\r\n \r\n setIsLoading(true)\r\n setControllerType(response.data.dataResult.controllerType)\r\n setPermission({\r\n read: response.data.read,\r\n fullAccess: response.data.fullAccess\r\n })\r\n\r\n if(response.data.read) {\r\n setLoadingData({button:false})\r\n setData(response.data.dataResult.messages)\r\n displayToast(response.data.message, response.data.isSuccess, response.data.typeMessage)\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setIsLoading(false)\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n const columns = useMemo(\r\n () => [\r\n {\r\n accessorFn: (row) => row.message,\r\n id: 'message',\r\n size:500,\r\n header: translated.Message,\r\n },\r\n {\r\n accessorFn: (row) => moment(row.dateMessage).format(\"DD.MM.YYYY HH:mm\"),\r\n id: 'dateCreate',\r\n size:100,\r\n header: translated.DateDefault,\r\n },\r\n {\r\n accessorFn: (row) => row.idMessage,\r\n id: 'idMessage',\r\n size:100,\r\n header: 'message_id',\r\n },\r\n {\r\n accessorFn: (row) => row.idUser,\r\n id: 'isUser',\r\n size:100,\r\n header: 'user_id',\r\n },\r\n {\r\n accessorFn: (row) => row.params_16_0,\r\n id: 'params_16_0',\r\n size:100,\r\n header: 'params_16_0',\r\n },\r\n {\r\n accessorFn: (row) => row.params_16_1,\r\n id: 'params_16_1',\r\n size:100,\r\n header: 'params_16_1',\r\n },\r\n {\r\n accessorFn: (row) => row.params_16_2,\r\n id: 'params_16_2',\r\n size:100,\r\n header: 'params_16_2',\r\n },\r\n {\r\n accessorFn: (row) => row.params_16_3,\r\n id: 'params_16_3',\r\n size:100,\r\n header: 'params_16_3',\r\n },\r\n {\r\n accessorFn: (row) => row.params_16_4,\r\n id: 'params_16_4',\r\n size:100,\r\n header: 'params_16_4',\r\n },\r\n {\r\n accessorFn: (row) => row.params_32_0,\r\n id: 'params_32_0',\r\n size:100,\r\n header: 'params_32_0',\r\n },\r\n {\r\n accessorFn: (row) => row.params_32_1,\r\n id: 'params_32_1',\r\n size:100,\r\n header: 'params_32_1',\r\n },\r\n {\r\n accessorFn: (row) => row.typeMajor,\r\n id: 'typeMajor',\r\n size:100,\r\n header: 'typeMajor',\r\n },\r\n {\r\n accessorFn: (row) => row.typeMinor,\r\n id: 'typeMinor',\r\n size:100,\r\n header: 'typeMinor',\r\n },\r\n ],\r\n [],\r\n );\r\n\r\n const columnsBs02_2 = useMemo(\r\n () => [\r\n {\r\n accessorFn: (row) => row.messageId,\r\n id: 'message',\r\n size:100,\r\n header: \"ID\",\r\n },\r\n {\r\n accessorFn: (row) => moment(row.dateMessage).format(\"DD.MM.YYYY HH:mm\"),\r\n id: 'date',\r\n size:100,\r\n header: translated.DateDefault,\r\n },\r\n {\r\n accessorFn: (row) => row.idMessageInController,\r\n id: 'message_in_controller',\r\n size:200,\r\n header: translated.MessageInController,\r\n },\r\n {\r\n accessorFn: (row) => row.messageParsing,\r\n id: 'message_parsing',\r\n size:500,\r\n header: translated.Message,\r\n },\r\n {\r\n accessorFn: (row) => row.errorCode,\r\n id: 'error_code',\r\n size:100,\r\n header: \"Error code\",\r\n },\r\n ],\r\n [],\r\n );\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n getCompanies()\r\n setValue(\"StartPeriod\", new Date())\r\n setValue(\"EndPeriod\", new Date())\r\n }, []);\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n
    \r\n

    \r\n {translated.Analytics} - {translated.ReportAllMessages}\r\n

    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n\r\n {\r\n isLoading\r\n ?\r\n permission.read || permission.fullAccess\r\n ? \r\n
    \r\n
    \r\n {\r\n controllerType != 3\r\n ?\r\n \r\n :\r\n \r\n }\r\n
    \r\n
    \r\n :\r\n
    \r\n \r\n {translated.PermissionDenied}\r\n \r\n
    \r\n :\r\n
    \r\n {translated.DataNotLoad}\r\n
    \r\n }\r\n\r\n
    \r\n\r\n setShowFormAdd(false)}>\r\n \r\n \r\n {translated.FilterReport}\r\n \r\n \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {translated.Company}\r\n (\r\n {\r\n getStations(item.id)\r\n setSelectedCompany({label:item.label, value:item.value})\r\n setValue(\"ControllerId\", null)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Station && \r\n {errors.Station.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Controller}\r\n (\r\n {\r\n console.log(item)\r\n setValue(\"ControllerId\", item)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.ControllerId && \r\n {errors.ControllerId.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.StartDate}\r\n (\r\n {\r\n setValue(\"StartPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartPeriod && \r\n {errors.StartPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.EndDate}\r\n (\r\n {\r\n setValue(\"EndPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndPeriod && \r\n {errors.EndPeriod.message}\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","import React, { useState, useEffect, useContext, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, Form, Card, Spinner, Alert, Table, ProgressBar} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller} from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport Chart from \"react-apexcharts\";\r\nimport moment from 'moment/moment';\r\nimport './../../boxicons.css';\r\nimport Flatpickr from \"react-flatpickr\";\r\nimport \"flatpickr/dist/themes/light.css\";\r\nimport { Russian } from \"flatpickr/dist/l10n/ru.js\"\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslateReport } from '../../lang/reports/translateReport';\r\nimport {TranslatePouring} from '../../lang/pourings/translatePouring';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport {FormLocale} from '../../lang/form';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const ReportHatchOpenClose = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [listStation, setListStation] = useState([])\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [listControllers, setListControllers] = useState([])\r\n const [listDatas, setListDatas] = useState([])\r\n const [countStations, setCountStations] = useState(0)\r\n const translated = useLittera(TranslateReport);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedStation, setSelectedStation] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n grid:false,\r\n button:false\r\n });\r\n \r\n const displayToast = (message, status, typeMessage) => {\r\n \r\n if(typeMessage == \"success\") {\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n } else {\r\n toast.info(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n }\r\n\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"companies\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n\r\n setListCompanies(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getStations = companyId => {\r\n api.get('/api/company/details/controllers', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":companyId\r\n },\r\n params:{\r\n companyId: companyId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"stations of company\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListControllers(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getControllers = stationId => {\r\n api.get('/api/stations/details/controllers', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"Id\":stationId\r\n },\r\n params:{\r\n Id: stationId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"controllers of station\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListControllers(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const onSubmit = data => {\r\n console.log(data)\r\n console.log(data.EndPeriod.toISOString())\r\n setLoadingData({button:true})\r\n api.get(\"/api/reports/event-hatch-open-close\", {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"ControllerId\": data.ControllerId.id,\r\n \"EndPeriod\": data.EndPeriod.toISOString(),\r\n \"StartPeriod\": data.StartPeriod.toISOString()\r\n },\r\n params:{\r\n ControllerId: data.ControllerId.id,\r\n EndPeriod: data.EndPeriod.toISOString(),\r\n StartPeriod: data.StartPeriod.toISOString()\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"messages\")\r\n \r\n setIsLoading(true)\r\n setPermission({\r\n read: response.data.read,\r\n fullAccess: response.data.fullAccess\r\n })\r\n\r\n if(response.data.read || response.data.fullAccess) {\r\n setLoadingData({button:false})\r\n displayToast(response.data.message, response.data.isSuccess, response.data.typeMessage)\r\n setListDatas(response.data.listDatas)\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setIsLoading(false)\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n getCompanies()\r\n setValue(\"StartPeriod\", new Date())\r\n setValue(\"EndPeriod\", new Date())\r\n }, []);\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n
    \r\n

    \r\n {translated.Analytics} - {translated.ReportHatchOpenClose}\r\n

    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n {\r\n isLoading\r\n ?\r\n permission.read || permission.fullAccess\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 listDatas.length != 0\r\n ?\r\n listDatas.map((i) => (\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
    {translated.Controller}{translated.Event}{translated.DateDefault}
    {i.controllerName}\r\n {\r\n i.eventType == 2\r\n ? translated.StartWork\r\n : i.eventType == 1\r\n ? translated.Open\r\n : i.eventType == 0\r\n ? translated.Close\r\n : null\r\n }\r\n {moment(i.eventDate).format(\"DD.MM.YYYY HH:mm\")}
    {translated.NotFound}
    \r\n
    \r\n
    \r\n : \r\n
    \r\n {translated.PermissionDenied}\r\n
    \r\n :\r\n
    \r\n {translated.DataNotLoad}\r\n
    \r\n }\r\n\r\n
    \r\n\r\n \r\n setShowFormAdd(false)}>\r\n \r\n \r\n {translated.FilterReport}\r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {translated.Company}\r\n (\r\n {\r\n getStations(item.id)\r\n setSelectedCompany({label:item.label, value:item.value})\r\n setValue(\"ControllerId\", null)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Station && \r\n {errors.Station.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Controller}\r\n (\r\n {\r\n console.log(item)\r\n setValue(\"ControllerId\", item)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Controller && \r\n {errors.Controller.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.StartDate}\r\n (\r\n {\r\n setValue(\"StartPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartPeriod && \r\n {errors.StartPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.EndDate}\r\n (\r\n {\r\n setValue(\"EndPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndPeriod && \r\n {errors.EndPeriod.message}\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","import React, { useState, useEffect, useContext, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, Form, Card, Spinner, Alert, Table, ProgressBar} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller} from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport Chart from \"react-apexcharts\";\r\nimport moment from 'moment/moment';\r\nimport './../../boxicons.css';\r\nimport Flatpickr from \"react-flatpickr\";\r\nimport \"flatpickr/dist/themes/light.css\";\r\nimport { Russian } from \"flatpickr/dist/l10n/ru.js\"\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslateReport } from '../../lang/reports/translateReport';\r\nimport {TranslatePouring} from '../../lang/pourings/translatePouring';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport {FormLocale} from '../../lang/form';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const ReportChangePrice = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [listStation, setListStation] = useState([])\r\n const [data, setData] = useState([])\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [listControllers, setListControllers] = useState([])\r\n const [countStations, setCountStations] = useState(0)\r\n const translated = useLittera(TranslateReport);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedStation, setSelectedStation] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n grid:false,\r\n button:false\r\n });\r\n \r\n const displayToast = (message, status, typeMessage) => {\r\n \r\n if(typeMessage == \"success\") {\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n } else {\r\n toast.info(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n }\r\n\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"companies\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n\r\n setListCompanies(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n\r\n const onSubmit = data => {\r\n console.log(data)\r\n console.log(data.EndPeriod.toISOString())\r\n setLoadingData({button:true})\r\n api.get(\"/api/reports/change-prices\", {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"CompanyId\": selectedCompany.value,\r\n \"EndPeriod\": data.EndPeriod.toISOString(),\r\n \"StartPeriod\": data.StartPeriod.toISOString()\r\n },\r\n params:{\r\n CompanyId: selectedCompany.value,\r\n EndPeriod: data.EndPeriod.toISOString(),\r\n StartPeriod: data.StartPeriod.toISOString()\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"messages\")\r\n \r\n setIsLoading(true)\r\n setPermission({\r\n read: response.data.read,\r\n fullAccess: response.data.fullAccess\r\n })\r\n setLoadingData({button:false})\r\n\r\n if(response.data.read || response.data.fullAccess)\r\n {\r\n displayToast(response.data.message, response.data.isSuccess, response.data.typeMessage)\r\n setData(response.data.listDatas)\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setIsLoading(false)\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n getCompanies()\r\n setValue(\"StartPeriod\", new Date())\r\n setValue(\"EndPeriod\", new Date())\r\n }, []);\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n
    \r\n

    \r\n {translated.Analytics} - {translated.ReportChangePrice}\r\n

    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n {\r\n isLoading\r\n ?\r\n permission.read || permission.fullAccess\r\n ?\r\n
    \r\n
    \r\n {\r\n data.map((item) => (\r\n <>\r\n

    {item.fuelName}

    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n item.result.length != 0\r\n ?\r\n item.result.map((i) => (\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
    {translated.Price}{translated.ChangeDate}{translated.User}
    {i.price}{moment(i.updated).format(\"DD.MM.YYYY HH:mm\")}{i.user}
    {translated.NotFound}
    \r\n \r\n ))\r\n }\r\n
    \r\n
    \r\n : \r\n
    \r\n \r\n {translated.PermissionDenied}\r\n \r\n
    \r\n :\r\n
    \r\n {translated.DataNotLoad}\r\n
    \r\n }\r\n\r\n
    \r\n\r\n setShowFormAdd(false)}>\r\n \r\n \r\n {translated.FilterReport}\r\n \r\n \r\n
    \r\n \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n {translated.Company}\r\n (\r\n {\r\n setSelectedCompany({label:item.label, value:item.value})\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Station && \r\n {errors.Station.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.StartDate}\r\n (\r\n {\r\n setValue(\"StartPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartPeriod && \r\n {errors.StartPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.EndDate}\r\n (\r\n {\r\n setValue(\"EndPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndPeriod && \r\n {errors.EndPeriod.message}\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","import React, { useState, useEffect, useMemo, useContext, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, Form, Card, Spinner, Alert, Table, ProgressBar} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller} from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport Chart from \"react-apexcharts\";\r\nimport moment from 'moment/moment';\r\nimport MaterialReactTable from 'material-react-table';\r\nimport { MRT_Localization_RU } from 'material-react-table/locales/ru';\r\nimport './../../boxicons.css';\r\nimport Flatpickr from \"react-flatpickr\";\r\nimport \"flatpickr/dist/themes/light.css\";\r\nimport { Russian } from \"flatpickr/dist/l10n/ru.js\"\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslateReport } from '../../lang/reports/translateReport';\r\nimport {TranslatePouring} from '../../lang/pourings/translatePouring';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport {FormLocale} from '../../lang/form';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const ReportActions = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [listStation, setListStation] = useState([])\r\n const [data, setData] = useState([])\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [listControllers, setListControllers] = useState([])\r\n const [countStations, setCountStations] = useState(0)\r\n const [isLoading, setIsLoading] = useState(false)\r\n const translated = useLittera(TranslateReport);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedStation, setSelectedStation] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n grid:false,\r\n button:false\r\n });\r\n \r\n const displayToast = (message, status, typeMessage) => {\r\n \r\n if(typeMessage == \"success\") {\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n } else {\r\n toast.info(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n }\r\n\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"companies\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n\r\n setListCompanies(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getUsers = id => {\r\n api.get('/api/company/details/users', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"CompanyId\": id\r\n },\r\n params:{\r\n CompanyId: id\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"companies\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.lastname + ' ' + item.firstname\r\n }))\r\n\r\n setListControllers(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n\r\n const onSubmit = data => {\r\n setLoadingData({button:true})\r\n api.get(\"/api/reports/actions\", {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"CompanyId\": selectedCompany.value,\r\n \"UserId\": data.UserId,\r\n \"EndPeriod\": data.EndPeriod.toISOString(),\r\n \"StartPeriod\": data.StartPeriod.toISOString()\r\n },\r\n params:{\r\n UserId: data.UserId,\r\n CompanyId: selectedCompany.value,\r\n EndPeriod: data.EndPeriod.toISOString(),\r\n StartPeriod: data.StartPeriod.toISOString()\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"messages\")\r\n \r\n setLoadingData({button:false})\r\n setIsLoading(true)\r\n setPermission({\r\n read: response.data.read,\r\n fullAccess: response.data.fullAccess\r\n })\r\n\r\n if(response.data.read || response.data.fullAccess)\r\n {\r\n setData(response.data.listDatas)\r\n displayToast(response.data.message, response.data.isSuccess, response.data.typeMessage)\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setIsLoading(false)\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n const columns = useMemo(() => [\r\n {\r\n accessorFn: (row) => row.message,\r\n accessorKey: 'message', //access nested data with dot notation\r\n header: translated.Action,\r\n },\r\n {\r\n accessorFn: (row) => row.ipAddress,\r\n accessorKey: 'ipAddress', //access nested data with dot notation\r\n header: translated.IP,\r\n },\r\n {\r\n accessorFn: (row) => row.fullname,\r\n accessorKey: 'fullName', //access nested data with dot notation\r\n header: translated.User,\r\n },\r\n {\r\n accessorFn: (row) => moment(row.createdAt).format(\"DD.MM.YYYY HH:mm:ss\"),\r\n accessorKey: 'date', //access nested data with dot notation\r\n header: translated.DateDefault,\r\n },\r\n ],\r\n [],\r\n );\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n getCompanies()\r\n setValue(\"StartPeriod\", new Date())\r\n setValue(\"EndPeriod\", new Date())\r\n }, []);\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n
    \r\n

    \r\n {translated.Analytics} - {translated.ReportUserLogs}\r\n

    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n {\r\n isLoading\r\n ?\r\n permission.read || permission.fullAccess\r\n ?\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n : \r\n
    \r\n \r\n {translated.PermissionDenied}\r\n \r\n
    \r\n :\r\n
    \r\n {translated.DataNotLoad}\r\n
    \r\n }\r\n\r\n
    \r\n\r\n setShowFormAdd(false)}>\r\n \r\n \r\n {translated.FilterReport}\r\n \r\n \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {translated.Company}\r\n (\r\n {\r\n getUsers(item.id)\r\n setSelectedCompany({label:item.label, value:item.value})\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Station && \r\n {errors.Station.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.User}\r\n (\r\n {\r\n console.log(item)\r\n setValue(\"UserId\", item)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Controller && \r\n {errors.Controller.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.StartDate}\r\n (\r\n {\r\n setValue(\"StartPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartPeriod && \r\n {errors.StartPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.EndDate}\r\n (\r\n {\r\n setValue(\"EndPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndPeriod && \r\n {errors.EndPeriod.message}\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","import React, { useState, useEffect, useContext, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, Form, Card, Spinner, Alert, Table, ProgressBar} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller} from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport Chart from \"react-apexcharts\";\r\nimport moment from 'moment/moment'; \r\nimport './../../boxicons.css';\r\nimport Flatpickr from \"react-flatpickr\";\r\nimport \"flatpickr/dist/themes/light.css\";\r\nimport { Russian } from \"flatpickr/dist/l10n/ru.js\";\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslateReport } from '../../lang/reports/translateReport';\r\nimport {TranslatePouring} from '../../lang/pourings/translatePouring';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport {FormLocale} from '../../lang/form';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const ReportPrices = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [listStation, setListStation] = useState([])\r\n const [data, setData] = useState([])\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [listControllers, setListControllers] = useState([])\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [countStations, setCountStations] = useState(0)\r\n const translated = useLittera(TranslateReport);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [diagrammColumn, setDiagrammColumn] = useState({\r\n series:[],\r\n })\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedStation, setSelectedStation] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n grid:false,\r\n button:false\r\n });\r\n \r\n const displayToast = (message, status, typeMessage) => {\r\n \r\n if(typeMessage == \"success\") {\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n } else {\r\n toast.info(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n }\r\n\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"companies\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n\r\n setListCompanies(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const onSubmit = data => {\r\n console.log(data)\r\n let arr = []\r\n data.CompanyIds.map((item) => {\r\n arr.push(item.id)\r\n })\r\n setLoadingData({button:true})\r\n api.post('/api/reports/money-receipts', {\r\n CompanyIds: arr,\r\n EndPeriod: data.EndPeriod.toISOString(),\r\n StartPeriod: data.StartPeriod.toISOString(),\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"result recipts\")\r\n \r\n setIsLoading(true)\r\n setPermission({\r\n read: response.data.read,\r\n fullAccess: response.data.fullAccess\r\n })\r\n setLoadingData({button:false})\r\n\r\n if(response.data.read || response.data.fullAccess) {\r\n setData(response.data.listDatas)\r\n displayToast(response.data.message, response.data.isSuccess, response.data.typeMessage)\r\n \r\n let array_series_data = []\r\n let array_series_data_cons = []\r\n \r\n let report = response.data.listDatas.map((item) => {\r\n item.result.map((i) => {\r\n array_series_data.push({\r\n x: i.date,\r\n y: i.sum\r\n })\r\n \r\n array_series_data_cons.push({\r\n x: i.date,\r\n y: i.consumption\r\n })\r\n })\r\n })\r\n \r\n setDiagrammColumn({\r\n series: [\r\n {\r\n name: translated.Received,\r\n data: array_series_data\r\n },\r\n {\r\n name: translated.UsedUp,\r\n data: array_series_data_cons\r\n }\r\n ]\r\n })\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setIsLoading(false)\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n const options = {\r\n chart: {\r\n height: 350,\r\n type: 'bar',\r\n zoom: {\r\n enabled: false\r\n }\r\n },\r\n dataLabels: {\r\n enabled: false\r\n },\r\n colors:['#0B61A4', '#F44336'],\r\n stroke: {\r\n curve: 'straight'\r\n },\r\n title: {\r\n text: translated.ReportCashDymanics,\r\n align: 'center'\r\n },\r\n grid: {\r\n row: {\r\n colors: ['#f3f3f3', 'transparent'], // takes an array which will be repeated on columns\r\n opacity: 0.5\r\n },\r\n },\r\n\r\n }\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n getCompanies()\r\n setValue(\"StartPeriod\", new Date())\r\n setValue(\"EndPeriod\", new Date())\r\n }, []);\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n
    \r\n

    \r\n {translated.Analytics} - {translated.ReportCashDymanics}\r\n

    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n {\r\n isLoading\r\n ?\r\n permission.read || permission.fullAccess\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 data.length != 0\r\n ? \r\n data.map((item) => (\r\n <>\r\n

    {item.companyName}

    \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.result.map((i) => (\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
    {translated.Date}{translated.Sum}{translated.UsedUp}{translated.Balance}
    {moment(i.date).format(\"DD.MM.YYYY HH:mm:ss\")}{i.sum}{i.consumption}{i.balance}
    {translated.Final}{item.sum}{item.consumption}{item.balance}
    \r\n \r\n ))\r\n : null\r\n }\r\n
    \r\n
    \r\n \r\n : \r\n
    \r\n \r\n {translated.PermissionDenied} \r\n \r\n
    \r\n :\r\n
    \r\n {translated.DataNotLoad}\r\n
    \r\n }\r\n\r\n
    \r\n\r\n setShowFormAdd(false)}>\r\n \r\n \r\n {translated.FilterReport}\r\n \r\n \r\n
    \r\n \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n {translated.Company}\r\n (\r\n \r\n )}\r\n />\r\n {errors.CompanyIds && \r\n {errors.CompanyIds.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.StartDate}\r\n (\r\n {\r\n setValue(\"StartPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartPeriod && \r\n {errors.StartPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.EndDate}\r\n (\r\n {\r\n setValue(\"EndPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndPeriod && \r\n {errors.EndPeriod.message}\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","import React, { useState, useEffect, useContext, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, DropdownButton, Dropdown, Form, Card, Spinner, Alert, Table, ProgressBar} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller} from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport Chart from \"react-apexcharts\";\r\nimport moment from 'moment/moment'; \r\nimport './../../boxicons.css';\r\nimport Flatpickr from \"react-flatpickr\";\r\nimport \"flatpickr/dist/themes/light.css\";\r\nimport { Russian } from \"flatpickr/dist/l10n/ru.js\";\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslateReport } from '../../lang/reports/translateReport';\r\nimport {TranslatePouring} from '../../lang/pourings/translatePouring';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport {FormLocale} from '../../lang/form';\r\nimport { Chart as ChartJS } from 'chart.js/auto'\r\nimport zoomPlugin from 'chartjs-plugin-zoom';\r\nimport {\r\n CategoryScale,\r\n LinearScale,\r\n PointElement,\r\n LineElement,\r\n Title,\r\n Tooltip,\r\n Filler,\r\n Legend,\r\n } from 'chart.js';\r\nimport { Doughnut, Bar } from 'react-chartjs-2';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const ReportGsmController = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const { control, register, handleSubmit, reset, setValue, getValues, formState, formState: { errors }} = useForm();\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [listStation, setListStation] = useState([])\r\n const [data, setData] = useState([])\r\n const [columnColors, setColumnColors] = useState([\r\n 'rgba(0, 70, 128, 1)',\r\n 'rgba(255, 179, 0, 1)',\r\n 'rgba(10, 100, 164, 1)',\r\n 'rgba(75, 192, 192, 1)',\r\n 'rgba(153, 102, 255, 1)',\r\n 'rgba(255, 159, 64, 1)',\r\n ])\r\n const [columngData, setColumnData] = useState(\r\n {\r\n label:[],\r\n datasets: [],\r\n }\r\n )\r\n const [pieData, setPieData] = useState(\r\n {\r\n label: [],\r\n datasets: [\r\n {\r\n data: [],\r\n backgroundColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderWidth: 1,\r\n },\r\n ],\r\n }\r\n )\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [conclusionReport, setConclusionReport] = useState([])\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [listControllers, setListControllers] = useState([])\r\n const [countStations, setCountStations] = useState(0)\r\n const translated = useLittera(TranslateReport);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [diagrammColumn, setDiagrammColumn] = useState({\r\n series:[],\r\n })\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedStation, setSelectedStation] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n grid:false,\r\n button:false\r\n });\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n getCompanies()\r\n setValue(\"StartPeriod\", new Date())\r\n setValue(\"EndPeriod\", new Date())\r\n }, []);\r\n \r\n const exportExcel = () => {\r\n let start = getValues(\"StartPeriod\")\r\n let end = getValues(\"EndPeriod\")\r\n let arr = []\r\n let values = getValues(\"ControllerIds\")\r\n console.log(\"values\")\r\n console.log(values)\r\n /*values.map((item) => {\r\n arr.push(item.id)\r\n })*/\r\n\r\n arr.push(values.id)\r\n\r\n api.get(`/api/reports/gsm-controllers/export?ControllerIdsQuery=${arr}&EndPeriod=${end.toISOString()}\r\n &StartPeriod=${start.toISOString()}&IsGrouping=true`, {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n },\r\n responseType: 'blob',\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n let blob = new Blob([response.data], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' })\r\n let link = document.createElement('a')\r\n link.href = window.URL.createObjectURL(blob)\r\n link.download = 'gsm-controllers.xls'\r\n link.click()\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const displayToast = (message, status, typeMessage) => {\r\n \r\n if(typeMessage == \"success\") {\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n } else {\r\n toast.info(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n }\r\n\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"companies\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n\r\n setListCompanies(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getStations = companyId => {\r\n api.get('/api/company/details/controllers', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":companyId\r\n },\r\n params:{\r\n companyId: companyId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListControllers(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const onSubmit = data => {\r\n console.log(data)\r\n let arr = []\r\n arr.push(data.ControllerIds.id)\r\n /*data.ControllerIds.map((item) => {\r\n arr.push(item.id)\r\n })*/\r\n setLoadingData({button:true})\r\n api.post('/api/reports/gsm-controllers', {\r\n ControllerIds: arr,\r\n IsGrouping: true,\r\n EndPeriod: data.EndPeriod.toISOString(),\r\n StartPeriod: data.StartPeriod.toISOString(),\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"result recipts\")\r\n \r\n setIsLoading(true)\r\n setPermission({\r\n read: response.data.read,\r\n fullAccess: response.data.fullAccess\r\n })\r\n setLoadingData({button:false})\r\n\r\n if(response.data.read || response.data.fullAccess) {\r\n setData(response.data.dataResult.data)\r\n setConclusionReport(response.data.dataResult.result)\r\n displayToast(response.data.message, response.data.isSuccess, response.data.typeMessage)\r\n\r\n let pie_array = []\r\n let pie_label = []\r\n response.data.dataResult.result.map((item) => {\r\n pie_array.push(item.sum)\r\n pie_label.push(item.fuelName)\r\n })\r\n\r\n let column_label = []\r\n let column_data = []\r\n let column_array = []\r\n\r\n response.data.dataResult.resultGraphics.map((item, index) => \r\n {\r\n column_array.push(item.countLitre)\r\n column_label.push(moment(item.date).format(\"DD.MM.YYYY\"))\r\n })\r\n\r\n column_data.push({\r\n label: \"Литры\",\r\n data: column_array,\r\n backgroundColor: columnColors[0],\r\n })\r\n\r\n setColumnData({\r\n labels: column_label,\r\n datasets: column_data\r\n })\r\n\r\n setPieData({\r\n labels: pie_label,\r\n datasets: [\r\n {\r\n data: pie_array,\r\n backgroundColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderWidth: 1,\r\n },\r\n ],\r\n })\r\n\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setIsLoading(false)\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n const options = {\r\n plugins: {\r\n title: {\r\n display: false,\r\n },\r\n },\r\n responsive: true,\r\n };\r\n \r\n const optionsDonut2 = {\r\n responsive: true,\r\n animation:false,\r\n aspectRatio: 1.4,\r\n plugins: {\r\n legend: {\r\n position: 'bottom',\r\n },\r\n zoom: {\r\n zoom: {\r\n wheel: {\r\n enabled: true,\r\n },\r\n pinch: {\r\n enabled: true\r\n },\r\n mode: 'xy',\r\n }\r\n },\r\n },\r\n };\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n
    \r\n

    \r\n {translated.Analytics} - {translated.ReportFuelReleaseByController}\r\n

    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n {\r\n isLoading\r\n ?\r\n permission.read || permission.fullAccess\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 data.length != 0\r\n ? \r\n data.map((item) => (\r\n <>\r\n

    {translated.Controller} - {item.controllerName} ({item.fuelName})

    \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.records.map((i) => (\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
    {translated.DateDefault}{translated.Liters}{translated.User}{translated.Transport}{translated.Description}
    {moment(i.date).format(\"DD.MM.YYYY HH:mm:ss\")}{i.countLitre}{i.user}{i.transport}{i.dosimeter == 0 ? translated.Fill : translated.Mernik}
    {translated.Final}{item.countLitre}
    {translated.Mernik}{item.countLitreMernik}
    \r\n \r\n ))\r\n : null\r\n }\r\n\r\n {\r\n conclusionReport.length != 0\r\n ?\r\n <>\r\n

    {translated.FinalPeriod}

    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n conclusionReport.map((item) => (\r\n \r\n \r\n \r\n \r\n \r\n ))\r\n }\r\n \r\n
    {translated.Fuel}{translated.Final}{translated.Mernik}
    {item.fuelName}{item.sum}{item.sumMernik}
    \r\n \r\n : null\r\n }\r\n
    \r\n
    \r\n \r\n : \r\n
    \r\n {translated.PermissionDenied}\r\n
    \r\n :\r\n
    \r\n {translated.DataNotLoad}\r\n
    \r\n }\r\n
    \r\n\r\n setShowFormAdd(false)}>\r\n \r\n \r\n {translated.FilterReport}\r\n \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {translated.Company}\r\n (\r\n {\r\n getStations(item.id)\r\n setValue(\"CompanyId\", item)\r\n setValue(\"ControllerIds\", null)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.CompanyId && \r\n {errors.CompanyId.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Controller}\r\n (\r\n \r\n )}\r\n />\r\n {errors.ControllerIds && \r\n {errors.ControllerIds.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.StartDate}\r\n (\r\n {\r\n setValue(\"StartPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartPeriod && \r\n {errors.StartPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.EndDate}\r\n (\r\n {\r\n setValue(\"EndPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndPeriod && \r\n {errors.EndPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n\r\n
    \r\n \r\n exportExcel()}>Excel\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","import React, { useState, useEffect, useContext, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, DropdownButton, Dropdown, Form, Card, Spinner, Alert, Table, ProgressBar} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller} from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport Chart from \"react-apexcharts\";\r\nimport moment from 'moment/moment'; \r\nimport './../../boxicons.css';\r\nimport Flatpickr from \"react-flatpickr\";\r\nimport \"flatpickr/dist/themes/light.css\";\r\nimport { Russian } from \"flatpickr/dist/l10n/ru.js\";\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslateReport } from '../../lang/reports/translateReport';\r\nimport {TranslatePouring} from '../../lang/pourings/translatePouring';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport {FormLocale} from '../../lang/form';\r\nimport {\r\n CategoryScale,\r\n LinearScale,\r\n PointElement,\r\n LineElement,\r\n Title,\r\n Tooltip,\r\n Filler,\r\n Legend,\r\n } from 'chart.js';\r\nimport { Doughnut, Bar } from 'react-chartjs-2';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const ReportGsmUser = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const { control, register, handleSubmit, reset, setValue, getValues, formState, formState: { errors }} = useForm();\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [listStation, setListStation] = useState([])\r\n const [data, setData] = useState([])\r\n const [conclusionReport, setConclusionReport] = useState([])\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [listControllers, setListControllers] = useState([])\r\n const [listUsers, setListUsers] = useState([])\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [selectAllUsers, setSelectAllUsers] = useState(false)\r\n const [selectAllControllers, setSelectAllControllers] = useState(false)\r\n const [userDisabled, setUserDisabled] = useState(false)\r\n const [controllerDisabled, setControllerDisabled] = useState(false)\r\n const [countStations, setCountStations] = useState(0)\r\n const translated = useLittera(TranslateReport);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [columnColors, setColumnColors] = useState([\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ])\r\n const [columngData, setColumnData] = useState(\r\n {\r\n label:[],\r\n datasets: [],\r\n }\r\n )\r\n const [pieData, setPieData] = useState(\r\n {\r\n label: [],\r\n datasets: [\r\n {\r\n data: [],\r\n backgroundColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderWidth: 1,\r\n },\r\n ],\r\n }\r\n )\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedStation, setSelectedStation] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n grid:false,\r\n button:false\r\n });\r\n \r\n const displayToast = (message, status, typeMessage) => {\r\n \r\n if(typeMessage == \"success\") {\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n } else {\r\n toast.info(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n }\r\n\r\n const exportExcel = () => {\r\n let start = getValues(\"StartPeriod\")\r\n let end = getValues(\"EndPeriod\")\r\n let controllers = getValues(\"ControllerIds\");\r\n let users = getValues(\"UserIds\")\r\n let company = getValues(\"Company\")\r\n let arr = []\r\n let arr_users = []\r\n\r\n if(controllers != null)\r\n {\r\n controllers.map((item) => {\r\n arr.push(item.id)\r\n }) \r\n }\r\n\r\n if(users != null)\r\n {\r\n users.map((item) => {\r\n arr_users.push(item.id)\r\n })\r\n }\r\n\r\n api.get(`/api/reports/gsm-users/export?ControllerIdsQuery=${arr}&UserIdsQuery=${arr_users}&EndPeriod=${end.toISOString()}\r\n &StartPeriod=${start.toISOString()}&CompanyId=${company.id}&IsSelectAllUsers=${selectAllUsers}&IsGrouping=true`, {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n },\r\n responseType: 'blob',\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n let blob = new Blob([response.data], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' })\r\n let link = document.createElement('a')\r\n link.href = window.URL.createObjectURL(blob)\r\n link.download = 'gsm-users.xls'\r\n link.click()\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const xmlExport = () => {\r\n let start = getValues(\"StartPeriod\")\r\n let end = getValues(\"EndPeriod\")\r\n let controllers = getValues(\"ControllerIds\");\r\n let users = getValues(\"UserIds\")\r\n let company = getValues(\"Company\")\r\n let arr = []\r\n let arr_users = []\r\n\r\n if(controllers != null)\r\n {\r\n controllers.map((item) => {\r\n arr.push(item.id)\r\n })\r\n }\r\n\r\n if(users != null)\r\n {\r\n users.map((item) => {\r\n arr_users.push(item.id)\r\n })\r\n }\r\n\r\n api.get(`/api/reports/gsm-users/export/xml?ControllerIdsQuery=${arr}&UserIdsQuery=${arr_users}&EndPeriod=${end.toISOString()}\r\n &StartPeriod=${start.toISOString()}&CompanyId=${company.id}&IsSelectAllUsers=${selectAllUsers}&IsGrouping=true`, {\r\n headers:{\r\n \"content-type\" : \"application/xml\",\r\n },\r\n responseType: 'blob',\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n let blob = new Blob([response.data], { type: 'application/xml' })\r\n let link = document.createElement('a')\r\n link.href = window.URL.createObjectURL(blob)\r\n link.download = 'gsm-users.xml'\r\n link.click()\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"companies\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n\r\n setListCompanies(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getControllers = companyId => {\r\n api.get('/api/company/details/controllers', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":companyId\r\n },\r\n params:{\r\n companyId: companyId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"company controllers\")\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListControllers(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getUsers = companyId => {\r\n api.get('/api/company/details/users', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":companyId\r\n },\r\n params:{\r\n companyId: companyId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"company users\")\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.lastname + ' ' + item.firstname \r\n }))\r\n setListUsers(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const onSubmit = data => {\r\n console.log(data)\r\n let arr = []\r\n let arr_users = []\r\n\r\n if(data.ControllerIds != null)\r\n {\r\n data.ControllerIds.map((item) => \r\n {\r\n arr.push(item.id)\r\n })\r\n }\r\n\r\n if(data.UserIds != null)\r\n {\r\n data.UserIds.map((item) => \r\n {\r\n arr_users.push(item.id)\r\n })\r\n }\r\n\r\n setLoadingData({button:true})\r\n api.post('/api/reports/gsm-users', {\r\n ControllerIds: arr,\r\n CompanyId: data.Company.id,\r\n UserIds: arr_users,\r\n IsGrouping: true,\r\n IsSelectAllUsers: selectAllUsers,\r\n //IsSelectAllControllers: selectAllControllers,\r\n EndPeriod: data.EndPeriod.toISOString(),\r\n StartPeriod: data.StartPeriod.toISOString(),\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"result recipts\")\r\n \r\n setLoadingData({button:false})\r\n setIsLoading(true)\r\n setPermission({\r\n read: response.data.read,\r\n fullAccess: response.data.fullAccess\r\n })\r\n\r\n if(response.data.read || response.data.fullAccess)\r\n {\r\n setData(response.data.dataResult.data)\r\n setConclusionReport(response.data.dataResult.result)\r\n displayToast(response.data.message, response.data.isSuccess, response.data.typeMessage)\r\n\r\n let pie_array = []\r\n let pie_label = []\r\n response.data.dataResult.result.map((item) => {\r\n pie_array.push(item.sum)\r\n pie_label.push(item.fuelName)\r\n })\r\n\r\n let column_label = []\r\n let column_data = []\r\n let column_array = []\r\n\r\n response.data.dataResult.resultGraphics.map((item, index) => \r\n {\r\n column_array.push(item.countLitre)\r\n column_label.push(moment(item.date).format(\"DD.MM.YYYY\"))\r\n })\r\n\r\n column_data.push({\r\n label: \"Литры\",\r\n data: column_array,\r\n backgroundColor: columnColors[0],\r\n })\r\n\r\n setColumnData({\r\n labels: column_label,\r\n datasets: column_data\r\n })\r\n\r\n setPieData({\r\n labels: pie_label,\r\n datasets: [\r\n {\r\n data: pie_array,\r\n backgroundColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderWidth: 1,\r\n },\r\n ],\r\n })\r\n\r\n\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setIsLoading(false)\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n getCompanies()\r\n setValue(\"StartPeriod\", new Date())\r\n setValue(\"EndPeriod\", new Date())\r\n }, []);\r\n\r\n const options = {\r\n plugins: {\r\n title: {\r\n display: false,\r\n text: 'Chart.js Bar Chart - Stacked',\r\n },\r\n },\r\n responsive: true,\r\n scales: {\r\n x: {\r\n stacked: true,\r\n },\r\n y: {\r\n stacked: true,\r\n },\r\n },\r\n };\r\n \r\n const optionsDonut2 = {\r\n responsive: true,\r\n animation:false,\r\n aspectRatio: 1.4,\r\n plugins: {\r\n legend: {\r\n position: 'bottom',\r\n },\r\n zoom: {\r\n zoom: {\r\n wheel: {\r\n enabled: true,\r\n },\r\n pinch: {\r\n enabled: true\r\n },\r\n mode: 'xy',\r\n }\r\n },\r\n },\r\n };\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n
    \r\n

    \r\n {translated.Analytics} - {translated.ReportFuelReleaseByUsers}\r\n

    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n {\r\n isLoading\r\n ?\r\n permission.read || permission.fullAccess\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 data.length != 0\r\n ? \r\n data.map((item) => (\r\n <>\r\n

    {translated.Controller} - {item.controllerName} ({item.fuelName})

    \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.records.map((i) => (\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
    {translated.DateDefault}{translated.User}{translated.Liters}{translated.Price}{translated.Sum}{translated.Description}
    {moment(i.date).format(\"DD.MM.YYYY HH:mm:ss\")}{i.user}{i.countLitre.toFixed(2)}{i.price}{(i.price * i.countLitre).toFixed(2)}{i.dosimeter == 0 ? translated.Fill : translated.Mernik}
    {translated.Final}{item.countLitre}
    {translated.Mernik}{item.countLitreMernik.toFixed(2)}
    {translated.TotalMoneys}{item.finalSum.toFixed(2)}
    \r\n \r\n ))\r\n : null\r\n }\r\n\r\n {\r\n conclusionReport.length != 0\r\n ?\r\n <>\r\n

    {translated.FinalPeriod}

    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n conclusionReport.map((item) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n ))\r\n }\r\n \r\n
    {translated.Fuel}{translated.Final}{translated.Mernik}{translated.TotalMoneys}
    {item.fuelName}{item.sum}{item.sumMernik}{item.sumMoney}
    \r\n \r\n : null\r\n }\r\n
    \r\n
    \r\n \r\n\r\n : \r\n
    \r\n {translated.PermissionDenied}\r\n
    \r\n :\r\n
    \r\n {translated.DataNotLoad}\r\n
    \r\n }\r\n\r\n
    \r\n\r\n setShowFormAdd(false)}>\r\n \r\n \r\n {translated.FilterReport}\r\n \r\n \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {translated.Company}\r\n (\r\n {\r\n getControllers(item.id)\r\n getUsers(item.id)\r\n setValue(\"Company\", item)\r\n setValue(\"ControllerIds\", null)\r\n setValue(\"UserIds\", null)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.CompanyIds && \r\n {errors.CompanyIds.message}\r\n }\r\n \r\n
    \r\n\r\n {/*
    \r\n {\r\n setSelectAllControllers(e.target.checked)\r\n setControllerDisabled(e.target.checked)\r\n }}\r\n />\r\n
    */}\r\n\r\n
    \r\n \r\n {translated.Controller}\r\n (\r\n \r\n )}\r\n />\r\n {errors.ControllerIds && \r\n {errors.ControllerIds.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n {\r\n setSelectAllUsers(e.target.checked)\r\n setUserDisabled(e.target.checked)\r\n }}\r\n />\r\n
    \r\n\r\n
    \r\n \r\n {translated.User}\r\n (\r\n \r\n )}\r\n />\r\n {errors.UserIds && \r\n {errors.UserIds.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.StartDate}\r\n (\r\n {\r\n setValue(\"StartPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartPeriod && \r\n {errors.StartPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.EndDate}\r\n (\r\n {\r\n setValue(\"EndPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndPeriod && \r\n {errors.EndPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n\r\n
    \r\n \r\n exportExcel()}>Excel\r\n xmlExport()}>XML\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","import React, { useState, useEffect, useContext, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, DropdownButton, Dropdown, Form, Card, Spinner, Alert, Table, ProgressBar} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller} from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport Chart from \"react-apexcharts\";\r\nimport moment from 'moment/moment'; \r\nimport './../../boxicons.css';\r\nimport Flatpickr from \"react-flatpickr\";\r\nimport \"flatpickr/dist/themes/light.css\";\r\nimport { Russian } from \"flatpickr/dist/l10n/ru.js\";\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslateReport } from '../../lang/reports/translateReport';\r\nimport {TranslatePouring} from '../../lang/pourings/translatePouring';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport {FormLocale} from '../../lang/form';\r\nimport { Chart as ChartJS } from 'chart.js/auto'\r\nimport zoomPlugin from 'chartjs-plugin-zoom';\r\nimport {\r\n CategoryScale,\r\n LinearScale,\r\n PointElement,\r\n LineElement,\r\n Title,\r\n Tooltip,\r\n Filler,\r\n Legend,\r\n } from 'chart.js';\r\nimport { Doughnut, Bar } from 'react-chartjs-2';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const ReportGsmByMass = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const { control, register, handleSubmit, reset, setValue, getValues, formState, formState: { errors }} = useForm();\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [listStation, setListStation] = useState([])\r\n const [data, setData] = useState([])\r\n const [columnColors, setColumnColors] = useState([\r\n 'rgba(0, 70, 128, 1)',\r\n 'rgba(238, 59, 128, 1)',\r\n 'rgba(10, 100, 164, 1)',\r\n 'rgba(75, 192, 192, 1)',\r\n 'rgba(153, 102, 255, 1)',\r\n 'rgba(255, 159, 64, 1)',\r\n ])\r\n const [columngData, setColumnData] = useState(\r\n {\r\n label:[],\r\n datasets: [],\r\n }\r\n )\r\n const [pieData, setPieData] = useState(\r\n {\r\n label: [],\r\n datasets: [\r\n {\r\n data: [],\r\n backgroundColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderWidth: 1,\r\n },\r\n ],\r\n }\r\n )\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [conclusionReport, setConclusionReport] = useState([])\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [listControllers, setListControllers] = useState([])\r\n const [countStations, setCountStations] = useState(0)\r\n const translated = useLittera(TranslateReport);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [diagrammColumn, setDiagrammColumn] = useState({\r\n series:[],\r\n })\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedStation, setSelectedStation] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n grid:false,\r\n button:false\r\n });\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n getCompanies()\r\n setValue(\"StartPeriod\", new Date())\r\n setValue(\"EndPeriod\", new Date())\r\n }, []);\r\n \r\n const exportExcel = () => {\r\n let start = getValues(\"StartPeriod\")\r\n let end = getValues(\"EndPeriod\")\r\n let arr = []\r\n let values = getValues(\"ControllerIds\")\r\n console.log(values)\r\n /*values.map((item) => {\r\n arr.push(item.id)\r\n })*/\r\n arr.push(values.id)\r\n\r\n api.get(`/api/reports/gsm-mass/export?ControllerIdsQuery=${arr}&EndPeriod=${end.toISOString()}\r\n &StartPeriod=${start.toISOString()}&IsGrouping=true`, {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n },\r\n responseType: 'blob',\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n let blob = new Blob([response.data], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' })\r\n let link = document.createElement('a')\r\n link.href = window.URL.createObjectURL(blob)\r\n link.download = 'gsm-mass.xls'\r\n link.click()\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const displayToast = (message, status, typeMessage) => {\r\n \r\n if(typeMessage == \"success\") {\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n } else {\r\n toast.info(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n }\r\n\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"companies\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n\r\n setListCompanies(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getStations = companyId => {\r\n api.get('/api/company/details/controllers', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":companyId\r\n },\r\n params:{\r\n companyId: companyId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListControllers(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const onSubmit = data => {\r\n console.log(data)\r\n let arr = []\r\n arr.push(data.ControllerIds.id)\r\n /*data.ControllerIds.map((item) => {\r\n arr.push(item.id)\r\n })*/\r\n setLoadingData({button:true})\r\n api.post('/api/reports/gsm-mass', {\r\n ControllerIds: arr,\r\n IsGrouping: true,\r\n EndPeriod: data.EndPeriod.toISOString(),\r\n StartPeriod: data.StartPeriod.toISOString(),\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"result recipts mass\")\r\n console.log(response)\r\n setIsLoading(true)\r\n setPermission({\r\n read: response.data.read,\r\n fullAccess: response.data.fullAccess\r\n })\r\n setLoadingData({button:false})\r\n\r\n if(response.data.read || response.data.fullAccess) {\r\n setData(response.data.dataResult.data)\r\n setConclusionReport(response.data.dataResult.result)\r\n displayToast(response.data.message, response.data.isSuccess, response.data.typeMessage)\r\n\r\n let pie_array = []\r\n let pie_label = []\r\n response.data.dataResult.result.map((item) => {\r\n pie_array.push(item.sum)\r\n pie_label.push(item.fuelName)\r\n })\r\n\r\n let column_label = []\r\n let column_data = []\r\n\r\n response.data.dataResult.resultGraphics.map((item, index) => \r\n {\r\n let column_array = []\r\n\r\n item.recordGraphics.map((i) => {\r\n column_array.push(i.liters)\r\n column_label.push(i.date)\r\n })\r\n\r\n column_data.push({\r\n label: item.fuelName,\r\n data: column_array,\r\n backgroundColor: columnColors[index],\r\n })\r\n })\r\n\r\n setColumnData({\r\n labels: column_label,\r\n datasets: column_data\r\n })\r\n\r\n setPieData({\r\n labels: pie_label,\r\n datasets: [\r\n {\r\n data: pie_array,\r\n backgroundColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderWidth: 1,\r\n },\r\n ],\r\n })\r\n\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setIsLoading(false)\r\n setLoadingData({button:false})\r\n });\r\n }\r\n const options = {\r\n plugins: {\r\n title: {\r\n display: false,\r\n text: 'Chart.js Bar Chart - Stacked',\r\n },\r\n },\r\n responsive: true,\r\n scales: {\r\n x: {\r\n stacked: true,\r\n },\r\n y: {\r\n stacked: true,\r\n },\r\n },\r\n };\r\n \r\n const optionsDonut2 = {\r\n responsive: true,\r\n animation:false,\r\n aspectRatio: 1.4,\r\n plugins: {\r\n legend: {\r\n position: 'bottom',\r\n },\r\n zoom: {\r\n zoom: {\r\n wheel: {\r\n enabled: true,\r\n },\r\n pinch: {\r\n enabled: true\r\n },\r\n mode: 'xy',\r\n }\r\n },\r\n },\r\n };\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n
    \r\n

    \r\n {translated.Analytics} - {translated.ReportFuelReleaseByMass}\r\n

    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n {\r\n isLoading\r\n ?\r\n permission.read || permission.fullAccess\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 {translated.WarningGsmMass}\r\n \r\n
    \r\n {\r\n data.length != 0\r\n ? \r\n data.map((item) => (\r\n <>\r\n

    {translated.Controller} - {item.controllerName} ({item.fuelName})

    \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.records.map((i) => (\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
    {translated.DateDefault}{translated.User}{translated.Transport}{translated.Liters}{translated.Density}{translated.Mass}{translated.Description}
    {moment(i.date).format(\"DD.MM.YYYY HH:mm:ss\")}{i.user}{i.transport}{i.countLitre}{i.density}{i.mass}{i.dosimeter == 0 ? translated.Fill : translated.Mernik}
    {translated.Final}{item.countLitre}
    {translated.Mernik}{item.countLitreMernik}
    \r\n \r\n ))\r\n : null\r\n }\r\n\r\n {\r\n conclusionReport.length != 0\r\n ?\r\n <>\r\n

    {translated.FinalPeriod}

    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n conclusionReport.map((item) => (\r\n \r\n \r\n \r\n \r\n \r\n ))\r\n }\r\n \r\n
    {translated.Fuel}{translated.Final}{translated.Mernik}
    {item.fuelName}{item.sum}{item.sumMernik}
    \r\n \r\n : null\r\n }\r\n
    \r\n
    \r\n \r\n : \r\n
    \r\n {translated.PermissionDenied}\r\n
    \r\n :\r\n
    \r\n {translated.DataNotLoad}\r\n
    \r\n }\r\n
    \r\n\r\n setShowFormAdd(false)}>\r\n \r\n \r\n {translated.FilterReport}\r\n \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {translated.Company}\r\n (\r\n {\r\n getStations(item.id)\r\n setValue(\"CompanyId\", item)\r\n setValue(\"ControllerIds\", null)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.CompanyId && \r\n {errors.CompanyId.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Controller}\r\n (\r\n \r\n )}\r\n />\r\n {errors.ControllerIds && \r\n {errors.ControllerIds.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.StartDate}\r\n (\r\n {\r\n setValue(\"StartPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartPeriod && \r\n {errors.StartPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.EndDate}\r\n (\r\n {\r\n setValue(\"EndPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndPeriod && \r\n {errors.EndPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n\r\n
    \r\n \r\n exportExcel()}>Excel\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","import React, { useState, useEffect, useContext, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, DropdownButton, Dropdown, Form, Card, Spinner, Alert, Table, ProgressBar} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller} from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport Chart from \"react-apexcharts\";\r\nimport moment from 'moment/moment'; \r\nimport './../../boxicons.css';\r\nimport Flatpickr from \"react-flatpickr\";\r\nimport \"flatpickr/dist/themes/light.css\";\r\nimport { Russian } from \"flatpickr/dist/l10n/ru.js\";\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslateReport } from '../../lang/reports/translateReport';\r\nimport {TranslatePouring} from '../../lang/pourings/translatePouring';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport {FormLocale} from '../../lang/form';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const ReportGsmNotGrouping = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const { control, register, handleSubmit, reset, setValue, getValues, formState, formState: { errors }} = useForm();\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [listStation, setListStation] = useState([])\r\n const [data, setData] = useState([])\r\n const [conclusionReport, setConclusionReport] = useState([])\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [listControllers, setListControllers] = useState([])\r\n const [countStations, setCountStations] = useState(0)\r\n const translated = useLittera(TranslateReport);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [diagrammColumn, setDiagrammColumn] = useState({\r\n series:[],\r\n })\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedStation, setSelectedStation] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n grid:false,\r\n button:false\r\n });\r\n \r\n const displayToast = (message, status, typeMessage) => {\r\n \r\n if(typeMessage == \"success\") {\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n } else {\r\n toast.info(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n }\r\n\r\n const exportExcel = () => {\r\n let start = getValues(\"StartPeriod\")\r\n let end = getValues(\"EndPeriod\")\r\n let arr = []\r\n let values = getValues(\"ControllerIds\")\r\n values.map((item) => {\r\n arr.push(item.id)\r\n })\r\n\r\n api.get(`/api/reports/gsm-not-grouping/export?ControllerIdsQuery=${arr}&EndPeriod=${end.toISOString()}\r\n &StartPeriod=${start.toISOString()}&IsGrouping=false`, {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n },\r\n responseType: 'blob',\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n let blob = new Blob([response.data], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' })\r\n let link = document.createElement('a')\r\n link.href = window.URL.createObjectURL(blob)\r\n link.download = 'gsm-not-grouping.xls'\r\n link.click()\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"companies\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n\r\n setListCompanies(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getStations = companyId => {\r\n api.get('/api/company/details/controllers', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":companyId\r\n },\r\n params:{\r\n companyId: companyId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListControllers(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const onSubmit = data => {\r\n console.log(data)\r\n let arr = []\r\n data.ControllerIds.map((item) => {\r\n arr.push(item.id)\r\n })\r\n setLoadingData({button:true})\r\n api.post('/api/reports/gsm-not-grouping', {\r\n ControllerIds: arr,\r\n IsGrouping: false,\r\n EndPeriod: data.EndPeriod.toISOString(),\r\n StartPeriod: data.StartPeriod.toISOString(),\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"result recipts\")\r\n \r\n setLoadingData({button:false})\r\n setIsLoading(true)\r\n setPermission({\r\n read: response.data.read,\r\n fullAccess: response.data.fullAccess\r\n })\r\n\r\n if(response.data.read || response.data.fullAccess)\r\n {\r\n setData(response.data.dataResult.resultNoGrouping)\r\n setConclusionReport(response.data.dataResult.result)\r\n displayToast(response.data.message, response.data.isSuccess, response.data.typeMessage)\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setIsLoading(false)\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n getCompanies()\r\n setValue(\"StartPeriod\", new Date())\r\n setValue(\"EndPeriod\", new Date())\r\n }, []);\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n\r\n
    \r\n

    \r\n {translated.Analytics} - {translated.ReportFuelReleaseByControllerNotGroup}\r\n

    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n {\r\n isLoading\r\n ?\r\n permission.read || permission.fullAccess\r\n ?\r\n
    \r\n
    \r\n {\r\n data.length != 0\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 data.map((i) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ))\r\n }\r\n \r\n
    {translated.DateDefault}{translated.Liters}{translated.Users}{translated.Transport}{translated.Description}
    {moment(i.date).format(\"DD.MM.YYYY HH:mm:ss\")}{i.countLitre}{i.user}{i.transport}{i.dosimeter == 0 ? translated.Fill : translated.Mernik}
    \r\n : null\r\n }\r\n\r\n {\r\n conclusionReport.length != 0\r\n ?\r\n <>\r\n

    {translated.FinalPeriod}

    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n conclusionReport.map((item) => (\r\n \r\n \r\n \r\n \r\n \r\n ))\r\n }\r\n \r\n
    {translated.Fuel}{translated.Final}{translated.Mernik}
    {item.fuelName}{item.sum}{item.sumMernik}
    \r\n \r\n : null\r\n }\r\n
    \r\n
    \r\n : \r\n
    {translated.PermissionDenied}\r\n
    \r\n :\r\n
    \r\n {translated.DataNotLoad}\r\n
    \r\n }\r\n\r\n
    \r\n\r\n setShowFormAdd(false)}>\r\n \r\n \r\n {translated.FilterReport}\r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {translated.Company}\r\n (\r\n {\r\n getStations(item.id)\r\n setValue(\"CompanyId\", item)\r\n setValue(\"ControllerIds\", null)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.CompanyIds && \r\n {errors.CompanyIds.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Controller}\r\n (\r\n \r\n )}\r\n />\r\n {errors.ControllerIds && \r\n {errors.ControllerIds.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.StartDate}\r\n (\r\n {\r\n setValue(\"StartPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartPeriod && \r\n {errors.StartPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.EndDate}\r\n (\r\n {\r\n setValue(\"EndPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndPeriod && \r\n {errors.EndPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n\r\n
    \r\n \r\n exportExcel()}>Excel\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","import React, { useState, useEffect, useContext, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, Dropdown, DropdownButton, Form, Card, Spinner, Alert, Table, ProgressBar} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller} from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport Chart from \"react-apexcharts\";\r\nimport moment from 'moment/moment';\r\nimport './../../boxicons.css';\r\nimport Flatpickr from \"react-flatpickr\";\r\nimport \"flatpickr/dist/themes/light.css\";\r\nimport { Russian } from \"flatpickr/dist/l10n/ru.js\";\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslateReport } from '../../lang/reports/translateReport';\r\nimport {TranslatePouring} from '../../lang/pourings/translatePouring';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport {FormLocale} from '../../lang/form';\r\nimport {\r\n CategoryScale,\r\n LinearScale,\r\n PointElement,\r\n LineElement,\r\n Title,\r\n Tooltip,\r\n Filler,\r\n Legend,\r\n } from 'chart.js';\r\nimport { Doughnut, Bar } from 'react-chartjs-2';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const ReportSumGSMController = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const { control, register, handleSubmit, reset, setValue, getValues, formState, formState: { errors }} = useForm();\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [listStation, setListStation] = useState([])\r\n const [data, setData] = useState([])\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [conclusionReport, setConclusionReport] = useState([])\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [listControllers, setListControllers] = useState([])\r\n const [countStations, setCountStations] = useState(0)\r\n const translated = useLittera(TranslateReport);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [columnColors, setColumnColors] = useState([\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ])\r\n const [columngData, setColumnData] = useState(\r\n {\r\n label:[],\r\n datasets: [],\r\n }\r\n )\r\n const [pieData, setPieData] = useState(\r\n {\r\n label: [],\r\n datasets: [\r\n {\r\n data: [],\r\n backgroundColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderWidth: 1,\r\n },\r\n ],\r\n }\r\n )\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedStation, setSelectedStation] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n grid:false,\r\n button:false\r\n });\r\n\r\n const listBooleans = [\r\n {label:translated.Day, value:false},\r\n {label:translated.Month, value:true}\r\n ]\r\n \r\n const displayToast = (message, status, typeMessage) => {\r\n \r\n if(typeMessage == \"success\") {\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n } else {\r\n toast.info(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n }\r\n\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"companies\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n\r\n setListCompanies(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getStations = companyId => {\r\n api.get('/api/company/details/controllers', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":companyId\r\n },\r\n params:{\r\n companyId: companyId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListControllers(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const exportExcel = () => {\r\n let start = getValues(\"StartPeriod\")\r\n let end = getValues(\"EndPeriod\")\r\n let arr = []\r\n let values = getValues(\"ControllerIds\")\r\n let grouping = getValues(\"GroupingIsMonth\")\r\n\r\n if(values != null)\r\n {\r\n values.map((item) => {\r\n arr.push(item.id)\r\n })\r\n }\r\n\r\n api.get(`/api/reports/gsm-sum-controllers/export?ControllerIdsQuery=${arr}&EndPeriod=${end.toISOString()}\r\n &StartPeriod=${start.toISOString()}&GroupingIsMonth=${grouping.value}`, {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n },\r\n responseType: 'blob',\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n let blob = new Blob([response.data], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' })\r\n let link = document.createElement('a')\r\n link.href = window.URL.createObjectURL(blob)\r\n link.download = 'gsm-sum-controllers.xls'\r\n link.click()\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const onSubmit = data => {\r\n console.log(data)\r\n let arr = []\r\n data.ControllerIds.map((item) => {\r\n arr.push(item.id)\r\n })\r\n setLoadingData({button:true})\r\n api.post('/api/reports/gsm-sum-controllers', {\r\n ControllerIds: arr,\r\n GroupingIsMonth: data.GroupingIsMonth.value,\r\n EndPeriod: data.EndPeriod.toISOString(),\r\n StartPeriod: data.StartPeriod.toISOString(),\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"result recipts\")\r\n \r\n setLoadingData({button:false})\r\n setIsLoading(true)\r\n setPermission({\r\n read: response.data.read,\r\n fullAccess: response.data.fullAccess\r\n })\r\n\r\n if(response.data.read || response.data.fullAccess)\r\n {\r\n setData(response.data.dataResult.data)\r\n setConclusionReport(response.data.dataResult.result)\r\n displayToast(response.data.message, response.data.isSuccess, response.data.typeMessage)\r\n\r\n let pie_array = []\r\n let pie_label = []\r\n response.data.dataResult.result.map((item) => {\r\n pie_array.push(item.sum)\r\n pie_label.push(item.fuelName)\r\n })\r\n\r\n let column_label = []\r\n let column_data = []\r\n let column_array = []\r\n\r\n response.data.dataResult.resultGraphics.map((item, index) => \r\n {\r\n column_array.push(item.countLitre)\r\n column_label.push(moment(item.date).format(\"DD.MM.YYYY\"))\r\n })\r\n\r\n column_data.push({\r\n label: \"Литры\",\r\n data: column_array,\r\n backgroundColor: columnColors[0],\r\n })\r\n\r\n setColumnData({\r\n labels: column_label,\r\n datasets: column_data\r\n })\r\n\r\n setColumnData({\r\n labels: column_label,\r\n datasets: column_data\r\n })\r\n\r\n setPieData({\r\n labels: pie_label,\r\n datasets: [\r\n {\r\n data: pie_array,\r\n backgroundColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderWidth: 1,\r\n },\r\n ],\r\n })\r\n\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setIsLoading(true)\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n getCompanies()\r\n setValue(\"StartPeriod\", new Date())\r\n setValue(\"EndPeriod\", new Date())\r\n }, []);\r\n\r\n const options = {\r\n plugins: {\r\n title: {\r\n display: false,\r\n text: 'Chart.js Bar Chart - Stacked',\r\n },\r\n },\r\n responsive: true,\r\n scales: {\r\n x: {\r\n stacked: true,\r\n },\r\n y: {\r\n stacked: true,\r\n },\r\n },\r\n };\r\n \r\n const optionsDonut2 = {\r\n responsive: true,\r\n animation:false,\r\n aspectRatio: 1.4,\r\n plugins: {\r\n legend: {\r\n position: 'bottom',\r\n },\r\n zoom: {\r\n zoom: {\r\n wheel: {\r\n enabled: true,\r\n },\r\n pinch: {\r\n enabled: true\r\n },\r\n mode: 'xy',\r\n }\r\n },\r\n },\r\n };\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n
    \r\n

    \r\n {translated.Analytics} - {translated.ReportTotalFuelController}\r\n

    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n {\r\n isLoading\r\n ?\r\n permission.read || permission.fullAccess\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 data.length != 0\r\n ? \r\n data.map((item) => (\r\n <>\r\n

    {translated.Controller} - {item.controllerName} ({item.fuelName})

    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n item.gsmSumControlleRecords.map((i) => (\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
    {translated.DateDefault}{translated.Liters}{translated.Mernik}
    {i.date}{i.sumLitres}{i.sumLitreDosimeter}
    {translated.Final}{item.countLitre}
    {translated.Mernik}{item.countLitreMernik}
    \r\n \r\n ))\r\n : null\r\n }\r\n\r\n {\r\n conclusionReport.length != 0\r\n ?\r\n <>\r\n

    {translated.FinalPeriod}

    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n conclusionReport.map((item) => (\r\n \r\n \r\n \r\n \r\n \r\n ))\r\n }\r\n \r\n
    {translated.Fuel}{translated.Final}{translated.Mernik}
    {item.fuelName}{item.sum}{item.sumMernik}
    \r\n \r\n : null\r\n }\r\n
    \r\n
    \r\n \r\n : \r\n
    \r\n {translated.PermissionDenied}\r\n
    \r\n :\r\n
    \r\n {translated.DataNotLoad}\r\n
    \r\n }\r\n
    \r\n\r\n setShowFormAdd(false)}>\r\n \r\n \r\n {translated.FilterReport}\r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {translated.Company}\r\n (\r\n {\r\n getStations(item.id)\r\n setValue(\"CompanyId\", item)\r\n setValue(\"ControllerIds\", null)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.CompanyIds && \r\n {errors.CompanyIds.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Controller}\r\n (\r\n \r\n )}\r\n />\r\n {errors.ControllerIds && \r\n {errors.ControllerIds.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Grouping}\r\n (\r\n setValue(\"GroupingIsMonth\", {label:item.label, value:item.value})}\r\n />\r\n )}\r\n />\r\n {errors.GroupingIsMonth && \r\n {errors.GroupingIsMonth.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.StartDate}\r\n (\r\n {\r\n setValue(\"StartPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartPeriod && \r\n {errors.StartPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.EndDate}\r\n (\r\n {\r\n setValue(\"EndPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndPeriod && \r\n {errors.EndPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n\r\n
    \r\n \r\n exportExcel()}>Excel\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","import React, { useState, useEffect, useContext, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, Dropdown, DropdownButton, Form, Card, Spinner, Alert, Table, ProgressBar} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller} from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport Chart from \"react-apexcharts\";\r\nimport moment from 'moment/moment';\r\nimport './../../boxicons.css';\r\nimport Flatpickr from \"react-flatpickr\";\r\nimport \"flatpickr/dist/themes/light.css\";\r\nimport { Russian } from \"flatpickr/dist/l10n/ru.js\";\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslateReport } from '../../lang/reports/translateReport';\r\nimport {TranslatePouring} from '../../lang/pourings/translatePouring';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport {FormLocale} from '../../lang/form';\r\nimport {\r\n CategoryScale,\r\n LinearScale,\r\n PointElement,\r\n LineElement,\r\n Title,\r\n Tooltip,\r\n Filler,\r\n Legend,\r\n } from 'chart.js';\r\nimport { Doughnut, Bar } from 'react-chartjs-2';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const ReportSumGSMUser = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const { control, register, handleSubmit, reset, setValue, getValues, formState, formState: { errors }} = useForm();\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [listStation, setListStation] = useState([])\r\n const [data, setData] = useState([])\r\n const [conclusionReport, setConclusionReport] = useState([])\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [listControllers, setListControllers] = useState([])\r\n const [countStations, setCountStations] = useState(0)\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [selectAllUsers, setSelectAllUsers] = useState(false)\r\n const [usersIsDisabled, setUsersIsDisabled] = useState(false)\r\n const translated = useLittera(TranslateReport);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [columnColors, setColumnColors] = useState([\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ])\r\n const [columngData, setColumnData] = useState(\r\n {\r\n label:[],\r\n datasets: [],\r\n }\r\n )\r\n const [pieData, setPieData] = useState(\r\n {\r\n label: [],\r\n datasets: [\r\n {\r\n data: [],\r\n backgroundColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderWidth: 1,\r\n },\r\n ],\r\n }\r\n )\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedStation, setSelectedStation] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n grid:false,\r\n button:false\r\n });\r\n\r\n const listBooleans = [\r\n {label:translated.Day, value:false},\r\n {label:translated.Month, value:true}\r\n ]\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n getCompanies()\r\n setValue(\"StartPeriod\", new Date())\r\n setValue(\"EndPeriod\", new Date())\r\n }, []);\r\n \r\n const displayToast = (message, status, typeMessage) => {\r\n \r\n if(typeMessage == \"success\") {\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n } else {\r\n toast.info(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n }\r\n\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"companies\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n\r\n setListCompanies(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getUsers = companyId => {\r\n api.get('/api/company/details/users', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":companyId\r\n },\r\n params:{\r\n companyId: companyId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.lastname + ' ' + item.firstname\r\n }))\r\n setListControllers(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const onSubmit = data => {\r\n console.log(data)\r\n let arr = []\r\n\r\n if(data.UserIds != null)\r\n {\r\n data.UserIds.map((item) => {\r\n arr.push(item.id)\r\n })\r\n }\r\n\r\n setLoadingData({button:true})\r\n api.post('/api/reports/gsm-sum-users', {\r\n UserIds: arr,\r\n CompanyId: data.Company.id,\r\n IsSelectAllUsers: selectAllUsers,\r\n GroupingIsMonth: data.GroupingIsMonth.value,\r\n EndPeriod: data.EndPeriod.toISOString(),\r\n StartPeriod: data.StartPeriod.toISOString(),\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n setIsLoading(true)\r\n console.log(\"result recipts\")\r\n \r\n setLoadingData({button:false})\r\n setPermission({\r\n read: response.data.read,\r\n fullAccess: response.data.fullAccess\r\n })\r\n\r\n if(response.data.read || response.data.fullAccess)\r\n {\r\n setData(response.data.dataResult.data)\r\n setConclusionReport(response.data.dataResult.result)\r\n displayToast(response.data.message, response.data.isSuccess, response.data.typeMessage)\r\n\r\n let pie_array = []\r\n let pie_label = []\r\n response.data.dataResult.result.map((item) => {\r\n pie_array.push(item.sum)\r\n pie_label.push(item.fuelName)\r\n })\r\n\r\n let column_label = []\r\n let column_data = []\r\n let column_array = []\r\n\r\n response.data.dataResult.resultGraphics.map((item, index) => \r\n {\r\n column_array.push(item.countLitre)\r\n column_label.push(moment(item.date).format(\"DD.MM.YYYY\"))\r\n })\r\n\r\n column_data.push({\r\n label: \"Литры\",\r\n data: column_array,\r\n backgroundColor: columnColors[0],\r\n })\r\n\r\n setColumnData({\r\n labels: column_label,\r\n datasets: column_data\r\n })\r\n\r\n setPieData({\r\n labels: pie_label,\r\n datasets: [\r\n {\r\n data: pie_array,\r\n backgroundColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderColor: [\r\n 'rgba(14, 8, 116, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderWidth: 1,\r\n },\r\n ],\r\n })\r\n\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n const exportExcel = () => {\r\n let start = getValues(\"StartPeriod\")\r\n let company = getValues(\"Company\")\r\n let isSelectAllUsers = selectAllUsers\r\n let end = getValues(\"EndPeriod\")\r\n let arr = []\r\n let values = getValues(\"ControllerIds\")\r\n let grouping = getValues(\"GroupingIsMonth\")\r\n\r\n if(values != null)\r\n {\r\n values.map((item) => {\r\n arr.push(item.id)\r\n }) \r\n }\r\n\r\n api.get(`/api/reports/gsm-sum-users/export?UserIds=${arr}&EndPeriod=${end.toISOString()}\r\n &StartPeriod=${start.toISOString()}&GroupingIsMonth=${grouping.value}&IsSelectAllUsers=${isSelectAllUsers}\r\n &CompanyId=${company.id}`, {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n },\r\n responseType: 'blob',\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n let blob = new Blob([response.data], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' })\r\n let link = document.createElement('a')\r\n link.href = window.URL.createObjectURL(blob)\r\n link.download = 'gsm-sum-users.xls'\r\n link.click()\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const options = {\r\n plugins: {\r\n title: {\r\n display: false,\r\n text: 'Chart.js Bar Chart - Stacked',\r\n },\r\n },\r\n responsive: true,\r\n scales: {\r\n x: {\r\n stacked: true,\r\n },\r\n y: {\r\n stacked: true,\r\n },\r\n },\r\n };\r\n \r\n const optionsDonut2 = {\r\n responsive: true,\r\n animation:false,\r\n aspectRatio: 1.4,\r\n plugins: {\r\n legend: {\r\n position: 'bottom',\r\n },\r\n zoom: {\r\n zoom: {\r\n wheel: {\r\n enabled: true,\r\n },\r\n pinch: {\r\n enabled: true\r\n },\r\n mode: 'xy',\r\n }\r\n },\r\n },\r\n };\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n
    \r\n

    \r\n {translated.Analytics} - {translated.ReportTotalFuelUsers}\r\n

    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n {\r\n isLoading\r\n ?\r\n permission.read || permission.fullAccess\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 data.length != 0\r\n ? \r\n data.map((item) => (\r\n <>\r\n

    Пользователь - {item.controllerName} ({item.fuelName})

    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n item.gsmSumControlleRecords.map((i) => (\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
    {translated.DateDefault}{translated.Liters}{translated.Mernik}
    {i.date}{i.sumLitres}{i.sumLitreDosimeter}
    {translated.Final}{item.countLitre}
    {translated.Mernik}{item.countLitreMernik}
    \r\n \r\n ))\r\n : null\r\n }\r\n\r\n {\r\n conclusionReport.length != 0\r\n ?\r\n <>\r\n

    {translated.FinalPeriod}

    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n conclusionReport.map((item) => (\r\n \r\n \r\n \r\n \r\n \r\n ))\r\n }\r\n \r\n
    {translated.Fuel}{translated.Final}{translated.Mernik}
    {item.fuelName}{item.sum}{item.sumMernik}
    \r\n \r\n : null\r\n }\r\n
    \r\n
    \r\n \r\n : \r\n
    \r\n {translated.PermissionDenied}\r\n
    \r\n :\r\n
    \r\n {translated.DataNotLoad}\r\n
    \r\n }\r\n\r\n
    \r\n\r\n setShowFormAdd(false)}>\r\n \r\n \r\n {translated.FilterReport}\r\n \r\n \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {translated.Company}\r\n (\r\n {\r\n getUsers(item.id)\r\n setValue(\"Company\", item)\r\n setValue(\"UserIds\", null)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.CompanyIds && \r\n {errors.CompanyIds.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n {\r\n setSelectAllUsers(e.target.checked)\r\n setUsersIsDisabled(e.target.checked)\r\n }}\r\n />\r\n
    \r\n\r\n
    \r\n \r\n {translated.Users}\r\n (\r\n \r\n )}\r\n />\r\n {errors.UserIds && \r\n {errors.UserIds.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Grouping}\r\n (\r\n setValue(\"GroupingIsMonth\", {label:item.label, value:item.value})}\r\n />\r\n )}\r\n />\r\n {errors.GroupingIsMonth && \r\n {errors.GroupingIsMonth.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.StartDate}\r\n (\r\n {\r\n setValue(\"StartPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartPeriod && \r\n {errors.StartPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.EndDate}\r\n (\r\n {\r\n setValue(\"EndPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndPeriod && \r\n {errors.EndPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n\r\n
    \r\n \r\n exportExcel()}>Excel\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","import React, { useState, useEffect, useContext, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, Dropdown, DropdownButton, Form, Card, Spinner, Alert, Table, ProgressBar} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller} from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport Chart from \"react-apexcharts\";\r\nimport moment from 'moment/moment'; \r\nimport './../../boxicons.css';\r\nimport Flatpickr from \"react-flatpickr\";\r\nimport \"flatpickr/dist/themes/light.css\";\r\nimport { Russian } from \"flatpickr/dist/l10n/ru.js\";\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslateReport } from '../../lang/reports/translateReport';\r\nimport {TranslatePouring} from '../../lang/pourings/translatePouring';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport {FormLocale} from '../../lang/form';\r\nimport {\r\n CategoryScale,\r\n LinearScale,\r\n PointElement,\r\n LineElement,\r\n Title,\r\n Tooltip,\r\n Filler,\r\n Legend,\r\n } from 'chart.js';\r\nimport { Doughnut, Bar } from 'react-chartjs-2';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const ReportGsmSumTransport = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const { control, register, handleSubmit, reset, setValue, getValues, formState, formState: { errors }} = useForm();\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [listStation, setListStation] = useState([])\r\n const [data, setData] = useState([])\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [conclusionReport, setConclusionReport] = useState([])\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [listControllers, setListControllers] = useState([])\r\n const [listTransports, setListTransports] = useState([])\r\n const [countStations, setCountStations] = useState(0)\r\n const [selectAllUsers, setSelectAllUsers] = useState(false)\r\n const [usersIsDisabled, setUsersIsDisabled] = useState(false)\r\n const translated = useLittera(TranslateReport);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [columnColors, setColumnColors] = useState([\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ])\r\n const [columngData, setColumnData] = useState(\r\n {\r\n label:[],\r\n datasets: [],\r\n }\r\n )\r\n const [pieData, setPieData] = useState(\r\n {\r\n label: [],\r\n datasets: [\r\n {\r\n data: [],\r\n backgroundColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderWidth: 1,\r\n },\r\n ],\r\n }\r\n )\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedStation, setSelectedStation] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n grid:false,\r\n button:false\r\n });\r\n\r\n const listBooleans = [\r\n {label:translated.Day, value:false},\r\n {label:translated.Month, value:true}\r\n ]\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n getCompanies()\r\n setValue(\"StartPeriod\", new Date())\r\n setValue(\"EndPeriod\", new Date())\r\n }, []);\r\n \r\n const displayToast = (message, status, typeMessage) => {\r\n \r\n if(typeMessage == \"success\") {\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n } else {\r\n toast.info(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n }\r\n\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"companies\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n\r\n setListCompanies(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getControllers = companyId => {\r\n api.get('/api/company/details/controllers', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":companyId\r\n },\r\n params:{\r\n companyId: companyId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListControllers(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getTransports = companyId => {\r\n api.get('/api/company/details/transports', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":companyId\r\n },\r\n params:{\r\n companyId: companyId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListTransports(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const onSubmit = data => {\r\n console.log(data)\r\n let arr = []\r\n\r\n if(data.TransportIds != null)\r\n {\r\n data.TransportIds.map((item) => {\r\n arr.push(item.id)\r\n })\r\n }\r\n\r\n setLoadingData({button:true})\r\n api.post('/api/reports/gsm-sum-transports', {\r\n TransportIds: arr,\r\n CompanyId: data.Company.id,\r\n IsSelectAllUsers: selectAllUsers,\r\n GroupingIsMonth: data.GroupingIsMonth.value,\r\n EndPeriod: data.EndPeriod.toISOString(),\r\n StartPeriod: data.StartPeriod.toISOString(),\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"result recipts\")\r\n \r\n setLoadingData({button:false})\r\n setIsLoading(true)\r\n setPermission({\r\n read: response.data.read,\r\n fullAccess: response.data.fullAccess\r\n })\r\n\r\n if(response.data.read || response.data.fullAccess)\r\n {\r\n setData(response.data.dataResult.data)\r\n setConclusionReport(response.data.dataResult.result)\r\n displayToast(response.data.message, response.data.isSuccess, response.data.typeMessage)\r\n\r\n let pie_array = []\r\n let pie_label = []\r\n response.data.dataResult.result.map((item) => {\r\n pie_array.push(item.sum)\r\n pie_label.push(item.fuelName)\r\n })\r\n\r\n let column_label = []\r\n let column_data = []\r\n let column_array = []\r\n\r\n response.data.dataResult.resultGraphics.map((item, index) => \r\n {\r\n column_array.push(item.countLitre)\r\n column_label.push(moment(item.date).format(\"DD.MM.YYYY\"))\r\n })\r\n\r\n column_data.push({\r\n label: \"Литры\",\r\n data: column_array,\r\n backgroundColor: columnColors[0],\r\n })\r\n\r\n setColumnData({\r\n labels: column_label,\r\n datasets: column_data\r\n })\r\n\r\n setPieData({\r\n labels: pie_label,\r\n datasets: [\r\n {\r\n data: pie_array,\r\n backgroundColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderColor: [\r\n 'rgba(14, 8, 116, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderWidth: 1,\r\n },\r\n ],\r\n })\r\n\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setIsLoading(false)\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n const exportExcel = () => {\r\n let start = getValues(\"StartPeriod\")\r\n let company = getValues(\"Company\")\r\n let isSelectAllUsers = selectAllUsers\r\n let end = getValues(\"EndPeriod\")\r\n let arr = []\r\n let values = getValues(\"TransportIds\")\r\n let grouping = getValues(\"GroupingIsMonth\")\r\n\r\n if(values != null)\r\n {\r\n values.map((item) => {\r\n arr.push(item.id)\r\n }) \r\n }\r\n\r\n api.get(`/api/reports/gsm-sum-transports/export?TransportIds=${arr}&EndPeriod=${end.toISOString()}\r\n &StartPeriod=${start.toISOString()}&GroupingIsMonth=${grouping.value}&IsSelectAllUsers=${isSelectAllUsers}\r\n &CompanyId=${company.id}`, {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n },\r\n responseType: 'blob',\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n let blob = new Blob([response.data], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' })\r\n let link = document.createElement('a')\r\n link.href = window.URL.createObjectURL(blob)\r\n link.download = 'gsm-sum-transports.xls'\r\n link.click()\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const options = {\r\n plugins: {\r\n title: {\r\n display: false,\r\n text: 'Chart.js Bar Chart - Stacked',\r\n },\r\n },\r\n responsive: true,\r\n scales: {\r\n x: {\r\n stacked: true,\r\n },\r\n y: {\r\n stacked: true,\r\n },\r\n },\r\n };\r\n \r\n const optionsDonut2 = {\r\n responsive: true,\r\n animation:false,\r\n aspectRatio: 1.4,\r\n plugins: {\r\n legend: {\r\n position: 'bottom',\r\n },\r\n zoom: {\r\n zoom: {\r\n wheel: {\r\n enabled: true,\r\n },\r\n pinch: {\r\n enabled: true\r\n },\r\n mode: 'xy',\r\n }\r\n },\r\n },\r\n };\r\n\r\n const xmlExport = () => {\r\n let start = getValues(\"StartPeriod\")\r\n let company = getValues(\"Company\")\r\n let isSelectAllUsers = selectAllUsers\r\n let end = getValues(\"EndPeriod\")\r\n let arr = []\r\n let values = getValues(\"TransportIds\")\r\n let grouping = getValues(\"GroupingIsMonth\")\r\n\r\n if(values != null)\r\n {\r\n values.map((item) => {\r\n arr.push(item.id)\r\n }) \r\n }\r\n\r\n api.get(`/api/reports/gsm-sum-transports/export/xml?TransportIds=${arr}&EndPeriod=${end.toISOString()}\r\n &StartPeriod=${start.toISOString()}&GroupingIsMonth=${grouping.value}&IsSelectAllUsers=${isSelectAllUsers}\r\n &CompanyId=${company.id}`, {\r\n headers:{\r\n \"content-type\" : \"application/xml\",\r\n },\r\n responseType: 'blob',\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n let blob = new Blob([response.data], { type: 'application/xml' })\r\n let link = document.createElement('a')\r\n link.href = window.URL.createObjectURL(blob)\r\n link.download = 'gsm-sum-transports.xml'\r\n link.click()\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n
    \r\n

    \r\n {translated.Analytics} - {translated.ReportTotalFuelTransports}\r\n

    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n {\r\n isLoading\r\n ?\r\n permission.read || permission.fullAccess\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 data.length != 0\r\n ? \r\n data.map((item) => (\r\n <>\r\n

    {translated.Transport} - {item.controllerName} ({item.fuelName})

    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n item.gsmSumControlleRecords.map((i) => (\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
    {translated.DateDefault}{translated.Liters}{translated.Mernik}
    {i.date}{i.sumLitres}{i.sumLitreDosimeter}
    {translated.Final}{item.countLitre}
    {translated.Mernik}{item.countLitreMernik}
    \r\n \r\n ))\r\n : null\r\n }\r\n\r\n {\r\n conclusionReport.length != 0\r\n ?\r\n <>\r\n

    {translated.FinalPeriod}

    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n conclusionReport.map((item) => (\r\n \r\n \r\n \r\n \r\n \r\n ))\r\n }\r\n \r\n
    {translated.Fuel}{translated.Final}{translated.Mernik}
    {item.fuelName}{item.sum}{item.sumMernik}
    \r\n \r\n : null\r\n }\r\n
    \r\n
    \r\n \r\n\r\n : \r\n
    \r\n \r\n {translated.PermissionDenied}\r\n \r\n
    \r\n :\r\n
    \r\n {translated.DataNotLoad}\r\n
    \r\n }\r\n
    \r\n\r\n setShowFormAdd(false)}>\r\n \r\n \r\n {translated.FilterReport}\r\n \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {translated.Company}\r\n (\r\n {\r\n getControllers(item.id)\r\n getTransports(item.id)\r\n setValue(\"Company\", item)\r\n setValue(\"TransportIds\", null)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.CompanyIds && \r\n {errors.CompanyIds.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n {\r\n setSelectAllUsers(e.target.checked)\r\n setUsersIsDisabled(e.target.checked)\r\n }}\r\n />\r\n
    \r\n\r\n
    \r\n \r\n {translated.Transport}\r\n (\r\n \r\n )}\r\n />\r\n {errors.TransportIds && \r\n {errors.TransportIds.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Controller}\r\n (\r\n \r\n )}\r\n />\r\n {errors.ControllerIds && \r\n {errors.ControllerIds.message}\r\n }\r\n \r\n
    \r\n\r\n\r\n
    \r\n \r\n {translated.Grouping}\r\n (\r\n setValue(\"GroupingIsMonth\", {label:item.label, value:item.value})}\r\n />\r\n )}\r\n />\r\n {errors.GroupingIsMonth && \r\n {errors.GroupingIsMonth.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.StartDate}\r\n (\r\n {\r\n setValue(\"StartPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartPeriod && \r\n {errors.StartPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.EndDate}\r\n (\r\n {\r\n setValue(\"EndPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndPeriod && \r\n {errors.EndPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n\r\n
    \r\n \r\n exportExcel()}>Excel\r\n xmlExport()}>XML\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","import React, { useState, useEffect, useContext, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, Dropdown, DropdownButton, Form, Card, Spinner, Alert, Table, ProgressBar} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller} from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport Chart from \"react-apexcharts\";\r\nimport moment from 'moment/moment';\r\nimport './../../boxicons.css';\r\nimport Flatpickr from \"react-flatpickr\";\r\nimport \"flatpickr/dist/themes/light.css\";\r\nimport { Russian } from \"flatpickr/dist/l10n/ru.js\";\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslateReport } from '../../lang/reports/translateReport';\r\nimport {TranslatePouring} from '../../lang/pourings/translatePouring';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport {FormLocale} from '../../lang/form';\r\nimport {\r\n CategoryScale,\r\n LinearScale,\r\n PointElement,\r\n LineElement,\r\n Title,\r\n Tooltip,\r\n Filler,\r\n Legend,\r\n } from 'chart.js';\r\nimport { Doughnut, Bar } from 'react-chartjs-2';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const ReportGsmSumCompany = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const { control, register, handleSubmit, reset, setValue, getValues, formState, formState: { errors }} = useForm();\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [listStation, setListStation] = useState([])\r\n const [data, setData] = useState([])\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [conclusionReport, setConclusionReport] = useState([])\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [listControllers, setListControllers] = useState([])\r\n const [countStations, setCountStations] = useState(0)\r\n const [selectAllUsers, setSelectAllUsers] = useState(false)\r\n const [usersIsDisabled, setUsersIsDisabled] = useState(false)\r\n const translated = useLittera(TranslateReport);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [columnColors, setColumnColors] = useState([\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ])\r\n const [columngData, setColumnData] = useState(\r\n {\r\n label:[],\r\n datasets: [],\r\n }\r\n )\r\n const [pieData, setPieData] = useState(\r\n {\r\n label: [],\r\n datasets: [\r\n {\r\n data: [],\r\n backgroundColor: [\r\n 'rgba(0, 70, 128, 1)',\r\n 'rgba(255, 179, 0, 1)',\r\n 'rgba(10, 100, 164, 1)',\r\n 'rgba(75, 192, 192, 1)',\r\n 'rgba(153, 102, 255, 1)',\r\n 'rgba(255, 159, 64, 1)',\r\n ],\r\n borderColor: [\r\n 'rgba(14, 8, 116, 1)',\r\n 'rgba(255, 179, 0, 1)',\r\n 'rgba(10, 100, 164, 1)',\r\n 'rgba(75, 192, 192, 1)',\r\n 'rgba(153, 102, 255, 1)',\r\n 'rgba(255, 159, 64, 1)',\r\n ],\r\n borderWidth: 1,\r\n },\r\n ],\r\n }\r\n )\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedStation, setSelectedStation] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n grid:false,\r\n button:false\r\n });\r\n\r\n const listBooleans = [\r\n {label:translated.Day, value:false},\r\n {label:translated.Month, value:true}\r\n ]\r\n \r\n const displayToast = (message, status, typeMessage) => {\r\n \r\n if(typeMessage == \"success\") {\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n } else {\r\n toast.info(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n }\r\n\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"companies\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n\r\n setListCompanies(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getStations = companyId => {\r\n api.get('/api/company/details/controllers', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":companyId\r\n },\r\n params:{\r\n companyId: companyId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListControllers(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const exportExcel = () => {\r\n let start = getValues(\"StartPeriod\")\r\n let end = getValues(\"EndPeriod\")\r\n let company = getValues(\"Company\")\r\n let isSelectAllUsers = selectAllUsers\r\n let arr = []\r\n let values = getValues(\"ControllerIds\")\r\n let grouping = getValues(\"GroupingIsMonth\")\r\n\r\n if(values != null)\r\n {\r\n values.map((item) => {\r\n arr.push(item.id)\r\n })\r\n }\r\n\r\n api.get(`/api/reports/gsm-sum-companies/export?ControllerIdsQuery=${arr}&EndPeriod=${end.toISOString()}\r\n &StartPeriod=${start.toISOString()}\r\n &CompanyId=${company.id}\r\n &IsSelectAllUsers=${selectAllUsers}\r\n &GroupingIsMonth=${grouping.value}`, {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n },\r\n responseType: 'blob',\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n let blob = new Blob([response.data], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' })\r\n let link = document.createElement('a')\r\n link.href = window.URL.createObjectURL(blob)\r\n link.download = 'gsm-sum-controllers.xls'\r\n link.click()\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const onSubmit = data => {\r\n console.log(data)\r\n let arr = []\r\n\r\n if(data.ControllerIds != null)\r\n {\r\n data.ControllerIds.map((item) => {\r\n arr.push(item.id)\r\n })\r\n }\r\n\r\n setLoadingData({button:true})\r\n api.post('/api/reports/gsm-sum-companies', {\r\n ControllerIds: arr,\r\n CompanyId: data.Company.id,\r\n IsSelectAllUsers: selectAllUsers,\r\n GroupingIsMonth: data.GroupingIsMonth.value,\r\n EndPeriod: data.EndPeriod.toISOString(),\r\n StartPeriod: data.StartPeriod.toISOString(),\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"result recipts\")\r\n \r\n setLoadingData({button:false})\r\n setIsLoading(true)\r\n setPermission({\r\n read: response.data.read,\r\n fullAccess: response.data.fullAccess\r\n })\r\n\r\n if(response.data.read || response.data.fullAccess)\r\n {\r\n setData(response.data.dataResult.data)\r\n setConclusionReport(response.data.dataResult.result)\r\n displayToast(response.data.message, response.data.isSuccess, response.data.typeMessage)\r\n\r\n let pie_array = []\r\n let pie_label = []\r\n response.data.dataResult.result.map((item) => {\r\n pie_array.push(item.sum)\r\n pie_label.push(item.fuelName)\r\n })\r\n\r\n let column_label = []\r\n let column_data = []\r\n let column_array = []\r\n\r\n response.data.dataResult.resultGraphics.map((item, index) => \r\n {\r\n column_array.push(item.countLitre)\r\n column_label.push(moment(item.date).format(\"DD.MM.YYYY\"))\r\n })\r\n\r\n column_data.push({\r\n label: \"Литры\",\r\n data: column_array,\r\n backgroundColor: columnColors[0],\r\n })\r\n\r\n setColumnData({\r\n labels: column_label,\r\n datasets: column_data\r\n })\r\n\r\n setPieData({\r\n labels: pie_label,\r\n datasets: [\r\n {\r\n data: pie_array,\r\n backgroundColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderWidth: 1,\r\n },\r\n ],\r\n })\r\n\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setIsLoading(true)\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n getCompanies()\r\n setValue(\"StartPeriod\", new Date())\r\n setValue(\"EndPeriod\", new Date())\r\n }, []);\r\n\r\n const options = {\r\n plugins: {\r\n title: {\r\n display: false,\r\n text: 'Chart.js Bar Chart - Stacked',\r\n },\r\n },\r\n responsive: true,\r\n scales: {\r\n x: {\r\n stacked: true,\r\n },\r\n y: {\r\n stacked: true,\r\n },\r\n },\r\n };\r\n \r\n const optionsDonut2 = {\r\n responsive: true,\r\n animation:false,\r\n aspectRatio: 1.4,\r\n plugins: {\r\n legend: {\r\n position: 'bottom',\r\n },\r\n zoom: {\r\n zoom: {\r\n wheel: {\r\n enabled: true,\r\n },\r\n pinch: {\r\n enabled: true\r\n },\r\n mode: 'xy',\r\n }\r\n },\r\n },\r\n };\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n
    \r\n

    \r\n {translated.Analytics} - {translated.ReportTotalFuelCompanies}\r\n

    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n {\r\n isLoading\r\n ?\r\n permission.read || permission.fullAccess\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 data.length != 0\r\n ? \r\n data.map((item) => (\r\n <>\r\n

    {translated.Company} - {item.controllerName} ({item.fuelName})

    \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.gsmSumControlleRecords.map((i) => (\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
    {translated.DateDefault}{translated.Liters}{translated.Price}{translated.Sum}
    {i.date}{i.sumLitres}{i.price}{i.sum}
    {translated.Final}{item.countLitre}
    {translated.Sum}{item.finalSum}
    \r\n \r\n ))\r\n : null\r\n }\r\n\r\n {\r\n conclusionReport.length != 0\r\n ?\r\n <>\r\n

    {translated.FinalPeriod}

    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n conclusionReport.map((item) => (\r\n \r\n \r\n \r\n \r\n \r\n ))\r\n }\r\n \r\n
    {translated.Fuel}{translated.Final}{translated.Sum}
    {item.fuelName}{item.sum}{item.sumMoney}
    \r\n \r\n : null\r\n }\r\n
    \r\n
    \r\n \r\n : \r\n
    \r\n {translated.PermissionDenied}\r\n
    \r\n :\r\n
    \r\n {translated.DataNotLoad}\r\n
    \r\n }\r\n
    \r\n\r\n setShowFormAdd(false)}>\r\n \r\n \r\n {translated.FilterReport}\r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {translated.Company}\r\n (\r\n {\r\n getStations(item.id)\r\n setValue(\"Company\", item)\r\n setValue(\"ControllerIds\", null)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.CompanyIds && \r\n {errors.CompanyIds.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n {\r\n setSelectAllUsers(e.target.checked)\r\n setUsersIsDisabled(e.target.checked)\r\n }}\r\n />\r\n
    \r\n\r\n
    \r\n \r\n {translated.Controller}\r\n (\r\n \r\n )}\r\n />\r\n {errors.ControllerIds && \r\n {errors.ControllerIds.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Grouping}\r\n (\r\n setValue(\"GroupingIsMonth\", {label:item.label, value:item.value})}\r\n />\r\n )}\r\n />\r\n {errors.GroupingIsMonth && \r\n {errors.GroupingIsMonth.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.StartDate}\r\n (\r\n {\r\n setValue(\"StartPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartPeriod && \r\n {errors.StartPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.EndDate}\r\n (\r\n {\r\n setValue(\"EndPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndPeriod && \r\n {errors.EndPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n\r\n
    \r\n \r\n exportExcel()}>Excel\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","import React, { useState, useEffect, useContext, useMemo, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, Form, Card, Spinner, Alert, Table, ProgressBar} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller} from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport Chart from \"react-apexcharts\";\r\nimport moment from 'moment/moment';\r\nimport MaterialReactTable from 'material-react-table';\r\nimport { MRT_Localization_RU } from 'material-react-table/locales/ru'; \r\nimport './../../boxicons.css';\r\nimport Flatpickr from \"react-flatpickr\";\r\nimport \"flatpickr/dist/themes/light.css\";\r\nimport { Russian } from \"flatpickr/dist/l10n/ru.js\"\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslateReport } from '../../lang/reports/translateReport';\r\nimport {TranslatePouring} from '../../lang/pourings/translatePouring';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport {FormLocale} from '../../lang/form';\r\nimport { Chart as ChartJS } from 'chart.js/auto'\r\nimport zoomPlugin from 'chartjs-plugin-zoom';\r\nimport {\r\n CategoryScale,\r\n LinearScale,\r\n PointElement,\r\n LineElement,\r\n Title,\r\n Tooltip,\r\n Filler,\r\n Legend,\r\n } from 'chart.js';\r\nimport { Line } from 'react-chartjs-2';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const ReportGsmConnect = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [listStation, setListStation] = useState([])\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [data, setData] = useState([])\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [listControllers, setListControllers] = useState([])\r\n const [showDiagramm, setShowDiagramm] = useState(false)\r\n const translated = useLittera(TranslateReport);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [diagrammColumn, setDiagrammColumn] = useState({\r\n series:[],\r\n test:{}\r\n })\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedStation, setSelectedStation] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n grid:false,\r\n button:false\r\n });\r\n \r\n const displayToast = (message, status, typeMessage) => {\r\n \r\n if(typeMessage == \"success\") {\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n } else {\r\n toast.info(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n }\r\n\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"companies\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n\r\n setListCompanies(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getStations = companyId => {\r\n api.get('/api/company/details/controllers', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":companyId\r\n },\r\n params:{\r\n companyId: companyId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"stations of company\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListControllers(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getControllers = stationId => {\r\n api.get('/api/stations/details/controllers', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"Id\":stationId\r\n },\r\n params:{\r\n Id: stationId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"controllers of station\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListControllers(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const onSubmit = data => {\r\n console.log(data)\r\n console.log(data.EndPeriod.toISOString())\r\n setLoadingData({button:true})\r\n api.post('/api/reports/gsm-connects', {\r\n ControllerId: data.ControllerId.id,\r\n EndPeriod: data.EndPeriod.toISOString(),\r\n StartPeriod: data.StartPeriod.toISOString(),\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"messages\")\r\n \r\n setLoadingData({button:false})\r\n setIsLoading(true)\r\n setPermission({\r\n read: response.data.read,\r\n fullAccess: response.data.fullAccess\r\n })\r\n\r\n if(response.data.read || response.data.fullAccess)\r\n {\r\n console.log(\"connect series diagramm\")\r\n console.log(response.data)\r\n setData(response.data.listDatas)\r\n displayToast(response.data.message, response.data.isSuccess, response.data.typeMessage)\r\n \r\n let array_series_data = []\r\n let localLabels = []\r\n response.data.listDatas.filter((i) => i.csq >= 6 && i.csq <= 31).map((item) => {\r\n array_series_data.push(item.csq)\r\n localLabels.push(moment(item.date).format(\"DD.MM.YYYY HH:mm\"))\r\n })\r\n\r\n setDiagrammColumn({\r\n test: {\r\n labels: localLabels,\r\n datasets: [\r\n {\r\n label: 'CSQ',\r\n borderColor: 'rgb(53, 162, 235)',\r\n backgroundColor: 'rgba(53, 162, 235, 0.5)',\r\n data: array_series_data,\r\n tension: 0.1,\r\n fill: false\r\n },\r\n ],\r\n }\r\n })\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setIsLoading(false)\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n getCompanies()\r\n setValue(\"StartPeriod\", new Date())\r\n setValue(\"EndPeriod\", new Date())\r\n }, []);\r\n\r\n const columns = useMemo(\r\n () => [\r\n {\r\n accessorFn: (row) => moment(row.date).format(\"DD.MM.YYYY HH:mm\"),\r\n accessorKey: 'date', \r\n header: translated.Time,\r\n },\r\n {\r\n accessorFn: (row) => row.csq,\r\n id: 'csq',\r\n header: 'CSQ',\r\n },\r\n {\r\n accessorFn: (row) => row.errorConnect,\r\n accessorKey: 'error', //normal accessorKey\r\n header: translated.Error,\r\n },\r\n ],\r\n [],\r\n );\r\n\r\n const options = {\r\n chart: {\r\n height: 250,\r\n type: 'area',\r\n zoom: {\r\n enabled: true\r\n },\r\n animations: {\r\n enabled: false\r\n }\r\n },\r\n markers: {\r\n size: 0\r\n },\r\n toolbar: {\r\n autoSelected: 'zoom'\r\n },\r\n dataLabels: {\r\n enabled: false\r\n },\r\n colors:['#0B61A4', '#F44336'],\r\n stroke: {\r\n curve: 'straight'\r\n },\r\n title: {\r\n text: translated.ReportGsmConnect,\r\n align: 'center'\r\n },\r\n grid: {\r\n row: {\r\n colors: ['#f3f3f3', 'transparent'], // takes an array which will be repeated on columns\r\n opacity: 0.5\r\n },\r\n },\r\n\r\n }\r\n\r\n const handleShowDiagramm = (status) => {\r\n if(!showDiagramm) {\r\n setShowDiagramm(status)\r\n }\r\n }\r\n \r\n const optionsTest = {\r\n responsive: true,\r\n animation:false,\r\n plugins: {\r\n legend: {\r\n position: 'top',\r\n },\r\n zoom: {\r\n zoom: {\r\n wheel: {\r\n enabled: true,\r\n },\r\n pinch: {\r\n enabled: true\r\n },\r\n mode: 'xy',\r\n }\r\n }\r\n },\r\n };\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n\r\n
    \r\n

    \r\n {translated.Analytics} - {translated.ReportGsmConnect}\r\n

    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n {\r\n isLoading\r\n ?\r\n permission.read || permission.fullAccess\r\n ? \r\n <>\r\n \r\n
    \r\n \r\n
    \r\n\r\n {\r\n showDiagramm\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
    \r\n \r\n : \r\n
    \r\n \r\n {translated.PermissionDenied}\r\n \r\n
    \r\n : \r\n
    \r\n {translated.DataNotLoad}\r\n
    \r\n }\r\n \r\n
    \r\n\r\n setShowFormAdd(false)}>\r\n \r\n \r\n {translated.FilterReport}\r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {translated.Company}\r\n (\r\n {\r\n getStations(item.id)\r\n setSelectedCompany({label:item.label, value:item.value})\r\n setValue(\"ControllerId\", null)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Station && \r\n {errors.Station.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Controller}\r\n (\r\n {\r\n console.log(item)\r\n setValue(\"ControllerId\", item)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.Controller && \r\n {errors.Controller.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.StartDate}\r\n (\r\n {\r\n setValue(\"StartPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartPeriod && \r\n {errors.StartPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.EndDate}\r\n (\r\n {\r\n setValue(\"EndPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndPeriod && \r\n {errors.EndPeriod.message}\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","import React, { useState, useEffect, useContext, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, Form, Card, Spinner, Alert, Table, ProgressBar} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller} from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport Chart from \"react-apexcharts\";\r\nimport moment from 'moment/moment';\r\nimport './../../boxicons.css';\r\nimport Flatpickr from \"react-flatpickr\";\r\nimport \"flatpickr/dist/themes/light.css\";\r\nimport { Russian } from \"flatpickr/dist/l10n/ru.js\";\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const ReportGsmPouringStation = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [listStation, setListStation] = useState([])\r\n const [data, setData] = useState([])\r\n const [conclusionReport, setConclusionReport] = useState([])\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [listControllers, setListControllers] = useState([])\r\n const [countStations, setCountStations] = useState(0)\r\n const [diagrammColumn, setDiagrammColumn] = useState({\r\n series:[],\r\n })\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedStation, setSelectedStation] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n grid:false,\r\n button:false\r\n });\r\n \r\n const displayToast = (message, status, typeMessage) => {\r\n \r\n if(typeMessage == \"success\") {\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n } else {\r\n toast.info(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n }\r\n\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"companies\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n\r\n setListCompanies(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getStations = companyId => {\r\n api.get('/api/company/details/controllers', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":companyId\r\n },\r\n params:{\r\n companyId: companyId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListControllers(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const onSubmit = data => {\r\n console.log(data)\r\n let arr = []\r\n data.ControllerIds.map((item) => {\r\n arr.push(item.id)\r\n })\r\n setLoadingData({button:true})\r\n api.post('/api/reports/gsm-controllers', {\r\n ControllerIds: arr,\r\n IsGrouping: true,\r\n EndPeriod: data.EndPeriod.toISOString(),\r\n StartPeriod: data.StartPeriod.toISOString(),\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"result recipts\")\r\n \r\n setLoadingData({button:false})\r\n setData(response.data.dataResult.data)\r\n setConclusionReport(response.data.dataResult.result)\r\n displayToast(response.data.message, response.data.isSuccess, response.data.typeMessage)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n useEffect(() => {\r\n getCompanies()\r\n }, []);\r\n\r\n return (\r\n isAuth ?\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 getStations(item.id)\r\n setValue(\"CompanyId\", item)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.CompanyIds && \r\n {errors.CompanyIds.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n Контроллеры\r\n (\r\n \r\n )}\r\n />\r\n {errors.Controller && \r\n {errors.Controller.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n Начальная дата\r\n (\r\n {\r\n setValue(\"StartPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartPeriod && \r\n {errors.StartPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n Конечная дата\r\n (\r\n {\r\n setValue(\"EndPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndPeriod && \r\n {errors.EndPeriod.message}\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 data.length != 0\r\n ? \r\n data.map((item) => (\r\n <>\r\n

    Контроллер - {item.controllerName} ({item.fuelName})

    \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.records.map((i) => (\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
    ДатаЛитрыПользовательТСПримечание
    {moment(i.date).format(\"DD.MM.YYYY HH:mm:ss\")}{i.countLitre}{i.user}{i.transport}{i.description}
    Итого, л{item.countLitre}
    Итого в мерник, л{item.countLitreMernik}
    \r\n \r\n ))\r\n : null\r\n }\r\n\r\n {\r\n conclusionReport.length != 0\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 conclusionReport.map((item) => (\r\n \r\n \r\n \r\n \r\n \r\n ))\r\n }\r\n \r\n
    ТопливоИтого л.Итого л. мерник
    {item.fuelName}{item.sum}{item.sumMernik}
    \r\n \r\n : null\r\n }\r\n
    \r\n
    \r\n
    \r\n \r\n :\r\n \r\n );\r\n\r\n}\r\n","import React, { useState, useEffect, useContext, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, DropdownButton, Dropdown, Form, Card, Spinner, Alert, Table, ProgressBar} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller} from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport moment from 'moment';\r\nimport Select from 'react-select';\r\nimport Chart from \"react-apexcharts\"; \r\nimport './../../boxicons.css';\r\nimport Flatpickr from \"react-flatpickr\";\r\nimport \"flatpickr/dist/themes/light.css\";\r\nimport { Russian } from \"flatpickr/dist/l10n/ru.js\"\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslateReport } from '../../lang/reports/translateReport';\r\nimport {TranslatePouring} from '../../lang/pourings/translatePouring';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport {FormLocale} from '../../lang/form';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const ReportGsmPouringController = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const { control, register, handleSubmit, reset, setValue, formState, formState: { errors }} = useForm();\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [listStation, setListStation] = useState([])\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [listControllers, setListControllers] = useState([])\r\n const [listFillings, setListFillings] = useState([])\r\n const [data, setData] = useState([])\r\n const [conclusionReport, setConclusionReport] = useState([])\r\n const [countStations, setCountStations] = useState(0)\r\n const [isLoading, setIsLoading] = useState(false)\r\n const translated = useLittera(TranslateReport);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [diagrammColumn, setDiagrammColumn] = useState({\r\n series:[],\r\n })\r\n const [pieData, setPieData] = useState({\r\n labels:[],\r\n series: []\r\n })\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedStation, setSelectedStation] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n grid:false,\r\n button:false\r\n });\r\n \r\n\r\n const displayToast = (message, status, typeMessage) => {\r\n \r\n if(typeMessage == \"success\") {\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n } else {\r\n toast.info(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n }\r\n\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"companies\")\r\n \r\n\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n\r\n setListCompanies(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getStations = companyId => {\r\n api.get('/api/company/details/controllers', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":companyId\r\n },\r\n params:{\r\n companyId: companyId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListControllers(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const onSubmit = data => {\r\n console.log(data)\r\n let arr = []\r\n data.ControllerIds.map((item) => {\r\n arr.push(item.id)\r\n })\r\n setLoadingData({button:true})\r\n api.post('/api/reports/gsm-pouring-controllers', {\r\n ControllerIds: arr,\r\n IsGrouping: true,\r\n EndPeriod: data.EndPeriod.toISOString(),\r\n StartPeriod: data.StartPeriod.toISOString(),\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"result recipts\")\r\n \r\n setIsLoading(true)\r\n setPermission({\r\n read: response.data.read,\r\n fullAccess: response.data.fullAccess\r\n })\r\n setLoadingData({button:false})\r\n\r\n if(response.data.read || response.data.fullAccess) {\r\n setData(response.data.dataResult.data)\r\n setConclusionReport(response.data.dataResult.result)\r\n displayToast(response.data.message, response.data.isSuccess, response.data.typeMessage)\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setIsLoading(false)\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n getCompanies()\r\n setValue(\"StartPeriod\", new Date())\r\n setValue(\"EndPeriod\", new Date())\r\n }, []);\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n
    \r\n

    \r\n {translated.Analytics} - \r\n {translated.ReportFuleReceiptController}\r\n \r\n

    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n {\r\n isLoading\r\n ?\r\n permission.read || permission.fullAccess\r\n ?\r\n
    \r\n
    \r\n {\r\n data.length != 0\r\n ? \r\n data.map((item) => (\r\n <>\r\n

    {translated.Controller} - {item.controllerName} ({item.fuelName})

    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n item.records.map((i) => (\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
    {translated.DateDefault}{translated.Liters}{translated.User}
    {moment(i.date).format(\"DD.MM.YYYY HH:mm:ss\")}{i.countLitre}{i.user}
    {translated.Final}{item.countLitre}
    \r\n \r\n ))\r\n : null\r\n }\r\n\r\n {\r\n conclusionReport.length != 0\r\n ?\r\n <>\r\n

    {translated.FinalPeriod}

    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n conclusionReport.map((item) => (\r\n \r\n \r\n \r\n \r\n \r\n ))\r\n }\r\n \r\n
    {translated.Fuel}{translated.Final}{translated.Mernik}
    {item.fuelName}{item.sum}{item.sumMernik}
    \r\n \r\n : null\r\n }\r\n
    \r\n
    \r\n :
    \r\n \r\n {translated.PermissionDenied}\r\n \r\n
    \r\n :\r\n
    \r\n {translated.DataNotLoad}\r\n
    \r\n }\r\n\r\n
    \r\n\r\n setShowFormAdd(false)}>\r\n \r\n \r\n {translated.FilterReport}\r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {translated.Company}\r\n (\r\n {\r\n getStations(item.id)\r\n setValue(\"CompanyId\", item)\r\n setValue(\"ControllerIds\", null)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.CompanyIds && \r\n {errors.CompanyIds.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Controller}\r\n (\r\n \r\n )}\r\n />\r\n {errors.Controller && \r\n {errors.Controller.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.StartDate}\r\n (\r\n {\r\n setValue(\"StartPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartPeriod && \r\n {errors.StartPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.EndDate}\r\n (\r\n {\r\n setValue(\"EndPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndPeriod && \r\n {errors.EndPeriod.message}\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","import React, { useState, useEffect, useContext, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, DropdownButton, Dropdown, Form, Card, Spinner, Alert, Table, ProgressBar} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller} from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport Chart from \"react-apexcharts\";\r\nimport moment from 'moment/moment'; \r\nimport './../../boxicons.css';\r\nimport Flatpickr from \"react-flatpickr\";\r\nimport \"flatpickr/dist/themes/light.css\";\r\nimport { Russian } from \"flatpickr/dist/l10n/ru.js\";\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslateReport } from '../../lang/reports/translateReport';\r\nimport {TranslatePouring} from '../../lang/pourings/translatePouring';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport {FormLocale} from '../../lang/form';\r\nimport { Chart as ChartJS } from 'chart.js/auto'\r\nimport zoomPlugin from 'chartjs-plugin-zoom';\r\nimport {\r\n CategoryScale,\r\n LinearScale,\r\n PointElement,\r\n LineElement,\r\n Title,\r\n Tooltip,\r\n Filler,\r\n Legend,\r\n } from 'chart.js';\r\nimport { Doughnut, Bar } from 'react-chartjs-2';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const ReportFuelIntake = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const { control, register, handleSubmit, reset, setValue, getValues, formState, formState: { errors }} = useForm();\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [listStation, setListStation] = useState([])\r\n const [data, setData] = useState([])\r\n const [columnColors, setColumnColors] = useState([\r\n 'rgba(0, 70, 128, 1)',\r\n 'rgba(255, 179, 0, 1)',\r\n 'rgba(10, 100, 164, 1)',\r\n 'rgba(75, 192, 192, 1)',\r\n 'rgba(153, 102, 255, 1)',\r\n 'rgba(255, 159, 64, 1)',\r\n ])\r\n const [columngData, setColumnData] = useState(\r\n {\r\n label:[],\r\n datasets: [],\r\n }\r\n )\r\n const [pieData, setPieData] = useState(\r\n {\r\n label: [],\r\n datasets: [\r\n {\r\n data: [],\r\n backgroundColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderWidth: 1,\r\n },\r\n ],\r\n }\r\n )\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [conclusionReport, setConclusionReport] = useState([])\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [countStations, setCountStations] = useState(0)\r\n const translated = useLittera(TranslateReport);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [diagrammColumn, setDiagrammColumn] = useState({\r\n series:[],\r\n })\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedStation, setSelectedStation] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n grid:false,\r\n button:false\r\n });\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n getCompanies()\r\n setValue(\"StartPeriod\", new Date())\r\n setValue(\"EndPeriod\", new Date())\r\n }, []);\r\n \r\n const displayToast = (message, status, typeMessage) => {\r\n \r\n if(typeMessage == \"success\") {\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n } else {\r\n toast.info(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n }\r\n\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"companies\")\r\n \r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n\r\n setListCompanies(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getStations = companyId => {\r\n api.get('/api/company/details/stations', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":companyId\r\n },\r\n params:{\r\n companyId: companyId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListStation(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const onSubmit = data => {\r\n console.log(data)\r\n let arr = []\r\n //arr.push(data.StationIds.id)\r\n data.StationIds.map((item) => {\r\n arr.push(item.id)\r\n })\r\n setLoadingData({button:true})\r\n api.get(`/api/reports/fuel-intake?StationIdsQuery=${arr}&EndPeriod=${data.EndPeriod.toISOString()}&StartPeriod=${data.StartPeriod.toISOString()}`, {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"result recipts\")\r\n console.log(response.data)\r\n setIsLoading(true)\r\n setPermission({\r\n read: response.data.read,\r\n fullAccess: response.data.fullAccess\r\n })\r\n setLoadingData({button:false})\r\n\r\n if(response.data.read || response.data.fullAccess) \r\n {\r\n setData(response.data.dataResult.data)\r\n displayToast(response.data.message, response.data.isSuccess, response.data.typeMessage)\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setIsLoading(false)\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n const options = {\r\n plugins: {\r\n title: {\r\n display: false,\r\n },\r\n },\r\n responsive: true,\r\n };\r\n \r\n const optionsDonut2 = {\r\n responsive: true,\r\n animation:false,\r\n aspectRatio: 1.4,\r\n plugins: {\r\n legend: {\r\n position: 'bottom',\r\n },\r\n zoom: {\r\n zoom: {\r\n wheel: {\r\n enabled: true,\r\n },\r\n pinch: {\r\n enabled: true\r\n },\r\n mode: 'xy',\r\n }\r\n },\r\n },\r\n };\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n
    \r\n

    \r\n {translated.Analytics} - {translated.ReportFuelIntake}\r\n

    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n {\r\n isLoading\r\n ?\r\n permission.read || permission.fullAccess\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 data.length != 0\r\n ? \r\n data.map((item) => (\r\n <>\r\n

    \r\n \r\n Станция: {item.station.name}\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
    По накладным, лПо уровнемерам, лПо накладным, кгПо уровнемерам, кг
    {item.stationInvoiceSumLiters}{item.stationLevelMeterSumLiters}{item.stationInvoiceSumKg}{item.stationLevelMeterSumKg}
    \r\n\r\n \r\n {\r\n item.recordSectionSum.map((i) => (\r\n
    \r\n
    Секция: {i.section.name}
    \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 i.records.map((i) => (\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 \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    ДатаПользовательЦенаНомер накладнойПриход уровнемер, лМасса уровнемер, кгПлотность уровнемер, км/м3Приход накладная, лМасса накладная, кгПлотность накладная, кг/м3Сумма по накладной
    {moment(i.date).format(\"DD.MM.YYYY HH:mm:ss\")}{i.user.firstname + ' ' + i.user.lastname}{i.price}{i.invoiceNumber}{i.intakeLitersLevelMeter}{i.intakeMassLevelMeter}{i.intakeDensityLevelMeter}{i.intakeInvoiceLiters}{i.intakeInvoiceMass}{i.intakeInvoiceDensity}{i.invoiceSum}
    Итог по накладным, л{i.invoiceSumLiters}
    Итог по уровнемерам, л{i.levelMeterSumLiters}
    Итог по накладным, кг{i.invoiceSumKg}
    Итог по уровнемерам, кг{i.levelMeterSumKg}
    \r\n
    \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 {translated.PermissionDenied}\r\n
    \r\n :\r\n
    \r\n {translated.DataNotLoad}\r\n
    \r\n }\r\n
    \r\n\r\n setShowFormAdd(false)}>\r\n \r\n \r\n {translated.FilterReport}\r\n \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {translated.Company}\r\n (\r\n {\r\n getStations(item.id)\r\n setValue(\"CompanyId\", item)\r\n setValue(\"ControllerIds\", null)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.CompanyId && \r\n {errors.CompanyId.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Station}\r\n (\r\n \r\n )}\r\n />\r\n {errors.Station && \r\n {errors.StationIds.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.StartDate}\r\n (\r\n {\r\n setValue(\"StartPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartPeriod && \r\n {errors.StartPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.EndDate}\r\n (\r\n {\r\n setValue(\"EndPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndPeriod && \r\n {errors.EndPeriod.message}\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","import React, { useState, useEffect, useContext, Redirect } from 'react';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { Button, Offcanvas, DropdownButton, Dropdown, Form, Card, Spinner, Alert, Table, ProgressBar} from 'react-bootstrap';\r\nimport { AuthContext } from '../../context/AuthContext';\r\nimport { useForm, Controller} from 'react-hook-form';\r\nimport { ToastContainer, toast } from 'react-toastify/dist/react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport axios from 'axios';\r\nimport Select from 'react-select';\r\nimport Chart from \"react-apexcharts\";\r\nimport moment from 'moment/moment'; \r\nimport './../../boxicons.css';\r\nimport Flatpickr from \"react-flatpickr\";\r\nimport \"flatpickr/dist/themes/light.css\";\r\nimport { Russian } from \"flatpickr/dist/l10n/ru.js\";\r\nimport { MRT_Localization_EN } from 'material-react-table/locales/en';\r\nimport { useLittera, useLitteraMethods } from \"@assembless/react-littera\";\r\nimport { TranslateReport } from '../../lang/reports/translateReport';\r\nimport {TranslatePouring} from '../../lang/pourings/translatePouring';\r\nimport { CurrentSelectLanguage } from '../../helpers/language';\r\nimport {FormLocale} from '../../lang/form';\r\nimport { Chart as ChartJS } from 'chart.js/auto'\r\nimport zoomPlugin from 'chartjs-plugin-zoom';\r\nimport {\r\n CategoryScale,\r\n LinearScale,\r\n PointElement,\r\n LineElement,\r\n Title,\r\n Tooltip,\r\n Filler,\r\n Legend,\r\n } from 'chart.js';\r\nimport { Doughnut, Bar } from 'react-chartjs-2';\r\nimport api from '../../utils/axiosInterceptions';\r\n\r\nexport const ReportMaterialBalance = () => {\r\n\r\n const router = useHistory();\r\n const {isAuth} = useContext(AuthContext);\r\n const { control, register, handleSubmit, reset, setValue, getValues, formState, formState: { errors }} = useForm();\r\n const [showFormAdd, setShowFormAdd] = useState(false)\r\n const [listStation, setListStation] = useState([])\r\n const [data, setData] = useState([])\r\n const [columnColors, setColumnColors] = useState([\r\n 'rgba(0, 70, 128, 1)',\r\n 'rgba(255, 179, 0, 1)',\r\n 'rgba(10, 100, 164, 1)',\r\n 'rgba(75, 192, 192, 1)',\r\n 'rgba(153, 102, 255, 1)',\r\n 'rgba(255, 159, 64, 1)',\r\n ])\r\n const [columngData, setColumnData] = useState(\r\n {\r\n label:[],\r\n datasets: [],\r\n }\r\n )\r\n const [pieData, setPieData] = useState(\r\n {\r\n label: [],\r\n datasets: [\r\n {\r\n data: [],\r\n backgroundColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderColor: [\r\n 'rgba(0, 70, 128, 0.8)',\r\n 'rgba(238, 59, 128, 0.8)',\r\n 'rgba(10, 100, 164, 0.8)',\r\n 'rgba(75, 192, 192, 0.8)',\r\n 'rgba(153, 102, 255, 0.8)',\r\n 'rgba(255, 159, 64, 0.8)',\r\n ],\r\n borderWidth: 1,\r\n },\r\n ],\r\n }\r\n )\r\n const [isLoading, setIsLoading] = useState(false)\r\n const [conclusionReport, setConclusionReport] = useState([])\r\n const [listCompanies, setListCompanies] = useState([])\r\n const [countStations, setCountStations] = useState(0)\r\n const translated = useLittera(TranslateReport);\r\n const translatedForm = useLittera(FormLocale);\r\n const methods = useLitteraMethods();\r\n const [diagrammColumn, setDiagrammColumn] = useState({\r\n series:[],\r\n })\r\n const [permission, setPermission] = useState({\r\n read:false,\r\n create:false,\r\n fullAccess:false\r\n })\r\n const [selectedCompany, setSelectedCompany] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [selectedStation, setSelectedStation] = useState({\r\n label:'',\r\n value:0\r\n })\r\n const [loadingData, setLoadingData] = useState({\r\n grid:false,\r\n button:false\r\n });\r\n\r\n useEffect(() => {\r\n methods.setLocale(CurrentSelectLanguage);\r\n getCompanies()\r\n setValue(\"StartPeriod\", new Date())\r\n setValue(\"EndPeriod\", new Date())\r\n }, []);\r\n \r\n const displayToast = (message, status, typeMessage) => {\r\n \r\n if(typeMessage == \"success\") {\r\n toast.success(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n } else {\r\n toast.info(message, {\r\n position: \"top-left\",\r\n autoClose: 5000,\r\n hideProgressBar: false,\r\n closeOnClick: true,\r\n pauseOnHover: true,\r\n draggable: true,\r\n progress: undefined,\r\n theme:\"dark\"\r\n });\r\n }\r\n }\r\n\r\n const getCompanies = () => {\r\n api.get('/api/company/all', {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"companies\")\r\n \r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n\r\n setListCompanies(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const getStations = companyId => {\r\n api.get('/api/company/details/stations', {\r\n headers:{\r\n \"content-type\" : \"application/json\",\r\n \"companyId\":companyId\r\n },\r\n params:{\r\n companyId: companyId,\r\n },\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n let add = response.data.listDatas.map((item) => ({\r\n ...item,\r\n value:item.id,\r\n label:item.name\r\n }))\r\n setListStation(add)\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n }\r\n\r\n const onSubmit = data => {\r\n console.log(data)\r\n let arr = []\r\n //arr.push(data.StationIds.id)\r\n data.StationIds.map((item) => {\r\n arr.push(item.id)\r\n })\r\n setLoadingData({button:true})\r\n api.get(`/api/reports/fuel-intake?StationIdsQuery=${arr}&EndPeriod=${data.EndPeriod.toISOString()}&StartPeriod=${data.StartPeriod.toISOString()}`, {\r\n withCredentials:true\r\n })\r\n .then(function (response) {\r\n console.log(\"result recipts\")\r\n console.log(response.data)\r\n setIsLoading(true)\r\n setPermission({\r\n read: response.data.read,\r\n fullAccess: response.data.fullAccess\r\n })\r\n setLoadingData({button:false})\r\n\r\n if(response.data.read || response.data.fullAccess) \r\n {\r\n setData(response.data.dataResult.data)\r\n displayToast(response.data.message, response.data.isSuccess, response.data.typeMessage)\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setIsLoading(false)\r\n setLoadingData({button:false})\r\n });\r\n }\r\n\r\n const options = {\r\n plugins: {\r\n title: {\r\n display: false,\r\n },\r\n },\r\n responsive: true,\r\n };\r\n \r\n const optionsDonut2 = {\r\n responsive: true,\r\n animation:false,\r\n aspectRatio: 1.4,\r\n plugins: {\r\n legend: {\r\n position: 'bottom',\r\n },\r\n zoom: {\r\n zoom: {\r\n wheel: {\r\n enabled: true,\r\n },\r\n pinch: {\r\n enabled: true\r\n },\r\n mode: 'xy',\r\n }\r\n },\r\n },\r\n };\r\n\r\n return (\r\n isAuth ?\r\n <>\r\n
    \r\n

    \r\n {translated.Analytics} - {translated.ReportMaterialBalance}\r\n

    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n {\r\n isLoading\r\n ?\r\n permission.read || permission.fullAccess\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 data.length != 0\r\n ? \r\n data.map((item) => (\r\n <>\r\n

    \r\n \r\n Станция: {item.station.name}\r\n \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 {translated.PermissionDenied}\r\n
    \r\n :\r\n
    \r\n {translated.DataNotLoad}\r\n
    \r\n }\r\n
    \r\n\r\n setShowFormAdd(false)}>\r\n \r\n \r\n {translated.FilterReport}\r\n \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {translated.Company}\r\n (\r\n {\r\n getStations(item.id)\r\n setValue(\"CompanyId\", item)\r\n setValue(\"ControllerIds\", null)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.CompanyId && \r\n {errors.CompanyId.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.Station}\r\n (\r\n \r\n )}\r\n />\r\n {errors.Station && \r\n {errors.StationIds.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.StartDate}\r\n (\r\n {\r\n setValue(\"StartPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.StartPeriod && \r\n {errors.StartPeriod.message}\r\n }\r\n \r\n
    \r\n\r\n
    \r\n \r\n {translated.EndDate}\r\n (\r\n {\r\n setValue(\"EndPeriod\", date)\r\n }}\r\n />\r\n )}\r\n />\r\n {errors.EndPeriod && \r\n {errors.EndPeriod.message}\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","import React, {useContext} from 'react';\nimport {Redirect, Route, Switch} from \"react-router-dom\";\nimport {privateRoutes, publicRoutes} from \"../router\";\nimport {AuthContext} from \"../context/AuthContext\";\nimport Layout from './Layout';\n\nconst AppRouter = () => {\n const {isAuth} = useContext(AuthContext);\n return (\n isAuth\n ?\n \n \n {privateRoutes.map(route =>\n \n )}\n \n \n \n :\n \n {publicRoutes.map(route =>\n \n )}\n \n \n );\n};\n\nexport default AppRouter;","import React, { useContext, useEffect, useState } from 'react';\nimport {AuthContext} from './AuthContext';\nimport axios from 'axios'\nimport api from '../utils/axiosInterceptions';\n\nconst AxiosErrorHandler = ({ children }) => {\n const { setIsAuth } = useContext(AuthContext);\n\n useEffect(() => {\n api.interceptors.response.use(\n (res) => {\n setIsAuth(true)\n return res;\n },\n async (err) => {\n if (err.response.status === 401) {\n setIsAuth(false)\n localStorage.removeItem(\"accessToken\")\n }\n return Promise.reject(err);\n }\n );\n }, [setIsAuth])\n\n return children\n}\n\nexport default AxiosErrorHandler","import React, { useEffect, useState } from 'react';\nimport { BrowserRouter, Route, Switch, useHistory } from 'react-router-dom';\nimport Cookies from 'js-cookie';\nimport {AuthContext} from './context/AuthContext';\nimport AppRouter from './components/AppRouter';\nimport axios from 'axios';\nimport { LitteraProvider } from \"@assembless/react-littera\";\nimport AxiosErrorHandler from './context/AxiosErrorHandler';\nimport api from './utils/axiosInterceptions';\n\nconst App = () => {\n\n const router = useHistory();\n const [isAuth, setIsAuth] = useState(false);\n\n useEffect(() => {\n let token = localStorage.getItem(\"accessToken\")\n\n if(token != null && token != undefined){\n api.get('/api/users/dashboard', {\n withCredentials:true\n })\n .then(function (response) {\n setIsAuth(true)\n })\n .catch(function (error) {\n }); \n } else {\n setIsAuth(false)\n localStorage.removeItem(\"accessToken\")\n }\n }, []);\n\n return ( \n \n \n \n \n \n \n \n \n \n );\n}\n\nexport default App;","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://cra.link/PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.0/8 are considered localhost for IPv4.\n window.location.hostname.match(/^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/)\n);\n\nexport function register(config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://cra.link/PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then((registration) => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://cra.link/PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch((error) => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl, {\n headers: { 'Service-Worker': 'script' },\n })\n .then((response) => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then((registration) => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log('No internet connection found. App is running in offline mode.');\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready\n .then((registration) => {\n registration.unregister();\n })\n .catch((error) => {\n console.error(error.message);\n });\n }\n}\n","const reportWebVitals = (onPerfEntry) => {\n if (onPerfEntry && onPerfEntry instanceof Function) {\n import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\n getCLS(onPerfEntry);\n getFID(onPerfEntry);\n getFCP(onPerfEntry);\n getLCP(onPerfEntry);\n getTTFB(onPerfEntry);\n });\n }\n};\n\nexport default reportWebVitals;\n","import 'bootstrap/dist/css/bootstrap.css';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport { BrowserRouter } from 'react-router-dom';\nimport App from './App';\nimport * as serviceWorkerRegistration from './serviceWorkerRegistration';\nimport reportWebVitals from './reportWebVitals';\n\nconst baseUrl = document.getElementsByTagName('base')[0].getAttribute('href');\nconst rootElement = document.getElementById('root');\n\nReactDOM.render(\n \n \n ,\n rootElement);\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://cra.link/PWA\nserviceWorkerRegistration.unregister();\n\n// If you want to start measuring performance in your app, pass a function\n// to log results (for example: reportWebVitals(console.log))\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\nreportWebVitals();\n"],"sourceRoot":""}