diff --git a/resources/views/companies/view.blade.php b/resources/views/companies/view.blade.php
index 48003a4210..19a27c68ba 100644
--- a/resources/views/companies/view.blade.php
+++ b/resources/views/companies/view.blade.php
@@ -21,7 +21,7 @@
{{ trans('general.assets') }}
- {!! (($company->assets) && ($company->assets->count() > 0 )) ? ''.$company->assets->count().'' : '' !!}
+ {!! (($company->assets) && ($company->assets->count() > 0 )) ? ''.number_format($company->assets->count()).'' : '' !!}
@@ -33,7 +33,7 @@
{{ trans('general.licenses') }}
- {!! (($company->licenses) && ($company->licenses->count() > 0 )) ? ''.$company->licenses->count().'' : '' !!}
+ {!! (($company->licenses) && ($company->licenses->count() > 0 )) ? ''.number_format($company->licenses->count()).'' : '' !!}
@@ -43,7 +43,7 @@
{{ trans('general.accessories') }}
- {!! (($company->accessories) && ($company->accessories->count() > 0 )) ? ''.$company->accessories->count().'' : '' !!}
+ {!! (($company->accessories) && ($company->accessories->count() > 0 )) ? ''.number_format($company->accessories->count()).'' : '' !!}
@@ -53,7 +53,7 @@
{{ trans('general.consumables') }}
- {!! (($company->consumables) && ($company->consumables->count() > 0 )) ? ''.$company->consumables->count().'' : '' !!}
+ {!! (($company->consumables) && ($company->consumables->count() > 0 )) ? ''.number_format($company->consumables->count()).'' : '' !!}
@@ -63,7 +63,7 @@
{{ trans('general.components') }}
- {!! (($company->components) && ($company->components->count() > 0 )) ? ''.$company->components->count().'' : '' !!}
+ {!! (($company->components) && ($company->components->count() > 0 )) ? ''.number_format($company->components->count()).'' : '' !!}
@@ -73,7 +73,7 @@
{{ trans('general.people') }}
- {!! (($company->users) && ($company->users->count() > 0 )) ? ''.$company->users->count().'' : '' !!}
+ {!! (($company->users) && ($company->users->count() > 0 )) ? ''.number_format($company->users->count()).'' : '' !!}
diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php
index bd3a6fd6ec..a1cef82d10 100755
--- a/resources/views/hardware/view.blade.php
+++ b/resources/views/hardware/view.blade.php
@@ -116,7 +116,7 @@
{{ trans('general.licenses') }}
- {!! ($asset->licenses->count() > 0 ) ? ''.$asset->licenses->count().'' : '' !!}
+ {!! ($asset->licenses->count() > 0 ) ? ''.number_format($asset->licenses->count()).'' : '' !!}
@@ -127,7 +127,7 @@
{{ trans('general.components') }}
- {!! ($asset->components->count() > 0 ) ? ''.$asset->components->count().'' : '' !!}
+ {!! ($asset->components->count() > 0 ) ? ''.number_format($asset->components->count()).'' : '' !!}
@@ -138,7 +138,7 @@
{{ trans('general.assets') }}
- {!! ($asset->assignedAssets()->count() > 0 ) ? ''.$asset->assignedAssets()->count().'' : '' !!}
+ {!! ($asset->assignedAssets()->count() > 0 ) ? ''.number_format($asset->assignedAssets()->count()).'' : '' !!}
@@ -161,7 +161,7 @@
{{ trans('general.maintenances') }}
- {!! ($asset->assetmaintenances()->count() > 0 ) ? ''.$asset->assetmaintenances()->count().'' : '' !!}
+ {!! ($asset->assetmaintenances()->count() > 0 ) ? ''.number_format($asset->assetmaintenances()->count()).'' : '' !!}
@@ -172,7 +172,7 @@
{{ trans('general.files') }}
- {!! ($asset->uploads->count() > 0 ) ? ''.$asset->uploads->count().'' : '' !!}
+ {!! ($asset->uploads->count() > 0 ) ? ''.number_format($asset->uploads->count()).'' : '' !!}
diff --git a/resources/views/licenses/view.blade.php b/resources/views/licenses/view.blade.php
index a758ae4a3e..6e9f7436a6 100755
--- a/resources/views/licenses/view.blade.php
+++ b/resources/views/licenses/view.blade.php
@@ -47,7 +47,7 @@
{{ trans('admin/licenses/form.seats') }}
- {{ $license->availCount()->count() }} / {{ $license->seats }}
+ {{ number_format($license->availCount()->count()) }} / {{ number_format($license->seats) }}
@@ -57,7 +57,7 @@
{{ trans('general.file_uploads') }}
- {!! ($license->uploads->count() > 0 ) ? ''.$license->uploads->count().'' : '' !!}
+ {!! ($license->uploads->count() > 0 ) ? ''.number_format($license->uploads->count()).'' : '' !!}
diff --git a/resources/views/locations/view.blade.php b/resources/views/locations/view.blade.php
index b548062b4b..566e118c82 100644
--- a/resources/views/locations/view.blade.php
+++ b/resources/views/locations/view.blade.php
@@ -25,7 +25,7 @@
{{ trans('general.users') }}
- {!! (($location->users) && ($location->users->count() > 0 )) ? ''.$location->users->count().'' : '' !!}
+ {!! (($location->users) && ($location->users->count() > 0 )) ? ''.number_format($location->users->count()).'' : '' !!}
@@ -38,7 +38,7 @@
{{ trans('general.assets') }}
- {!! (($location->assets) && ($location->assets->count() > 0 )) ? ''.$location->assets->count().'' : '' !!}
+ {!! (($location->assets) && ($location->assets->count() > 0 )) ? ''.number_format($location->assets->count()).'' : '' !!}
@@ -50,7 +50,7 @@
{{ trans('general.accessories') }}
- {!! (($location->accessories) && ($location->accessories->count() > 0 )) ? ''.$location->accessories->count().'' : '' !!}
+ {!! (($location->accessories) && ($location->accessories->count() > 0 )) ? ''.number_format($location->accessories->count()).'' : '' !!}
@@ -62,7 +62,7 @@
{{ trans('general.consumables') }}
- {!! (($location->consumables) && ($location->consumables->count() > 0 )) ? ''.$location->consumables->count().'' : '' !!}
+ {!! (($location->consumables) && ($location->consumables->count() > 0 )) ? ''.number_format($location->consumables->count()).'' : '' !!}
@@ -74,7 +74,7 @@
{{ trans('general.components') }}
- {!! (($location->components) && ($location->components->count() > 0 )) ? ''.$location->components->count().'' : '' !!}
+ {!! (($location->components) && ($location->components->count() > 0 )) ? ''.number_format($location->components->count()).'' : '' !!}
diff --git a/resources/views/manufacturers/view.blade.php b/resources/views/manufacturers/view.blade.php
index 2df9ffda49..a6472fbcae 100644
--- a/resources/views/manufacturers/view.blade.php
+++ b/resources/views/manufacturers/view.blade.php
@@ -41,7 +41,7 @@
{{ trans('general.assets') }}
- {!! (($manufacturer->assets) && ($manufacturer->assets->count() > 0 )) ? ''.$manufacturer->assets->count().'' : '' !!}
+ {!! (($manufacturer->assets) && ($manufacturer->assets->count() > 0 )) ? ''.number_format($manufacturer->assets->count()).'' : '' !!}
@@ -55,7 +55,7 @@
{{ trans('general.licenses') }}
- {!! (($manufacturer->licenses) && ($manufacturer->licenses->count() > 0 )) ? ''.$manufacturer->licenses->count().'' : '' !!}
+ {!! (($manufacturer->licenses) && ($manufacturer->licenses->count() > 0 )) ? ''.number_format($manufacturer->licenses->count()).'' : '' !!}
@@ -68,7 +68,7 @@
{{ trans('general.accessories') }}
- {!! (($manufacturer->accessories) && ($manufacturer->accessories->count() > 0 )) ? ''.$manufacturer->accessories->count().'' : '' !!}
+ {!! (($manufacturer->accessories) && ($manufacturer->accessories->count() > 0 )) ? ''.number_format($manufacturer->accessories->count()).'' : '' !!}
@@ -81,7 +81,7 @@
{{ trans('general.consumables') }}
- {!! (($manufacturer->consumables) && ($manufacturer->consumables->count() > 0 )) ? ''.$manufacturer->consumables->count().'' : '' !!}
+ {!! (($manufacturer->consumables) && ($manufacturer->consumables->count() > 0 )) ? ''.number_format($manufacturer->consumables->count()).'' : '' !!}
diff --git a/resources/views/suppliers/view.blade.php b/resources/views/suppliers/view.blade.php
index 2e8eecdd7a..4316497f1e 100755
--- a/resources/views/suppliers/view.blade.php
+++ b/resources/views/suppliers/view.blade.php
@@ -35,7 +35,7 @@
{{ trans('general.assets') }}
- {!! (($supplier->assets) && ($supplier->assets->count() > 0 )) ? ''.$supplier->assets->count().'' : '' !!}
+ {!! (($supplier->assets) && ($supplier->assets->count() > 0 )) ? ''.number_format($supplier->assets->count()).'' : '' !!}
@@ -48,7 +48,7 @@
{{ trans('general.accessories') }}
- {!! (($supplier->accessories) && ($supplier->accessories->count() > 0 )) ? ''.$supplier->accessories->count().'' : '' !!}
+ {!! (($supplier->accessories) && ($supplier->accessories->count() > 0 )) ? ''.number_format($supplier->accessories->count()).'' : '' !!}
@@ -60,7 +60,7 @@
{{ trans('general.licenses') }}
- {!! (($supplier->licenses) && ($supplier->licenses->count() > 0 )) ? ''.$supplier->licenses->count().'' : '' !!}
+ {!! (($supplier->licenses) && ($supplier->licenses->count() > 0 )) ? ''.number_format($supplier->licenses->count()).'' : '' !!}
@@ -72,7 +72,7 @@
{{ trans('admin/asset_maintenances/general.asset_maintenances') }}
- {!! (($supplier->asset_maintenances) && ($supplier->asset_maintenances->count() > 0 )) ? ''.$supplier->asset_maintenances->count().'' : '' !!}
+ {!! (($supplier->asset_maintenances) && ($supplier->asset_maintenances->count() > 0 )) ? ''.number_format($supplier->asset_maintenances->count()).'' : '' !!}
diff --git a/resources/views/users/view.blade.php b/resources/views/users/view.blade.php
index b214d935d2..d6a496308f 100755
--- a/resources/views/users/view.blade.php
+++ b/resources/views/users/view.blade.php
@@ -31,7 +31,7 @@
{{ trans('general.assets') }}
- {!! ($user->assets->count() > 0 ) ? ''.$user->assets->count().'' : '' !!}
+ {!! ($user->assets->count() > 0 ) ? ''.number_format($user->assets->count()).'' : '' !!}
@@ -42,7 +42,7 @@
{{ trans('general.licenses') }}
- {!! ($user->licenses->count() > 0 ) ? ''.$user->licenses->count().'' : '' !!}
+ {!! ($user->licenses->count() > 0 ) ? ''.number_format($user->licenses->count()).'' : '' !!}
@@ -53,7 +53,7 @@
{{ trans('general.accessories') }}
- {!! ($user->accessories->count() > 0 ) ? ''.$user->accessories->count().'' : '' !!}
+ {!! ($user->accessories->count() > 0 ) ? ''.number_format($user->accessories->count()).'' : '' !!}
@@ -64,7 +64,7 @@
{{ trans('general.consumables') }}
- {!! ($user->consumables->count() > 0 ) ? ''.$user->consumables->count().'' : '' !!}
+ {!! ($user->consumables->count() > 0 ) ? ''.number_format($user->consumables->count()).'' : '' !!}
@@ -75,7 +75,7 @@
{{ trans('general.file_uploads') }}
- {!! ($user->uploads->count() > 0 ) ? ''.$user->uploads->count().'' : '' !!}
+ {!! ($user->uploads->count() > 0 ) ? ''.number_format($user->uploads->count()).'' : '' !!}
@@ -95,7 +95,7 @@
{{ trans('admin/users/table.managed_locations') }}
- {!! ($user->managedLocations->count() > 0 ) ? ''.$user->managedLocations->count().'' : '' !!}
+ {!! ($user->managedLocations->count() > 0 ) ? ''.number_format($user->managedLocations->count()).'' : '' !!}
@endif