diff --git a/frontend/src/menuAside.ts b/frontend/src/menuAside.ts index fdbd6a1..b1341f2 100644 --- a/frontend/src/menuAside.ts +++ b/frontend/src/menuAside.ts @@ -57,12 +57,11 @@ const menuAside: MenuAsideItem[] = [ permissions: 'READ_SUPPLIERS' }, { - href: '/receptions/receptions-list', - label: 'Receptions', + href: '/recepcion', + label: 'Recepción', // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore icon: 'mdiClipboardText' in icon ? icon['mdiClipboardText' as keyof typeof icon] : icon.mdiTable ?? icon.mdiTable, - permissions: 'READ_RECEPTIONS' }, { href: '/quotes/quotes-list', @@ -176,4 +175,4 @@ const menuAside: MenuAsideItem[] = [ }, ] -export default menuAside +export default menuAside \ No newline at end of file diff --git a/frontend/src/pages/recepcion.tsx b/frontend/src/pages/recepcion.tsx new file mode 100644 index 0000000..5fa6fb2 --- /dev/null +++ b/frontend/src/pages/recepcion.tsx @@ -0,0 +1,51 @@ +import { mdiClipboardText, mdiCar, mdiPackageVariantClosed } from '@mdi/js'; +import Head from 'next/head'; +import React, { ReactElement } from 'react'; +import CardBox from '../components/CardBox'; +import LayoutAuthenticated from '../layouts/Authenticated'; +import SectionMain from '../components/SectionMain'; +import SectionTitleLineWithButton from '../components/SectionTitleLineWithButton'; +import BaseButton from '../components/BaseButton'; +import BaseButtons from '../components/BaseButtons'; +import { getPageTitle } from '../config'; + +const Recepcion = () => { + return ( + <> +
+