radboy 0.0.375__py3-none-any.whl → 0.0.376__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 +268 -2
- radboy/DB/__pycache__/Prompt.cpython-313.pyc +0 -0
- radboy/__init__.py +1 -1
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- {radboy-0.0.375.dist-info → radboy-0.0.376.dist-info}/METADATA +1 -1
- {radboy-0.0.375.dist-info → radboy-0.0.376.dist-info}/RECORD +8 -8
- {radboy-0.0.375.dist-info → radboy-0.0.376.dist-info}/WHEEL +0 -0
- {radboy-0.0.375.dist-info → radboy-0.0.376.dist-info}/top_level.txt +0 -0
radboy/DB/Prompt.py
CHANGED
|
@@ -807,6 +807,173 @@ class Prompt(object):
|
|
|
807
807
|
|
|
808
808
|
|
|
809
809
|
def __init2__(self,func,ptext='do what',helpText='',data={},noHistory=False,qc=None,replace_ptext=None):
|
|
810
|
+
'''
|
|
811
|
+
lsbld - bldls()
|
|
812
|
+
lsbld- - bldls(minus=True)
|
|
813
|
+
bldlse - bldls(bldlse=True)
|
|
814
|
+
bldlse - bldls(bldlse=True,minus=True)
|
|
815
|
+
|
|
816
|
+
sbld - bldls(sbld=True)
|
|
817
|
+
sbld- bldls(sbld=True,minus=True)
|
|
818
|
+
esbld - bldls(bldlse=True,sbld=True)
|
|
819
|
+
esblb- bldls(bldlse=True,sbld=True,minus=True)
|
|
820
|
+
'''
|
|
821
|
+
def bldls(bldlse=False,sbld=False,minus=False):
|
|
822
|
+
extras=Prompt.__init2__(None,func=FormBuilderMkText,ptext="Show Extras?",helpText="extra data attached to each entry yes or no",data="boolean")
|
|
823
|
+
if extras in [None,'d',False]:
|
|
824
|
+
extras=False
|
|
825
|
+
msg=''
|
|
826
|
+
if bldlse:
|
|
827
|
+
db.logInput(msg,user=False,filter_colors=True,maxed_hfl=False,ofile=Prompt.bld_file,clear_only=True)
|
|
828
|
+
with db.Session(db.ENGINE) as session:
|
|
829
|
+
results_query=session.query(db.Entry).filter(db.Entry.InList==True)
|
|
830
|
+
if sbld:
|
|
831
|
+
def mkT(text,data):
|
|
832
|
+
return text
|
|
833
|
+
code=Prompt.__init2__(None,func=mkT,ptext="Code|Barcode|Name: ",helpText="find by code,barcode,name",data='')
|
|
834
|
+
if code in [None,'d']:
|
|
835
|
+
return
|
|
836
|
+
results_query=results_query.filter(
|
|
837
|
+
db.or_(
|
|
838
|
+
db.Entry.Code==code,
|
|
839
|
+
db.Entry.Barcode==code,
|
|
840
|
+
db.Entry.Barcode.icontains(code),
|
|
841
|
+
db.Entry.Code.icontains(code),
|
|
842
|
+
db.Entry.Name.icontains(code)
|
|
843
|
+
)
|
|
844
|
+
)
|
|
845
|
+
location_fields=["Shelf","BackRoom","Display_1","Display_2","Display_3","Display_4","Display_5","Display_6","ListQty","SBX_WTR_DSPLY","SBX_CHP_DSPLY","SBX_WTR_KLR","FLRL_CHP_DSPLY","FLRL_WTR_DSPLY","WD_DSPLY","CHKSTND_SPLY","Distress"]
|
|
846
|
+
z=Prompt.mkfield_list(None,location_fields)
|
|
847
|
+
if z in [[],None]:
|
|
848
|
+
z=location_fields
|
|
849
|
+
location_fields=z
|
|
850
|
+
tmp=[]
|
|
851
|
+
for f in location_fields:
|
|
852
|
+
if not minus:
|
|
853
|
+
tmp.append(or_(getattr(db.Entry,f)>=0.0001))
|
|
854
|
+
else:
|
|
855
|
+
tmp.append(or_(getattr(db.Entry,f)!=0,getattr(db.Entry,f)!=None))
|
|
856
|
+
|
|
857
|
+
results_query=results_query.filter(or_(*tmp))
|
|
858
|
+
LookUpState=db.detectGetOrSet('list maker lookup order',False,setValue=False,literal=False)
|
|
859
|
+
if not isinstance(LookUpState,bool):
|
|
860
|
+
LookUpState=db.detectGetOrSet('list maker lookup order',False,setValue=True,literal=False)
|
|
861
|
+
if LookUpState == True:
|
|
862
|
+
results=results_query.order_by(db.Entry.Timestamp.asc()).all()
|
|
863
|
+
else:
|
|
864
|
+
results=results_query.order_by(db.Entry.Timestamp.desc()).all()
|
|
865
|
+
ct=len(results)
|
|
866
|
+
if ct < 1:
|
|
867
|
+
msg=f"{Fore.light_steel_blue}Nothing in {Fore.slate_blue_1}Bld{Fore.light_red}LS!{Style.reset}"
|
|
868
|
+
db.logInput(msg,user=False,filter_colors=True,maxed_hfl=False,ofile=Prompt.bld_file)
|
|
869
|
+
print(msg)
|
|
870
|
+
return
|
|
871
|
+
#start
|
|
872
|
+
ROUNDTO=int(db.detectGetOrSet("lsbld ROUNDTO default",3,setValue=False,literal=True))
|
|
873
|
+
master_total=0
|
|
874
|
+
master_total_crv=0
|
|
875
|
+
master_total_tax=0
|
|
876
|
+
master_total_tax_crv=0
|
|
877
|
+
|
|
878
|
+
for num,i in enumerate(results):
|
|
879
|
+
getExtras(i.EntryId,extras)
|
|
880
|
+
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}|-| '
|
|
881
|
+
colormapped=[
|
|
882
|
+
Fore.deep_sky_blue_4c,
|
|
883
|
+
Fore.spring_green_4,
|
|
884
|
+
Fore.turquoise_4,
|
|
885
|
+
Fore.dark_cyan,
|
|
886
|
+
Fore.deep_sky_blue_2,
|
|
887
|
+
Fore.spring_green_2a,
|
|
888
|
+
Fore.medium_spring_green,
|
|
889
|
+
Fore.steel_blue,
|
|
890
|
+
Fore.cadet_blue_1,
|
|
891
|
+
Fore.aquamarine_3,
|
|
892
|
+
Fore.purple_1a,
|
|
893
|
+
Fore.medium_purple_3a,
|
|
894
|
+
Fore.slate_blue_1,
|
|
895
|
+
Fore.light_slate_grey,
|
|
896
|
+
Fore.dark_olive_green_3a,
|
|
897
|
+
Fore.deep_pink_4c,
|
|
898
|
+
Fore.orange_3,
|
|
899
|
+
]
|
|
900
|
+
total=0
|
|
901
|
+
crv=0
|
|
902
|
+
tax=0
|
|
903
|
+
tax_crv=0
|
|
904
|
+
i.Tax=round(i.Tax,ROUNDTO)
|
|
905
|
+
i.CRV=round(i.CRV,ROUNDTO)
|
|
906
|
+
i.Price=round(i.Price,ROUNDTO)
|
|
907
|
+
session.commit()
|
|
908
|
+
if not minus:
|
|
909
|
+
for n2,f in enumerate(location_fields):
|
|
910
|
+
try:
|
|
911
|
+
if getattr(i,f) > 0:
|
|
912
|
+
total+=getattr(i,f)
|
|
913
|
+
except Exception as e:
|
|
914
|
+
print(e)
|
|
915
|
+
for n2,f in enumerate(location_fields):
|
|
916
|
+
if getattr(i,f) > 0:
|
|
917
|
+
msg2=f'{colormapped[n2]}{f} = {round(getattr(i,f),ROUNDTO)}{Style.reset}'
|
|
918
|
+
if n2 < len(location_fields):
|
|
919
|
+
msg2+=","
|
|
920
|
+
msg+=msg2
|
|
921
|
+
else:
|
|
922
|
+
for n2,f in enumerate(location_fields):
|
|
923
|
+
try:
|
|
924
|
+
if getattr(i,f) != 0:
|
|
925
|
+
total+=getattr(i,f)
|
|
926
|
+
except Exception as e:
|
|
927
|
+
print(e)
|
|
928
|
+
for n2,f in enumerate(location_fields):
|
|
929
|
+
if getattr(i,f) != 0:
|
|
930
|
+
msg2=f'{colormapped[n2]}{f} = {round(getattr(i,f),3)}{Style.reset}'
|
|
931
|
+
if n2 < len(location_fields):
|
|
932
|
+
msg2+=","
|
|
933
|
+
msg+=msg2
|
|
934
|
+
master_total+=total*round(i.Price,ROUNDTO)
|
|
935
|
+
|
|
936
|
+
crv+=(round(i.CRV,ROUNDTO)*total)
|
|
937
|
+
tax+=(round(i.Tax,ROUNDTO)*total)
|
|
938
|
+
if tax == 0 and crv > 0:
|
|
939
|
+
tax_crv=(round(i.CRV,ROUNDTO)*total)
|
|
940
|
+
else:
|
|
941
|
+
tax_crv+=((round(i.Tax,ROUNDTO)*total)+(round(i.CRV,ROUNDTO)*total))
|
|
942
|
+
master_total_tax+=tax
|
|
943
|
+
master_total_crv+=crv
|
|
944
|
+
master_total_tax_crv+=tax_crv
|
|
945
|
+
tax_crv=round(tax_crv,ROUNDTO)
|
|
946
|
+
try:
|
|
947
|
+
super_total=(round(round(round(total*i.Price,ROUNDTO)+tax_crv,ROUNDTO)/getSuperTotal(results,location_fields,colormapped)['final total'],ROUNDTO))*100
|
|
948
|
+
except Exception as e:
|
|
949
|
+
p1=round(round(round(total*i.Price,ROUNDTO)+tax_crv,ROUNDTO))
|
|
950
|
+
p2=getSuperTotal(results,location_fields,colormapped)['final total']
|
|
951
|
+
print(e)
|
|
952
|
+
print(p1,"p1")
|
|
953
|
+
print(p2,"p2")
|
|
954
|
+
super_total=0
|
|
955
|
+
msg+=f"""{Fore.light_magenta} |-|{Fore.light_green} Total = {Fore.light_sea_green}{round(total,ROUNDTO)}
|
|
956
|
+
{Fore.light_magenta}Price({i.Price}){Fore.medium_violet_red}*{Fore.light_slate_blue}Total({round(total,ROUNDTO)}):{round(i.Price*total,ROUNDTO)}
|
|
957
|
+
{Fore.grey_70}+CRV({i.CRV})*Total({round(total,ROUNDTO)}){Fore.slate_blue_1}\n=TotalCRV({crv})+TotalPrice({round(total*i.Price,ROUNDTO)})=NetPrice({round(total*i.Price,ROUNDTO)+crv})
|
|
958
|
+
{Fore.grey_70}+Tax({i.Tax}) w/o CRV({i.CRV})*Total({round(total,ROUNDTO)}){Fore.slate_blue_1}\n=TaxNoCRVTotal({tax})+TotalPrice({round(total*i.Price,ROUNDTO)})=NetPrice({round(round(total*i.Price,ROUNDTO)+tax,ROUNDTO)})
|
|
959
|
+
{Fore.grey_70}+Tax({i.Tax}) w/ CRV({i.CRV})*Total({round(total,ROUNDTO)}){Fore.slate_blue_1}\n=TaxCRVTotal({tax_crv})+TotalPrice({round(total*i.Price,ROUNDTO)})=NetPrice({round(round(total*i.Price,ROUNDTO)+tax_crv,ROUNDTO)})
|
|
960
|
+
{Fore.medium_violet_red}PercentOfTotal({round(super_total,ROUNDTO)}) of Total({getSuperTotal(results,location_fields,colormapped)['final total']})
|
|
961
|
+
{'*'*os.get_terminal_size().columns}{Style.reset}"""
|
|
962
|
+
if bldlse:
|
|
963
|
+
db.logInput(msg,user=False,filter_colors=True,maxed_hfl=False,ofile=Prompt.bld_file)
|
|
964
|
+
print(msg)
|
|
965
|
+
master_total=round(master_total,ROUNDTO)
|
|
966
|
+
master_total_crv=round(master_total_crv,ROUNDTO)
|
|
967
|
+
master_total_tax=round(master_total_tax,ROUNDTO)
|
|
968
|
+
master_total_tax_crv=round(master_total_tax_crv,ROUNDTO)
|
|
969
|
+
msg=f"""{Fore.light_green}Total Product Value:{Fore.slate_blue_1}{round(master_total,ROUNDTO)}
|
|
970
|
+
{Fore.light_green}Total Product Value w/CRV({master_total_crv}):{Fore.slate_blue_1}{round(master_total_crv+master_total,ROUNDTO)}
|
|
971
|
+
{Fore.light_green}Total Product Value Taxed w/o CRV({master_total_tax}):{Fore.slate_blue_1}{round(master_total_tax+master_total,ROUNDTO)}
|
|
972
|
+
{Fore.light_green}Total Product Value Taxed w/ CRV({master_total_tax_crv}):{Fore.slate_blue_1}{round(master_total_tax_crv+master_total,ROUNDTO)}
|
|
973
|
+
{Style.reset}"""
|
|
974
|
+
if bldlse:
|
|
975
|
+
db.logInput(msg,user=False,filter_colors=True,maxed_hfl=False,ofile=Prompt.bld_file)
|
|
976
|
+
print(msg)
|
|
810
977
|
while True:
|
|
811
978
|
try:
|
|
812
979
|
lastTime=db.detectGetOrSet("PromptLastDTasFloat",datetime.now().timestamp())
|
|
@@ -2013,6 +2180,8 @@ last month = today-30d
|
|
|
2013
2180
|
result=global_search_for_text()
|
|
2014
2181
|
return func(result,data)
|
|
2015
2182
|
elif cmd.lower() in ["bldls","build","buildls","build list","bld ls",'lsbld','list build','ls bld','bld']:
|
|
2183
|
+
bldls()
|
|
2184
|
+
'''
|
|
2016
2185
|
extras=Prompt.__init2__(None,func=FormBuilderMkText,ptext="Show Extras?",helpText="extra data attached to each entry yes or no",data="boolean")
|
|
2017
2186
|
if extras in [None,'d',False]:
|
|
2018
2187
|
extras=False
|
|
@@ -2127,13 +2296,13 @@ last month = today-30d
|
|
|
2127
2296
|
{Fore.light_green}Total Product Value Taxed w/o CRV({master_total_tax}):{Fore.slate_blue_1}{round(master_total_tax+master_total,ROUNDTO)}
|
|
2128
2297
|
{Fore.light_green}Total Product Value Taxed w/ CRV({master_total_tax_crv}):{Fore.slate_blue_1}{round(master_total_tax_crv+master_total,ROUNDTO)}
|
|
2129
2298
|
{Style.reset}"""
|
|
2130
|
-
print(msg)
|
|
2299
|
+
print(msg)'''
|
|
2131
2300
|
elif cmd.lower() in ['quick price','qprc','price']:
|
|
2132
2301
|
t=TM.Tasks.TasksMode.pricing(None)
|
|
2133
2302
|
if t is not None:
|
|
2134
2303
|
return func(str(t),data)
|
|
2135
2304
|
elif cmd.lower() in ["bldlse","builde","buildlse","build list export ","bld ls exp",'elsbld','export list build','exp ls bld','ebld']:
|
|
2136
|
-
extras=Prompt.__init2__(None,func=FormBuilderMkText,ptext="Show Extras?",helpText="extra data attached to each entry yes or no",data="boolean")
|
|
2305
|
+
'''extras=Prompt.__init2__(None,func=FormBuilderMkText,ptext="Show Extras?",helpText="extra data attached to each entry yes or no",data="boolean")
|
|
2137
2306
|
if extras in [None,'d',False]:
|
|
2138
2307
|
extras=False
|
|
2139
2308
|
msg=''
|
|
@@ -2252,7 +2421,21 @@ last month = today-30d
|
|
|
2252
2421
|
{Style.reset}"""
|
|
2253
2422
|
db.logInput(msg,user=False,filter_colors=True,maxed_hfl=False,ofile=Prompt.bld_file)
|
|
2254
2423
|
print(msg)
|
|
2424
|
+
'''
|
|
2425
|
+
'''
|
|
2426
|
+
lsbld - bldls()
|
|
2427
|
+
lsbld- - bldls(minus=True)
|
|
2428
|
+
bldlse - bldls(bldlse=True)
|
|
2429
|
+
bldlse - bldls(bldlse=True,minus=True)
|
|
2430
|
+
|
|
2431
|
+
sbld - bldls(sbld=True)
|
|
2432
|
+
sbld- bldls(sbld=True,minus=True)
|
|
2433
|
+
esbld - bldls(bldlse=True,sbld=True)
|
|
2434
|
+
esblb- bldls(bldlse=True,sbld=True,minus=True)
|
|
2435
|
+
'''
|
|
2436
|
+
bldls(bldlse=True)
|
|
2255
2437
|
elif cmd.lower() in ['sbld','search build','search_build','scan build','scan_bld']:
|
|
2438
|
+
'''
|
|
2256
2439
|
extras=Prompt.__init2__(None,func=FormBuilderMkText,ptext="Show Extras?",helpText="extra data attached to each entry yes or no",data="boolean")
|
|
2257
2440
|
if extras in [None,'d',False]:
|
|
2258
2441
|
extras=False
|
|
@@ -2387,7 +2570,21 @@ last month = today-30d
|
|
|
2387
2570
|
{Fore.medium_violet_red}PercentOfTotal({round(super_total,ROUNDTO)}) of Total({getSuperTotal(results,location_fields,colormapped)['final total']})
|
|
2388
2571
|
{Style.reset}"""
|
|
2389
2572
|
print(msg)
|
|
2573
|
+
'''
|
|
2574
|
+
'''
|
|
2575
|
+
lsbld - bldls()
|
|
2576
|
+
lsbld- - bldls(minus=True)
|
|
2577
|
+
bldlse - bldls(bldlse=True)
|
|
2578
|
+
bldlse - bldls(bldlse=True,minus=True)
|
|
2579
|
+
|
|
2580
|
+
sbld - bldls(sbld=True)
|
|
2581
|
+
sbld- bldls(sbld=True,minus=True)
|
|
2582
|
+
esbld - bldls(bldlse=True,sbld=True)
|
|
2583
|
+
esblb- bldls(bldlse=True,sbld=True,minus=True)
|
|
2584
|
+
'''
|
|
2585
|
+
bldls(sbld=True)
|
|
2390
2586
|
elif cmd.lower() in ['esbld','export search build','export_search_build','exp scan build','exp_scan_bld']:
|
|
2587
|
+
'''
|
|
2391
2588
|
extras=Prompt.__init2__(None,func=FormBuilderMkText,ptext="Show Extras?",helpText="extra data attached to each entry yes or no",data="boolean")
|
|
2392
2589
|
if extras in [None,'d',False]:
|
|
2393
2590
|
extras=False
|
|
@@ -2528,7 +2725,21 @@ last month = today-30d
|
|
|
2528
2725
|
{Style.reset}"""
|
|
2529
2726
|
db.logInput(msg,user=False,filter_colors=True,maxed_hfl=False,ofile=Prompt.bld_file)
|
|
2530
2727
|
print(msg)
|
|
2728
|
+
'''
|
|
2729
|
+
'''
|
|
2730
|
+
lsbld - bldls()
|
|
2731
|
+
lsbld- - bldls(minus=True)
|
|
2732
|
+
bldlse - bldls(bldlse=True)
|
|
2733
|
+
bldlse - bldls(bldlse=True,minus=True)
|
|
2734
|
+
|
|
2735
|
+
sbld - bldls(sbld=True)
|
|
2736
|
+
sbld- bldls(sbld=True,minus=True)
|
|
2737
|
+
esbld - bldls(bldlse=True,sbld=True)
|
|
2738
|
+
esblb- bldls(bldlse=True,sbld=True,minus=True)
|
|
2739
|
+
'''
|
|
2740
|
+
bldls(bldlse=True,sbld=True)
|
|
2531
2741
|
elif cmd.lower() in ["bldls-","build-","buildls-","build list -","bld ls -",'lsbld-','list build -','ls bld -','bld-']:
|
|
2742
|
+
'''
|
|
2532
2743
|
extras=Prompt.__init2__(None,func=FormBuilderMkText,ptext="Show Extras?",helpText="extra data attached to each entry yes or no",data="boolean")
|
|
2533
2744
|
if extras in [None,'d',False]:
|
|
2534
2745
|
extras=False
|
|
@@ -2638,7 +2849,21 @@ last month = today-30d
|
|
|
2638
2849
|
{Fore.light_green}Total Product Value Taxed w/ CRV({master_total_tax_crv}):{Fore.slate_blue_1}{round(master_total_tax_crv+master_total,ROUNDTO)}
|
|
2639
2850
|
{Style.reset}"""
|
|
2640
2851
|
print(msg)
|
|
2852
|
+
'''
|
|
2853
|
+
'''
|
|
2854
|
+
lsbld - bldls()
|
|
2855
|
+
lsbld- - bldls(minus=True)
|
|
2856
|
+
bldlse - bldls(bldlse=True)
|
|
2857
|
+
bldlse - bldls(bldlse=True,minus=True)
|
|
2858
|
+
|
|
2859
|
+
sbld - bldls(sbld=True)
|
|
2860
|
+
sbld- bldls(sbld=True,minus=True)
|
|
2861
|
+
esbld - bldls(bldlse=True,sbld=True)
|
|
2862
|
+
esblb- bldls(bldlse=True,sbld=True,minus=True)
|
|
2863
|
+
'''
|
|
2864
|
+
bldls(minus=True)
|
|
2641
2865
|
elif cmd.lower() in ["bldlse-","builde-","buildlse-","build list export -","bld ls exp -",'elsbld-','export list build -','exp ls bld -','ebld-']:
|
|
2866
|
+
'''
|
|
2642
2867
|
extras=Prompt.__init2__(None,func=FormBuilderMkText,ptext="Show Extras?",helpText="extra data attached to each entry yes or no",data="boolean")
|
|
2643
2868
|
if extras in [None,'d',False]:
|
|
2644
2869
|
extras=False
|
|
@@ -2755,7 +2980,21 @@ last month = today-30d
|
|
|
2755
2980
|
{Style.reset}"""
|
|
2756
2981
|
print(msg)
|
|
2757
2982
|
db.logInput(msg,user=False,filter_colors=True,maxed_hfl=False,ofile=Prompt.bld_file)
|
|
2983
|
+
'''
|
|
2984
|
+
'''
|
|
2985
|
+
lsbld - bldls()
|
|
2986
|
+
lsbld- - bldls(minus=True)
|
|
2987
|
+
bldlse - bldls(bldlse=True)
|
|
2988
|
+
bldlse- - bldls(bldlse=True,minus=True)
|
|
2989
|
+
|
|
2990
|
+
sbld - bldls(sbld=True)
|
|
2991
|
+
sbld- bldls(sbld=True,minus=True)
|
|
2992
|
+
esbld - bldls(bldlse=True,sbld=True)
|
|
2993
|
+
esblb- bldls(bldlse=True,sbld=True,minus=True)
|
|
2994
|
+
'''
|
|
2995
|
+
bldls(bldlse=True,minus=True)
|
|
2758
2996
|
elif cmd.lower() in ['sbld-','search build -','search_build-','scan build-','scan_bld-']:
|
|
2997
|
+
'''
|
|
2759
2998
|
extras=Prompt.__init2__(None,func=FormBuilderMkText,ptext="Show Extras?",helpText="extra data attached to each entry yes or no",data="boolean")
|
|
2760
2999
|
if extras in [None,'d',False]:
|
|
2761
3000
|
extras=False
|
|
@@ -2886,7 +3125,21 @@ last month = today-30d
|
|
|
2886
3125
|
{Fore.light_green}Total Product Value Taxed w/ CRV({master_total_tax_crv}):{Fore.slate_blue_1}{round(master_total_tax_crv+master_total,ROUNDTO)}
|
|
2887
3126
|
{Style.reset}"""
|
|
2888
3127
|
print(msg)
|
|
3128
|
+
'''
|
|
3129
|
+
'''
|
|
3130
|
+
lsbld - bldls()
|
|
3131
|
+
lsbld- - bldls(minus=True)
|
|
3132
|
+
bldlse - bldls(bldlse=True)
|
|
3133
|
+
bldlse - bldls(bldlse=True,minus=True)
|
|
3134
|
+
|
|
3135
|
+
sbld - bldls(sbld=True)
|
|
3136
|
+
sbld- bldls(sbld=True,minus=True)
|
|
3137
|
+
esbld - bldls(bldlse=True,sbld=True)
|
|
3138
|
+
esblb- bldls(bldlse=True,sbld=True,minus=True)
|
|
3139
|
+
'''
|
|
3140
|
+
bldls(sbld=True,minus=True)
|
|
2889
3141
|
elif cmd.lower() in ['esbld-','export search build -','export_search_build-','exp scan build-','exp_scan_bld-']:
|
|
3142
|
+
'''
|
|
2890
3143
|
extras=Prompt.__init2__(None,func=FormBuilderMkText,ptext="Show Extras?",helpText="extra data attached to each entry yes or no",data="boolean")
|
|
2891
3144
|
if extras in [None,'d',False]:
|
|
2892
3145
|
extras=False
|
|
@@ -3022,6 +3275,19 @@ last month = today-30d
|
|
|
3022
3275
|
print(msg)
|
|
3023
3276
|
db.logInput(msg,user=False,filter_colors=True,maxed_hfl=False,ofile=Prompt.bld_file)
|
|
3024
3277
|
#end#
|
|
3278
|
+
'''
|
|
3279
|
+
'''
|
|
3280
|
+
lsbld - bldls()
|
|
3281
|
+
lsbld- - bldls(minus=True)
|
|
3282
|
+
bldlse - bldls(bldlse=True)
|
|
3283
|
+
bldlse - bldls(bldlse=True,minus=True)
|
|
3284
|
+
|
|
3285
|
+
sbld - bldls(sbld=True)
|
|
3286
|
+
sbld- bldls(sbld=True,minus=True)
|
|
3287
|
+
esbld - bldls(bldlse=True,sbld=True)
|
|
3288
|
+
esblb- bldls(bldlse=True,sbld=True,minus=True)
|
|
3289
|
+
'''
|
|
3290
|
+
bldls(bldlse=True,sbld=True,minus=True)
|
|
3025
3291
|
elif cmd.lower() in ['cdp','clipboard_default_paste','clipboard default paste']:
|
|
3026
3292
|
with db.Session(db.ENGINE) as session:
|
|
3027
3293
|
dflt=session.query(db.ClipBoord).filter(db.ClipBoord.defaultPaste==True).order_by(db.ClipBoord.doe.desc()).first()
|
|
Binary file
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.376'
|
|
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=TfgMJOI-srmu2Qo5T_-rw8Dl8KQNAJyqzQBkLAdv6Es,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/ExerciseTracker.py,sha256=CZ8jdKJiAE_QTAiJTRXi8ZOnS1NUiSvWVSKLHLpYVGk,
|
|
|
83
83
|
radboy/DB/PayDay.py,sha256=H2kPGvBCDkMOz7lbxQhYtUt_oAInpxi37Q6MFrah98I,8710
|
|
84
84
|
radboy/DB/PayModels.py,sha256=hjwWxP7PL33hmfzQl5YTf0HqzaMxXJxFknPdxFJXJc8,3499
|
|
85
85
|
radboy/DB/PrintLogging.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
86
|
-
radboy/DB/Prompt.py,sha256=
|
|
86
|
+
radboy/DB/Prompt.py,sha256=H8kVdEYImkJyurqopvfo30wzRd1KpfbhkEnprdSWSUQ,205091
|
|
87
87
|
radboy/DB/RandomStringUtil.py,sha256=eZCpR907WStgfbk4Evcghjv9hOkUDXH-iMXIq0-kXq8,24386
|
|
88
88
|
radboy/DB/ResetTools.py,sha256=RbI-Ua7UlsN0S9qLqtEkTWvzyTZ6R-hHR3CW4NHlUPE,6660
|
|
89
89
|
radboy/DB/SMLabelImporter.py,sha256=eUoBDxVUUEKGL2g_PwkASM67ZB7FmXtSnn4bCagskhY,4013
|
|
@@ -107,7 +107,7 @@ radboy/DB/__pycache__/FormBuilder.cpython-312.pyc,sha256=p1o-5SMRL8OXP_XQ5liUpf-
|
|
|
107
107
|
radboy/DB/__pycache__/PrintLogging.cpython-312.pyc,sha256=pIAFqTi6OiQQORSc-oMH1zAbsdH7sY1TifxrN_QOvnU,148
|
|
108
108
|
radboy/DB/__pycache__/Prompt.cpython-311.pyc,sha256=P2uPRpeqfLFtxieZ0JHBG3X_HZzWUCsFSLb_fpRqky0,6407
|
|
109
109
|
radboy/DB/__pycache__/Prompt.cpython-312.pyc,sha256=6CcQ1gE2hcz3cKPjo4f6d7xNM2PTDnl8NzQG0Pme5BE,142886
|
|
110
|
-
radboy/DB/__pycache__/Prompt.cpython-313.pyc,sha256=
|
|
110
|
+
radboy/DB/__pycache__/Prompt.cpython-313.pyc,sha256=rZD1O8jsEo-uy41QlO1F6mi3Klcs2m8nt97BNUdW9Nc,196540
|
|
111
111
|
radboy/DB/__pycache__/RandomStringUtil.cpython-312.pyc,sha256=TrbEY89MuLmNlvoo5d8vOE6Dyshh5_EMlTZvk8MDVN4,48597
|
|
112
112
|
radboy/DB/__pycache__/RandomStringUtil.cpython-313.pyc,sha256=MCcgVwV2Y-9rAY2FVaJZCKcou3HDX70EZudoiCigT0o,49217
|
|
113
113
|
radboy/DB/__pycache__/ResetTools.cpython-311.pyc,sha256=4Vyc57iAAF0yRPjjglnVKovnTn8OoFIi6Zok3Wpj_YM,9292
|
|
@@ -386,7 +386,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
|
|
|
386
386
|
radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
|
|
387
387
|
radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
|
|
388
388
|
radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
|
|
389
|
-
radboy/__pycache__/__init__.cpython-313.pyc,sha256=
|
|
389
|
+
radboy/__pycache__/__init__.cpython-313.pyc,sha256=5vrXGFs2V8LeNLfLIzdqbGvpekeZHWk8_qK8VDjsiVA,165
|
|
390
390
|
radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
|
|
391
391
|
radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
|
|
392
392
|
radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
|
|
@@ -411,7 +411,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
|
|
|
411
411
|
radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
|
|
412
412
|
radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
|
|
413
413
|
radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
|
|
414
|
-
radboy-0.0.
|
|
415
|
-
radboy-0.0.
|
|
416
|
-
radboy-0.0.
|
|
417
|
-
radboy-0.0.
|
|
414
|
+
radboy-0.0.376.dist-info/METADATA,sha256=wHoK_Yw45nTZj0iotrud9mPBgdh1E0JC59l_3yrnfpU,794
|
|
415
|
+
radboy-0.0.376.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
416
|
+
radboy-0.0.376.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
417
|
+
radboy-0.0.376.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|