Compare commits
No commits in common. "ai-dev" and "master" have entirely different histories.
@ -57,11 +57,12 @@ const menuAside: MenuAsideItem[] = [
|
|||||||
permissions: 'READ_SUPPLIERS'
|
permissions: 'READ_SUPPLIERS'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
href: '/recepcion',
|
href: '/receptions/receptions-list',
|
||||||
label: 'Recepción',
|
label: 'Receptions',
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
icon: 'mdiClipboardText' in icon ? icon['mdiClipboardText' as keyof typeof icon] : icon.mdiTable ?? icon.mdiTable,
|
icon: 'mdiClipboardText' in icon ? icon['mdiClipboardText' as keyof typeof icon] : icon.mdiTable ?? icon.mdiTable,
|
||||||
|
permissions: 'READ_RECEPTIONS'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
href: '/quotes/quotes-list',
|
href: '/quotes/quotes-list',
|
||||||
|
|||||||
@ -1,51 +0,0 @@
|
|||||||
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 (
|
|
||||||
<>
|
|
||||||
<Head>
|
|
||||||
<title>{getPageTitle('Recepción')}</title>
|
|
||||||
</Head>
|
|
||||||
<SectionMain>
|
|
||||||
<SectionTitleLineWithButton icon={mdiClipboardText} title="Recepción" main>
|
|
||||||
{''}
|
|
||||||
</SectionTitleLineWithButton>
|
|
||||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
|
|
||||||
<CardBox className="flex flex-col items-center justify-center p-8">
|
|
||||||
<h2 className="text-xl font-bold mb-6">Automotor</h2>
|
|
||||||
<BaseButton
|
|
||||||
href="/receptions/automotor-form"
|
|
||||||
color="info"
|
|
||||||
label="Ingresar Automotor"
|
|
||||||
icon={mdiCar}
|
|
||||||
/>
|
|
||||||
</CardBox>
|
|
||||||
<CardBox className="flex flex-col items-center justify-center p-8">
|
|
||||||
<h2 className="text-xl font-bold mb-6">En Mano</h2>
|
|
||||||
<BaseButton
|
|
||||||
href="/receptions/en-mano-form"
|
|
||||||
color="success"
|
|
||||||
label="Ingresar En Mano"
|
|
||||||
icon={mdiPackageVariantClosed}
|
|
||||||
/>
|
|
||||||
</CardBox>
|
|
||||||
</div>
|
|
||||||
</SectionMain>
|
|
||||||
</>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
Recepcion.getLayout = function getLayout(page: ReactElement) {
|
|
||||||
return <LayoutAuthenticated>{page}</LayoutAuthenticated>;
|
|
||||||
};
|
|
||||||
|
|
||||||
export default Recepcion;
|
|
||||||
Loading…
x
Reference in New Issue
Block a user