mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Removed column widths, check for encryption and showable
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
43da292d60
commit
a202bf81fa
|
@ -32,13 +32,19 @@
|
||||||
}'>
|
}'>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="col-md-1" data-field="image" data-formatter="imageFormatter">{{ trans('general.image') }}</th>
|
<th data-field="image" data-formatter="imageFormatter">{{ trans('general.image') }}</th>
|
||||||
<th class="col-md-2" data-field="name">{{ trans('general.item_name') }}</th>
|
<th data-field="name">{{ trans('general.item_name') }}</th>
|
||||||
<th class="col-md-2" data-field="type">{{ trans('general.type') }}</th>
|
<th data-field="type">{{ trans('general.type') }}</th>
|
||||||
<th class="col-md-2" data-field="qty">{{ trans('general.qty') }}</th>
|
<th data-field="qty">{{ trans('general.qty') }}</th>
|
||||||
<th class="col-md-2" data-field="location">{{ trans('admin/hardware/table.location') }}</th>
|
<th data-field="location">{{ trans('admin/hardware/table.location') }}</th>
|
||||||
<th class="col-md-2" data-field="expected_checkin" data-formatter="dateDisplayFormatter"> {{ trans('admin/hardware/form.expected_checkin') }}</th>
|
<th data-field="expected_checkin" data-formatter="dateDisplayFormatter"> {{ trans('admin/hardware/form.expected_checkin') }}</th>
|
||||||
<th class="col-md-2" data-field="request_date" data-formatter="dateDisplayFormatter"> {{ trans('general.requested_date') }}</th>
|
<th data-field="request_date" data-formatter="dateDisplayFormatter"> {{ trans('general.requested_date') }}</th>
|
||||||
|
|
||||||
|
@foreach(\App\Models\CustomField::get() as $field)
|
||||||
|
@if (($field->field_encrypted=='0') && ($field->show_in_requestable_list=='1'))
|
||||||
|
<th data-field="custom_fields.{{ $field->db_column }}">{{ $field->name }}</th>
|
||||||
|
@endif
|
||||||
|
@endforeach
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in a new issue