radboy 0.0.521__py3-none-any.whl → 0.0.522__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/TasksMode/Tasks.py +23 -8
- radboy/__init__.py +1 -1
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- {radboy-0.0.521.dist-info → radboy-0.0.522.dist-info}/METADATA +1 -1
- {radboy-0.0.521.dist-info → radboy-0.0.522.dist-info}/RECORD +7 -7
- {radboy-0.0.521.dist-info → radboy-0.0.522.dist-info}/WHEEL +0 -0
- {radboy-0.0.521.dist-info → radboy-0.0.522.dist-info}/top_level.txt +0 -0
radboy/TasksMode/Tasks.py
CHANGED
|
@@ -316,6 +316,16 @@ def pricing(self):
|
|
|
316
316
|
result=tax_percent/100
|
|
317
317
|
return result
|
|
318
318
|
|
|
319
|
+
def invert_value():
|
|
320
|
+
result=None
|
|
321
|
+
value=Prompt.__init2__(None,func=FormBuilderMkText,ptext="Value to Invert: ",helpText="make user provided value, or formula negative (value*-1='-value')",data="dec.dec")
|
|
322
|
+
if value is None:
|
|
323
|
+
return
|
|
324
|
+
elif value in ['d',]:
|
|
325
|
+
value=0
|
|
326
|
+
result=value*-1
|
|
327
|
+
return result
|
|
328
|
+
|
|
319
329
|
def beverage_PTCRV_base():
|
|
320
330
|
result=None
|
|
321
331
|
print('Beverage Total Price+Tax+CRV of Size')
|
|
@@ -554,46 +564,51 @@ def pricing(self):
|
|
|
554
564
|
|
|
555
565
|
|
|
556
566
|
options={
|
|
557
|
-
'
|
|
567
|
+
f'{uuid1()}':{
|
|
558
568
|
'cmds':['beverage price+tax+CRV','b-ptcrv',],
|
|
559
569
|
'desc':f'{Fore.light_yellow}beverage Price+Tax+CRV{Fore.medium_violet_red} asking for base questions like bottle size and qty to get total cost with tax{Style.reset}',
|
|
560
570
|
'exec':beverage_PTCRV_base
|
|
561
571
|
},
|
|
562
|
-
'
|
|
572
|
+
f'{uuid1()}':{
|
|
563
573
|
'cmds':['price+tax','p+t',],
|
|
564
574
|
'desc':f'{Fore.light_yellow}Price+Tax{Fore.medium_violet_red} asking questions like price and qty to get total cost with tax{Style.reset}',
|
|
565
575
|
'exec':price_tax
|
|
566
576
|
},
|
|
567
|
-
'
|
|
577
|
+
f'{uuid1()}':{
|
|
568
578
|
'cmds':['crvttl','crv total','crvtotal','crv_total',],
|
|
569
579
|
'desc':f'{Fore.light_yellow}total crv{Fore.medium_violet_red} asking questions like price and qty to get total crv{Style.reset}',
|
|
570
580
|
'exec':crv_total
|
|
571
581
|
},
|
|
572
|
-
'
|
|
582
|
+
f'{uuid1()}':{
|
|
573
583
|
'cmds':['tax+crv','t+c','tax crv',],
|
|
574
584
|
'desc':f'{Fore.light_yellow}tax+crv{Fore.medium_violet_red} asking questions like price and qty to get total crv{Style.reset}',
|
|
575
585
|
'exec':tax_with_crv
|
|
576
586
|
},
|
|
577
|
-
'
|
|
587
|
+
f'{uuid1()}':{
|
|
578
588
|
'cmds':['tax','tax no crv','tax 0 crv',],
|
|
579
589
|
'desc':f'{Fore.light_yellow}tax w/o crv{Fore.medium_violet_red} asking questions like price and qty to get total tax without crv{Style.reset}',
|
|
580
590
|
'exec':tax_no_crv
|
|
581
591
|
},
|
|
582
|
-
'
|
|
592
|
+
f'{uuid1()}':{
|
|
583
593
|
'cmds':['trfpt','tax_rate_from_price_and_tax','tax rate from price and tax','taxRateFromPriceAndTax',],
|
|
584
594
|
'desc':f'{Fore.light_yellow}tax rate{Fore.medium_violet_red} from price and tax as a decimal{Style.reset}',
|
|
585
595
|
'exec':tax_rate_from_priceAndTax
|
|
586
596
|
},
|
|
587
|
-
'
|
|
597
|
+
f'{uuid1()}':{
|
|
588
598
|
'cmds':['tax_rate_from_old_price_and_new_price','tax rate from old price and new price','taxRateFromOldPriceAndNewPrice','trfopnp',],
|
|
589
599
|
'desc':f'{Fore.light_yellow}tax rate{Fore.medium_violet_red} from old price and new price{Style.reset}',
|
|
590
600
|
'exec':tax_rate_from_oldPriceAndNewPrice
|
|
591
601
|
},
|
|
592
|
-
'
|
|
602
|
+
f'{uuid1()}':{
|
|
593
603
|
'cmds':['tax decimal','taxdecimal'],
|
|
594
604
|
'desc':f'{Fore.light_yellow}tax rate decimal{Fore.medium_violet_red} from percent{Style.reset}',
|
|
595
605
|
'exec':tax_rate_decimal
|
|
596
606
|
},
|
|
607
|
+
f'{uuid1()}':{
|
|
608
|
+
'cmds':['invert','-value','iv-val'],
|
|
609
|
+
'desc':f'{Fore.light_yellow}value{Fore.medium_violet_red}is multiplied by -1 to make inverse{Style.reset}',
|
|
610
|
+
'exec':invert_value
|
|
611
|
+
},
|
|
597
612
|
}
|
|
598
613
|
for num,i in enumerate(options):
|
|
599
614
|
options[i]['cmds'].append(str(num))
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.522'
|
|
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=yPMnHt9QNyWLSFWw7-vsj7rj1rNuv0WkzIi6td26GJs,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
|
|
@@ -341,7 +341,7 @@ radboy/SystemSettings/__pycache__/__init__.cpython-312.pyc,sha256=aIzp4Po0t8EhSA
|
|
|
341
341
|
radboy/SystemSettings/__pycache__/__init__.cpython-313.pyc,sha256=QFDuoidxMWsGVLsy5lN-rDs6TP8nKJ4yyCyiamNOhwo,156
|
|
342
342
|
radboy/TasksMode/ReFormula.py,sha256=REDRJYub-OEOE6g14oRQOLOQwv8pHqVJy4NQk3CCM90,2255
|
|
343
343
|
radboy/TasksMode/SetEntryNEU.py,sha256=Gu0Z677tjpc7-9AQtLbIr7yzPx6ZJXGK33lOIgU0IRM,17432
|
|
344
|
-
radboy/TasksMode/Tasks.py,sha256=
|
|
344
|
+
radboy/TasksMode/Tasks.py,sha256=gydEqL-bxuV9DLXgZeZaU9NJpybQ3jHl31R71MavXzo,328311
|
|
345
345
|
radboy/TasksMode/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
346
346
|
radboy/TasksMode/__pycache__/ReFormula.cpython-311.pyc,sha256=QEG3PwVw-8HTd_Mf9XbVcxU56F1fC9yBqWXYPLC39DU,4865
|
|
347
347
|
radboy/TasksMode/__pycache__/ReFormula.cpython-312.pyc,sha256=aX7BWm2PPjCTnxsbGUitR-2h9hq4AjaBiHMrUXvIl0Y,3967
|
|
@@ -397,7 +397,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
|
|
|
397
397
|
radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
|
|
398
398
|
radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
|
|
399
399
|
radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
|
|
400
|
-
radboy/__pycache__/__init__.cpython-313.pyc,sha256=
|
|
400
|
+
radboy/__pycache__/__init__.cpython-313.pyc,sha256=yrOhu_ycn15Scbu6XfuBm5YgUhRSkv4obPtTX6In0e4,165
|
|
401
401
|
radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
|
|
402
402
|
radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
|
|
403
403
|
radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
|
|
@@ -422,7 +422,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
|
|
|
422
422
|
radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
|
|
423
423
|
radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
|
|
424
424
|
radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
|
|
425
|
-
radboy-0.0.
|
|
426
|
-
radboy-0.0.
|
|
427
|
-
radboy-0.0.
|
|
428
|
-
radboy-0.0.
|
|
425
|
+
radboy-0.0.522.dist-info/METADATA,sha256=gF5aLM2rYscQgsSr-a0ED_uSCJ-75-F4aprDMjQX8nM,1615
|
|
426
|
+
radboy-0.0.522.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
427
|
+
radboy-0.0.522.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
428
|
+
radboy-0.0.522.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|