fix: Number formatting on server overview (price)

This commit is contained in:
IceToast 2022-11-22 12:23:33 +01:00
parent bacab7bb18
commit 0f5450e01e
2 changed files with 3 additions and 2 deletions

View file

@ -1,3 +1,4 @@
Export diff files:
Commit Hash of lates Main commit
git diff -r --no-commit-id --name-only --diff-filter=ACMR <commit> | tar -czf ../controllpanelgg-monthly-addon/file.tgz -T -
git diff -r --no-commit-id --name-only --diff-filter=ACMR \<commit> | tar -czf ../controllpanelgg-monthly-addon/file.tgz -T -

View file

@ -189,7 +189,7 @@
@endif
</div>
<span>
{{ number_format($server->product->price) }}
{{ $server->product->price == round($server->product->price) ? round($server->product->price) : $server->product->price }}
</span>
</div>
</div>