Edisonymy commited on
Commit
0277d42
·
1 Parent(s): 0b30a60

reorganized summary

Browse files
src/__pycache__/buy_or_rent.cpython-310.pyc CHANGED
Binary files a/src/__pycache__/buy_or_rent.cpython-310.pyc and b/src/__pycache__/buy_or_rent.cpython-310.pyc differ
 
src/__pycache__/mainbody.cpython-310.pyc CHANGED
Binary files a/src/__pycache__/mainbody.cpython-310.pyc and b/src/__pycache__/mainbody.cpython-310.pyc differ
 
src/app.py CHANGED
@@ -332,13 +332,16 @@ class App:
332
  self.cgt_us_ex_bol = st.checkbox(
333
  "I qualify for the capital gains tax exemption.",
334
  value=False,
335
- help="Capital Gains Tax (CGT): A tax levied on the profit (capital gain) made from the sale or disposal of assets such as property, investments, or valuable possessions. In the US, the initial $250,000 in profit gained from selling your home is exempt from taxation. If you file jointly with your spouse, this exemption increases to $500,000. Additional details can be found in IRS Topic 701.",
336
- )
337
- self.us_tax_return = st.selectbox(
338
- label="How you file your taxes",
339
- options=["Joint Return", "Individual Return"],
340
- help="The initial $250,000 in profit gained from selling your home is exempt from taxation. If you file jointly with your spouse, this exemption increases to $500,000. Additional details can be found in IRS Topic 701.",
341
  )
 
 
 
 
 
 
 
 
342
  self.property_tax_rate = st.slider(
343
  "Property Tax Rate:",
344
  min_value=0.0,
 
332
  self.cgt_us_ex_bol = st.checkbox(
333
  "I qualify for the capital gains tax exemption.",
334
  value=False,
335
+ help=r"Capital Gains Tax (CGT): A tax levied on the profit (capital gain) made from the sale or disposal of assets such as property, investments, or valuable possessions. In the US, the initial 250,000 in profit gained from selling your home is exempt from taxation. If you file jointly with your spouse, this exemption increases to 500,000. Additional details can be found in IRS Topic 701.",
 
 
 
 
 
336
  )
337
+ if self.cgt_us_ex_bol:
338
+ self.us_tax_return = st.selectbox(
339
+ label="How you file your taxes",
340
+ options=["Joint Return", "Individual Return"],
341
+ help=r"The initial 250,000 in profit gained from selling your home is exempt from taxation. If you file jointly with your spouse, this exemption increases to 500,000. Additional details can be found in IRS Topic 701.",
342
+ )
343
+ else:
344
+ self.us_tax_return = "Individual Return"
345
  self.property_tax_rate = st.slider(
346
  "Property Tax Rate:",
347
  min_value=0.0,