srp payout
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
@extends('layouts.b4')
|
@extends('layouts.b4')
|
||||||
@section('content')
|
@section('content')
|
||||||
{!! Form::open(['action' => 'SRP\SRPAdminController@processSRPRequest', 'method' => 'POST']) !!}
|
|
||||||
@if($requests != null)
|
@if($requests != null)
|
||||||
<div class="container col-md-12">
|
<div class="container col-md-12">
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
@@ -19,6 +19,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
@foreach($requests as $row)
|
@foreach($requests as $row)
|
||||||
<tr>
|
<tr>
|
||||||
|
{!! Form::open(['action' => 'SRP\SRPAdminController@processSRPRequest', 'method' => 'POST']) !!}
|
||||||
<td>{{ $row['created_at'] }}</td>
|
<td>{{ $row['created_at'] }}</td>
|
||||||
<td>{{ $row['character_name'] }}</td>
|
<td>{{ $row['character_name'] }}</td>
|
||||||
<td>{{ $row['fleet_commander_name'] }}</td>
|
<td>{{ $row['fleet_commander_name'] }}</td>
|
||||||
@@ -28,14 +29,15 @@
|
|||||||
<td>{{ $row['fleet_type'] }}</td>
|
<td>{{ $row['fleet_type'] }}</td>
|
||||||
<td>{{ $row['actual_srp'] }}</td>
|
<td>{{ $row['actual_srp'] }}</td>
|
||||||
<td>{{ Form::textarea('notes', null, ['class' => 'form-control', 'id' => 'notes', 'rows' => 4, 'cols' => 30, 'style' => 'resize:none']) }}
|
<td>{{ Form::textarea('notes', null, ['class' => 'form-control', 'id' => 'notes', 'rows' => 4, 'cols' => 30, 'style' => 'resize:none']) }}
|
||||||
<td>{{ Form::radio('pay_out', $row['id'], false, ['class' => 'form-control']) }}</td>
|
<td>
|
||||||
|
{{ Form::hidden('pay_out', $row['id'], ['class' => 'form-control']) }}
|
||||||
|
{{ Form::submit('Pay Out', ['class' => 'btn btn-primary']) }}
|
||||||
|
</td>
|
||||||
|
{!! Form::close() !!}
|
||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
{{ Form::submit('Pay Out', ['class' => 'btn btn-primary']) }}
|
|
||||||
{!! Form::close() !!}
|
|
||||||
@else
|
@else
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
|
|||||||
Reference in New Issue
Block a user