@extends('layouts.admin.b4') @section('content')

Flex Structures

@foreach($structures as $structure) @endforeach
Requestor Corp System Structure Type Cost Paid Until Update Remove?
{{ $structure->requestor_name }} {{ $structure->requestor_corp_name }} {{ $structure->system }} {{ $structure->structure_type }} {{ number_format($structure->structure_cost, "2", ".", ",") }} {{ $structure->paid_until }} {!! Form::open(['action' => 'Flex\FlexAdminController@updateFlexStructure', 'method' => 'POST']) !!} {{ Form::date('paid_until', \Carbon\Carbon::now()->endOfMonth(), ['class' => 'form-control']) }} {{ Form::hidden('requestor_id', $structure->requestor_id) }} {{ Form::hidden('requestor_corp_id', $structure->requestor_corp_id) }} {{ Form::hidden('system_id', $structure->system_id) }} {{ Form::hidden('structure_type', $structure->structure_type) }} {{ Form::submit('Update', ['class' => 'btn btn-primary']) }} {!! Form::close() !!} {!! Form::open(['action' => 'Flex\FlexAdminController@removeFlexStructure', 'method' => 'POST']) !!} {{ Form::radio('remove', 'Yes', false, ['class' => 'form-control']) }} {{ Form::hidden('structure_type', $structure->structure_type) }} {{ Form::hidden('requestor_id', $structure->requestor_id) }} {{ Form::hidden('requestor_corp_id', $structure->requestor_corp_id) }} {{ Form::hidden('system_id', $structure->system_id) }} {{ Form::submit('Remove', ['class' => 'btn btn-danger']) }} {!! Form::close() !!}
@endsection