Update
This commit is contained in:
@@ -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' },
|
||||
|
||||
],
|
||||
},
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
}
|
||||
1026
frontend/dashboard/src/pages/Report/DoctorRating_v2/List.tsx
Normal file
1026
frontend/dashboard/src/pages/Report/DoctorRating_v2/List.tsx
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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/>,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user