import streamlit as st from datetime import datetime net_value = 0 def find_quantity_range(quantity, quantity_labels): for label in quantity_labels: if '+' in label: lower = int(label.replace('+', '').strip()) if quantity >= lower: return label elif '-' in label: parts = label.split('-') low = int(parts[0].strip()) high = int(parts[1].strip()) if low <= quantity <= high: return label return quantity_labels[-1] def footer(): theme_bg = st.get_option("theme.backgroundColor") theme_text = st.get_option("theme.textColor") theme_primary = st.get_option("theme.primaryColor") current_year = datetime.now().year footer_html = f"""
""" st.markdown(footer_html, unsafe_allow_html=True)