Files
w4rpservices/resources/views/srp/admin/process.blade.php
2019-06-23 05:09:27 -05:00

36 lines
1.4 KiB
PHP

@extends('layouts.b4')
@section('content')
{!! Form::open(['action' => 'SRP\SRPController@processForm', 'method' => 'POST']) !!}
<div class="container col-md-12">
<table class="table table-striped">
<thead>
<th>Timestamp</th>
<th>Pilot</th>
<th>Fleet Commander</th>
<th>zKillboard Link</th>
<th>Total Loss Value</th>
<th>Type of Ship</th>
<th>Fleet Type</th>
<th>Actual SRP</th>
<th>Pay Out</th>
</thead>
<tbody>
@foreach($srp as $row)
<tr>
<td>{{ $row['created_at'] }}</td>
<td>{{ $row['pilot'] }}</td>
<td>{{ $row['fc'] }}</td>
<td>{{ $row['link'] }}</td>
<td>{{ $row['loss'] }}</td>
<td>{{ $row['ship_type'] }}</td>
<td>{{ $row['fleet_type'] }}</td>
<td>{{ $row['actual_srp'] }}</td>
<td>{{ Form::radio('pay_out', $row['id'], false, ['class' => 'form-control']) }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
{{ Form::submit('Pay Out', ['class' => 'form-control']) }}
{!! Form::close() !!}
@endsection