withouttrashed

This commit is contained in:
akemidx 2024-10-08 16:38:33 -04:00
parent 3ee5713740
commit c2663ea1e0

View file

@ -31,7 +31,7 @@
<x-icon type="assets" class="fa-2x" /> <x-icon type="assets" class="fa-2x" />
</span> </span>
<span class="hidden-xs hidden-sm">{{ trans('general.assets') }} <span class="hidden-xs hidden-sm">{{ trans('general.assets') }}
{!! ($user->assets()->AssetsForShow()->count() > 0 ) ? '<badge class="badge badge-secondary">'.number_format($user->assets()->AssetsForShow()->count()).'</badge>' : '' !!} {!! ($user->assets()->AssetsForShow()->count() > 0 ) ? '<badge class="badge badge-secondary">'.number_format($user->assets()->AssetsForShow()->withoutTrashed()->count()).'</badge>' : '' !!}
</span> </span>
</a> </a>
</li> </li>