Compare commits

3 Commits

Author SHA1 Message Date
005f189c76 removed database binary from source tree 2025-04-29 14:22:06 +01:00
c8d7594af6 update nuitka product version 2025-04-29 14:17:30 +01:00
756efdf364 only update val_above_lab when input is valid 2025-04-28 16:41:52 +01:00
4 changed files with 13 additions and 3 deletions

1
.gitignore vendored
View File

@@ -7,3 +7,4 @@
output/
src/*/__pycache__/
src/__pycache__/
*.db

Binary file not shown.

View File

@@ -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

View File

@@ -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: