@extends('layouts.merchant-backend-layout') @section('content')

Sub-Accounts allowed to send {{$token->name}}

@include('includes.messages')

{{Form::open(array('url'=>'merchant/linksubaccount','method'=>'POST','role'=>"form", 'files'=>true,'id'=>'adds-add-form'))}}

@foreach($emplist as $emp) @if(in_array($emp->id, $permission))  {{$emp->email}}
@else  {{$emp->email}}
@endif @endforeach

@foreach($emplist as $emp)
@endforeach


{{ Form::hidden('tokenid', $token->id) }} {{Form::close()}}
@section('scripts') @stop @stop