@extends('layout.main') @section('content')

Edit Account

@include('includes.errors') @include('includes.success')

@if(User::checkCategoryPermission('CreditControl','View')) Credit Control @endif @if(User::checkCategoryPermission('Opportunity','Add')) Add Opportunity @endif @if($account->VerificationStatus == Account::NOT_VERIFIED) Verify @endif @if( User::checkCategoryPermission('AuthenticationRule','View')) @if($account->IsCustomer==1 || $account->IsVendor==1) Authentication Rule @endif @endif Close

@include('accounts.errormessage')
Account Details
{{Form::select('Owner',$account_owners,$account->Owner,array("class"=>"select2"))}}
{{Form::select('Ownership', $ownership_array, $account->Ownership ,array("class"=>"form-control select2"))}}
IsVendor == 1 )checked=""@endif value="1">
IsCustomer == 1 )checked="" @endif name="IsCustomer" value="1">
@if(is_reseller()) @else
IsReseller == 1 )checked="" @endif name="IsReseller" value="1">
{{Form::select('ResellerOwner',$reseller_owners,(isset($accountreseller)?$accountreseller:'') ,array("class"=>"select2"))}}
@endif
Status == 1 )checked=""@endif value="1">
@if($all_invoice_count == 0) {{Form::SelectControl('currency',0,$account->CurrencyId,0,'CurrencyId')}} @else {{Form::SelectControl('currency',0,$account->CurrencyId,1,'CurrencyId')}} {{Form::hidden('CurrencyId', ($account->CurrencyId))}} @endif
{{Form::select('TimeZone', $timezones, $account->TimeZone ,array("class"=>"form-control select2"))}}
{{Account::$doc_status[$account->VerificationStatus]}}
@if(!empty($dynamicfields) && count($dynamicfields)>0)
@foreach($dynamicfields as $dynamicfield) @if(!empty($dynamicfield['FieldSlug'])) @if($dynamicfield['FieldSlug']=='accountgateway')
{{Form::select('accountgateway[]', CompanyGateway::getCompanyGatewayIdList(), (isset($dynamicfield['FieldValue'])? explode(',',$dynamicfield['FieldValue']) : array() ) ,array("class"=>"form-control select2",'multiple'))}}
@endif @if($dynamicfield['FieldSlug']=='vendorname')
@endif @if($dynamicfield['FieldSlug']=='pbxaccountstatus')
{{Form::select('pbxaccountstatus', array('0'=>'Unblock','1'=>'Block'), (isset($dynamicfield['FieldValue'])? explode(',',$dynamicfield['FieldValue']) : array() ) ,array("class"=>"form-control select2"))}}
@endif @if($dynamicfield['FieldSlug']=='autoblock')
@endif @endif @endforeach
@endif
{{ddl_language("", "LanguageID", ( isset($account->LanguageID)?$account->LanguageID:Translation::$default_lang_id ),"", "id")}}
Description
DisplayRates == 1 )checked="" @endif name="DisplayRates" value="1">
CustomerPaymentAdd) && $accountdetails->CustomerPaymentAdd == 1 )checked="" @endif name="CustomerPaymentAdd" value="1">
@if( ($account->IsVendor == 1 || $account->IsCustomer == 1) && count($AccountApproval) > 0)
Account Verification Document
@foreach($AccountApproval as $row)
@if($row->Required == 1) * @endif {{$row->Key}}