radboy 0.0.415__py3-none-any.whl → 0.0.416__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of radboy might be problematic. Click here for more details.
- radboy/TasksMode/Tasks.py +12 -11
- radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc +0 -0
- radboy/__init__.py +1 -1
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- {radboy-0.0.415.dist-info → radboy-0.0.416.dist-info}/METADATA +1 -1
- {radboy-0.0.415.dist-info → radboy-0.0.416.dist-info}/RECORD +8 -8
- {radboy-0.0.415.dist-info → radboy-0.0.416.dist-info}/WHEEL +0 -0
- {radboy-0.0.415.dist-info → radboy-0.0.416.dist-info}/top_level.txt +0 -0
radboy/TasksMode/Tasks.py
CHANGED
|
@@ -2899,15 +2899,14 @@ result in setting the value to 'Default Qty'+'Location Field'{Style.reset}
|
|
|
2899
2899
|
"""
|
|
2900
2900
|
def calculate_tax_crv(self,price):
|
|
2901
2901
|
tax,crv=0,0
|
|
2902
|
-
useMe=Prompt.__init2__(None,func=FormBuilderMkText,ptext="Do you want to calculate Tax w/ or w/o CRV?",helpText="yes or no, default == No",data="boolean")
|
|
2902
|
+
useMe=Prompt.__init2__(None,func=FormBuilderMkText,ptext="Do you want to calculate Tax w/ or w/o CRV[no=default]?",helpText="yes or no, default == No",data="boolean")
|
|
2903
2903
|
if useMe in [None,'d',False]:
|
|
2904
|
-
|
|
2905
2904
|
return tax,crv
|
|
2906
|
-
default_taxrate=
|
|
2907
|
-
default_price=
|
|
2908
|
-
default_bottle_qty=
|
|
2909
|
-
default_bottle_size=
|
|
2910
|
-
default_purchased_qty=
|
|
2905
|
+
default_taxrate=Decimal(detectGetOrSet("Tax Rate",0.0925,setValue=False,literal=True)).quantize(Decimal("0.0000"))
|
|
2906
|
+
default_price=Decimal(detectGetOrSet("pricing default price",1,setValue=False,literal=True)).quantize(Decimal("0.00"))
|
|
2907
|
+
default_bottle_qty=Decimal(detectGetOrSet("pricing default bottle_qty",1,setValue=False,literal=True)).quantize(Decimal("0.00"))
|
|
2908
|
+
default_bottle_size=Decimal(detectGetOrSet("pricing default bottle_size",16.9,setValue=False,literal=True)).quantize(Decimal("0.00"))
|
|
2909
|
+
default_purchased_qty=Decimal(detectGetOrSet("pricing default purchased_qty",1,setValue=False,literal=True)).quantize(Decimal("0.00"))
|
|
2911
2910
|
|
|
2912
2911
|
while True:
|
|
2913
2912
|
try:
|
|
@@ -2922,16 +2921,18 @@ result in setting the value to 'Default Qty'+'Location Field'{Style.reset}
|
|
|
2922
2921
|
elif tax_rate in ['d',]:
|
|
2923
2922
|
tax_rate=default_taxrate
|
|
2924
2923
|
|
|
2925
|
-
price=
|
|
2926
|
-
tax_rate=
|
|
2927
|
-
crv=
|
|
2924
|
+
price=Decimal(price).quantize(Decimal("0.00"))
|
|
2925
|
+
tax_rate=Decimal(tax_rate).quantize(Decimal("0.0000"))
|
|
2926
|
+
crv=Decimal(crv).quantize(Decimal("0.00"))
|
|
2928
2927
|
|
|
2929
|
-
tax=((
|
|
2928
|
+
tax=((price+crv)*tax_rate)
|
|
2930
2929
|
print(f"{Fore.dark_goldenrod}Total(${price+tax}){Fore.light_green} = ${tax}/{Fore.green_yellow}{tax_rate}% on {Fore.turquoise_4}Total({Fore.orange_red_1}CRV({crv})+{Fore.light_steel_blue}Price({price}){Fore.turquoise_4}){Style.reset}")
|
|
2930
|
+
#return float(tax,2),float(crv,2)
|
|
2931
2931
|
return tax,crv
|
|
2932
2932
|
except Exception as e:
|
|
2933
2933
|
print(e)
|
|
2934
2934
|
return tax,crv
|
|
2935
|
+
return tax,crv
|
|
2935
2936
|
|
|
2936
2937
|
def setBarcodes(self,fieldname):
|
|
2937
2938
|
while True:
|
|
Binary file
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.416'
|
|
Binary file
|
|
@@ -5,7 +5,7 @@ radboy/Holidays.txt,sha256=y-JZPihh5iaWKxMIHNXD39yVuVmf1vMs4FdNDcg0f1Y,3114
|
|
|
5
5
|
radboy/InventoryGlossary.txt,sha256=018-Yqca6DFb10jPdkUY-5qhkRlQN1k3rxoTaERQ-LA,91008
|
|
6
6
|
radboy/RecordMyCodes.py,sha256=XXy-o5Z_yOgrgHNju4iqM3h7xhRBkNIoHG1qePtBnGY,41316
|
|
7
7
|
radboy/Run.py,sha256=JUoCTHnzQBv7n8PB2_i93ANdAC_iW__RkAge8esCnk4,76
|
|
8
|
-
radboy/__init__.py,sha256=
|
|
8
|
+
radboy/__init__.py,sha256=i8jnNOfHDg66sbTpdGSgNw0xR9XxxP6UlRH0gYrrH9E,17
|
|
9
9
|
radboy/api_key,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
10
|
radboy/case-export-2024-05-14-13-10-00.672971.xlsx,sha256=Wd592d_VLFmfUI9KKKSVjNwjV91euc1T7ATyvwvUhlg,5431
|
|
11
11
|
radboy/case-export-2024-05-14-13-13-22.540614.xlsx,sha256=OnGrhmScHfGp_mVaWW-LNMsqrQgyZDpiU3wV-2s3U5Q,5556
|
|
@@ -332,7 +332,7 @@ radboy/SystemSettings/__pycache__/__init__.cpython-312.pyc,sha256=aIzp4Po0t8EhSA
|
|
|
332
332
|
radboy/SystemSettings/__pycache__/__init__.cpython-313.pyc,sha256=QFDuoidxMWsGVLsy5lN-rDs6TP8nKJ4yyCyiamNOhwo,156
|
|
333
333
|
radboy/TasksMode/ReFormula.py,sha256=REDRJYub-OEOE6g14oRQOLOQwv8pHqVJy4NQk3CCM90,2255
|
|
334
334
|
radboy/TasksMode/SetEntryNEU.py,sha256=3nUNDUNyxq4zeMtmUQ7aS1o23P7KhDIMdUPNqPnYbRk,17343
|
|
335
|
-
radboy/TasksMode/Tasks.py,sha256=
|
|
335
|
+
radboy/TasksMode/Tasks.py,sha256=lMI6NUjUGvIJ8CzGwojIVX3n576jwrZypRiNrc5yQxc,306978
|
|
336
336
|
radboy/TasksMode/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
337
337
|
radboy/TasksMode/__pycache__/ReFormula.cpython-311.pyc,sha256=QEG3PwVw-8HTd_Mf9XbVcxU56F1fC9yBqWXYPLC39DU,4865
|
|
338
338
|
radboy/TasksMode/__pycache__/ReFormula.cpython-312.pyc,sha256=aX7BWm2PPjCTnxsbGUitR-2h9hq4AjaBiHMrUXvIl0Y,3967
|
|
@@ -341,7 +341,7 @@ radboy/TasksMode/__pycache__/SetEntryNEU.cpython-312.pyc,sha256=pCdFj61aPKkHL6Sv
|
|
|
341
341
|
radboy/TasksMode/__pycache__/SetEntryNEU.cpython-313.pyc,sha256=leIelDzPrZE_YgKs0B99osmhyENYtYgi3ErgS2XqSPs,20088
|
|
342
342
|
radboy/TasksMode/__pycache__/Tasks.cpython-311.pyc,sha256=6QOTJnLiXSKdF81hkhy3vyrz49PPhS20s5_0X52g3Hw,131120
|
|
343
343
|
radboy/TasksMode/__pycache__/Tasks.cpython-312.pyc,sha256=hyJwdaYaaRLdcrNxgg36diJ5iijX5_3I0UAORsj-6LU,310295
|
|
344
|
-
radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc,sha256=
|
|
344
|
+
radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc,sha256=uD-IBoUwEwGcqayy9z5oPJqazzmr-p_wsjHS23egCUg,377020
|
|
345
345
|
radboy/TasksMode/__pycache__/__init__.cpython-311.pyc,sha256=PKV1JbihEacm639b53bZozRQvcllSkjGP3q8STVMxF4,234
|
|
346
346
|
radboy/TasksMode/__pycache__/__init__.cpython-312.pyc,sha256=ERgnEvRMiGSecWp1BpNzLdSq_SdKw7GvFWUvUM7bLVw,272
|
|
347
347
|
radboy/TasksMode/__pycache__/__init__.cpython-313.pyc,sha256=lvsTxukyvGKB3C0rdF9dQi_bvVh6ceDVINfwcuIsd0s,151
|
|
@@ -388,7 +388,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
|
|
|
388
388
|
radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
|
|
389
389
|
radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
|
|
390
390
|
radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
|
|
391
|
-
radboy/__pycache__/__init__.cpython-313.pyc,sha256=
|
|
391
|
+
radboy/__pycache__/__init__.cpython-313.pyc,sha256=bbAQhyC62czhR3HBhkySRFqr2nlpNiIAV3cnWeochiA,165
|
|
392
392
|
radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
|
|
393
393
|
radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
|
|
394
394
|
radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
|
|
@@ -413,7 +413,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
|
|
|
413
413
|
radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
|
|
414
414
|
radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
|
|
415
415
|
radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
|
|
416
|
-
radboy-0.0.
|
|
417
|
-
radboy-0.0.
|
|
418
|
-
radboy-0.0.
|
|
419
|
-
radboy-0.0.
|
|
416
|
+
radboy-0.0.416.dist-info/METADATA,sha256=PQvB6NhPTtBPWiCiLN7RS3i3uXPTdhcspWQMJKM704E,794
|
|
417
|
+
radboy-0.0.416.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
418
|
+
radboy-0.0.416.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
419
|
+
radboy-0.0.416.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|