dashboard update for SRP stuff
This commit is contained in:
@@ -24,6 +24,10 @@ class SRPController extends Controller
|
|||||||
$this->middleware('role:User');
|
$this->middleware('role:User');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function displaySrpHistory() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function displayPayoutAmounts() {
|
public function displayPayoutAmounts() {
|
||||||
$payouts = array();
|
$payouts = array();
|
||||||
$count = 0;
|
$count = 0;
|
||||||
|
|||||||
@@ -46,6 +46,7 @@
|
|||||||
<th>Ship Type</th>
|
<th>Ship Type</th>
|
||||||
<th>Loss Value</th>
|
<th>Loss Value</th>
|
||||||
<th>Status</th>
|
<th>Status</th>
|
||||||
|
<th>Date</th>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach($open as $o)
|
@foreach($open as $o)
|
||||||
@@ -55,6 +56,7 @@
|
|||||||
<td>{{ $o['ship_type'] }}</td>
|
<td>{{ $o['ship_type'] }}</td>
|
||||||
<td>{{ $o['loss_value'] }}</td>
|
<td>{{ $o['loss_value'] }}</td>
|
||||||
<td>{{ $o['approved'] }}</td>
|
<td>{{ $o['approved'] }}</td>
|
||||||
|
<td>{{ $o['created_at'] }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
</tbody>
|
</tbody>
|
||||||
@@ -86,6 +88,7 @@
|
|||||||
<th>Loss Value</th>
|
<th>Loss Value</th>
|
||||||
<th>Status</th>
|
<th>Status</th>
|
||||||
<th>Notes</th>
|
<th>Notes</th>
|
||||||
|
<th>Date</th>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach($denied as $d)
|
@foreach($denied as $d)
|
||||||
@@ -96,6 +99,7 @@
|
|||||||
<td>{{ $d['loss_value'] }}</td>
|
<td>{{ $d['loss_value'] }}</td>
|
||||||
<td>{{ $d['approved'] }}</td>
|
<td>{{ $d['approved'] }}</td>
|
||||||
<td>{{ $d['notes'] }}</td>
|
<td>{{ $d['notes'] }}</td>
|
||||||
|
<td>{{ $d['updated_at'] }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
</tbody>
|
</tbody>
|
||||||
@@ -126,6 +130,7 @@
|
|||||||
<th>Ship Type</th>
|
<th>Ship Type</th>
|
||||||
<th>Loss Value</th>
|
<th>Loss Value</th>
|
||||||
<th>Status</th>
|
<th>Status</th>
|
||||||
|
<th>Date</th>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach($approved as $a)
|
@foreach($approved as $a)
|
||||||
@@ -135,6 +140,7 @@
|
|||||||
<td>{{ $a['ship_type'] }}</td>
|
<td>{{ $a['ship_type'] }}</td>
|
||||||
<td>{{ $a['loss_value'] }}</td>
|
<td>{{ $a['loss_value'] }}</td>
|
||||||
<td>{{ $a['approved'] }}</td>
|
<td>{{ $a['approved'] }}</td>
|
||||||
|
<td>{{ $a['updated_at'] }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
Reference in New Issue
Block a user