@extends ('backend.layouts.app') @section ('title', 'Solution | Edit Solution') @section('after-styles') @endsection @section('page-header')

Solution Management Edit Solution

@endsection @section('content') {{ Form::model($solution, ['route' => ['admin.solution.solution.update', $solution], 'enctype' => "multipart/form-data", 'class' => 'form-horizontal', 'role' => 'form', 'method' => 'PATCH', 'id' => 'edit-partner']) }}

Edit Solution

@include('backend.solution.partials.solution-header-buttons')
{{ Form::label('title', 'Title', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('title', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => 'Enter title']) }}
{{ Form::label('overview', 'Overview', ['class' => 'col-lg-2 control-label']) }}
{{ Form::textarea('overview', null, ['class' => 'form-control', 'id' => 'overview', 'required' => 'required', 'placeholder' => 'Enter overview']) }}
{{ Form::label('description', 'Description', ['class' => 'col-lg-2 control-label']) }}
{{ Form::textarea('description', null, ['class' => 'form-control', 'id' => 'description', 'required' => 'required', 'placeholder' => 'Enter description']) }}
{{ Form::label('logo', 'Choose image', ['class' => 'col-lg-2 control-label']) }}
@if($solution->logo) {{ Html::image('images/uploads/' . $solution->logo, 'image', ['style' => 'width:130px; margin-bottom: 10px;']) }} @endif {{ Form::file('logo', null, ['class' => 'form-control', 'placeholder' => 'Choose image']) }}
{{ Form::label('cover_front', 'Choose Cover Front Image', ['class' => 'col-lg-2 control-label']) }}
@if($solution->cover_front) {{ Html::image('images/uploads/' . $solution->cover_front, 'image', ['style' => 'width:130px; margin-bottom: 10px;']) }} @endif {{ Form::file('cover_front', null, ['class' => 'form-control']) }}
{{ Form::label('cover_back', 'Choose Cover Back Image', ['class' => 'col-lg-2 control-label']) }}
@if($solution->cover_back) {{ Html::image('images/uploads/' . $solution->cover_back, 'image', ['style' => 'width:130px; margin-bottom: 10px;']) }} @endif {{ Form::file('cover_back', null, ['class' => 'form-control']) }}
{{ Form::label('header_image', 'Choose Header Image', ['class' => 'col-lg-2 control-label']) }}
@if($solution->header_image) {{ Html::image('images/uploads/' . $solution->header_image, 'image', ['style' => 'max-width:130px; margin-bottom: 10px;']) }} @endif {{ Form::file('header_image', null, ['class' => 'form-control']) }}
{{ Form::label('footer_image', 'Choose Footer Image', ['class' => 'col-lg-2 control-label']) }}
@if($solution->footer_image) {{ Html::image('images/uploads/' . $solution->footer_image, 'image', ['style' => 'max-width:130px; margin-bottom: 10px;']) }} @endif {{ Form::file('footer_image', null, ['class' => 'form-control']) }}
{{ Form::label('flat_fee', 'Flat Fee', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('flat_fee', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => 'Enter flat fee']) }}
{{ Form::label('min_fee_amount', 'Min Fee Amount', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('min_fee_amount', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => 'Enter min fee amount']) }}
{{ Form::label('min_investment', 'Min Investment', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('min_investment', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => 'Enter min investment']) }}
{{ Form::label('income', 'Income', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('income', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => 'Enter income']) }}
{{ Form::label('growth', 'Growth', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('growth', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => 'Enter growth']) }}
{{ Form::label('type', 'Select Currency', ['class' => 'col-lg-2 control-label']) }}
{{ Form::label('type', 'Select Entity Type', ['class' => 'col-lg-2 control-label']) }}
{{ Form::label('broker_directly', 'Is Broker Directly?', ['class' => 'col-lg-2 control-label']) }}
@if (count($lisps) > 0)
{{ Form::label('Select LISP', 'Select LISP', ['class' => 'col-lg-2 control-label']) }}
@else No LISPs avaliable @endif
@if (count($risk_profiles) > 0)
{{ Form::label('Select Risk Profile', 'Select Risk Profile', ['class' => 'col-lg-2 control-label']) }}
@else No Risk Profiles avaliable @endif @if (count($holding) > 0)
{{ Form::label('Select Top 5 Holdings', 'Select Top 5 Holdings', ['class' => 'col-lg-2 control-label']) }}
@else No Holdings avaliable @endif
{{ Form::label('es_title', 'Executive Summary Title', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('es_title', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => 'Enter Executive Summary']) }}
{{ Form::label('es_content', 'Executive Summary Content', ['class' => 'col-lg-2 control-label']) }}
{{ Form::textarea('es_content', null, ['class' => 'form-control', 'id' => 'es_content', 'required' => 'required', 'placeholder' => 'Enter Executive Summary Content']) }}
{{ Form::label('detail_title', 'Details of Investment Solution Title', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('detail_title', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => 'Enter Details of Investment Solution Title']) }}
{{ Form::label('detail_content', 'Details of Investment Solution Content', ['class' => 'col-lg-2 control-label']) }}
{{ Form::textarea('detail_content', null, ['class' => 'form-control', 'id' => 'detail_content', 'required' => 'required', 'placeholder' => 'Enter Details of Investment Solution Content']) }}
{{ Form::label('share_title', 'Share Portfolio Title', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('share_title', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => 'Enter Share Portfolio Title']) }}
{{ Form::label('share_content', 'Share Portfolio Content', ['class' => 'col-lg-2 control-label']) }}
{{ Form::textarea('share_content', null, ['class' => 'form-control', 'id' => 'share_content', 'required' => 'required', 'placeholder' => 'Enter Executive Summary Content']) }}
{{ Form::label('holding_title', 'Top 10 Holdings Title', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('holding_title', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => 'Enter Top 10 Holdings Title']) }}
{{ Form::label('holding_image', 'Choose Top 10 Holding Image', ['class' => 'col-lg-2 control-label']) }}
@if($solution->holding_image) {{ Html::image('images/uploads/' . $solution->holding_image, 'image', ['style' => 'width:130px; margin-bottom: 10px;']) }} @endif {{ Form::file('holding_image', null, ['class' => 'form-control', 'placeholder' => 'Choose image']) }}
{{ Form::label('perfomance_title', 'Performance Title', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('perfomance_title', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => 'Enter Performance Title']) }}
{{ Form::label('perfomance_desc', 'Performance Text', ['class' => 'col-lg-2 control-label']) }}
{{ Form::textarea('perfomance_desc', null, ['class' => 'form-control', 'id' => 'perfomance_desc', 'required' => 'required', 'placeholder' => 'Enter Performance Text']) }}
{{ Form::label('perfomance_image', 'Choose Performance Image', ['class' => 'col-lg-2 control-label']) }}
@if($solution->perfomance_image) {{ Html::image('images/uploads/' . $solution->perfomance_image, 'image', ['style' => 'width:130px; margin-bottom: 10px;']) }} @endif {{ Form::file('perfomance_image', null, ['class' => 'form-control', 'placeholder' => 'Choose image']) }}
{{ Form::label('metrics_title', 'Risk Metrics Title', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('metrics_title', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => 'Enter Risk Metrics Title']) }}
{{ Form::label('metrics_image', 'Choose Risk Metrics Image', ['class' => 'col-lg-2 control-label']) }}
@if($solution->metrics_image) {{ Html::image('images/uploads/' . $solution->metrics_image, 'image', ['style' => 'width:130px; margin-bottom: 10px;']) }} @endif {{ Form::file('metrics_image', null, ['class' => 'form-control', 'placeholder' => 'Choose image']) }}
{{ Form::label('allocation_title', 'Sector Allocation Title', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('allocation_title', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => 'Enter Sector Allocation Title']) }}
{{ Form::label('allocation_image', 'Choose Sector Allocation Image', ['class' => 'col-lg-2 control-label']) }}
@if($solution->allocation_image) {{ Html::image('images/uploads/' . $solution->allocation_image, 'image', ['style' => 'width:130px; margin-bottom: 10px;']) }} @endif {{ Form::file('allocation_image', null, ['class' => 'form-control', 'placeholder' => 'Choose image']) }}
{{ Form::label('public', 'Show on Website', ['class' => 'col-lg-2 control-label']) }}
{{ Form::label('sort', 'Sort on Website', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('sort', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => 'Enter sort']) }}
{{ Form::label('is_for_pma', 'Personalised Management Account', ['class' => 'col-lg-2 control-label']) }}
{{ Form::label('Active', 'Active', ['class' => 'col-lg-2 control-label']) }}
{{ link_to_route('admin.solution.solution.index', trans('buttons.general.cancel'), [], ['class' => 'btn btn-danger btn-xs']) }}
{{ Form::submit(trans('buttons.general.crud.update'), ['class' => 'btn btn-success btn-xs']) }}
{{ Form::close() }} @endsection @section('after-scripts') @endsection