Spaces:
Runtime error
Runtime error
Update pages/presupuesto.py
Browse files- pages/presupuesto.py +5 -4
pages/presupuesto.py
CHANGED
|
@@ -35,10 +35,11 @@ def show():
|
|
| 35 |
if 'presupuesto' not in st.session_state:
|
| 36 |
st.session_state['presupuesto'] = []
|
| 37 |
|
| 38 |
-
# Mostrar lista de precios
|
| 39 |
-
st.
|
| 40 |
-
|
| 41 |
-
|
|
|
|
| 42 |
|
| 43 |
# Selecci贸n de tratamientos y cantidad
|
| 44 |
tratamiento = st.selectbox("Selecciona el tratamiento", list(lista_precios.keys()))
|
|
|
|
| 35 |
if 'presupuesto' not in st.session_state:
|
| 36 |
st.session_state['presupuesto'] = []
|
| 37 |
|
| 38 |
+
# Mostrar lista de precios en un men煤 desplegable
|
| 39 |
+
with st.expander("Mostrar Lista de Precios"):
|
| 40 |
+
st.markdown("### Lista de Precios")
|
| 41 |
+
for tratamiento, precio in lista_precios.items():
|
| 42 |
+
st.markdown(f"**{tratamiento}:** {precio} COP")
|
| 43 |
|
| 44 |
# Selecci贸n de tratamientos y cantidad
|
| 45 |
tratamiento = st.selectbox("Selecciona el tratamiento", list(lista_precios.keys()))
|