mirror of
https://github.com/RolandWH/SIPPCompare.git
synced 2025-09-03 08:31:28 +01:00
Compare commits
2 Commits
abbcbe41d0
...
submission
Author | SHA1 | Date | |
---|---|---|---|
4b8bdfbeea | |||
09f8b7bba8 |
2
.idea/SIPPCompare.iml
generated
2
.idea/SIPPCompare.iml
generated
@@ -3,6 +3,8 @@
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<excludeFolder url="file://$MODULE_DIR$/.venv" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/output" />
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="Python 3.13 (SIPPCompare)" jdkType="Python SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
|
@@ -243,11 +243,6 @@ class DBHandler:
|
||||
|
||||
return user_details_dict
|
||||
|
||||
# Toggle whether fees for this platform should be calculated
|
||||
def toggle_platform_state(self, index: int, state: bool):
|
||||
self.cur.execute("UPDATE tblPlatforms SET IsEnabled = ? WHERE PlatformID = ?", [state, index])
|
||||
self.conn.commit()
|
||||
|
||||
# Remove a platform from the DB - update the IDs to keep them sequential
|
||||
def remove_platform(self, index: int):
|
||||
tbl_list = ["tblPlatforms", "tblFlatPlatFees", "tblFlatDealFees", "tblFundPlatFee"]
|
||||
|
@@ -18,7 +18,6 @@ class PlatformEdit(QDialog):
|
||||
|
||||
# Initialise class variables
|
||||
self.plat = plat
|
||||
self.fund_plat_fee = self.plat.fund_plat_fee
|
||||
self.widgets_list_list = []
|
||||
if len(self.plat.fund_plat_fee[0]) > 1:
|
||||
self.fund_fee_rows = len(self.plat.fund_plat_fee[0]) - 1
|
||||
|
Reference in New Issue
Block a user