diff --git a/src/app/configs/themesConfig.ts b/src/app/configs/themesConfig.ts index 58efa41..b3685ac 100644 --- a/src/app/configs/themesConfig.ts +++ b/src/app/configs/themesConfig.ts @@ -41,7 +41,7 @@ export const themesConfig: FuseThemesType = { }, secondary: { light: '#818cf8', - main: '#3cb1fe', + main: '#356f93', dark: '#3730a3', contrastText: darkPaletteText.primary }, diff --git a/src/app/main/invoice/generateInvoice/GenerateInvoiceRender.tsx b/src/app/main/invoice/generateInvoice/GenerateInvoiceRender.tsx index 69b60e0..396056b 100644 --- a/src/app/main/invoice/generateInvoice/GenerateInvoiceRender.tsx +++ b/src/app/main/invoice/generateInvoice/GenerateInvoiceRender.tsx @@ -10,8 +10,12 @@ import { TextField, styled, Button, + Grid, + Box, } from "@mui/material"; import { Controller, useFormContext } from "react-hook-form"; +import DataInvoice from "./components/dataInvoice/DataInvoice"; +import DataClient from "./components/dataClient/DataClient"; const Root = styled(FusePageSimple)(({ theme }) => ({ "& .FusePageSimple-header": { @@ -28,58 +32,66 @@ const GenerateInvoiceRender = () => { className="text-16 font-bold " /> + + - + + - - - - + + + + + + { onChange(newValue); }} */ - renderInput={(params) => ( - ( + + )} /> - )} - /> + + diff --git a/src/app/main/invoice/generateInvoice/components/dataClient/DataClient.tsx b/src/app/main/invoice/generateInvoice/components/dataClient/DataClient.tsx new file mode 100644 index 0000000..d38c5b5 --- /dev/null +++ b/src/app/main/invoice/generateInvoice/components/dataClient/DataClient.tsx @@ -0,0 +1,69 @@ +import { + Autocomplete, + Box, + Divider, + Grid, + TextField, + Typography, +} from "@mui/material"; + +const DataClient = () => { + return ( + + + Datos cliente + + + + + { + onChange(newValue); + }} */ + renderInput={(params) => ( + + )} + /> + + + + + + + Razón Social: Jonathan Andres Alvarez Flores + + + Nombre Comercial: Jonathan Andres Alvarez Flores + + + Ruc: 17215785512001 + + + + Dirección: Calle Oe11g y s32 + + + Teléfono: 0988545211 + + + Correo: admin@qsoftec.com + + + + ); +}; + +export default DataClient; diff --git a/src/app/main/invoice/generateInvoice/components/dataInvoice/DataInvoice.tsx b/src/app/main/invoice/generateInvoice/components/dataInvoice/DataInvoice.tsx new file mode 100644 index 0000000..73d72b4 --- /dev/null +++ b/src/app/main/invoice/generateInvoice/components/dataInvoice/DataInvoice.tsx @@ -0,0 +1,35 @@ +import { Box, Grid, Typography, Divider } from "@mui/material"; + +const DataInvoice = () => { + return ( + + + Datos emisor + + + + + Razón Social: Jonathan Andres Alvarez Flores + + + Nombre Comercial: Jonathan Andres Alvarez Flores + + + Ruc: 17215785512001 + + + + Dirección: Calle Oe11g y s32 + + + Contribuyente Especial: NO + + + Obligado Contabilidad: NO + + + + ); +}; + +export default DataInvoice; diff --git a/src/app/main/invoice/listInvoice/ListInvoiceRender.tsx b/src/app/main/invoice/listInvoice/ListInvoiceRender.tsx index abce6b9..3f5114d 100644 --- a/src/app/main/invoice/listInvoice/ListInvoiceRender.tsx +++ b/src/app/main/invoice/listInvoice/ListInvoiceRender.tsx @@ -132,7 +132,7 @@ const ListInvoiceRender = () => {