Show ZC/RC name instead of system name, tweak FTN sort order

This commit is contained in:
Deon George
2021-06-24 23:09:09 +10:00
parent 25f853cea4
commit e207e0a1d8
3 changed files with 46 additions and 3 deletions

View File

@@ -71,7 +71,7 @@
@foreach ($o->zones as $oz)
<!-- First System Zone -->
<tr>
<td>{{ $oz->system->name }}</td>
<td>{{ sprintf('ZC-%s-%05d',$oz->domain->name,$oz->zone_id) }}</td>
<td>{{ $oz->system->sysop }}</td>
<td>{{ $oz->system->location }}</td>
<td>Zone</td>
@@ -80,9 +80,9 @@
</tr>
<!-- Other Nodes -->
@foreach ($oz->addresses()->orderBy('region_id')->orderBy('host_id','desc')->orderBy('node_id')->orderBy('point_id')->with(['system','zone.domain'])->get() as $ao)
@foreach ($oz->addresses()->FTNorder()->with(['system','zone.domain'])->get() as $ao)
<tr>
<td>{{ $ao->system->name }}</td>
<td>{{ $ao->system->name($ao) }}</td>
<td>{{ $ao->system->sysop }}</td>
<td>{{ $ao->system->location }}</td>
<td>{{ $ao->role }}</td>