Skip to content

Commit

Permalink
added ahd screened
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrianbet committed Oct 3, 2024
1 parent 4115965 commit cf66091
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/views/CT/AHD/AHDScreening.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const AHDScreening = () => {
title: { text: '' },
xAxis: [{ categories: [
'PATIENTS ON CARE(TREATMENT NEW/RTT/CTF)',
// 'NO. SCREENED',
'NO. SCREENED',
'NO. WITH AHD'
], title: { text: 'AHD SCREENING' }, crosshair: true }],
yAxis: [{ title: { text: '' }}],
Expand All @@ -24,7 +24,7 @@ const AHDScreening = () => {
series: [
{ name: 'AHD SCREENED', data: [
ahdScreeningData?.NewPatient,
// 100,
ahdScreeningData?.AHDScreened,
ahdScreeningData?.AHD
], type: 'column', color: "#142459" },
]
Expand Down
6 changes: 2 additions & 4 deletions src/views/CT/CurrentOnArt/NupiDataset.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
import { set } from 'lodash';
import React, { useEffect, useState, useCallback } from 'react';
import ReactExport from 'react-export-excel';
import { getAll } from '../../Shared/Api';
import Loading from '../../Shared/Loading';
import { Button } from 'semantic-ui-react';
import moment from 'moment';

const ExcelFile = ReactExport.ExcelFile;
const ExcelSheet = ReactExport.ExcelFile.ExcelSheet;
const ExcelColumn = ReactExport.ExcelFile.ExcelColumn;
const {ExcelFile} = ReactExport;
const {ExcelSheet, ExcelColumn} = ReactExport.ExcelFile;

const dictionary = [
{
Expand Down
4 changes: 2 additions & 2 deletions src/views/Shared/UniversalFilter.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React, { useEffect, useState, useCallback } from 'react';
import { BrowserRouter as Router, Link, useLocation } from 'react-router-dom';
import { useLocation } from 'react-router-dom';
import { useHistory, useParams } from 'react-router-dom';
import moment from 'moment';
import { MonthRangeInput } from 'semantic-ui-calendar-react';
import { Dropdown, Message } from 'semantic-ui-react';
import { Dropdown } from 'semantic-ui-react';
import { PAGES } from '../../constants';
import { Row, Col } from 'reactstrap';
import { useDispatch, useSelector } from 'react-redux';
Expand Down
11 changes: 7 additions & 4 deletions src/views/Tafsiri/Tafsiri.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,13 @@ const Tafsiri = () => {
const [feedback, setFeedback] = useState('');
const [feedbackSent, setFeedbackSent] = useState(false);
const [feedbackError, setFeedbackError] = useState('');
const [vizType, setVizType] = useState('table');
const handleChange = (event) => {
setVizType(event.target.value);
};

// TODO:: FIND A WAY TO HAVE MULTIPLE VIZ TYPES
// const [vizType, setVizType] = useState('table');
// const handleChange = (event) => {
// setVizType(event.target.value);
// };

const [open, setOpen] = useState(false);
const handleOpen = () => setOpen(true);
const handleClose = () => setOpen(false);
Expand Down

0 comments on commit cf66091

Please sign in to comment.