@section('title')
Qualities - Cataclysm: Dark Days Ahead
@endsection
<h1>Qualities</h1>

<div class="row">
  <div class="col-md-3">
<ul class="nav nav-pills nav-stacked">
@foreach($qualities as $quality)
<li class="@if($quality->id==$id) active @endif"><a href="{{ route(Route::currentRouteName(), $quality->id) }}">{{{$quality->name}}}</a></li>
@endforeach
</ul>
  </div>
  <div class="col-md-9">
@if (!$id)
Please select an entry from the menu on the left.
@else
<table class="table table-bordered table-hover tablesorter">
  <thead>
  <tr>
    <th></th>
    <th>Name</th>
    <th>Level</th>
    <th>Recipes</th>
    <th>Construction</th>
  </tr>
</thead>
@foreach($items as $item)
<tr>
  <td>{{ $item->symbol }}</td>
  <td><a href="{{route('item.view', $item->id)}}">{{ $item->name }}</a></td>
  <td>{{{ $item->qualityLevel($id) }}}</td>
  <td>{{{ $item->count("toolFor") }}}</td>
  <td>{{{ $item->count("construction") }}}</td>
</tr>
</tr>
@endforeach
</table>
<script>
$(function() {
    $(".tablesorter").tablesorter({
      sortList: [[2,0]]
      });
});
</script>
@endif
</div>
</div>

@section('title')
Qualities - Cataclysm: Dark Days Ahead
@endsection
<h1>Qualities</h1>

<div class="row">
  <div class="col-md-3">
<ul class="nav nav-pills nav-stacked">
@foreach($qualities as $quality)
<li class="@if($quality->id==$id) active @endif"><a href="{{ route(Route::currentRouteName(), $quality->id) }}">{{{$quality->name}}}</a></li>
@endforeach
</ul>
  </div>
  <div class="col-md-9">
@if (!$id)
Please select an entry from the menu on the left.
@else
<table class="table table-bordered table-hover tablesorter">
  <thead>
  <tr>
    <th></th>
    <th>Name</th>
    <th>Level</th>
    <th>Recipes</th>
  </tr>
</thead>
@foreach($items as $item)
<tr>
  <td>{{ $item->symbol }}</td>
  <td><a href="{{route('item.view', $item->id)}}">{{ $item->name }}</a></td>
  <td>{{{ $item->qualityLevel($id) }}}</td>
  <td>{{{ $item->count("toolFor") }}}</td>
</tr>
</tr>
@endforeach
</table>
<script>
$(function() {
    $(".tablesorter").tablesorter({
      sortList: [[2,0]]
      });
});
</script>
@endif
</div>
</div>

--- 
+++ 
@@ -22,6 +22,7 @@
     <th>Name</th>
     <th>Level</th>
     <th>Recipes</th>
+    <th>Construction</th>
   </tr>
 </thead>
 @foreach($items as $item)
@@ -30,6 +31,7 @@
   <td><a href="{{route('item.view', $item->id)}}">{{ $item->name }}</a></td>
   <td>{{{ $item->qualityLevel($id) }}}</td>
   <td>{{{ $item->count("toolFor") }}}</td>
+  <td>{{{ $item->count("construction") }}}</td>
 </tr>
 </tr>
 @endforeach
Add construction counts to the qualities catalog.
