@extends('layouts.b4') @section('content') @if($requests != null)
@foreach($requests as $row) {!! Form::open(['action' => 'SRP\SRPAdminController@processSRPRequest', 'method' => 'POST']) !!} {!! Form::close() !!} @endforeach
Timestamp Pilot FC zKillboard Total Loss Ship Type Payout % Fleet Type Actual SRP Notes Approve Deny Process
{{ Form::hidden('id', $row['id'], ['class' => 'form-control']) }} {{ $row['created_at'] }} {{ $row['character_name'] }} {{ $row['fleet_commander_name'] }} zKill Link {{ number_format($row['loss_value'], 2, '.', ',') }} {{ $row['ship_type'] }} {{ $row['cost_code'] }} {{ $row['fleet_type'] }} {{ number_format($row['actual_srp'], 2, ".", ",") }} {{ Form::hidden('paid_value', $row['actual_srp'], ['class' => 'form-control']) }} {{ Form::textarea('notes', null, ['class' => 'form-control', 'id' => 'notes', 'rows' => 2, 'cols' => 15, 'style' => 'resize:none']) }} {{ Form::radio('approved', 'Approved', false, ['class' => 'form-control']) }} {{ Form::radio('approved', 'Denied', false, ['class' => 'form-control']) }} {{ Form::submit('Process', ['class' => 'btn btn-primary']) }}

Totals

Total Loss Values: {{ $sum_loss }}
Total Actual Value: {{ $sum_actual }}
@else

SRP Requests Dashboard

No Open SRP Requests

@endif @endsection