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