Skip to content

Commit

Permalink
修复 工单页面
Browse files Browse the repository at this point in the history
  • Loading branch information
iVampireSP committed Mar 13, 2023
1 parent 9ff4854 commit 6cdcf0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/admin/work-orders/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() }}
Expand Down

0 comments on commit 6cdcf0e

Please sign in to comment.