front end changes/updates from gh

This commit is contained in:
akemidx 2024-08-20 19:07:47 -04:00
parent 4e43fa6b9f
commit 27c120a55e
3 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@ return new class extends Migration
public 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);
});
}

View file

@ -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>') !!}

View file

@ -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>') !!}