The Productos page is your central inventory catalog. Every medicine available for sale must exist here first. From this page you can browse the full product list, search for specific items, register new products, and update details such as pricing, stock thresholds, and presentation information. Route:Documentation Index
Fetch the complete documentation index at: https://mintlify.com/15aozzz/Lab-Nova-Salud/llms.txt
Use this file to discover all available pages before exploring further.
/productos
What you can do on this page
- Browse the catalog — all products are listed in a paginated table showing the commercial name, active ingredient, laboratory, presentation, current stock, and minimum stock threshold.
- Filter and search — narrow the list by product name, active ingredient, category, or laboratory using the filter bar at the top. Searches use the
sp_buscar_productosstored procedure, which returns results as soon as you type at least 2 characters. - Add a new product — open the Nuevo Producto modal to register a medicine not yet in the system.
- Edit an existing product — click the edit icon on any row to open the product drawer, where you can update all fields including pricing tiers and stock levels.
Product search
The search field queries products by commercial name or active ingredient simultaneously. Results are grouped by product — each result includes the product’s details along with all of its configured pricing units.The search requires at least 2 characters before results are returned. Shorter inputs are ignored to avoid overloading the query.
Pricing tiers
Each product can have one or more pricing tiers, allowing you to sell the same medicine in different units at different prices. Common examples:| Pricing unit | Equivalence | Sale price |
|---|---|---|
| Unidad (tablet) | 1 base unit | S/. 0.50 |
| Blíster x10 | 10 base units | S/. 4.50 |
| Caja x100 | 100 base units | S/. 40.00 |
cantidad_equivalente) of the selected tier.
Adding a new product
When you click Nuevo Producto, a modal form opens with the following required fields:- Nombre comercial — the brand name of the medicine.
- Categoría — the therapeutic category (e.g., analgesic, antibiotic).
- Laboratorio — the manufacturer.
- Precios — at least one pricing tier with unit name, equivalence factor, and sale price.
principio_activo), presentation (presentacion), initial stock, and minimum stock threshold.