WemXPro / tracker

This repository is made to track bugs and suggestions in WemX
6 stars 4 forks source link

Round Prices when Discount is Applied #92

Closed JonBirdd closed 1 year ago

JonBirdd commented 1 year ago

Resource

Billing

Describe the solution you'd like

For example, when you discount 15% of 15.99 it shows "13.5915" would be ideal to show 13.59 and no trailing numbers

Describe alternatives you've considered

resources/views/templates/Carbon/billing/plans.blade.php @ line 49 Change @endif{{ $plan->price()['price'] }} / to @endif{{ round($plan->price()['price'], 2) }} /

resources/views/templates/Carbon/portal/includes/sections/game_plans.blade.php @ line 33 Change {{ $plan->price - ($plan->price * $plan->discount) / 100 }} to {{ round(($plan->price - ($plan->price * $plan->discount) / 100), 2) }}

Additional context

No response

PadowYT2 commented 1 year ago

Closed due to WemX Pro being out - https://wemx.pro