import React from 'react'; import { Row, Col } from 'react-bootstrap'; import { Card, Profile } from '../../components/index'; import { app } from '../../core/app'; import { router } from '../../components/router'; export default class IndexDashboard extends React.Component { render() { const session = app.getState().session; const aulist = Object.keys(session.adminUnit).map(k => session.adminUnit[k].name); return (

{'Dashboard'}

router.goto('/sys/home/unit/cases?id=' + session.unitId)}>
{121}
{'Presumptives'}
{78}
{'Cases on treatment'}
router.goto('/sys/home/unit/cases')}>
{'28 days'}
{'Estimated stock-out'}
{'84 days'}
{'First batch to expire'}
); } }