fix: Number formatting on server overview (price)

This commit is contained in:
IceToast 2022-11-22 12:23:33 +01:00 committed by IceToast
parent 973e77569a
commit 56aad2a7cb
No known key found for this signature in database
GPG key ID: 1464353E063A5B97
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

@ -188,7 +188,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>