admin srp dashboard
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
@section('content')
|
@section('content')
|
||||||
{!! Form::open(['action' => 'SRP\SRPAdminController@processSRPRequest', 'method' => 'POST']) !!}
|
{!! Form::open(['action' => 'SRP\SRPAdminController@processSRPRequest', 'method' => 'POST']) !!}
|
||||||
<div class="container col-md-12">
|
<div class="container col-md-12">
|
||||||
|
@if($requests != null)
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<th>Timestamp</th>
|
<th>Timestamp</th>
|
||||||
@@ -16,7 +17,7 @@
|
|||||||
<th>Pay Out</th>
|
<th>Pay Out</th>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@if($requests != null)
|
|
||||||
@foreach($requests as $row)
|
@foreach($requests as $row)
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ $row['created_at'] }}</td>
|
<td>{{ $row['created_at'] }}</td>
|
||||||
@@ -31,23 +32,12 @@
|
|||||||
<td>{{ Form::radio('pay_out', $row['id'], false, ['class' => 'form-control']) }}</td>
|
<td>{{ Form::radio('pay_out', $row['id'], false, ['class' => 'form-control']) }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
@else
|
|
||||||
<tr>
|
|
||||||
<td>--</td>
|
|
||||||
<td>--</td>
|
|
||||||
<td>--</td>
|
|
||||||
<td>--</td>
|
|
||||||
<td>--</td>
|
|
||||||
<td>--</td>
|
|
||||||
<td>--</td>
|
|
||||||
<td>--</td>
|
|
||||||
<td>--</td>
|
|
||||||
<td>--</td>
|
|
||||||
<td>--</td>
|
|
||||||
</tr>
|
|
||||||
@endif
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
@else
|
||||||
|
<h3>No Open SRP Requests</h3>
|
||||||
|
@endif
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{{ Form::submit('Pay Out', ['class' => 'form-control']) }}
|
{{ Form::submit('Pay Out', ['class' => 'form-control']) }}
|
||||||
{!! Form::close() !!}
|
{!! Form::close() !!}
|
||||||
|
|||||||
Reference in New Issue
Block a user