Giter Club home page Giter Club logo

lacorazon-aws's People

Contributors

satyam avatar

Watchers

 avatar  avatar  avatar

lacorazon-aws's Issues

Separar Consigna en Stock y Facturación

Stock mantendrá las actualizaciones de stock con cantidad y tipo de novedad: Entregado, devuelto, vendido, facturado.
Facturación tendra información de facturacion: cantidad facturada, porcentaje descuento, numero de factura, vendedor y cuenta. Y si es facturado o cobrado.
Ambos tendran fecha y idDistribuidor
La factura mostrará el cálculo de la factura.
EL porcentaje de descuento será siempre el último que se hubiera aplicado. Habrá un tipo de registro de facturación que contendrá simplemente el porcentaje de facturación, aunque no hubiera nada facturado.

Hacer un componente LoggedUser o algo asi

Make a component that renders its children when a user is logged in and optionally checks the logged in user has a role given as a prop.
The children might be a function, a renderProps, that will receive the user info. Otherwise, it is just rendered.

In the login function, use the email from the user profile to check the user table and retrive the extra user info, including roles. If a record is not found, the user would be signed out immediately. The user info from the database and the one from auth could be merged and cached for use with the LoggerUser component.

Ensure the user is always updated. Use onAuthStateChanged to monitor this.

Unificar Nav y Routes

Component/Navigation tendrá el marco de la barra de navegación y las partes de login. Las opciones de la aplicación vendrán como children.
Cambiar Routes.tsx eliminando el export default ofreciendo dos exports, Nav y Routes. Routes será lo que actualmente es el default, Nav será la parte que en App/index irá como children de Navigation

CurrencyField no actualiza cuando se fuerza con setValue

El CurrencyField de porcentaje / precioFijo no se actualiza cuando se cambia el radio adjunto en porFacturar.
El value que recibe el input es correcto, pero como sólo setea el defaultValue una vez seteado, no lo cambia.
Pero si asigno el value recibido al atributo value, entonces el control no se puede editar.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.