moon rental form

This commit is contained in:
2021-07-10 21:47:05 -05:00
parent daa72ff60c
commit f77e6874d0
2 changed files with 3 additions and 1 deletions

View File

@@ -82,6 +82,8 @@ class MiningTaxesController extends Controller
$lookup = new LookupHelper;
$entityId = null;
dd($request->entity_type);
//From the name and type of the entity get the entity id.
if($request->entity_type == 'Character') {
$entityId = $lookup->CharacterNameToId();

View File

@@ -24,7 +24,7 @@
</div>
<div class="form-group">
{{ Form::label('entity_type', 'Select Character or Corporation') }}
{{ Form::select('entity_type', ['Character', 'Corporation'], 'Character', ['class' => 'form-control']) }}
{{ Form::select('entity_type', ['Character' => 'Character', 'Corporation' => 'Corporation'], 'Character', ['class' => 'form-control']) }}
</div>
<div class="form-group">
{{ Form::label('entity_name', 'Enter Name for Rental') }}