mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Added some alerting in custom fields if it looks like the db_column and real column do not match
This commit is contained in:
parent
fade03e337
commit
42c7f41d24
|
@ -98,7 +98,12 @@
|
|||
<tr>
|
||||
<td>{{ $field->name }}</td>
|
||||
<td>{{ $field->help_text }}</td>
|
||||
<td>{{ $field->convertUnicodeDbSlug() }}</td>
|
||||
<td>
|
||||
<code>{{ $field->convertUnicodeDbSlug() }}</code>
|
||||
@if ($field->convertUnicodeDbSlug()!=$field->db_column)
|
||||
<br><i class="fa fa-warning text-danger"></i>WARNING. This field is in the custom fields table as <code>{{ $field->db_column }}</code> but should be <code>{{ $field->convertUnicodeDbSlug() }}</code>.
|
||||
@endif
|
||||
</td>
|
||||
<td>{{ $field->format }}</td>
|
||||
<td>{{ $field->element }}</td>
|
||||
<td>
|
||||
|
|
Loading…
Reference in a new issue