修复 工单页面

This commit is contained in:
iVampireSP.com 2023-03-13 11:58:30 +08:00
parent 9ff4854466
commit 6cdcf0ee82
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -58,14 +58,14 @@ class="module_name"
href="{{ route('admin.hosts.edit', $workOrder->host_id) }}"
class="host_name"
>
{{ $workOrder?->host->name }}
{{ $workOrder->host?->name }}
</a>
@else
@endif
</td>
<td>
<a href="{{ route('admin.users.edit', $workOrder->user_id) }}">{{ $workOrder?->user->name }}</a>
<a href="{{ route('admin.users.edit', $workOrder->user_id) }}">{{ $workOrder->user?->name }}</a>
</td>
<td>
{{ $workOrder->created_at }}, {{ $workOrder->created_at->diffForHumans() }}