dashboard

This commit is contained in:
2019-08-06 02:11:43 -05:00
parent 5b1e580a4f
commit 7c99a9c67c
2 changed files with 3 additions and 5 deletions

View File

@@ -167,6 +167,8 @@ class DashboardController extends Controller
],
]);
dd($open);
return view('dashboard')->with('openCount', $openCount)
->with('approvedCount', $approvedCount)
->with('deniedCount', $deniedCount)

View File

@@ -48,11 +48,7 @@
<tbody>
@foreach($open as $o)
<tr>
@if(isset($o->fleet_commander_name))
<td>{{ $o->fleet_commander_name }}</td>
@else
<td></td>
@endif
<td>{{ $o->fleet_commander_name }}</td>
<td>{{ $o->ship_type }}</td>
<td>{{ $o->loss_value }}</td>
<td>{{ $o->approved }}</td>