Ninad077 commited on
Commit
50e775d
·
verified ·
1 Parent(s): 64088ff

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -478,7 +478,7 @@ if bundle_by == "Feature specific":
478
  fee_reversal = st.multiselect("**Fee Reversal**", fee_reversal_options) if selected_fee_type == "Transaction" and selected_variable_type == "Bag" else None
479
  reversal_per = st.number_input("**Reversal %**", min_value= 0.0, help = "Enter the reversal percentage") if selected_fee_type == "Transaction" and selected_variable_type == "Bag" else None
480
 
481
- usage_1 = st.number_input(f"**Usage limit for {selected_variable_type}**", min_value=0.0, help="Enter the usage limit")
482
  usage_2 = float(usage_1)
483
  usage_3 = "{:.2f}".format(usage_2)
484
 
@@ -612,10 +612,7 @@ elif bundle_by == "Single value":
612
  a1 = ["GoFynd", "Uniket", "B2B", "Marketplaces", "StoreOS", "Storefronts", "ONDC", "Fynd OMS", "Fynd TMS", "Fynd WMS",
613
  "GMC", "Catalog Cloud", "Fynd Commerce Platform", "Logistics", "PixelBin", "Boltic", "CoPilot"]
614
  ordering_channels = st.sidebar.selectbox("Product lines", [""] + a1, help="Select the ordering channels")
615
- a1 = ["GoFynd", "Uniket", "B2B", "Marketplaces", "StoreOS", "Storefronts", "ONDC", "Fynd OMS", "Fynd TMS", "Fynd WMS",
616
- "GMC", "Catalog Cloud", "Fynd Commerce Platform", "Logistics", "PixelBin", "Boltic", "CoPilot"]
617
- ordering_channels = st.sidebar.selectbox("Product lines", [""] + a1, help="Select the ordering channels", key = "ordering_channels")
618
-
619
  # Layer 1: Mapping of Ordering channels with Fulfilling location
620
  if "Fynd TMS" in ordering_channels or "GMC" in ordering_channels or "Catalog Cloud" in ordering_channels:
621
  fulfilling_location = None
 
478
  fee_reversal = st.multiselect("**Fee Reversal**", fee_reversal_options) if selected_fee_type == "Transaction" and selected_variable_type == "Bag" else None
479
  reversal_per = st.number_input("**Reversal %**", min_value= 0.0, help = "Enter the reversal percentage") if selected_fee_type == "Transaction" and selected_variable_type == "Bag" else None
480
 
481
+ usage_1 = st.number_input(f"**Usage limit for****{selected_variable_type}**", min_value=0.0, help="Enter the usage limit")
482
  usage_2 = float(usage_1)
483
  usage_3 = "{:.2f}".format(usage_2)
484
 
 
612
  a1 = ["GoFynd", "Uniket", "B2B", "Marketplaces", "StoreOS", "Storefronts", "ONDC", "Fynd OMS", "Fynd TMS", "Fynd WMS",
613
  "GMC", "Catalog Cloud", "Fynd Commerce Platform", "Logistics", "PixelBin", "Boltic", "CoPilot"]
614
  ordering_channels = st.sidebar.selectbox("Product lines", [""] + a1, help="Select the ordering channels")
615
+
 
 
 
616
  # Layer 1: Mapping of Ordering channels with Fulfilling location
617
  if "Fynd TMS" in ordering_channels or "GMC" in ordering_channels or "Catalog Cloud" in ordering_channels:
618
  fulfilling_location = None