radboy 0.0.600__py3-none-any.whl → 0.0.602__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/OrderedAndRxd.py +9 -2
- radboy/DB/__pycache__/db.cpython-313.pyc +0 -0
- radboy/DB/db.py +7 -1
- radboy/TasksMode/Tasks.py +17 -14
- 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.600.dist-info → radboy-0.0.602.dist-info}/METADATA +1 -1
- {radboy-0.0.600.dist-info → radboy-0.0.602.dist-info}/RECORD +11 -11
- {radboy-0.0.600.dist-info → radboy-0.0.602.dist-info}/WHEEL +0 -0
- {radboy-0.0.600.dist-info → radboy-0.0.602.dist-info}/top_level.txt +0 -0
radboy/DB/OrderedAndRxd.py
CHANGED
|
@@ -6,7 +6,7 @@ class OrderedAndRecieved(BASE,Template):
|
|
|
6
6
|
select an order date by name and date , and at a later date
|
|
7
7
|
set the rx datetime
|
|
8
8
|
'''
|
|
9
|
-
__tablename__='
|
|
9
|
+
__tablename__='OrderedAndRecieved'
|
|
10
10
|
Name=Column(String,default=None)
|
|
11
11
|
ForWhom=Column(String,default=None)
|
|
12
12
|
Description=Column(String,default=None)
|
|
@@ -28,7 +28,9 @@ except Exception as e:
|
|
|
28
28
|
OrderedAndRecieved.metadata.create_all(ENGINE)
|
|
29
29
|
|
|
30
30
|
class OrderAndRxdUi():
|
|
31
|
-
|
|
31
|
+
def fixtable(self):
|
|
32
|
+
OrderedAndRecieved.__table__.drop(ENGINE)
|
|
33
|
+
OrderedAndRecieved.metadata.create_all(ENGINE)
|
|
32
34
|
#where cmds are stored
|
|
33
35
|
cmds={}
|
|
34
36
|
#registered cmds
|
|
@@ -183,6 +185,11 @@ class OrderAndRxdUi():
|
|
|
183
185
|
'desc':'search for OrderedAndRecieved with paged menu',
|
|
184
186
|
'exec':lambda self=self:self.search(menu=True)
|
|
185
187
|
}
|
|
188
|
+
self.cmds[uuid1()]={
|
|
189
|
+
'cmds':generate_cmds(startcmd=['fix','fx',],endCmd=['tbl', 'table',]),
|
|
190
|
+
'desc':'drop and recreate table',
|
|
191
|
+
'exec':lambda self=self:self.fixtable()
|
|
192
|
+
}
|
|
186
193
|
|
|
187
194
|
#add cmds above
|
|
188
195
|
|
|
Binary file
|
radboy/DB/db.py
CHANGED
|
@@ -946,7 +946,13 @@ class Template:
|
|
|
946
946
|
|
|
947
947
|
m.append(f"{fc}{i}{nsc[settting]}[{ft[i]}]{fc}={vg}{Style.bold}{nsc[settting]}'{fc}{vc}{getattr(self,i).strftime(f"{Fore.deep_pink_4a}%I:%M %p(12H)/{Fore.dark_red_1}%H:%M(24H)")}{nsc[settting]}'{Style.reset}{Back.black}")
|
|
948
948
|
elif isinstance(getattr(self,i),datetime):
|
|
949
|
-
m.append(f"{fc}{i}{nsc[settting]}[{ft[i]}]{fc}={vg}{Style.bold}{nsc[settting]}'{fc}{vc}{getattr(self,i).strftime(f"{Fore.deep_sky_blue_4a}%m/%d/%Y
|
|
949
|
+
m.append(f"{fc}{i}{nsc[settting]}[{ft[i]}]{fc}={vg}{Style.bold}{nsc[settting]}'{fc}{vc}{getattr(self,i).strftime(f"""{Fore.deep_sky_blue_4a}%m/%d/%Y
|
|
950
|
+
%A(%d) of %B,
|
|
951
|
+
week[Business] %V of year %Y,
|
|
952
|
+
week[Sunday First] %U of year %Y,
|
|
953
|
+
week[Monday First] %W of year %Y)
|
|
954
|
+
@[12H] {Fore.deep_pink_4a}%I:%M %p
|
|
955
|
+
@[24H] {Fore.dark_red_1}%H:%M""")}{nsc[settting]}'{Style.reset}{Back.black}")
|
|
950
956
|
else:
|
|
951
957
|
m.append(f"{fc}{i}{nsc[settting]}[{ft[i]}]{fc}={vg}{Style.bold}{nsc[settting]}'{fc}{vc}{getattr(self,i)}{nsc[settting]}'{Style.reset}{Back.black}")
|
|
952
958
|
m.append(f") {Fore.dark_goldenrod}{nowStr.replace("\n","")}{Style.reset}")
|
radboy/TasksMode/Tasks.py
CHANGED
|
@@ -5816,21 +5816,24 @@ Do What? [rms,rma,edit/e,<ENTER>/next,prev]"""
|
|
|
5816
5816
|
continue
|
|
5817
5817
|
else:
|
|
5818
5818
|
return
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
|
|
5819
|
+
if Qty is not None:
|
|
5820
|
+
caseQty=(getattr(selected,count_field)-Qty)/selected.CaseCount
|
|
5821
|
+
setattr(selected,"InList",True)
|
|
5822
|
+
if mode == '':
|
|
5823
|
+
setattr(selected,set_field,caseQty)
|
|
5824
|
+
elif mode == '+':
|
|
5825
|
+
setattr(selected,set_field,caseQty+getattr(selected,set_field))
|
|
5826
|
+
elif mode == '-':
|
|
5827
|
+
setattr(selected,set_field,getattr(selected,set_field)-caseQty)
|
|
5828
|
+
else:
|
|
5829
|
+
setattr(selected,set_field,caseQty)
|
|
5830
|
+
session.commit()
|
|
5831
|
+
session.refresh(selected)
|
|
5832
|
+
result=selected
|
|
5833
|
+
msg=f"{Fore.light_red}0{Style.reset} -> {color1}{result.Name}{Style.reset}|{color2}{result.rebar()}|{result.ALT_Barcode}{Style.reset}|{color3}{result.cfmt(result.Code)}{Style.reset}|{color4}{getattr(result,fieldname)}{Style.reset}|{color4}{getattr(result,'EntryId')}{Style.reset}"
|
|
5834
|
+
print(msg)
|
|
5827
5835
|
else:
|
|
5828
|
-
|
|
5829
|
-
session.commit()
|
|
5830
|
-
session.refresh(selected)
|
|
5831
|
-
result=selected
|
|
5832
|
-
msg=f"{Fore.light_red}0{Style.reset} -> {color1}{result.Name}{Style.reset}|{color2}{result.rebar()}|{result.ALT_Barcode}{Style.reset}|{color3}{result.cfmt(result.Code)}{Style.reset}|{color4}{getattr(result,fieldname)}{Style.reset}|{color4}{getattr(result,'EntryId')}{Style.reset}"
|
|
5833
|
-
print(msg)
|
|
5836
|
+
print(f"{Fore.light_steel_blue}Qty was still {Fore.orange_red_1}{Qty}{Style.reset}")
|
|
5834
5837
|
|
|
5835
5838
|
def bcd_img(self):
|
|
5836
5839
|
SUPPORTEDOUT=barcode.PROVIDED_BARCODES
|
|
Binary file
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.602'
|
|
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=jTalUH48QzwBdishKUPslKbh9b8CGIlQKcAA7Ucw5O8,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
|
|
@@ -83,7 +83,7 @@ radboy/DB/DatePicker.py,sha256=B75mDtXQrkHRCpoU9TJsaBVvkK37ykMaJyaiqGOo4dM,18334
|
|
|
83
83
|
radboy/DB/DisplayItemDb.py,sha256=uVvrNyFyBuKvrw-BEPXKYvfa-QWyFN5ahESi2l6vUUA,52046
|
|
84
84
|
radboy/DB/EstimatedPayCalendarWorkSheet.txt,sha256=GOjRSmGxFoNTdAnpPe2kGv7CkXDrh0Mee01HslamGbo,17173
|
|
85
85
|
radboy/DB/ExerciseTracker.py,sha256=OS9i8jGIZPj-6m1bB0-eKNHQ6vf2iv_AYPEc0s4bkBM,27809
|
|
86
|
-
radboy/DB/OrderedAndRxd.py,sha256=
|
|
86
|
+
radboy/DB/OrderedAndRxd.py,sha256=lkMWGBEaij624IO3vwsIMddIJV0ZPsFsvNPxLx7whnc,9665
|
|
87
87
|
radboy/DB/PayDay.py,sha256=H2kPGvBCDkMOz7lbxQhYtUt_oAInpxi37Q6MFrah98I,8710
|
|
88
88
|
radboy/DB/PayModels.py,sha256=hjwWxP7PL33hmfzQl5YTf0HqzaMxXJxFknPdxFJXJc8,3499
|
|
89
89
|
radboy/DB/PrintLogging.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -94,7 +94,7 @@ radboy/DB/SMLabelImporter.py,sha256=eUoBDxVUUEKGL2g_PwkASM67ZB7FmXtSnn4bCagskhY,
|
|
|
94
94
|
radboy/DB/__init__.py,sha256=JiigA9B7GalP7YuRdcwyGDu5PDSBahoi0lLjtScxlN8,49
|
|
95
95
|
radboy/DB/blankDataFile.py,sha256=YX_05Usi71UpDkZN9UTMYwUipbTndTAtEgqzBEga0kE,9285
|
|
96
96
|
radboy/DB/config.py,sha256=bvu43dUl1_yO3Zq3gsLuenGUgJSiS3S9Cs6ppFEvZbg,239
|
|
97
|
-
radboy/DB/db.py,sha256=
|
|
97
|
+
radboy/DB/db.py,sha256=HP49e3n54shv1_Eb5C_2X4IlIJ6_yMRaN8lvRXfzfyY,254898
|
|
98
98
|
radboy/DB/glossary_db.py,sha256=1_qxeEpjjEtpWB_eDjsgJisimLv7OBm75MuqM-Lt6zg,28218
|
|
99
99
|
radboy/DB/masterLookup.py,sha256=DBaM2uscG3_X5dek49wjdnOzhrjWhKgvOEz_umdz0mY,4566
|
|
100
100
|
radboy/DB/msg.txt,sha256=YxWed6A6tuP1djJ5QPS2Rz3ING4TKKf8kUiCCPtzHXE,7937
|
|
@@ -130,7 +130,7 @@ radboy/DB/__pycache__/config.cpython-312.pyc,sha256=Qo7E6MHrF6yqvKgepNFyCoekZXiv
|
|
|
130
130
|
radboy/DB/__pycache__/config.cpython-313.pyc,sha256=_8wCIg_3jhyJjxnExD2Sm6aY-uZTw036p7Ki5znL7dc,376
|
|
131
131
|
radboy/DB/__pycache__/db.cpython-311.pyc,sha256=rNgigyBd0D-cg1JxKAS8t0B_k0IEJivgVlRaZE10Xis,210105
|
|
132
132
|
radboy/DB/__pycache__/db.cpython-312.pyc,sha256=ANDJPC0RoavbmSKFxG15vC7B4rEGyVt7xRJt7XGY3OA,334609
|
|
133
|
-
radboy/DB/__pycache__/db.cpython-313.pyc,sha256=
|
|
133
|
+
radboy/DB/__pycache__/db.cpython-313.pyc,sha256=h2IAF7BLNX4tN6VyMukAC4ECQ_-f5bZVvxL6G3DWue4,401645
|
|
134
134
|
radboy/DB/__pycache__/glossary_db.cpython-312.pyc,sha256=8UL-29cKqtKovx0BANm6kzKKteef1BW_2qF3wumzst4,36023
|
|
135
135
|
radboy/DB/__pycache__/glossary_db.cpython-313.pyc,sha256=Ke9bkvllGv5CK0JdT9DRvQ3MOdrXxoYv7TVLNkqLux0,36582
|
|
136
136
|
radboy/DB/__pycache__/masterLookup.cpython-312.pyc,sha256=bQiOkmMwwHgcO18tYSWGQ-YUff4GQlKVhBMp1GoWAqY,6324
|
|
@@ -345,7 +345,7 @@ radboy/SystemSettings/__pycache__/__init__.cpython-312.pyc,sha256=aIzp4Po0t8EhSA
|
|
|
345
345
|
radboy/SystemSettings/__pycache__/__init__.cpython-313.pyc,sha256=QFDuoidxMWsGVLsy5lN-rDs6TP8nKJ4yyCyiamNOhwo,156
|
|
346
346
|
radboy/TasksMode/ReFormula.py,sha256=REDRJYub-OEOE6g14oRQOLOQwv8pHqVJy4NQk3CCM90,2255
|
|
347
347
|
radboy/TasksMode/SetEntryNEU.py,sha256=i4HyPq-LNDRwYN-q_CpZDAdzipe9Dx5TWeaXRCdX79k,19818
|
|
348
|
-
radboy/TasksMode/Tasks.py,sha256
|
|
348
|
+
radboy/TasksMode/Tasks.py,sha256=ZOub6n24ueGNUGZqLwrK4z3ZfzCbBugBby1yukNFZnw,342454
|
|
349
349
|
radboy/TasksMode/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
350
350
|
radboy/TasksMode/__pycache__/ReFormula.cpython-311.pyc,sha256=QEG3PwVw-8HTd_Mf9XbVcxU56F1fC9yBqWXYPLC39DU,4865
|
|
351
351
|
radboy/TasksMode/__pycache__/ReFormula.cpython-312.pyc,sha256=aX7BWm2PPjCTnxsbGUitR-2h9hq4AjaBiHMrUXvIl0Y,3967
|
|
@@ -354,7 +354,7 @@ radboy/TasksMode/__pycache__/SetEntryNEU.cpython-312.pyc,sha256=pCdFj61aPKkHL6Sv
|
|
|
354
354
|
radboy/TasksMode/__pycache__/SetEntryNEU.cpython-313.pyc,sha256=XFHp4zFZKm7bREkoR9QB1Z6AzuFxW0-yRkGaSSyRTb0,23533
|
|
355
355
|
radboy/TasksMode/__pycache__/Tasks.cpython-311.pyc,sha256=6QOTJnLiXSKdF81hkhy3vyrz49PPhS20s5_0X52g3Hw,131120
|
|
356
356
|
radboy/TasksMode/__pycache__/Tasks.cpython-312.pyc,sha256=hyJwdaYaaRLdcrNxgg36diJ5iijX5_3I0UAORsj-6LU,310295
|
|
357
|
-
radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc,sha256=
|
|
357
|
+
radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc,sha256=Jcm1SxpeuOb2U-2jLwt1Hq5F81xpR3rJTUy1egXAbH8,416991
|
|
358
358
|
radboy/TasksMode/__pycache__/__init__.cpython-311.pyc,sha256=PKV1JbihEacm639b53bZozRQvcllSkjGP3q8STVMxF4,234
|
|
359
359
|
radboy/TasksMode/__pycache__/__init__.cpython-312.pyc,sha256=ERgnEvRMiGSecWp1BpNzLdSq_SdKw7GvFWUvUM7bLVw,272
|
|
360
360
|
radboy/TasksMode/__pycache__/__init__.cpython-313.pyc,sha256=lvsTxukyvGKB3C0rdF9dQi_bvVh6ceDVINfwcuIsd0s,151
|
|
@@ -401,7 +401,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
|
|
|
401
401
|
radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
|
|
402
402
|
radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
|
|
403
403
|
radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
|
|
404
|
-
radboy/__pycache__/__init__.cpython-313.pyc,sha256=
|
|
404
|
+
radboy/__pycache__/__init__.cpython-313.pyc,sha256=2HEbxz2ud5ZrJSQbNrkwZBolhrG8OykmIvZK6BmluLg,165
|
|
405
405
|
radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
|
|
406
406
|
radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
|
|
407
407
|
radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
|
|
@@ -429,7 +429,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
|
|
|
429
429
|
radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
|
|
430
430
|
radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
|
|
431
431
|
radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
|
|
432
|
-
radboy-0.0.
|
|
433
|
-
radboy-0.0.
|
|
434
|
-
radboy-0.0.
|
|
435
|
-
radboy-0.0.
|
|
432
|
+
radboy-0.0.602.dist-info/METADATA,sha256=0pbI2ZGypLhgBl3lAFPTmmXg17EnWQD0sky8Ji3MBKo,1662
|
|
433
|
+
radboy-0.0.602.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
434
|
+
radboy-0.0.602.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
435
|
+
radboy-0.0.602.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|