radboy 0.0.829__py3-none-any.whl → 0.0.830__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/__pycache__/db.cpython-313.pyc +0 -0
- radboy/DB/db.py +28 -87
- radboy/__init__.py +1 -1
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- {radboy-0.0.829.dist-info → radboy-0.0.830.dist-info}/METADATA +1 -1
- {radboy-0.0.829.dist-info → radboy-0.0.830.dist-info}/RECORD +8 -8
- {radboy-0.0.829.dist-info → radboy-0.0.830.dist-info}/WHEEL +0 -0
- {radboy-0.0.829.dist-info → radboy-0.0.830.dist-info}/top_level.txt +0 -0
|
Binary file
|
radboy/DB/db.py
CHANGED
|
@@ -1187,9 +1187,9 @@ For hot food, one of the notable exceptions is "Hot Baked Goods," like pretzels
|
|
|
1187
1187
|
ShelfCount=Column(Integer,default=0)
|
|
1188
1188
|
#LoadCount=1,PalletCount=1,ShelfCount=1
|
|
1189
1189
|
|
|
1190
|
-
Expiry=Column(DateTime,default=
|
|
1191
|
-
BestBy=Column(DateTime,default=
|
|
1192
|
-
AquisitionDate=Column(DateTime,default=
|
|
1190
|
+
Expiry=Column(DateTime,default=None)
|
|
1191
|
+
BestBy=Column(DateTime,default=None)
|
|
1192
|
+
AquisitionDate=Column(DateTime,default=None)
|
|
1193
1193
|
'''
|
|
1194
1194
|
#__init__ def #AquisitionDate=None,BestBy=None,Expiry=None
|
|
1195
1195
|
|
|
@@ -1304,7 +1304,7 @@ For hot food, one of the notable exceptions is "Hot Baked Goods," like pretzels
|
|
|
1304
1304
|
if k in [s.name for s in self.__table__.columns]:
|
|
1305
1305
|
setattr(self,k,kwargs.get(k))
|
|
1306
1306
|
|
|
1307
|
-
def __init__(self,Barcode,Code,upce2upca='',Name='',InList=True,Price=0.0,Note='',Size='',CaseCount=1,Shelf=0,BackRoom=0,Display_1=0,Display_2=0,Display_3=0,Display_4=0,Display_5=0,Display_6=0,Stock_Total=0,Timestamp=datetime.now().timestamp(),EntryId=None,Location='///',ListQty=0.0,Image='',CHKSTND_SPLY=0,WD_DSPLY=0,FLRL_CHP_DSPLY=0,FLRL_WTR_DSPLY=0,SBX_WTR_KLR=0,SBX_CHP_DSPLY=0,SBX_WTR_DSPLY=0,Facings=0,Tags='',CaseID_6W='',CaseID_BR='',CaseID_LD='',ALT_Barcode='',DUP_Barcode='',CRV=0.0,Tax=0.0,TaxNote='',userUpdated=False,LoadCount=1,PalletCount=1,ShelfCount=1,Description='',Distress=0,UnitsDeep=1,UnitsHigh=1,AquisitionDate=
|
|
1307
|
+
def __init__(self,Barcode,Code,upce2upca='',Name='',InList=True,Price=0.0,Note='',Size='',CaseCount=1,Shelf=0,BackRoom=0,Display_1=0,Display_2=0,Display_3=0,Display_4=0,Display_5=0,Display_6=0,Stock_Total=0,Timestamp=datetime.now().timestamp(),EntryId=None,Location='///',ListQty=0.0,Image='',CHKSTND_SPLY=0,WD_DSPLY=0,FLRL_CHP_DSPLY=0,FLRL_WTR_DSPLY=0,SBX_WTR_KLR=0,SBX_CHP_DSPLY=0,SBX_WTR_DSPLY=0,Facings=0,Tags='',CaseID_6W='',CaseID_BR='',CaseID_LD='',ALT_Barcode='',DUP_Barcode='',CRV=0.0,Tax=0.0,TaxNote='',userUpdated=False,LoadCount=1,PalletCount=1,ShelfCount=1,Description='',Distress=0,UnitsDeep=1,UnitsHigh=1,AquisitionDate=None,BestBy=None,Expiry=None):
|
|
1308
1308
|
if EntryId:
|
|
1309
1309
|
self.EntryId=EntryId
|
|
1310
1310
|
self.CRV=CRV
|
|
@@ -1386,18 +1386,6 @@ For hot food, one of the notable exceptions is "Hot Baked Goods," like pretzels
|
|
|
1386
1386
|
self.ShelfCount=ShelfCount
|
|
1387
1387
|
self.PalletCount=PalletCount
|
|
1388
1388
|
self.LoadCount=LoadCount
|
|
1389
|
-
if Expiry is None:
|
|
1390
|
-
self.Expiry=datetime(1,1,1)
|
|
1391
|
-
else:
|
|
1392
|
-
self.Expiry=Expiry
|
|
1393
|
-
if BestBy is None:
|
|
1394
|
-
self.BestBy=datetime(1,1,1)
|
|
1395
|
-
else:
|
|
1396
|
-
self.BestBy=BestBy
|
|
1397
|
-
if AquisitionDate is None:
|
|
1398
|
-
self.AquisitionDate=datetime(1,1,1)
|
|
1399
|
-
else:
|
|
1400
|
-
self.AquisitionDate=AquisitionDate
|
|
1401
1389
|
#CHKSTND_SPLY=0,WD_DSPLY=0,FLRL_CHP_DSPLY=0,FLRL_WTR_DSPLY=0,SBX_WTR_KLR=0,SBX_CHP_DSPLY=0,SBX_WTR_DSPLY=0,Facings=0,Tags='',CaseID_6W='',CaseID_BR='',CaseID_LD='',ALT_Barcode='',DUP_Barcode=''
|
|
1402
1390
|
|
|
1403
1391
|
'''
|
|
@@ -1616,12 +1604,6 @@ For hot food, one of the notable exceptions is "Hot Baked Goods," like pretzels
|
|
|
1616
1604
|
return result
|
|
1617
1605
|
|
|
1618
1606
|
def saveListExtended(self,num):
|
|
1619
|
-
if self.Expiry is None:
|
|
1620
|
-
self.Expiry=datetime(1,1,1)
|
|
1621
|
-
if self.BestBy is None:
|
|
1622
|
-
self.BestBy=datetime(1,1,1)
|
|
1623
|
-
if self.AquisitionDate is None:
|
|
1624
|
-
self.AquisitionDate=datetime(1,1,1)
|
|
1625
1607
|
if self.LCL_ANDROID.exists():
|
|
1626
1608
|
self.LCL=self.LCL_ANDROID
|
|
1627
1609
|
total=self.Display_1+self.Display_2+self.Display_3+self.Display_4+self.Display_5+self.Display_6+self.Shelf+self.BackRoom
|
|
@@ -1664,9 +1646,9 @@ CHKSTND_SPLY={self.CHKSTND_SPLY}
|
|
|
1664
1646
|
Distress={self.Distress} #not added to total
|
|
1665
1647
|
Total = {total}
|
|
1666
1648
|
Total(w/o BR+) - Backroom = {(total-self.BackRoom)-self.BackRoom}
|
|
1667
|
-
Expiry = {self.Expiry}
|
|
1668
|
-
BestBy = {self.BestBy}
|
|
1669
|
-
AquisitionDate = {self.AquisitionDate}
|
|
1649
|
+
Expiry = {self.Expiry}
|
|
1650
|
+
BestBy = {self.BestBy}
|
|
1651
|
+
AquisitionDate = {self.AquisitionDate}
|
|
1670
1652
|
-------------{num}-------------
|
|
1671
1653
|
"""
|
|
1672
1654
|
|
|
@@ -1725,12 +1707,6 @@ Facings={self.Facings}
|
|
|
1725
1707
|
return total
|
|
1726
1708
|
|
|
1727
1709
|
def listdisplay_extended(self,num):
|
|
1728
|
-
if self.Expiry is None:
|
|
1729
|
-
self.Expiry=datetime(1,1,1)
|
|
1730
|
-
if self.BestBy is None:
|
|
1731
|
-
self.BestBy=datetime(1,1,1)
|
|
1732
|
-
if self.AquisitionDate is None:
|
|
1733
|
-
self.AquisitionDate=datetime(1,1,1)
|
|
1734
1710
|
#print(self.csv_headers())
|
|
1735
1711
|
#print(self.csv_values())
|
|
1736
1712
|
total=self.Display_1+self.Display_2+self.Display_3+self.Display_4+self.Display_5+self.Display_6+self.Shelf+self.BackRoom
|
|
@@ -1791,9 +1767,9 @@ deducted from Total as remainder is to be filled from LOAD{Style.reset}
|
|
|
1791
1767
|
{Fore.medium_violet_red}Total Product Handled/To Be Handled Value*CaseCount: {Fore.spring_green_3a}{total_value_case}{Style.reset}
|
|
1792
1768
|
{Fore.orange_3}Distressed Product:{Fore.light_red}{self.Distress}{Style.reset}
|
|
1793
1769
|
------------- Dates ----------------------
|
|
1794
|
-
{Fore.light_cyan}Expiry = {Fore.light_green}{self.Expiry}
|
|
1795
|
-
{Fore.light_cyan}BestBy = {Fore.light_green}{self.BestBy}
|
|
1796
|
-
{Fore.light_cyan}AquisitionDate = {Fore.light_green}{self.AquisitionDate}
|
|
1770
|
+
{Fore.light_cyan}Expiry = {Fore.light_green}{self.Expiry}{Style.reset}
|
|
1771
|
+
{Fore.light_cyan}BestBy = {Fore.light_green}{self.BestBy}{Style.reset}
|
|
1772
|
+
{Fore.light_cyan}AquisitionDate = {Fore.light_green}{self.AquisitionDate}{Style.reset}
|
|
1797
1773
|
-------------{Style.bold+Style.underline+Fore.orange_red_1}{num}{Style.reset}-------------
|
|
1798
1774
|
"""
|
|
1799
1775
|
print(msg)
|
|
@@ -1880,12 +1856,6 @@ deducted from Total as remainder is to be filled from LOAD{Style.reset}
|
|
|
1880
1856
|
|
|
1881
1857
|
pinfo=f"{Back.green_3a}{Fore.red}**{Fore.white}{Style.bold}Product/Entry Info{Fore.red}- #REPLACE#**{Style.reset} "
|
|
1882
1858
|
def __repr__(self):
|
|
1883
|
-
if self.Expiry is None:
|
|
1884
|
-
self.Expiry=datetime(1,1,1)
|
|
1885
|
-
if self.BestBy is None:
|
|
1886
|
-
self.BestBy=datetime(1,1,1)
|
|
1887
|
-
if self.AquisitionDate is None:
|
|
1888
|
-
self.AquisitionDate=datetime(1,1,1)
|
|
1889
1859
|
pinfo=self.pinfo
|
|
1890
1860
|
total_value=self.total_value(CaseMode=False)
|
|
1891
1861
|
total_value_case=self.total_value()
|
|
@@ -1949,9 +1919,9 @@ deducted from Total as remainder is to be filled from LOAD{Style.reset}
|
|
|
1949
1919
|
|
|
1950
1920
|
{Fore.orange_3}Distressed Product:{Fore.light_red}{self.Distress}{Style.reset}
|
|
1951
1921
|
------------- Dates -----------------
|
|
1952
|
-
{Fore.light_cyan}Expiry{Fore.grey_70}[{types['Expiry']}{Fore.light_cyan}]={Fore.light_green}{self.Expiry}
|
|
1953
|
-
{Fore.light_cyan}BestBy{Fore.grey_70}[{types['BestBy']}{Fore.light_cyan}]={Fore.light_green}{self.BestBy}
|
|
1954
|
-
{Fore.light_cyan}AquisitionDate{Fore.grey_70}[{types['AquisitionDate']}{Fore.light_cyan}]={Fore.light_green}{self.AquisitionDate}
|
|
1922
|
+
{Fore.light_cyan}Expiry{Fore.grey_70}[{types['Expiry']}{Fore.light_cyan}]={Fore.light_green}{self.Expiry}{Style.reset}
|
|
1923
|
+
{Fore.light_cyan}BestBy{Fore.grey_70}[{types['BestBy']}{Fore.light_cyan}]={Fore.light_green}{self.BestBy}{Style.reset}
|
|
1924
|
+
{Fore.light_cyan}AquisitionDate{Fore.grey_70}[{types['AquisitionDate']}{Fore.light_cyan}]={Fore.light_green}{self.AquisitionDate}{Style.reset}
|
|
1955
1925
|
|
|
1956
1926
|
{Fore.sky_blue_2}Size{Style.reset}:{Fore.grey_70}{types['Size']}{Style.reset}={self.Size}
|
|
1957
1927
|
{Fore.tan}Image[{Fore.dark_goldenrod}Exists:{Fore.deep_pink_3b}{self.imageExists()}{Style.reset}{Fore.tan}]{Style.reset}:{Fore.grey_70}{types['Image']}{Style.reset}={self.Image}
|
|
@@ -2121,9 +2091,9 @@ class DayLog(BASE,EntryExtras):
|
|
|
2121
2091
|
WD_DSPLY=WD_DSPLY=Column(Integer)
|
|
2122
2092
|
CHKSTND_SPLY=CHKSTND_SPLY=Column(Integer)
|
|
2123
2093
|
|
|
2124
|
-
Expiry=Column(DateTime,default=
|
|
2125
|
-
BestBy=Column(DateTime,default=
|
|
2126
|
-
AquisitionDate=Column(DateTime,default=
|
|
2094
|
+
Expiry=Column(DateTime,default=None)
|
|
2095
|
+
BestBy=Column(DateTime,default=None)
|
|
2096
|
+
AquisitionDate=Column(DateTime,default=None)
|
|
2127
2097
|
'''
|
|
2128
2098
|
#__init__ def #AquisitionDate=None,BestBy=None,Expiry=None
|
|
2129
2099
|
|
|
@@ -2225,7 +2195,7 @@ class DayLog(BASE,EntryExtras):
|
|
|
2225
2195
|
{Fore.light_yellow}Name({Fore.pale_green_1b}{self.Name}{Fore.light_yellow}) {Fore.light_magenta}Price Per Unit({Fore.slate_blue_1}prc={self.Price}{Fore.light_magenta},crv={self.CRV},tax={self.Tax},ttl={formula}){Style.reset} {Fore.misty_rose_3}EID({Fore.pale_green_1b}{self.EntryId}{Fore.light_yellow}) {Fore.spring_green_3a}[BCD/UPC[A/E]/EAN[8/13]/GTIN](cd={Fore.light_magenta}{rebar},{Fore.chartreuse_1}no_sep={self.rebar(skip_sep=True)}{Fore.spring_green_3a}){Style.reset}{Fore.slate_blue_1} -{Fore.cyan}> {Fore.orange_red_1}[SHELF/TAG/CIC/STR_CD]({Fore.light_red}cd={self.cfmt(self.Code)}{Fore.orange_red_1},{Fore.light_steel_blue}DayLogId={self.DayLogId},{Fore.pale_green_1b}EntryId={self.EntryId}){Style.reset}'''
|
|
2226
2196
|
return msg
|
|
2227
2197
|
|
|
2228
|
-
def __init__(self,Barcode,Code,upce2upca='',Name='',InList=False,Price=0.0,Note='',Size='',CaseCount=0,Shelf=0,BackRoom=0,Display_1=0,Display_2=0,Display_3=0,Display_4=0,Display_5=0,Display_6=0,Stock_Total=0,Timestamp=datetime.now().timestamp(),EntryId=None,Location='///',ListQty=0.0,Image='',CHKSTND_SPLY=0,WD_DSPLY=0,FLRL_CHP_DSPLY=0,FLRL_WTR_DSPLY=0,SBX_WTR_KLR=0,SBX_CHP_DSPLY=0,SBX_WTR_DSPLY=0,Facings=0,Tags='',CaseID_6W='',CaseID_BR='',CaseID_LD='',ALT_Barcode='',DUP_Barcode='',DayLogDate=datetime.now(),DayLogId=None,CRV=0.0,Tax=0.0,TaxNote='',userUpdated=False,LoadCount=1,PalletCount=1,ShelfCount=1,Description='',Distress=0,UnitsDeep=1,UnitsHigh=1,AquisitionDate=
|
|
2198
|
+
def __init__(self,Barcode,Code,upce2upca='',Name='',InList=False,Price=0.0,Note='',Size='',CaseCount=0,Shelf=0,BackRoom=0,Display_1=0,Display_2=0,Display_3=0,Display_4=0,Display_5=0,Display_6=0,Stock_Total=0,Timestamp=datetime.now().timestamp(),EntryId=None,Location='///',ListQty=0.0,Image='',CHKSTND_SPLY=0,WD_DSPLY=0,FLRL_CHP_DSPLY=0,FLRL_WTR_DSPLY=0,SBX_WTR_KLR=0,SBX_CHP_DSPLY=0,SBX_WTR_DSPLY=0,Facings=0,Tags='',CaseID_6W='',CaseID_BR='',CaseID_LD='',ALT_Barcode='',DUP_Barcode='',DayLogDate=datetime.now(),DayLogId=None,CRV=0.0,Tax=0.0,TaxNote='',userUpdated=False,LoadCount=1,PalletCount=1,ShelfCount=1,Description='',Distress=0,UnitsDeep=1,UnitsHigh=1,AquisitionDate=None,BestBy=None,Expiry=None):
|
|
2229
2199
|
if EntryId:
|
|
2230
2200
|
self.EntryId=EntryId
|
|
2231
2201
|
self.AquisitionDate=AquisitionDate
|
|
@@ -2269,18 +2239,6 @@ class DayLog(BASE,EntryExtras):
|
|
|
2269
2239
|
self.Image=Image
|
|
2270
2240
|
self.Tags=Tags
|
|
2271
2241
|
self.Facings=Facings
|
|
2272
|
-
if Expiry is None:
|
|
2273
|
-
self.Expiry=datetime(1,1,1)
|
|
2274
|
-
else:
|
|
2275
|
-
self.Expiry=Expiry
|
|
2276
|
-
if BestBy is None:
|
|
2277
|
-
self.BestBy=datetime(1,1,1)
|
|
2278
|
-
else:
|
|
2279
|
-
self.BestBy=BestBy
|
|
2280
|
-
if AquisitionDate is None:
|
|
2281
|
-
self.AquisitionDate=datetime(1,1,1)
|
|
2282
|
-
else:
|
|
2283
|
-
self.AquisitionDate=AquisitionDate
|
|
2284
2242
|
|
|
2285
2243
|
|
|
2286
2244
|
self.ALT_Barcode=ALT_Barcode
|
|
@@ -2499,12 +2457,6 @@ class DayLog(BASE,EntryExtras):
|
|
|
2499
2457
|
return result
|
|
2500
2458
|
|
|
2501
2459
|
def saveListExtended(self,num):
|
|
2502
|
-
if self.Expiry is None:
|
|
2503
|
-
self.Expiry=datetime(1,1,1)
|
|
2504
|
-
if self.BestBy is None:
|
|
2505
|
-
self.BestBy=datetime(1,1,1)
|
|
2506
|
-
if self.AquisitionDate is None:
|
|
2507
|
-
self.AquisitionDate=datetime(1,1,1)
|
|
2508
2460
|
if self.LCL_ANDROID.exists():
|
|
2509
2461
|
self.LCL=self.LCL_ANDROID
|
|
2510
2462
|
total=self.Display_1+self.Display_2+self.Display_3+self.Display_4+self.Display_5+self.Display_6+self.Shelf+self.BackRoom
|
|
@@ -2549,9 +2501,9 @@ CHKSTND_SPLY={self.CHKSTND_SPLY}
|
|
|
2549
2501
|
Total = {total}
|
|
2550
2502
|
Distressed={self.Distress} #not included in total
|
|
2551
2503
|
Total(w/o BR+) - Backroom = {(total-self.BackRoom)-self.BackRoom}
|
|
2552
|
-
Expiry = {self.Expiry}
|
|
2553
|
-
BestBy = {self.BestBy}
|
|
2554
|
-
AquisitionDate = {self.AquisitionDate}
|
|
2504
|
+
Expiry = {self.Expiry}
|
|
2505
|
+
BestBy = {self.BestBy}
|
|
2506
|
+
AquisitionDate = {self.AquisitionDate}
|
|
2555
2507
|
-------------{num}-------------
|
|
2556
2508
|
"""
|
|
2557
2509
|
|
|
@@ -2571,12 +2523,6 @@ Facings={self.Facings}
|
|
|
2571
2523
|
'''
|
|
2572
2524
|
|
|
2573
2525
|
def listdisplay_extended(self,num):
|
|
2574
|
-
if self.Expiry is None:
|
|
2575
|
-
self.Expiry=datetime(1,1,1)
|
|
2576
|
-
if self.BestBy is None:
|
|
2577
|
-
self.BestBy=datetime(1,1,1)
|
|
2578
|
-
if self.AquisitionDate is None:
|
|
2579
|
-
self.AquisitionDate=datetime(1,1,1)
|
|
2580
2526
|
#print(self.csv_headers())
|
|
2581
2527
|
#print(self.csv_values())
|
|
2582
2528
|
total=self.Display_1+self.Display_2+self.Display_3+self.Display_4+self.Display_5+self.Display_6+self.Shelf+self.BackRoom
|
|
@@ -2634,9 +2580,9 @@ Facings={self.Facings}
|
|
|
2634
2580
|
deducted from Total as remainder is to be filled from LOAD{Style.reset}
|
|
2635
2581
|
{Fore.cyan}{Style.bold}2->{Style.reset}{Fore.hot_pink_2}Total(w/o BR+) - Backroom{Style.reset} = {Fore.light_yellow}{(total-self.BackRoom)-self.BackRoom}{Style.reset}
|
|
2636
2582
|
------------- Dates ------------------
|
|
2637
|
-
{Fore.light_cyan}Expiry = {Fore.light_green}{self.Expiry}
|
|
2638
|
-
{Fore.light_cyan}BestBy = {Fore.light_green}{self.BestBy}
|
|
2639
|
-
{Fore.light_cyan}AquisitionDate = {Fore.light_green}{self.AquisitionDate}
|
|
2583
|
+
{Fore.light_cyan}Expiry = {Fore.light_green}{self.Expiry}{Style.reset}
|
|
2584
|
+
{Fore.light_cyan}BestBy = {Fore.light_green}{self.BestBy}{Style.reset}
|
|
2585
|
+
{Fore.light_cyan}AquisitionDate = {Fore.light_green}{self.AquisitionDate}{Style.reset}
|
|
2640
2586
|
-------------{Style.bold+Style.underline+Fore.orange_red_1}{num}{Style.reset}-------------
|
|
2641
2587
|
"""
|
|
2642
2588
|
print(msg)
|
|
@@ -2662,12 +2608,6 @@ deducted from Total as remainder is to be filled from LOAD{Style.reset}
|
|
|
2662
2608
|
return ''
|
|
2663
2609
|
|
|
2664
2610
|
def __repr__(self):
|
|
2665
|
-
if self.Expiry is None:
|
|
2666
|
-
self.Expiry=datetime(1,1,1)
|
|
2667
|
-
if self.BestBy is None:
|
|
2668
|
-
self.BestBy=datetime(1,1,1)
|
|
2669
|
-
if self.AquisitionDate is None:
|
|
2670
|
-
self.AquisitionDate=datetime(1,1,1)
|
|
2671
2611
|
types={i.name:str(i.type) for i in self.__table__.columns}
|
|
2672
2612
|
m= f"""
|
|
2673
2613
|
{Style.bold}{Style.underline}{Fore.pale_green_1b}Daylog{Style.reset}(
|
|
@@ -2727,9 +2667,9 @@ deducted from Total as remainder is to be filled from LOAD{Style.reset}
|
|
|
2727
2667
|
{Fore.light_steel_blue}PalletCount{Style.reset}:{Fore.grey_70}{types['PalletCount']}{Style.reset}={self.PalletCount},
|
|
2728
2668
|
{Fore.light_steel_blue}LoadCount{Style.reset}:{Fore.grey_70}{types['LoadCount']}{Style.reset}={self.LoadCount},
|
|
2729
2669
|
------------- Dates ---------------
|
|
2730
|
-
{Fore.light_cyan}Expiry{Fore.grey_70}[{types['Expiry']}] = {Fore.light_green}{self.Expiry}
|
|
2731
|
-
{Fore.light_cyan}BestBy{Fore.grey_70}[{types['BestBy']}] = {Fore.light_green}{self.BestBy}
|
|
2732
|
-
{Fore.light_cyan}AquisitionDate{Fore.grey_70}[{types['AquisitionDate']}] = {Fore.light_green}{self.AquisitionDate}
|
|
2670
|
+
{Fore.light_cyan}Expiry{Fore.grey_70}[{types['Expiry']}] = {Fore.light_green}{self.Expiry}{Style.reset}
|
|
2671
|
+
{Fore.light_cyan}BestBy{Fore.grey_70}[{types['BestBy']}] = {Fore.light_green}{self.BestBy}{Style.reset}
|
|
2672
|
+
{Fore.light_cyan}AquisitionDate{Fore.grey_70}[{types['AquisitionDate']}] = {Fore.light_green}{self.AquisitionDate}{Style.reset}
|
|
2733
2673
|
|
|
2734
2674
|
{Fore.sky_blue_2}Size{Style.reset}:{Fore.grey_70}{types['Size']}{Style.reset}={self.Size}
|
|
2735
2675
|
{Fore.tan}Image[{Fore.dark_goldenrod}Exists:{Fore.deep_pink_3b}{self.imageExists()}{Style.reset}{Fore.tan}]{Style.reset}:{Fore.grey_70}{types['Image']}{Style.reset}={self.Image}
|
|
@@ -5077,10 +5017,10 @@ class HistoryUi:
|
|
|
5077
5017
|
else:
|
|
5078
5018
|
session.delete(results[which])
|
|
5079
5019
|
session.commit()
|
|
5020
|
+
session.flush()
|
|
5080
5021
|
self.cmd=None
|
|
5081
5022
|
except Exception as e:
|
|
5082
5023
|
print(e)
|
|
5083
|
-
session.flush()
|
|
5084
5024
|
|
|
5085
5025
|
def saveHistory(cmd,ageLimit,executed,data):
|
|
5086
5026
|
HistoryUi(init_only=True,noPrint=True).clean_old()
|
|
@@ -5089,6 +5029,7 @@ def saveHistory(cmd,ageLimit,executed,data):
|
|
|
5089
5029
|
ph=PH(cmd=cmd,dtod=now+timedelta(seconds=ageLimit),ageLimit=ageLimit,executed=str(executed),data=str(data),dtoe=now)
|
|
5090
5030
|
session.add(ph)
|
|
5091
5031
|
session.commit()
|
|
5032
|
+
session.refresh(ph)
|
|
5092
5033
|
|
|
5093
5034
|
max_file_lines=detectGetOrSet("MAX_HFL",500)
|
|
5094
5035
|
def logInput(text,max_hfl=None,maxed_hfl=True,user=True,filter_colors=False,ofile=None,clear_only=False):
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.830'
|
|
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=h30zoTqt-XLt_afDPlxMxBiKKwmKi3N-yAuldNCqXUo,41476
|
|
7
7
|
radboy/Run.py,sha256=JUoCTHnzQBv7n8PB2_i93ANdAC_iW__RkAge8esCnk4,76
|
|
8
|
-
radboy/__init__.py,sha256=
|
|
8
|
+
radboy/__init__.py,sha256=l9X2MzzNRH5Vjyi5p7OeLeTmXWbkyhz8X8gb7pLnrZk,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
|
|
@@ -96,7 +96,7 @@ radboy/DB/SMLabelImporter.py,sha256=eUoBDxVUUEKGL2g_PwkASM67ZB7FmXtSnn4bCagskhY,
|
|
|
96
96
|
radboy/DB/__init__.py,sha256=JiigA9B7GalP7YuRdcwyGDu5PDSBahoi0lLjtScxlN8,49
|
|
97
97
|
radboy/DB/blankDataFile.py,sha256=YX_05Usi71UpDkZN9UTMYwUipbTndTAtEgqzBEga0kE,9285
|
|
98
98
|
radboy/DB/config.py,sha256=bvu43dUl1_yO3Zq3gsLuenGUgJSiS3S9Cs6ppFEvZbg,239
|
|
99
|
-
radboy/DB/db.py,sha256=
|
|
99
|
+
radboy/DB/db.py,sha256=vXy1lPXebP-jjP2FJyjXIlKSCoaFxcB89zNHzyBux8M,268306
|
|
100
100
|
radboy/DB/glossary_db.py,sha256=1_qxeEpjjEtpWB_eDjsgJisimLv7OBm75MuqM-Lt6zg,28218
|
|
101
101
|
radboy/DB/jobnotes.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
102
102
|
radboy/DB/lsToday.py,sha256=Pevus6GBHLM2xudBEx8u36Q-jYvatOI-y5o72BmFnzA,9435
|
|
@@ -138,7 +138,7 @@ radboy/DB/__pycache__/config.cpython-312.pyc,sha256=Qo7E6MHrF6yqvKgepNFyCoekZXiv
|
|
|
138
138
|
radboy/DB/__pycache__/config.cpython-313.pyc,sha256=_8wCIg_3jhyJjxnExD2Sm6aY-uZTw036p7Ki5znL7dc,376
|
|
139
139
|
radboy/DB/__pycache__/db.cpython-311.pyc,sha256=rNgigyBd0D-cg1JxKAS8t0B_k0IEJivgVlRaZE10Xis,210105
|
|
140
140
|
radboy/DB/__pycache__/db.cpython-312.pyc,sha256=ANDJPC0RoavbmSKFxG15vC7B4rEGyVt7xRJt7XGY3OA,334609
|
|
141
|
-
radboy/DB/__pycache__/db.cpython-313.pyc,sha256=
|
|
141
|
+
radboy/DB/__pycache__/db.cpython-313.pyc,sha256=mz63_Tgm8PkP5orRTVapYWZr6G_Q7axOQSXTwRp3_tg,420348
|
|
142
142
|
radboy/DB/__pycache__/glossary_db.cpython-312.pyc,sha256=8UL-29cKqtKovx0BANm6kzKKteef1BW_2qF3wumzst4,36023
|
|
143
143
|
radboy/DB/__pycache__/glossary_db.cpython-313.pyc,sha256=Ke9bkvllGv5CK0JdT9DRvQ3MOdrXxoYv7TVLNkqLux0,36582
|
|
144
144
|
radboy/DB/__pycache__/masterLookup.cpython-312.pyc,sha256=bQiOkmMwwHgcO18tYSWGQ-YUff4GQlKVhBMp1GoWAqY,6324
|
|
@@ -414,7 +414,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
|
|
|
414
414
|
radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
|
|
415
415
|
radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
|
|
416
416
|
radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
|
|
417
|
-
radboy/__pycache__/__init__.cpython-313.pyc,sha256=
|
|
417
|
+
radboy/__pycache__/__init__.cpython-313.pyc,sha256=KfDI7AE4gTL9vwO8l5lmCovvAtFOSk7uZzMPAr6OZOw,165
|
|
418
418
|
radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
|
|
419
419
|
radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
|
|
420
420
|
radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
|
|
@@ -442,7 +442,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
|
|
|
442
442
|
radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
|
|
443
443
|
radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
|
|
444
444
|
radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
|
|
445
|
-
radboy-0.0.
|
|
446
|
-
radboy-0.0.
|
|
447
|
-
radboy-0.0.
|
|
448
|
-
radboy-0.0.
|
|
445
|
+
radboy-0.0.830.dist-info/METADATA,sha256=FLTOhvxNBI5Y4x3RJOZrWr9fnJTkEZ2ojLyV-9TRLD0,1920
|
|
446
|
+
radboy-0.0.830.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
447
|
+
radboy-0.0.830.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
448
|
+
radboy-0.0.830.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|