Update: Breadcrumbs
This commit is contained in:
@@ -163,7 +163,7 @@ function InventoryScreen() {
|
|||||||
route={[
|
route={[
|
||||||
{ name: 'Home', path: '/home' },
|
{ name: 'Home', path: '/home' },
|
||||||
{ name: 'Setup', path: '/setup' },
|
{ name: 'Setup', path: '/setup' },
|
||||||
{ name: 'Inventory Definition' },
|
{ name: 'Inventory', path: '/setup/inventory' },
|
||||||
{ name: 'Add New/Update Inventory' }
|
{ name: 'Add New/Update Inventory' }
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import Dropdown from 'components/Dropdown';
|
|||||||
import { Grid, TableBody, TableCell, TableRow } from '@mui/material';
|
import { Grid, TableBody, TableCell, TableRow } from '@mui/material';
|
||||||
import BasicTable from 'components/BasicTable';
|
import BasicTable from 'components/BasicTable';
|
||||||
import MDButton from 'components/Button';
|
import MDButton from 'components/Button';
|
||||||
|
import Breadcrumbs from 'components/Breadcrumbs';
|
||||||
|
|
||||||
const useStyles = makeStyles({
|
const useStyles = makeStyles({
|
||||||
iconSize: {
|
iconSize: {
|
||||||
@@ -127,6 +128,14 @@ function LabelingScreen() {
|
|||||||
return (
|
return (
|
||||||
<DashboardLayout>
|
<DashboardLayout>
|
||||||
<DashboardNavbar />
|
<DashboardNavbar />
|
||||||
|
<Breadcrumbs
|
||||||
|
route={[
|
||||||
|
{ name: 'Home', path: '/home' },
|
||||||
|
{ name: 'Setup', path: '/setup' },
|
||||||
|
{ name: 'Labeling', path: '/setup/labeling' },
|
||||||
|
{ name: 'Location Label' }
|
||||||
|
]}
|
||||||
|
/>
|
||||||
<MDBox px={5} py={5}>
|
<MDBox px={5} py={5}>
|
||||||
<Grid container spacing={2}>
|
<Grid container spacing={2}>
|
||||||
{data &&
|
{data &&
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import DashboardLayout from 'layouts/DashboardLayout';
|
|||||||
import LocationLabelIcon from 'assets/images/LocationLabelIcon';
|
import LocationLabelIcon from 'assets/images/LocationLabelIcon';
|
||||||
import WidgetLabelIcon from 'assets/images/WidgetLabelIcon';
|
import WidgetLabelIcon from 'assets/images/WidgetLabelIcon';
|
||||||
import TileBasic from 'components/TileBasic';
|
import TileBasic from 'components/TileBasic';
|
||||||
|
import Breadcrumbs from 'components/Breadcrumbs';
|
||||||
|
|
||||||
function LabelingHome() {
|
function LabelingHome() {
|
||||||
const data = [
|
const data = [
|
||||||
@@ -21,6 +22,13 @@ function LabelingHome() {
|
|||||||
return (
|
return (
|
||||||
<DashboardLayout>
|
<DashboardLayout>
|
||||||
<DashboardNavbar />
|
<DashboardNavbar />
|
||||||
|
<Breadcrumbs
|
||||||
|
route={[
|
||||||
|
{ name: 'Home', path: '/home' },
|
||||||
|
{ name: 'Setup', path: '/setup' },
|
||||||
|
{ name: 'Labeling', path: '/setup/labeling' }
|
||||||
|
]}
|
||||||
|
/>
|
||||||
<TileBasic tiles={data} />
|
<TileBasic tiles={data} />
|
||||||
</DashboardLayout>
|
</DashboardLayout>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ function NewWarehouseDetails() {
|
|||||||
{ name: 'Home', path: '/home' },
|
{ name: 'Home', path: '/home' },
|
||||||
{ name: 'Setup', path: '/setup' },
|
{ name: 'Setup', path: '/setup' },
|
||||||
{ name: 'Warehouse', path: '/setup/warehouse' },
|
{ name: 'Warehouse', path: '/setup/warehouse' },
|
||||||
{ name: 'Add new' }
|
{ name: 'Add Warehouse' }
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
<Box mx={3} my={3}>
|
<Box mx={3} my={3}>
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ function SetupInventory() {
|
|||||||
color="primary"
|
color="primary"
|
||||||
onClick={() => navigate('/setup/inventory/inventory-new')}
|
onClick={() => navigate('/setup/inventory/inventory-new')}
|
||||||
>
|
>
|
||||||
Add new Inventory
|
Create Inventory
|
||||||
</MDButton>
|
</MDButton>
|
||||||
</Breadcrumbs>
|
</Breadcrumbs>
|
||||||
<MDBox px={2} py={3}>
|
<MDBox px={2} py={3}>
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ import { API } from 'constant';
|
|||||||
import { useDispatch, useSelector } from 'react-redux';
|
import { useDispatch, useSelector } from 'react-redux';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import { useNavigate } from 'react-router-dom';
|
import { useNavigate } from 'react-router-dom';
|
||||||
|
import Breadcrumbs from 'components/Breadcrumbs';
|
||||||
|
|
||||||
const useStyles = makeStyles((theme) => ({
|
const useStyles = makeStyles((theme) => ({
|
||||||
iconSize: {
|
iconSize: {
|
||||||
@@ -146,6 +147,13 @@ function UserAccessScreen() {
|
|||||||
return (
|
return (
|
||||||
<DashboardLayout>
|
<DashboardLayout>
|
||||||
<DashboardNavbar />
|
<DashboardNavbar />
|
||||||
|
<Breadcrumbs
|
||||||
|
route={[
|
||||||
|
{ name: 'Home', path: '/home' },
|
||||||
|
{ name: 'Setup', path: '/setup' },
|
||||||
|
{ name: 'Users and Access', path: '/setup/users-access' }
|
||||||
|
]}
|
||||||
|
/>
|
||||||
<MDBox px={2} py={3}>
|
<MDBox px={2} py={3}>
|
||||||
<Grid container spacing={2} className={classes.margin}>
|
<Grid container spacing={2} className={classes.margin}>
|
||||||
<Grid item xs={12} sm={4} md={4}>
|
<Grid item xs={12} sm={4} md={4}>
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ function WarehouseScreen() {
|
|||||||
color="primary"
|
color="primary"
|
||||||
onClick={() => navigate('/setup/warehouse/add-warehouse')}
|
onClick={() => navigate('/setup/warehouse/add-warehouse')}
|
||||||
>
|
>
|
||||||
Add new Warehouse
|
Create Warehouse
|
||||||
</MDButton>
|
</MDButton>
|
||||||
</Breadcrumbs>
|
</Breadcrumbs>
|
||||||
<TileBasic
|
<TileBasic
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import SearchBar from 'components/SearchBar';
|
|||||||
import BasicTable from 'components/BasicTable';
|
import BasicTable from 'components/BasicTable';
|
||||||
import Barcodeimage from 'assets/images/barcode-number.png';
|
import Barcodeimage from 'assets/images/barcode-number.png';
|
||||||
import MDButton from 'components/Button';
|
import MDButton from 'components/Button';
|
||||||
|
import Breadcrumbs from 'components/Breadcrumbs';
|
||||||
|
|
||||||
const useStyles = makeStyles({
|
const useStyles = makeStyles({
|
||||||
labelSize: {
|
labelSize: {
|
||||||
@@ -165,6 +166,14 @@ function WidgetLabel() {
|
|||||||
<>
|
<>
|
||||||
<DashboardLayout>
|
<DashboardLayout>
|
||||||
<DashboardNavbar />
|
<DashboardNavbar />
|
||||||
|
<Breadcrumbs
|
||||||
|
route={[
|
||||||
|
{ name: 'Home', path: '/home' },
|
||||||
|
{ name: 'Setup', path: '/setup' },
|
||||||
|
{ name: 'Labeling', path: '/setup/labeling' },
|
||||||
|
{ name: 'Widget Label' }
|
||||||
|
]}
|
||||||
|
/>
|
||||||
<Box mx={3} my={3}>
|
<Box mx={3} my={3}>
|
||||||
<Grid container spacing={2}>
|
<Grid container spacing={2}>
|
||||||
<Grid item xs={12} sm={3} md={3}>
|
<Grid item xs={12} sm={3} md={3}>
|
||||||
|
|||||||
@@ -115,24 +115,24 @@ const protectedRoutes = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'collapse',
|
type: 'collapse',
|
||||||
name: 'Setup',
|
name: 'Configuration',
|
||||||
key: 'Setup',
|
key: 'Configuration',
|
||||||
icon: <SetupIcon width={24} height={24} color="white" />,
|
icon: <SetupIcon width={24} height={24} color="white" />,
|
||||||
collapse: [
|
collapse: [
|
||||||
{
|
{
|
||||||
name: 'Setup Home',
|
name: 'Setup',
|
||||||
key: 'setup',
|
key: 'setup',
|
||||||
route: '/setup',
|
route: '/setup',
|
||||||
component: <SetupHome />
|
component: <SetupHome />
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Inventory Home',
|
name: 'Inventory',
|
||||||
key: 'inventory',
|
key: 'inventory',
|
||||||
route: '/setup/inventory',
|
route: '/setup/inventory',
|
||||||
component: <SetupInventory />
|
component: <SetupInventory />
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Warehouse Design',
|
name: 'Warehouse',
|
||||||
key: 'warehouse',
|
key: 'warehouse',
|
||||||
route: '/setup/warehouse',
|
route: '/setup/warehouse',
|
||||||
component: <WarehouseScreen />
|
component: <WarehouseScreen />
|
||||||
|
|||||||
Reference in New Issue
Block a user