Swirtched to conditionally adding the nbsp; that the table needs for proper layout if cell is empty

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-07-29 00:57:20 -07:00
parent 7d2fcef807
commit 33de45d8fb

View file

@ -472,10 +472,14 @@
@elseif (($field->format=='DATE') && ($asset->{$field->db_column_name()}!=''))
{{ \App\Helpers\Helper::getFormattedDateObject($asset->{$field->db_column_name()}, 'date', false) }}
@else
{!! nl2br(e($asset->{$field->db_column_name()})) !!} &nbsp;
{!! nl2br(e($asset->{$field->db_column_name()})) !!}
@endif
@endif
@if ($asset->{$field->db_column_name()}=='')
&nbsp;
@endif
</div>
</div>
@endforeach