@extends('layouts.user.dashb4') @section('content')

Rental Form for Moon Rental


Moon: {{ $moon->name }}
@foreach($ores as $ore) {{ $ore->ore_name }} : {{ number_format(($ore->quantity * 100.00), 2, ".", ",") }}
@endforeach
{!! Form::open(['action' => 'MiningTaxes\MiningTaxesController@storeMoonRentalForm', 'method' => 'POST']) !!} {{ Form::hidden('moon_id', $moon->moon_id) }} {{ Form::hidden('moon_name', $moon->name) }}
{{ Form::label('rental_start', 'Day of Rental Start') }} {{ Form::date('rental_start', Carbon\Carbon::now(), ['class' => 'form-control']) }}
{{ Form::label('rental_end', 'Day of Rental End') }} {{ Form::date('rental_end', Carbon\Carbon::now()->addMonths(3), ['class' => 'form-control']) }}
{{ Form::label('entity_type', 'Select Character or Corporation') }} {{ Form::select('entity_type', ['Character' => 'Character', 'Corporation' => 'Corporation'], 'Character', ['class' => 'form-control']) }}
{{ Form::label('entity_name', 'Enter Name for Rental') }} {{ Form::text('entity_name', '', ['class' => 'form-control', 'placeholder' => 'Enter your character name or corporation name to follow the previous selection.']) }}
{{ Form::submit('Submit', ['class' => 'btn btn-warning']) }} {!! Form::close() !!}
@endsection