mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-09 21:07:41 -08:00
front end changes/updates from gh
This commit is contained in:
parent
4e43fa6b9f
commit
27c120a55e
|
@ -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>') !!}
|
||||||
|
|
|
@ -141,7 +141,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…
Reference in a new issue