front end changes/updates from gh
This commit is contained in:
parent
8b643cb3b9
commit
5e74b109d9
3 changed files with 3 additions and 3 deletions
|
@ -12,7 +12,7 @@ return new class extends Migration
|
||||||
public function up(): void
|
public function up(): void
|
||||||
{
|
{
|
||||||
Schema::table('settings', function (Blueprint $table) {
|
Schema::table('settings', function (Blueprint $table) {
|
||||||
$table->boolean('require_checkinout_notes')->nullable()->default(1);
|
$table->boolean('require_checkinout_notes')->nullable()->default(0);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -119,7 +119,7 @@
|
||||||
{{ trans('general.notes') }}
|
{{ trans('general.notes') }}
|
||||||
</label>
|
</label>
|
||||||
@if($snipeSettings->require_checkinout_notes=="1")
|
@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"
|
<textarea class="col-md-6 form-control" id="note" required="true"
|
||||||
name="note">{{ old('note', $asset->note) }}</textarea>
|
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>') !!}
|
{!! $errors->first('note', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
||||||
|
|
|
@ -142,7 +142,7 @@
|
||||||
{{ trans('general.notes') }}
|
{{ trans('general.notes') }}
|
||||||
</label>
|
</label>
|
||||||
@if($snipeSettings->require_checkinout_notes=="1")
|
@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"
|
<textarea class="col-md-6 form-control" id="note" required="true"
|
||||||
name="note">{{ old('note', $asset->note) }}</textarea>
|
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>') !!}
|
{!! $errors->first('note', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
||||||
|
|
Loading…
Add table
Reference in a new issue