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 |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -6,4 +6,5 @@
|
|||||||
*dist/
|
*dist/
|
||||||
output/
|
output/
|
||||||
src/*/__pycache__/
|
src/*/__pycache__/
|
||||||
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: --windows-icon-from-ico=icon2.ico
|
||||||
# nuitka-project: --product-name=SIPPCompare
|
# nuitka-project: --product-name=SIPPCompare
|
||||||
# nuitka-project: --file-description=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-dir=build
|
||||||
# nuitka-project: --output-filename=SIPPCompare
|
# nuitka-project: --output-filename=SIPPCompare
|
||||||
import sys
|
import sys
|
||||||
|
@@ -255,9 +255,18 @@ class PlatformEdit(QDialog):
|
|||||||
|
|
||||||
if self.fund_fee_rows > 1:
|
if self.fund_fee_rows > 1:
|
||||||
max_band = self.widgets_list_list[self.fund_fee_rows - 2][1].value()
|
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:
|
else:
|
||||||
max_band = self.first_tier_box.value()
|
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):
|
def add_row(self, loading: bool = False):
|
||||||
if loading:
|
if loading:
|
||||||
|
Reference in New Issue
Block a user