radboy 0.0.506__py3-none-any.whl → 0.0.508__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/DB/Prompt.py +8 -2
- radboy/DB/__pycache__/Prompt.cpython-313.pyc +0 -0
- radboy/TasksMode/Tasks.py +10 -8
- 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.506.dist-info → radboy-0.0.508.dist-info}/METADATA +1 -1
- {radboy-0.0.506.dist-info → radboy-0.0.508.dist-info}/RECORD +10 -10
- {radboy-0.0.506.dist-info → radboy-0.0.508.dist-info}/WHEEL +0 -0
- {radboy-0.0.506.dist-info → radboy-0.0.508.dist-info}/top_level.txt +0 -0
radboy/DB/Prompt.py
CHANGED
|
@@ -997,7 +997,7 @@ class Prompt(object):
|
|
|
997
997
|
master_total_crv=Decimal("0.00")
|
|
998
998
|
master_total_tax=Decimal("0.00")
|
|
999
999
|
master_total_tax_crv=Decimal("0.00")
|
|
1000
|
-
|
|
1000
|
+
reRunRequired=False
|
|
1001
1001
|
for num,i in enumerate(results):
|
|
1002
1002
|
getExtras(i.EntryId,extras)
|
|
1003
1003
|
msg=f'{"*"*os.get_terminal_size().columns}\n{Fore.light_green}{num}{Fore.light_magenta}/{Fore.orange_3}{num+1} of {Fore.light_red}{ct}[{Fore.dark_slate_gray_1}EID{Fore.orange_3}]{Fore.dark_violet_1b}{i.EntryId}{Style.reset} |-| {Fore.light_yellow}{i.Name}|{Fore.light_salmon_1}[{Fore.light_red}BCD]{i.rebar()}{Fore.medium_violet_red}|[{Fore.light_red}CD{Fore.medium_violet_red}]{i.cfmt(i.Code)} {Style.reset}|-| '
|
|
@@ -1126,9 +1126,11 @@ class Prompt(object):
|
|
|
1126
1126
|
page=False
|
|
1127
1127
|
continue
|
|
1128
1128
|
elif nxt in ['ee',]:
|
|
1129
|
+
reRunRequired=True
|
|
1129
1130
|
TM.Tasks.TasksMode(parent=self,engine=db.ENGINE,init_only=True).NewEntryMenu(code=i.Barcode)
|
|
1130
1131
|
continue
|
|
1131
1132
|
elif nxt in ['ce']:
|
|
1133
|
+
reRunRequired=True
|
|
1132
1134
|
cse(i.Barcode)
|
|
1133
1135
|
continue
|
|
1134
1136
|
|
|
@@ -1139,7 +1141,8 @@ class Prompt(object):
|
|
|
1139
1141
|
|
|
1140
1142
|
actual=(master_total_crv+master_total)+master_total_tax
|
|
1141
1143
|
|
|
1142
|
-
|
|
1144
|
+
if not reRunRequired:
|
|
1145
|
+
msg=f"""{Fore.light_green}Total Product Value
|
|
1143
1146
|
{Fore.orange_red_1}= {Style.bold}{Fore.slate_blue_1}{master_total}{Style.reset}
|
|
1144
1147
|
{Fore.light_green}Total Product Value w/CRV({master_total_crv})
|
|
1145
1148
|
{Fore.orange_red_1}= {Style.bold}{Fore.slate_blue_1}{master_total_crv+master_total}{Style.reset}
|
|
@@ -1148,11 +1151,14 @@ class Prompt(object):
|
|
|
1148
1151
|
{Fore.light_green}Total Product Value Taxed({master_total_tax}) w/ CRV({master_total_crv})
|
|
1149
1152
|
{Fore.orange_red_1}= {Style.bold}{Fore.slate_blue_1}{actual}{Style.reset}
|
|
1150
1153
|
{Style.reset}"""
|
|
1154
|
+
else:
|
|
1155
|
+
msg=f"{Fore.orange_red_1}You need to re-run lsbld to recalculate properly!{Style.reset}"
|
|
1151
1156
|
if bldlse:
|
|
1152
1157
|
db.logInput(msg,user=False,filter_colors=True,maxed_hfl=False,ofile=Prompt.bld_file)
|
|
1153
1158
|
print(msg)
|
|
1154
1159
|
except Exception as e:
|
|
1155
1160
|
print(e,"you might try and re-run the cmd")
|
|
1161
|
+
|
|
1156
1162
|
while True:
|
|
1157
1163
|
try:
|
|
1158
1164
|
lastTime=db.detectGetOrSet("PromptLastDTasFloat",datetime.now().timestamp())
|
|
Binary file
|
radboy/TasksMode/Tasks.py
CHANGED
|
@@ -2193,10 +2193,10 @@ so use {Fore.orange_red_1}ls-lq/ls Shelf {Fore.light_yellow}from {Fore.light_mag
|
|
|
2193
2193
|
for num,z in enumerate(ex):
|
|
2194
2194
|
print(std_colorize(z,num,ct))
|
|
2195
2195
|
|
|
2196
|
-
taxRate=Decimal('0.00000')
|
|
2197
|
-
result.Tax=Decimal('0.00')
|
|
2198
|
-
session.commit()
|
|
2199
|
-
session.refresh(result)
|
|
2196
|
+
#taxRate=Decimal('0.00000')
|
|
2197
|
+
#result.Tax=Decimal('0.00')
|
|
2198
|
+
#session.commit()
|
|
2199
|
+
#session.refresh(result)
|
|
2200
2200
|
|
|
2201
2201
|
hafnhaf_l=f'''{Fore.grey_70}[{Fore.light_steel_blue}ListMode Entry Info{Fore.grey_70}]{Style.reset}
|
|
2202
2202
|
{Fore.orange_red_1}Cost({Fore.light_red}${Fore.light_green}{round(total_price,3)}({Fore.light_steel_blue}Price({round(result.Price,3)}),{Fore.light_sea_green}CRV({round(result.CRV,3)}),{Fore.spring_green_3a}Tax({round(result.Tax,3)}){Fore.light_green}){Style.reset}
|
|
@@ -2800,7 +2800,7 @@ Location Fields:
|
|
|
2800
2800
|
else:
|
|
2801
2801
|
total_price=round(round(result.Price+result.Tax,3)+round(result.CRV,3),3)
|
|
2802
2802
|
try:
|
|
2803
|
-
if (
|
|
2803
|
+
if (result.Price+result.CRV) > 0:
|
|
2804
2804
|
taxRate=Decimal(result.Tax/(result.Price+result.CRV)).quantize(Decimal("0.00000"))
|
|
2805
2805
|
else:
|
|
2806
2806
|
taxRate=Decimal('0.00000')
|
|
@@ -2810,11 +2810,12 @@ Location Fields:
|
|
|
2810
2810
|
for num,z in enumerate(ex):
|
|
2811
2811
|
print(std_colorize(z,num,ct))
|
|
2812
2812
|
|
|
2813
|
+
'''
|
|
2813
2814
|
taxRate=Decimal('0.00000')
|
|
2814
2815
|
result.Tax=Decimal('0.00')
|
|
2815
2816
|
session.commit()
|
|
2816
2817
|
session.refresh(result)
|
|
2817
|
-
|
|
2818
|
+
'''
|
|
2818
2819
|
hafnhaf=f'''{Fore.grey_70}[{Fore.light_steel_blue}ListMode Entry Info{Fore.grey_70}]
|
|
2819
2820
|
{Fore.orange_red_1}Cost({Fore.light_red}${Fore.light_green}{round(total_price,3)}({Fore.light_steel_blue}Price({round(result.Price,3)}),{Fore.light_sea_green}CRV({round(result.CRV,3)}),{Fore.spring_green_3a}Tax({round(result.Tax,3)}){Fore.light_green}){Style.reset}
|
|
2820
2821
|
{Fore.green_4}TaxRate({Fore.dodger_blue_2}{taxRate}{Fore.green_4})={Fore.dodger_blue_3}{Decimal(taxRate*100).quantize(Decimal("0.00"))}%{Style.reset}
|
|
@@ -2924,7 +2925,7 @@ Location Fields:
|
|
|
2924
2925
|
else:
|
|
2925
2926
|
total_price=round(round(result.Price+result.Tax,3)+round(result.CRV,3),3)
|
|
2926
2927
|
try:
|
|
2927
|
-
if (
|
|
2928
|
+
if (result.Price+result.CRV) > 0:
|
|
2928
2929
|
taxRate=Decimal(result.Tax/(result.Price+result.CRV)).quantize(Decimal("0.00000"))
|
|
2929
2930
|
else:
|
|
2930
2931
|
taxRate=Decimal('0.00000')
|
|
@@ -2934,11 +2935,12 @@ Location Fields:
|
|
|
2934
2935
|
for num,z in enumerate(ex):
|
|
2935
2936
|
print(std_colorize(z,num,ct))
|
|
2936
2937
|
|
|
2938
|
+
'''
|
|
2937
2939
|
taxRate=Decimal('0.00000')
|
|
2938
2940
|
result.Tax=Decimal('0.00')
|
|
2939
2941
|
session.commit()
|
|
2940
2942
|
session.refresh(result)
|
|
2941
|
-
|
|
2943
|
+
'''
|
|
2942
2944
|
|
|
2943
2945
|
hafnhaf=f'''{Fore.grey_70}[{Fore.light_steel_blue}ListMode Entry Info{Fore.grey_70}]{Style.reset}
|
|
2944
2946
|
{Fore.orange_red_1}Cost({Fore.light_red}${Fore.light_green}{round(total_price,3)}({Fore.light_steel_blue}Price({round(result.Price,3)}),{Fore.light_sea_green}CRV({round(result.CRV,3)}),{Fore.spring_green_3a}Tax({round(result.Tax,3)}){Fore.light_green}){Style.reset}
|
|
Binary file
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.508'
|
|
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=Lt2reA6xchq3U7Y08DvkrHboZ25i1ts7X2E9gSIwcVg,41101
|
|
7
7
|
radboy/Run.py,sha256=JUoCTHnzQBv7n8PB2_i93ANdAC_iW__RkAge8esCnk4,76
|
|
8
|
-
radboy/__init__.py,sha256=
|
|
8
|
+
radboy/__init__.py,sha256=afXrxabCItpWvt8KfGpyHWCCa35fETpkpjvNvhh3TMs,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
|
|
@@ -85,7 +85,7 @@ radboy/DB/ExerciseTracker.py,sha256=CZ8jdKJiAE_QTAiJTRXi8ZOnS1NUiSvWVSKLHLpYVGk,
|
|
|
85
85
|
radboy/DB/PayDay.py,sha256=H2kPGvBCDkMOz7lbxQhYtUt_oAInpxi37Q6MFrah98I,8710
|
|
86
86
|
radboy/DB/PayModels.py,sha256=hjwWxP7PL33hmfzQl5YTf0HqzaMxXJxFknPdxFJXJc8,3499
|
|
87
87
|
radboy/DB/PrintLogging.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
88
|
-
radboy/DB/Prompt.py,sha256=
|
|
88
|
+
radboy/DB/Prompt.py,sha256=7BcheKtc9z7Yzfiiy_K62lyQQeD0VHE7Z1FKVYjIf5s,148869
|
|
89
89
|
radboy/DB/RandomStringUtil.py,sha256=eZCpR907WStgfbk4Evcghjv9hOkUDXH-iMXIq0-kXq8,24386
|
|
90
90
|
radboy/DB/ResetTools.py,sha256=RbI-Ua7UlsN0S9qLqtEkTWvzyTZ6R-hHR3CW4NHlUPE,6660
|
|
91
91
|
radboy/DB/SMLabelImporter.py,sha256=eUoBDxVUUEKGL2g_PwkASM67ZB7FmXtSnn4bCagskhY,4013
|
|
@@ -109,7 +109,7 @@ radboy/DB/__pycache__/FormBuilder.cpython-312.pyc,sha256=p1o-5SMRL8OXP_XQ5liUpf-
|
|
|
109
109
|
radboy/DB/__pycache__/PrintLogging.cpython-312.pyc,sha256=pIAFqTi6OiQQORSc-oMH1zAbsdH7sY1TifxrN_QOvnU,148
|
|
110
110
|
radboy/DB/__pycache__/Prompt.cpython-311.pyc,sha256=P2uPRpeqfLFtxieZ0JHBG3X_HZzWUCsFSLb_fpRqky0,6407
|
|
111
111
|
radboy/DB/__pycache__/Prompt.cpython-312.pyc,sha256=6CcQ1gE2hcz3cKPjo4f6d7xNM2PTDnl8NzQG0Pme5BE,142886
|
|
112
|
-
radboy/DB/__pycache__/Prompt.cpython-313.pyc,sha256=
|
|
112
|
+
radboy/DB/__pycache__/Prompt.cpython-313.pyc,sha256=HDAZIy_-J_BbaUlOMrMrz510nAv6lvwZ_UXiO4pqrYA,225463
|
|
113
113
|
radboy/DB/__pycache__/RandomStringUtil.cpython-312.pyc,sha256=TrbEY89MuLmNlvoo5d8vOE6Dyshh5_EMlTZvk8MDVN4,48597
|
|
114
114
|
radboy/DB/__pycache__/RandomStringUtil.cpython-313.pyc,sha256=MCcgVwV2Y-9rAY2FVaJZCKcou3HDX70EZudoiCigT0o,49217
|
|
115
115
|
radboy/DB/__pycache__/ResetTools.cpython-311.pyc,sha256=4Vyc57iAAF0yRPjjglnVKovnTn8OoFIi6Zok3Wpj_YM,9292
|
|
@@ -342,7 +342,7 @@ radboy/SystemSettings/__pycache__/__init__.cpython-312.pyc,sha256=aIzp4Po0t8EhSA
|
|
|
342
342
|
radboy/SystemSettings/__pycache__/__init__.cpython-313.pyc,sha256=QFDuoidxMWsGVLsy5lN-rDs6TP8nKJ4yyCyiamNOhwo,156
|
|
343
343
|
radboy/TasksMode/ReFormula.py,sha256=REDRJYub-OEOE6g14oRQOLOQwv8pHqVJy4NQk3CCM90,2255
|
|
344
344
|
radboy/TasksMode/SetEntryNEU.py,sha256=Gu0Z677tjpc7-9AQtLbIr7yzPx6ZJXGK33lOIgU0IRM,17432
|
|
345
|
-
radboy/TasksMode/Tasks.py,sha256=
|
|
345
|
+
radboy/TasksMode/Tasks.py,sha256=u7BTI3Mvcqf8eTfMjq1KCejsgGMbQjNriQ1XktpQ6QA,322012
|
|
346
346
|
radboy/TasksMode/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
347
347
|
radboy/TasksMode/__pycache__/ReFormula.cpython-311.pyc,sha256=QEG3PwVw-8HTd_Mf9XbVcxU56F1fC9yBqWXYPLC39DU,4865
|
|
348
348
|
radboy/TasksMode/__pycache__/ReFormula.cpython-312.pyc,sha256=aX7BWm2PPjCTnxsbGUitR-2h9hq4AjaBiHMrUXvIl0Y,3967
|
|
@@ -351,7 +351,7 @@ radboy/TasksMode/__pycache__/SetEntryNEU.cpython-312.pyc,sha256=pCdFj61aPKkHL6Sv
|
|
|
351
351
|
radboy/TasksMode/__pycache__/SetEntryNEU.cpython-313.pyc,sha256=UExwr8dN2STFEDE5t_YnQFMUX-wGv7JH10I1OyBDRtM,20212
|
|
352
352
|
radboy/TasksMode/__pycache__/Tasks.cpython-311.pyc,sha256=6QOTJnLiXSKdF81hkhy3vyrz49PPhS20s5_0X52g3Hw,131120
|
|
353
353
|
radboy/TasksMode/__pycache__/Tasks.cpython-312.pyc,sha256=hyJwdaYaaRLdcrNxgg36diJ5iijX5_3I0UAORsj-6LU,310295
|
|
354
|
-
radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc,sha256=
|
|
354
|
+
radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc,sha256=u-cXjtxGpPcMLZxxKssnP9ywRrno26j7s_1Fs7qgK50,394855
|
|
355
355
|
radboy/TasksMode/__pycache__/__init__.cpython-311.pyc,sha256=PKV1JbihEacm639b53bZozRQvcllSkjGP3q8STVMxF4,234
|
|
356
356
|
radboy/TasksMode/__pycache__/__init__.cpython-312.pyc,sha256=ERgnEvRMiGSecWp1BpNzLdSq_SdKw7GvFWUvUM7bLVw,272
|
|
357
357
|
radboy/TasksMode/__pycache__/__init__.cpython-313.pyc,sha256=lvsTxukyvGKB3C0rdF9dQi_bvVh6ceDVINfwcuIsd0s,151
|
|
@@ -398,7 +398,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
|
|
|
398
398
|
radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
|
|
399
399
|
radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
|
|
400
400
|
radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
|
|
401
|
-
radboy/__pycache__/__init__.cpython-313.pyc,sha256=
|
|
401
|
+
radboy/__pycache__/__init__.cpython-313.pyc,sha256=73qv9n_btNsCM0JAX81_khRCC0knGviRcPwcE33pFPU,165
|
|
402
402
|
radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
|
|
403
403
|
radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
|
|
404
404
|
radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
|
|
@@ -423,7 +423,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
|
|
|
423
423
|
radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
|
|
424
424
|
radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
|
|
425
425
|
radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
|
|
426
|
-
radboy-0.0.
|
|
427
|
-
radboy-0.0.
|
|
428
|
-
radboy-0.0.
|
|
429
|
-
radboy-0.0.
|
|
426
|
+
radboy-0.0.508.dist-info/METADATA,sha256=yKBbHsBM2K5JZ8P4JllOeUC7MVQU2ZL8CdrnmHkj9SU,1601
|
|
427
|
+
radboy-0.0.508.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
428
|
+
radboy-0.0.508.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
429
|
+
radboy-0.0.508.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|