A free open source IT asset/license management system
Fixed hardcoded string and added new checkout count to accessory view
snipefd73bee8505b
diff --git a/resources/views/accessories/view.blade.php b/resources/views/accessories/view.blade.phpindex 82d7c8201a..59ff1b9c80 100644--- a/resources/views/accessories/view.blade.php+++ b/resources/views/accessories/view.blade.php@@ -327,13 +327,22 @@<div class="row"><div class="col-md-4" style="padding-bottom: 15px;">- Number remaining+ <strong>{{ trans('admin/accessories/general.remaining') }}</strong></div><div class="col-md-8">{{ $accessory->numRemaining() }}</div></div>+ <div class="row">+ <div class="col-md-4" style="padding-bottom: 15px;">+ <strong>{{ trans('general.checked_out') }}</strong>+ </div>+ <div class="col-md-8">+ {{ $accessory->users_count }}+ </div>+ </div>+@can('checkout', \App\Models\Accessory::class)