@if (isset($CompanyGateway) && count($CompanyGateway) > 0) @if (isset($commandname) && $commandname=='importpbxaccounts')
{{Form::select('Setting[CompanyGatewayID][]', $CompanyGateway, (isset($commandconfigval->CompanyGatewayID)?$commandconfigval->CompanyGatewayID:'') ,array("id"=>"CompanyGateways" ,"class"=>"select2",'multiple',"data-placeholder"=>"Select Gateways"))}}
@else
{{Form::select('CompanyGatewayID', $CompanyGateway, (isset($commandconfigval->CompanyGatewayID)?$commandconfigval->CompanyGatewayID:'') ,array("id"=>"drp_rateGenerators" ,"class"=>"select2 small form-control"))}}
@endif @endif @if (isset($emailTemplates) && count($emailTemplates) > 0 && isset($accounts) && count($accounts) > 0)
{{Form::SelectControl('email_template',1,(isset($commandconfigval->TemplateID)?$commandconfigval->TemplateID:''))}}
{{Form::select('AccountID', $accounts, (isset($commandconfigval->AccountID)?$commandconfigval->AccountID:'') ,array("class"=>"select2 small form-control"))}}
@elseif(isset($emailTemplates) && count($emailTemplates) > 0)
{{Form::SelectControl('email_template',1,(isset($commandconfigval->TemplateID)?$commandconfigval->TemplateID:''))}}
@endif @if(isset($rateTableList) && count($rateTableList) > 0)
{{Form::select('rateTables', $rateTableList,(isset($commandconfigval)? @$commandconfigval->rateTables:'') ,array("id"=>"drp_rateGenerators" ,"class"=>"select2 small form-control"))}}
@endif @if (isset($rateGenerators) && count($rateGenerators) > 0 && isset($rateTables) && count($rateTables) > 0 )
{{Form::select('rateGenerators', $rateGenerators, (isset($commandconfigval)?$commandconfigval->rateGeneratorID:'') ,array("id"=>"drp_rateGenerators" ,"class"=>"select2 small form-control"))}}
{{Form::select('rateTables', $rateTables,(isset($commandconfigval)?$commandconfigval->rateTableID:'') ,array("id"=>"drp_rateGenerators" ,"class"=>"select2 small form-control"))}}
{{Form::select('EffectiveRate', array('now'=>'Current','effective'=>'Effective on selected effective date','future'=>'Future'),(isset($commandconfigval->EffectiveRate)?$commandconfigval->EffectiveRate:'now') ,array("id"=>"" ,"class"=>"select2 small form-control"))}}
@endif @if (isset($customers) && count($customers) > 0)
{{Form::select('Setting[customers][]', $customers, (isset($commandconfigval->customers)?$commandconfigval->customers:'') ,array("id"=>"customers" ,"class"=>"select2",'multiple',"data-placeholder"=>"Select Customers"))}}
@endif @if (isset($vendors) && count($vendors) > 0)
{{Form::select('Setting[vendors][]', $vendors, (isset($commandconfigval->vendors)?$commandconfigval->vendors:'') ,array("id"=>"vendors" ,"class"=>"select2",'multiple',"data-placeholder"=>"Select Vendors"))}}
@endif @if (isset($vendorList) && count($vendorList) > 0)
{{Form::select('vendors', $vendorList, (isset($commandconfigval->vendors)?$commandconfigval->vendors:'') ,array("id"=>"vendors" ,"class"=>"select2","data-placeholder"=>"Select Vendor"))}}
@endif @if (isset($gateway) && count($gateway) > 0)
{{Form::select('Setting[gateway]', $gateway, (isset($commandconfigval->gateway)?$commandconfigval->gateway:'') ,array("id"=>"gateway" ,"class"=>"select2"))}}
@endif @if (isset($ServiceID) && count($ServiceID) > 0)
{{Form::select('Setting[ServiceID]', $ServiceID, (isset($commandconfigval->ServiceID)?$commandconfigval->ServiceID:'') ,array("id"=>"ServiceID" ,"class"=>"select2"))}}
@endif @if (isset($ExtensionSubscriptionID) && count($ExtensionSubscriptionID) > 0)
{{Form::select('Setting[ExtensionSubscriptionID]', $ExtensionSubscriptionID, (isset($commandconfigval->ExtensionSubscriptionID)?$commandconfigval->ExtensionSubscriptionID:'') ,array("id"=>"ExtensionSubscriptionID" ,"class"=>"select2"))}}
@endif @if (isset($DIDServiceID) && count($DIDServiceID) > 0)
{{Form::select('Setting[DIDServiceID]', $DIDServiceID, (isset($commandconfigval->DIDServiceID)?$commandconfigval->DIDServiceID:'') ,array("id"=>"DIDServiceID" ,"class"=>"select2"))}}
@endif @if (isset($DIDSubscriptionID) && count($DIDSubscriptionID) > 0)
{{Form::select('Setting[DIDSubscriptionID]', $DIDSubscriptionID, (isset($commandconfigval->DIDSubscriptionID)?$commandconfigval->DIDSubscriptionID:'') ,array("id"=>"DIDSubscriptionID" ,"class"=>"select2"))}}
@endif @foreach((array)$commandconfig as $config) @foreach((array)$config as $configtitle) @if($count%2 == 0)
@endif
@if($configtitle['type'] == 'select' && isset($configtitle['multiple']) && $configtitle['multiple'] == 'multiple') {{Form::select('Setting['.$configtitle['name'].'][]',$configtitle['value'],$selectd_val, array( "class"=>"select2",'multiple',"data-placeholder"=>$configtitle['placeholder']))}} @elseif($configtitle['type'] == 'select') {{Form::select('Setting['.$configtitle['name'].']',$configtitle['value'],$selectd_val,array( "class"=>"select2 small"))}} @elseif($configtitle['type'] == 'text' && isset($configtitle['timepicker'])) @else @endif
@endforeach @endforeach
@if($commandname == 'leadsImportbyemail')


@endif