source: src/sections/employee/view/employee-create-view.tsx@ 057453c

main
Last change on this file since 057453c was 057453c, checked in by Naum Shapkarovski <naumshapkarovski@…>, 5 weeks ago

feat: implement employees

  • Property mode set to 100644
File size: 1021 bytes
Line 
1'use client';
2
3// @mui
4import Container from '@mui/material/Container';
5// routes
6import { paths } from 'src/routes/paths';
7// components
8import { useSettingsContext } from 'src/components/settings';
9import CustomBreadcrumbs from 'src/components/custom-breadcrumbs';
10//
11import EmployeeNewEditForm from '../employee-new-edit-form';
12
13// ----------------------------------------------------------------------
14
15export default function EmployeeCreateView() {
16 const settings = useSettingsContext();
17
18 return (
19 <Container maxWidth={settings.themeStretch ? false : 'lg'}>
20 <CustomBreadcrumbs
21 heading="Create a new employee"
22 links={[
23 {
24 name: 'Dashboard',
25 href: paths.dashboard.root,
26 },
27 {
28 name: 'Employee',
29 href: paths.dashboard.employee.list,
30 },
31 { name: 'New employee' },
32 ]}
33 sx={{
34 mb: { xs: 3, md: 5 },
35 }}
36 />
37
38 <EmployeeNewEditForm />
39 </Container>
40 );
41}
Note: See TracBrowser for help on using the repository browser.