A free open source IT asset/license management system
front end changes/updates from gh
akemidx27c120a55ee4
diff --git a/database/migrations/2024_08_01_201721_add_required_notes_setting.php b/database/migrations/2024_08_01_201721_add_required_notes_setting.phpindex d4934ed7fb..38fdd38c11 100644--- a/database/migrations/2024_08_01_201721_add_required_notes_setting.php+++ b/database/migrations/2024_08_01_201721_add_required_notes_setting.php@@ -12,7 +12,7 @@ return new class extends Migrationpublic function up(): void{Schema::table('settings', function (Blueprint $table) {- $table->boolean('require_checkinout_notes')->nullable()->default(1);+ $table->boolean('require_checkinout_notes')->nullable()->default(0);});}diff --git a/resources/views/hardware/checkin.blade.php b/resources/views/hardware/checkin.blade.phpindex 6b4a00d284..496e899add 100755--- a/resources/views/hardware/checkin.blade.php+++ b/resources/views/hardware/checkin.blade.php@@ -119,7 +119,7 @@{{ trans('general.notes') }}</label>@if($snipeSettings->require_checkinout_notes=="1")- <div class="col-md-8">+ <div class="col-md-8 required"><textarea class="col-md-6 form-control" id="note" required="true"name="note">{{ old('note', $asset->note) }}</textarea>{!! $errors->first('note', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}diff --git a/resources/views/hardware/checkout.blade.php b/resources/views/hardware/checkout.blade.phpindex 1081019072..ab8b7b31f3 100755--- a/resources/views/hardware/checkout.blade.php+++ b/resources/views/hardware/checkout.blade.php@@ -141,7 +141,7 @@{{ trans('general.notes') }}</label>@if($snipeSettings->require_checkinout_notes=="1")- <div class="col-md-8">+ <div class="col-md-8 required"><textarea class="col-md-6 form-control" id="note" required="true"name="note">{{ old('note', $asset->note) }}</textarea>{!! $errors->first('note', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}