Skip to content

Commit

Permalink
prijslijst 1 mei 2023 toegevoegd
Browse files Browse the repository at this point in the history
  • Loading branch information
ZuinigeRijder committed May 1, 2023
1 parent b38d5cd commit bd9fc99
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
9 changes: 8 additions & 1 deletion rdw.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,14 @@ def main():
"""main"""

# this contains the pricelist per date and kWh battery and AWD
pricelists_dates = ["20230101", "20220901", "20220501", "20220301", "20210501"]
pricelists_dates = [
"20230501",
"20230101",
"20220901",
"20220501",
"20220301",
"20210501",
]
pricelists = fill_prices(D)

variantscount = {}
Expand Down
23 changes: 23 additions & 0 deletions rdw_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1215,4 +1215,27 @@ def fill_prices(d): # pylint:disable=invalid-name
pricelists["20230101_77"] = p_jan23_big_23
pricelists["20230101_77AWD"] = p_jan23_awd_23

# model 2023 prijslijst mei 2023: 1000 euro duurder dan januari 2023
p_mei23_small_23 = {}
p_mei23_big_23 = {}
p_mei23_awd_23 = {}
par = "mei 2023"
fill_price(d, p_mei23_small_23, "Style", 48200, 58, False, True, par)
fill_price(d, p_mei23_small_23, "Connect", 52300, 58, False, True, par)
fill_price(d, p_mei23_small_23, "Connect+", 55300, 58, False, True, par)
fill_price(d, p_mei23_small_23, "Lounge", 57700, 58, False, True, par)

fill_price(d, p_mei23_big_23, "Style", 51800, 77, False, True, par)
fill_price(d, p_mei23_big_23, "Connect", 55900, 77, False, True, par)
fill_price(d, p_mei23_big_23, "Connect+", 58900, 77, False, True, par)
fill_price(d, p_mei23_big_23, "Lounge", 61300, 77, False, True, par)

fill_price(d, p_mei23_awd_23, "Connect", 59900, 77, True, True, par)
fill_price(d, p_mei23_awd_23, "Connect+", 62900, 77, True, True, par)
fill_price(d, p_mei23_awd_23, "Lounge", 65300, 77, True, True, par)

pricelists["20230501_58_2023"] = p_mei23_small_23
pricelists["20230501_77"] = p_mei23_big_23
pricelists["20230501_77AWD"] = p_mei23_awd_23

return pricelists

0 comments on commit bd9fc99

Please sign in to comment.