Added upload count

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-07-03 23:18:43 +01:00
parent 59f66051f8
commit 0071596274

View file

@ -66,6 +66,10 @@
<i class="fas fa-tint fa-fw" aria-hidden="true" style="font-size: 17px;"></i> <i class="fas fa-tint fa-fw" aria-hidden="true" style="font-size: 17px;"></i>
<span class="sr-only">{{ trans('general.consumables') }}</span> <span class="sr-only">{{ trans('general.consumables') }}</span>
</th> </th>
<th class="col-md-1 text-right">
<i class="fas fa-paperclip fa-fw" aria-hidden="true" style="font-size: 17px;"></i>
<span class="sr-only">{{ trans('general.files') }}</span>
</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -93,16 +97,19 @@
@endforeach @endforeach
</td> </td>
<td class="text-right"> <td class="text-right">
{{ number_format($user->assets()->count()) }} {{ number_format($user->assets->count()) }}
</td> </td>
<td class="text-right"> <td class="text-right">
{{ number_format($user->accessories()->count()) }} {{ number_format($user->accessories->count()) }}
</td> </td>
<td class="text-right"> <td class="text-right">
{{ number_format($user->licenses()->count()) }} {{ number_format($user->licenses->count()) }}
</td> </td>
<td class="text-right"> <td class="text-right">
{{ number_format($user->consumables()->count()) }} {{ number_format($user->consumables->count()) }}
</td>
<td class="text-right">
{{ number_format($user->uploads->count()) }}
</td> </td>
</tr> </tr>
@endforeach @endforeach