Skip to content
Snippets Groups Projects
Commit 8b2d6edf authored by Bouchaira Neirouz's avatar Bouchaira Neirouz
Browse files

COQUIS

parent c25ca245
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -275,15 +275,17 @@ if 'logged_in' in st.session_state and st.session_state.logged_in:
# Conditional fields based on employee type
if TYPE == 2:
#CS_PRODUCTION = st.number_input("Code salarial de production (1-9)", min_value=1, step=1, value=1, max_value=6)
prod_options = [1, 2, 3, 4, 5, 6, 7, 8, 9]
CS_PRODUCTION = st.selectbox("Code salarial de production (1-9)", index=0,
prod_options = [1, 2, 3, 4, 5, 6]
CS_PRODUCTION = st.selectbox("Code salarial de production (1-6)",
options=prod_options)
print(CS_PRODUCTION)
CS_JOURNEE = None
else:
#CS_JOURNEE = st.number_input("Code salarial journalier (1-6)", min_value=1, step=1, value=1, max_value=9)
journalier_options = [1, 2, 3, 4, 5, 6]
CS_JOURNEE = st.selectbox("Code salarial de journalier (1-6)", index=0,
journalier_options = [1, 2, 3, 4, 5,6, 7, 8, 9]
CS_JOURNEE = st.selectbox("Code salarial de journalier (1-9)",
options=journalier_options)
print(CS_JOURNEE)
CS_PRODUCTION = None
# Start date
date_debut = st.date_input("date de début", value=date(2024, 11, 13))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment