{"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","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","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","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,MAAO,eACPC,MAAO,6EAEXK,QAAQ,CACJN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F,cAAf,MACOC,EAAQC,GAAaI,oBAAS,GAoBrC,OAlBAa,qBAAU,KACR,IAAI5B,EAAQC,aAAaC,QAAQ,eAErB,MAATF,QAA0B0V,GAAT1V,EAClBT,EAAIsC,IAAI,uBAAwB,CAC9BlC,iBAAgB,IAEjBoC,MAAK,SAAUC,GACdrB,GAAU,EACZ,IACC+B,OAAM,SAAUtC,GACjB,KAEAO,GAAU,GACVV,aAAa0F,WAAW,eAC1B,GACC,IAGD,cAAC7J,EAAY6nF,SAAQ,CAACjtE,MAAO,CAC3BhW,SAAQC,aACR,SACA,cAAC,GAAiB,UAChB,cAAC,IAAa,UACZ,cAAC,kBAAe,CAACijF,QAAS,CAAC,QAAS,SAAS,SAC3C,cAAC,GAAS,WAIK,EChCPp1D,QACW,cAA7B6vD,OAAOwF,SAASC,UAEe,UAA7BzF,OAAOwF,SAASC,UAEhBzF,OAAOwF,SAASC,SAASC,MAAM,2DCLpBC,OAZUC,IACnBA,GAAeA,aAAuBC,UACxC,8BAAqBniF,MAAK,IAAkD,IAAjD,OAAEoiF,EAAM,OAAEC,EAAM,OAAEC,EAAM,OAAEC,EAAM,QAAEC,GAAS,EACpEJ,EAAOF,GACPG,EAAOH,GACPI,EAAOJ,GACPK,EAAOL,GACPM,EAAQN,EAAY,GAExB,ECDF,MAAMO,GAAUxgF,SAASygF,qBAAqB,QAAQ,GAAGC,aAAa,QAChEC,GAAc3gF,SAASG,eAAe,QAE5CygF,IAAShoE,OACP,cAAC,IAAa,CAACioE,SAAUL,GAAQ,SAC/B,cAAC,GAAG,MAENG,IFgHI,kBAAmBG,WACrBA,UAAUC,cAAcC,MACrBjjF,MAAMkjF,IACLA,EAAaC,YAAY,IAE1BxiF,OAAOtC,IACN8B,QAAQ9B,MAAMA,EAAM5D,QAAQ,IE5GpCwnF,I","file":"static/js/main.d57fce06.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+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4AMVFCgLK1cQ0QAABT9JREFUeNrtmltsVEUYx38ze6MtA6XAUibh0tIi8QaItCY1XoKEgDeiTy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GCyIXASeFwBKqXeAPvDCpbm5mdbW1lJeEgN4V2vdHzjgSbw9Ow+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 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 {\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 {/*
    {parse(translated.CodeErrorText)}
    */}\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 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 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,iVBORw0KGgoAAAANSUhEUgAAABYAAAAKCAYAAACwoK7bAAABN2lDQ1BBZG9iZSBSR0IgKDE5OTgpAAAokZWPv0rDUBSHvxtFxaFWC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UKJG9kD0KwkAQhb8JUwQbIWVu4A08TApvYGe2E7vVzht4G49gbWMp2FgtbJrNEtb8QERfM8t7s8PjExW7AjZ86hLmUHYH9sDBefMGULGL1suAJbDr+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":""}