A free open source IT asset/license management system
Added notes to blades
snipeef9cc4fceb84
diff --git a/resources/views/categories/edit.blade.php b/resources/views/categories/edit.blade.phpindex 1ef3b7aa6a..96ef8e08a8 100755--- a/resources/views/categories/edit.blade.php+++ b/resources/views/categories/edit.blade.php@@ -33,6 +33,21 @@@include ('partials.forms.edit.image-upload', ['image_path' => app('categories_upload_path')])+<div class="form-group{!! $errors->has('notes') ? ' has-error' : '' !!}">+ <label for="notes" class="col-md-3 control-label">{{ trans('general.notes') }}</label>+ <div class="col-md-8">+ <x-input.textarea+ name="notes"+ id="notes"+ :value="old('notes', $item->notes)"+ placeholder="{{ trans('general.placeholders.notes') }}"+ aria-label="notes"+ rows="5"+ />+ {!! $errors->first('notes', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}+ </div>+</div>+@stopdiff --git a/resources/views/companies/edit.blade.php b/resources/views/companies/edit.blade.phpindex 60d5f74ccb..d6b9cf9afd 100644--- a/resources/views/companies/edit.blade.php+++ b/resources/views/companies/edit.blade.php@@ -14,4 +14,20 @@@include ('partials.forms.edit.email')@include ('partials.forms.edit.image-upload', ['image_path' => app('companies_upload_path')])+<div class="form-group{!! $errors->has('notes') ? ' has-error' : '' !!}">+ <label for="notes" class="col-md-3 control-label">{{ trans('general.notes') }}</label>+ <div class="col-md-8">++ <x-input.textarea+ name="notes"+ id="notes"+ :value="old('notes', $item->notes)"+ placeholder="{{ trans('general.placeholders.notes') }}"+ aria-label="notes"+ rows="5"+ />++ </div>+</div>+@stopdiff --git a/resources/views/departments/edit.blade.php b/resources/views/departments/edit.blade.phpindex c1a2b38d56..05d9b49e4c 100644--- a/resources/views/departments/edit.blade.php+++ b/resources/views/departments/edit.blade.php@@ -26,6 +26,20 @@@include ('partials.forms.edit.location-select', ['translated_name' => trans('general.location'), 'fieldname' => 'location_id'])@include ('partials.forms.edit.image-upload', ['image_path' => app('departments_upload_path')])+ <div class="form-group{!! $errors->has('notes') ? ' has-error' : '' !!}">+ <label for="notes" class="col-md-3 control-label">{{ trans('general.notes') }}</label>+ <div class="col-md-8">+ <x-input.textarea+ name="notes"+ id="notes"+ :value="old('notes', $item->notes)"+ placeholder="{{ trans('general.placeholders.notes') }}"+ aria-label="notes"+ rows="5"+ />+ {!! $errors->first('notes', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}+ </div>+ </div>@stopdiff --git a/resources/views/departments/index.blade.php b/resources/views/departments/index.blade.phpindex aa9d09e660..d05d5c9d75 100644--- a/resources/views/departments/index.blade.php+++ b/resources/views/departments/index.blade.php@@ -43,6 +43,7 @@<th data-sortable="true" data-formatter="usersLinkObjFormatter" data-field="manager" data-searchable="false">{{ trans('admin/departments/table.manager') }}</th><th data-sortable="true" data-field="users_count" data-searchable="false">{{ trans('general.users') }}</th><th data-sortable="true" data-formatter="locationsLinkObjFormatter" data-field="location" data-searchable="false">{{ trans('admin/departments/table.location') }}</th>+ <th data-sortable="true" data-field="notes" data-searchable="true">{{ trans('general.notes') }}</th><th data-sortable="false" data-formatter="departmentsActionsFormatter" data-field="actions" data-searchable="false">{{ trans('table.actions') }}</th></tr>diff --git a/resources/views/groups/edit.blade.php b/resources/views/groups/edit.blade.phpindex bd6bd85d1c..782d836beb 100755--- a/resources/views/groups/edit.blade.php+++ b/resources/views/groups/edit.blade.php@@ -60,6 +60,23 @@{!! $errors->first('name', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}</div></div>++<div class="form-group{!! $errors->has('notes') ? ' has-error' : '' !!}">+ <label for="notes" class="col-md-3 control-label">{{ trans('general.notes') }}</label>+ <div class="col-md-8">+ <x-input.textarea+ name="notes"+ id="notes"+ :value="old('notes', $group->notes)"+ placeholder="{{ trans('general.placeholders.notes') }}"+ aria-label="notes"+ rows="2"+ />++ {!! $errors->first('notes', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}+ </div>+</div>+<div class="col-md-12"><table class="table table-striped permissions">diff --git a/resources/views/locations/edit.blade.php b/resources/views/locations/edit.blade.phpindex 4b4e655a52..004053d8ab 100755--- a/resources/views/locations/edit.blade.php+++ b/resources/views/locations/edit.blade.php@@ -57,6 +57,23 @@</div>@endif+@include ('partials.forms.edit.image-upload', ['image_path' => app('locations_upload_path')])++<div class="form-group{!! $errors->has('notes') ? ' has-error' : '' !!}">+ <label for="notes" class="col-md-3 control-label">{{ trans('general.notes') }}</label>+ <div class="col-md-8">+ <x-input.textarea+ name="notes"+ id="notes"+ :value="old('notes', $item->notes)"+ placeholder="{{ trans('general.placeholders.notes') }}"+ aria-label="notes"+ rows="5"+ />+ {!! $errors->first('notes', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}+ </div>+</div>+@stopdiff --git a/resources/views/manufacturers/edit.blade.php b/resources/views/manufacturers/edit.blade.phpindex b5429e5f34..000fd3a8f6 100755--- a/resources/views/manufacturers/edit.blade.php+++ b/resources/views/manufacturers/edit.blade.php@@ -63,6 +63,21 @@@include ('partials.forms.edit.image-upload', ['image_path' => app('manufacturers_upload_path')])+<div class="form-group{!! $errors->has('notes') ? ' has-error' : '' !!}">+ <label for="notes" class="col-md-3 control-label">{{ trans('general.notes') }}</label>+ <div class="col-md-8">+ <x-input.textarea+ name="notes"+ id="notes"+ :value="old('notes', $item->notes)"+ placeholder="{{ trans('general.placeholders.notes') }}"+ aria-label="notes"+ rows="5"+ />+ {!! $errors->first('notes', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}+ </div>+</div>+@stop