mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
cleanup
This commit is contained in:
parent
d56a4e7173
commit
830e3e5594
|
@ -184,13 +184,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{{-- @foreach ($models as $model)
|
||||
<label class="col-md-12 text-center">
|
||||
{{ $model->name }} asset model
|
||||
</label>
|
||||
@include("models/custom_fields_form",["model" => $model]) --}}
|
||||
@include("models/custom_fields_form_bulk_edit",["models" => $models])
|
||||
{{-- @endforeach --}}
|
||||
|
||||
@foreach ($assets as $key => $value)
|
||||
<input type="hidden" name="ids[{{ $value }}]" value="1">
|
||||
|
|
|
@ -1,12 +1,3 @@
|
|||
@php
|
||||
$fields = [];
|
||||
foreach($model->fieldset->fields AS $field) {
|
||||
$fields[] = $field->db_column_name();
|
||||
}
|
||||
ray($fields);
|
||||
$duplicates = array_diff_assoc($fields, array_unique($fields));
|
||||
ray($duplicates);
|
||||
@endphp
|
||||
@if (($model) && ($model->fieldset))
|
||||
@foreach($model->fieldset->fields AS $field)
|
||||
<div class="form-group{{ $errors->has($field->db_column_name()) ? ' has-error' : '' }}">
|
||||
|
|
Loading…
Reference in a new issue