This commit is contained in:
ivan-sim
2024-07-09 14:04:52 +07:00
parent 18946128aa
commit d08acc5645
7 changed files with 1244 additions and 6 deletions

View File

@@ -104,7 +104,7 @@ const navConfig = [
{ title: 'Live Chat', path: '/report/live-chat' },
{ title: 'Linksehat Payment', path: '/report/linksehat-payments' },
// { title: 'Prescription', path: '/report/prescription' },
{ title: 'Doctor Rating', path: '/report/doctorrating' },
{ title: 'Doctor Rating', path: '/report/doctor-rating' },
],
},

View File

@@ -0,0 +1,35 @@
import { Card, Grid, Container } from '@mui/material';
import { useParams } from 'react-router-dom';
import HeaderBreadcrumbs from '../../../components/HeaderBreadcrumbs';
import Page from '../../../components/Page';
import useSettings from '../../../hooks/useSettings';
import List from './List';
export default function Index() {
const { themeStretch } = useSettings();
const { id } = useParams();
const pageTitle = 'Doctor Ratings';
return (
<Page title={pageTitle}>
<Container maxWidth={themeStretch ? false : 'xl'}>
<HeaderBreadcrumbs
heading={pageTitle}
links={[
{
name: 'Report',
href: '#',
},
{
name: 'Doctor Ratings',
href: '/report/doctor-rating',
},
]}
/>
<List />
</Container>
</Page>
);
}

File diff suppressed because it is too large Load Diff

View File

@@ -13,7 +13,7 @@ import { AuthProvider } from '../contexts/LaravelAuthContext';
import AuthGuard from '../guards/AuthGuard';
import { Link, useParams, useSearchParams } from 'react-router-dom';
import Prescription from '@/pages/Report/Prescription/Index';
import DoctorRating from '@/pages/Report/DoctorRating/Index';
import DoctorRating from '@/pages/Report/DoctorRating_v2/Index';
// ----------------------------------------------------------------------
@@ -443,7 +443,7 @@ export default function Router() {
element: <Prescription/>,
},
{
path: 'report/doctorrating',
path: 'report/doctor-rating',
element: <DoctorRating/>,
},
{