radboy 0.0.827__py3-none-any.whl → 0.0.828__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 +86 -26
- radboy/__init__.py +1 -1
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- {radboy-0.0.827.dist-info → radboy-0.0.828.dist-info}/METADATA +1 -1
- {radboy-0.0.827.dist-info → radboy-0.0.828.dist-info}/RECORD +8 -8
- {radboy-0.0.827.dist-info → radboy-0.0.828.dist-info}/WHEEL +0 -0
- {radboy-0.0.827.dist-info → radboy-0.0.828.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=datetime(1,1,1))
|
|
1191
|
+
BestBy=Column(DateTime,default=datetime(1,1,1))
|
|
1192
|
+
AquisitionDate=Column(DateTime,default=datetime(1,1,1))
|
|
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=datetime(1,1,1),BestBy=datetime(1,1,1),Expiry=datetime(1,1,1)):
|
|
1308
1308
|
if EntryId:
|
|
1309
1309
|
self.EntryId=EntryId
|
|
1310
1310
|
self.CRV=CRV
|
|
@@ -1386,6 +1386,18 @@ 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
|
|
1389
1401
|
#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=''
|
|
1390
1402
|
|
|
1391
1403
|
'''
|
|
@@ -1604,6 +1616,12 @@ For hot food, one of the notable exceptions is "Hot Baked Goods," like pretzels
|
|
|
1604
1616
|
return result
|
|
1605
1617
|
|
|
1606
1618
|
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)
|
|
1607
1625
|
if self.LCL_ANDROID.exists():
|
|
1608
1626
|
self.LCL=self.LCL_ANDROID
|
|
1609
1627
|
total=self.Display_1+self.Display_2+self.Display_3+self.Display_4+self.Display_5+self.Display_6+self.Shelf+self.BackRoom
|
|
@@ -1646,9 +1664,9 @@ CHKSTND_SPLY={self.CHKSTND_SPLY}
|
|
|
1646
1664
|
Distress={self.Distress} #not added to total
|
|
1647
1665
|
Total = {total}
|
|
1648
1666
|
Total(w/o BR+) - Backroom = {(total-self.BackRoom)-self.BackRoom}
|
|
1649
|
-
Expiry = {self.Expiry}
|
|
1650
|
-
BestBy = {self.BestBy}
|
|
1651
|
-
AquisitionDate = {self.AquisitionDate}
|
|
1667
|
+
Expiry = {self.Expiry}[{self.Expiry-datetime.now()} old]
|
|
1668
|
+
BestBy = {self.BestBy}[{self.BestBy-datetime.now()} old]
|
|
1669
|
+
AquisitionDate = {self.AquisitionDate}[{self.AquisitionDate-datetime.now()} old]
|
|
1652
1670
|
-------------{num}-------------
|
|
1653
1671
|
"""
|
|
1654
1672
|
|
|
@@ -1707,6 +1725,12 @@ Facings={self.Facings}
|
|
|
1707
1725
|
return total
|
|
1708
1726
|
|
|
1709
1727
|
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)
|
|
1710
1734
|
#print(self.csv_headers())
|
|
1711
1735
|
#print(self.csv_values())
|
|
1712
1736
|
total=self.Display_1+self.Display_2+self.Display_3+self.Display_4+self.Display_5+self.Display_6+self.Shelf+self.BackRoom
|
|
@@ -1767,9 +1791,9 @@ deducted from Total as remainder is to be filled from LOAD{Style.reset}
|
|
|
1767
1791
|
{Fore.medium_violet_red}Total Product Handled/To Be Handled Value*CaseCount: {Fore.spring_green_3a}{total_value_case}{Style.reset}
|
|
1768
1792
|
{Fore.orange_3}Distressed Product:{Fore.light_red}{self.Distress}{Style.reset}
|
|
1769
1793
|
------------- Dates ----------------------
|
|
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}
|
|
1794
|
+
{Fore.light_cyan}Expiry = {Fore.light_green}{self.Expiry}[{self.Expiry-datetime.now()} old]{Style.reset}
|
|
1795
|
+
{Fore.light_cyan}BestBy = {Fore.light_green}{self.BestBy}[{self.BestBy-datetime.now()} old]{Style.reset}
|
|
1796
|
+
{Fore.light_cyan}AquisitionDate = {Fore.light_green}{self.AquisitionDate}[{self.AquisitionDate-datetime.now()} old]{Style.reset}
|
|
1773
1797
|
-------------{Style.bold+Style.underline+Fore.orange_red_1}{num}{Style.reset}-------------
|
|
1774
1798
|
"""
|
|
1775
1799
|
print(msg)
|
|
@@ -1856,6 +1880,12 @@ deducted from Total as remainder is to be filled from LOAD{Style.reset}
|
|
|
1856
1880
|
|
|
1857
1881
|
pinfo=f"{Back.green_3a}{Fore.red}**{Fore.white}{Style.bold}Product/Entry Info{Fore.red}- #REPLACE#**{Style.reset} "
|
|
1858
1882
|
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)
|
|
1859
1889
|
pinfo=self.pinfo
|
|
1860
1890
|
total_value=self.total_value(CaseMode=False)
|
|
1861
1891
|
total_value_case=self.total_value()
|
|
@@ -1919,9 +1949,9 @@ deducted from Total as remainder is to be filled from LOAD{Style.reset}
|
|
|
1919
1949
|
|
|
1920
1950
|
{Fore.orange_3}Distressed Product:{Fore.light_red}{self.Distress}{Style.reset}
|
|
1921
1951
|
------------- Dates -----------------
|
|
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}
|
|
1952
|
+
{Fore.light_cyan}Expiry{Fore.grey_70}[{types['Expiry']}{Fore.light_cyan}]={Fore.light_green}{self.Expiry}[{self.Expiry-datetime.now()} old]{Style.reset}
|
|
1953
|
+
{Fore.light_cyan}BestBy{Fore.grey_70}[{types['BestBy']}{Fore.light_cyan}]={Fore.light_green}{self.BestBy}[{self.BestBy-datetime.now()} old]{Style.reset}
|
|
1954
|
+
{Fore.light_cyan}AquisitionDate{Fore.grey_70}[{types['AquisitionDate']}{Fore.light_cyan}]={Fore.light_green}{self.AquisitionDate}[{self.AquisitionDate-datetime.now()} old]{Style.reset}
|
|
1925
1955
|
|
|
1926
1956
|
{Fore.sky_blue_2}Size{Style.reset}:{Fore.grey_70}{types['Size']}{Style.reset}={self.Size}
|
|
1927
1957
|
{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}
|
|
@@ -2091,9 +2121,9 @@ class DayLog(BASE,EntryExtras):
|
|
|
2091
2121
|
WD_DSPLY=WD_DSPLY=Column(Integer)
|
|
2092
2122
|
CHKSTND_SPLY=CHKSTND_SPLY=Column(Integer)
|
|
2093
2123
|
|
|
2094
|
-
Expiry=Column(DateTime,default=
|
|
2095
|
-
BestBy=Column(DateTime,default=
|
|
2096
|
-
AquisitionDate=Column(DateTime,default=
|
|
2124
|
+
Expiry=Column(DateTime,default=datetime(1,1,1))
|
|
2125
|
+
BestBy=Column(DateTime,default=datetime(1,1,1))
|
|
2126
|
+
AquisitionDate=Column(DateTime,default=datetime(1,1,1))
|
|
2097
2127
|
'''
|
|
2098
2128
|
#__init__ def #AquisitionDate=None,BestBy=None,Expiry=None
|
|
2099
2129
|
|
|
@@ -2195,7 +2225,7 @@ class DayLog(BASE,EntryExtras):
|
|
|
2195
2225
|
{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}'''
|
|
2196
2226
|
return msg
|
|
2197
2227
|
|
|
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=
|
|
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=datetime(1,1,1),BestBy=datetime(1,1,1),Expiry=datetime(1,1,1)):
|
|
2199
2229
|
if EntryId:
|
|
2200
2230
|
self.EntryId=EntryId
|
|
2201
2231
|
self.AquisitionDate=AquisitionDate
|
|
@@ -2239,6 +2269,18 @@ class DayLog(BASE,EntryExtras):
|
|
|
2239
2269
|
self.Image=Image
|
|
2240
2270
|
self.Tags=Tags
|
|
2241
2271
|
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
|
|
2242
2284
|
|
|
2243
2285
|
|
|
2244
2286
|
self.ALT_Barcode=ALT_Barcode
|
|
@@ -2457,6 +2499,12 @@ class DayLog(BASE,EntryExtras):
|
|
|
2457
2499
|
return result
|
|
2458
2500
|
|
|
2459
2501
|
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)
|
|
2460
2508
|
if self.LCL_ANDROID.exists():
|
|
2461
2509
|
self.LCL=self.LCL_ANDROID
|
|
2462
2510
|
total=self.Display_1+self.Display_2+self.Display_3+self.Display_4+self.Display_5+self.Display_6+self.Shelf+self.BackRoom
|
|
@@ -2501,9 +2549,9 @@ CHKSTND_SPLY={self.CHKSTND_SPLY}
|
|
|
2501
2549
|
Total = {total}
|
|
2502
2550
|
Distressed={self.Distress} #not included in total
|
|
2503
2551
|
Total(w/o BR+) - Backroom = {(total-self.BackRoom)-self.BackRoom}
|
|
2504
|
-
Expiry = {self.Expiry}
|
|
2505
|
-
BestBy = {self.BestBy}
|
|
2506
|
-
AquisitionDate = {self.AquisitionDate}
|
|
2552
|
+
Expiry = {self.Expiry}[{self.Expiry-datetime.now()} old]
|
|
2553
|
+
BestBy = {self.BestBy}[{self.BestBy-datetime.now()} old]
|
|
2554
|
+
AquisitionDate = {self.AquisitionDate}[{self.AquisitionDate-datetime.now()} old]
|
|
2507
2555
|
-------------{num}-------------
|
|
2508
2556
|
"""
|
|
2509
2557
|
|
|
@@ -2523,6 +2571,12 @@ Facings={self.Facings}
|
|
|
2523
2571
|
'''
|
|
2524
2572
|
|
|
2525
2573
|
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)
|
|
2526
2580
|
#print(self.csv_headers())
|
|
2527
2581
|
#print(self.csv_values())
|
|
2528
2582
|
total=self.Display_1+self.Display_2+self.Display_3+self.Display_4+self.Display_5+self.Display_6+self.Shelf+self.BackRoom
|
|
@@ -2580,9 +2634,9 @@ Facings={self.Facings}
|
|
|
2580
2634
|
deducted from Total as remainder is to be filled from LOAD{Style.reset}
|
|
2581
2635
|
{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}
|
|
2582
2636
|
------------- Dates ------------------
|
|
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}
|
|
2637
|
+
{Fore.light_cyan}Expiry = {Fore.light_green}{self.Expiry}[{self.Expiry-datetime.now()} old]{Style.reset}
|
|
2638
|
+
{Fore.light_cyan}BestBy = {Fore.light_green}{self.BestBy}[{self.BestBy-datetime.now()} old]{Style.reset}
|
|
2639
|
+
{Fore.light_cyan}AquisitionDate = {Fore.light_green}{self.AquisitionDate}[{self.AquisitionDate-datetime.now()} old]{Style.reset}
|
|
2586
2640
|
-------------{Style.bold+Style.underline+Fore.orange_red_1}{num}{Style.reset}-------------
|
|
2587
2641
|
"""
|
|
2588
2642
|
print(msg)
|
|
@@ -2608,6 +2662,12 @@ deducted from Total as remainder is to be filled from LOAD{Style.reset}
|
|
|
2608
2662
|
return ''
|
|
2609
2663
|
|
|
2610
2664
|
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)
|
|
2611
2671
|
types={i.name:str(i.type) for i in self.__table__.columns}
|
|
2612
2672
|
m= f"""
|
|
2613
2673
|
{Style.bold}{Style.underline}{Fore.pale_green_1b}Daylog{Style.reset}(
|
|
@@ -2667,9 +2727,9 @@ deducted from Total as remainder is to be filled from LOAD{Style.reset}
|
|
|
2667
2727
|
{Fore.light_steel_blue}PalletCount{Style.reset}:{Fore.grey_70}{types['PalletCount']}{Style.reset}={self.PalletCount},
|
|
2668
2728
|
{Fore.light_steel_blue}LoadCount{Style.reset}:{Fore.grey_70}{types['LoadCount']}{Style.reset}={self.LoadCount},
|
|
2669
2729
|
------------- Dates ---------------
|
|
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}
|
|
2730
|
+
{Fore.light_cyan}Expiry{Fore.grey_70}[{types['Expiry']}] = {Fore.light_green}{self.Expiry}[{self.Expiry-datetime.now()} old]{Style.reset}
|
|
2731
|
+
{Fore.light_cyan}BestBy{Fore.grey_70}[{types['BestBy']}] = {Fore.light_green}{self.BestBy}[{self.BestBy-datetime.now()} old]{Style.reset}
|
|
2732
|
+
{Fore.light_cyan}AquisitionDate{Fore.grey_70}[{types['AquisitionDate']}] = {Fore.light_green}{self.AquisitionDate}[{self.AquisitionDate-datetime.now()} old]{Style.reset}
|
|
2673
2733
|
|
|
2674
2734
|
{Fore.sky_blue_2}Size{Style.reset}:{Fore.grey_70}{types['Size']}{Style.reset}={self.Size}
|
|
2675
2735
|
{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}
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.828'
|
|
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=Eo6TVBbNS7P-c7OBd5fl0nh8H_yKuj2DyptmuySNSo8,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=OQJFci5t5twbr-91oUSrbQ7zHxswl4hNqfqE9bQw234,271226
|
|
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=08CKbOAOZ6wWjky3lLl8LlOyejpTsVarRzipt1pZsfs,425617
|
|
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=uoxlxAmApN7lxaH9mI67quNLohgCqTBVgopWijybbaw,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.828.dist-info/METADATA,sha256=N3NUlKnmWwnY-aB9uEPf-Kf2SBXxU4dV_kZp4Fr9qZw,1920
|
|
446
|
+
radboy-0.0.828.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
447
|
+
radboy-0.0.828.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
448
|
+
radboy-0.0.828.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|