@extends('layouts.admin') @section('pageTitle') Best Insurance | Profiles,Affiliates Mapping @stop @section('content')

Note : Select affiliates list that you want to assign the profile.

Add Mapping
{{Form::open(array('url' => '/account/profile/affli-profi-map-fun', 'method' => 'POST' ,'id' =>'formValidation'))}}
{{Form::label('Profile',array())}} {{Form::select('profile_id', $profiles, null,array('class'=>'form-control profileId','id' => 'profileId'))}}
{{Form::label('Avaliable Affiliates',array())}} {{Form::select('affiliate_unselecetd[]',[],null,array('multiple','name'=>'affiliate_id[]','id' => 'multiselect','class' =>'form-control affiliates','name' => 'from[]','size' => "8"))}}
{{Form::label(' ',array())}}
{{Form::label('Selected Affiliates',array())}}
{{Form::submit('Submit',array('class' => 'btn btn-success','id' => 'submit-btn'))}}
{{Form::close()}}

Profiles List

@if(isset($pfs)) @foreach($pfs as $pf) @endforeach @endif
Created Date Title Description Created Date Actions
{{$pf->id}} {{$pf->title}} {{$pf->description}} {{date('d-m-Y H:i:s',strtotime($pf->created_at))}}     
@stop @section('pageBottomJs') @stop