@extends('layouts.b4') @section('content') {!! Form::open(['action' => 'MoonsAdminController@updateMoonPaid', 'method' => 'POST']) !!}
@foreach($table as $row) @endforeach
System Name Rental Price Ally Rental Price Renter Rental End Paid?
{{ $row['SPM'] }} {{ $row['StructureName'] }} {{ $row['AlliancePrice'] }} {{ $row['OutOfAlliancePrice'] }} {{ $row['Renter'] }} {{ $row['RentalEnd'] }} @if ($row['Paid'] == 'Yes') {{ Form::radio('paid', $row['SPM'], true, ['class' => 'form-control']) }} @else {{ Form::radio('paid', null, false, ['class' => 'form-control']) }} @endif
{{ Form::submit('Update', ['class' => 'btn btn-primary']) }} {!! Form::close() !!}
Legend
Moon Available
Moon Rented
Moon Rent Due
@endsection