mirror of
https://github.com/RolandWH/SIPPCompare.git
synced 2025-09-03 16:41:28 +01:00
Compare commits
3 Commits
2af0ecfd75
...
submission
Author | SHA1 | Date | |
---|---|---|---|
005f189c76 | |||
c8d7594af6 | |||
756efdf364 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -7,3 +7,4 @@
|
||||
output/
|
||||
src/*/__pycache__/
|
||||
src/__pycache__/
|
||||
*.db
|
BIN
SIPPCompare.db
BIN
SIPPCompare.db
Binary file not shown.
@@ -8,7 +8,7 @@
|
||||
# nuitka-project: --windows-icon-from-ico=icon2.ico
|
||||
# nuitka-project: --product-name=SIPPCompare
|
||||
# nuitka-project: --file-description=SIPPCompare
|
||||
# nuitka-project: --product-version=1
|
||||
# nuitka-project: --product-version=1.1
|
||||
# nuitka-project: --output-dir=build
|
||||
# nuitka-project: --output-filename=SIPPCompare
|
||||
import sys
|
||||
|
@@ -255,9 +255,18 @@ class PlatformEdit(QDialog):
|
||||
|
||||
if self.fund_fee_rows > 1:
|
||||
max_band = self.widgets_list_list[self.fund_fee_rows - 2][1].value()
|
||||
if self.fund_fee_rows > 2:
|
||||
prev_band = self.widgets_list_list[self.fund_fee_rows - 3][1].value()
|
||||
else:
|
||||
prev_band = self.first_tier_box.value()
|
||||
else:
|
||||
max_band = self.first_tier_box.value()
|
||||
self.val_above_lab.setText(f"on the value above £{int(max_band)} there is no charge")
|
||||
prev_band = self.first_tier_box.value()
|
||||
|
||||
if max_band > prev_band:
|
||||
self.val_above_lab.setText(f"on the value above £{max_band:.2f} there is no charge")
|
||||
else:
|
||||
self.val_above_lab.setText(f"on the value above £{prev_band:.2f} there is no charge")
|
||||
|
||||
def add_row(self, loading: bool = False):
|
||||
if loading:
|
||||
|
Reference in New Issue
Block a user