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

@lang('routes.CUST_PANEL_PAGE_PROFILE_HEADING_VIEW_ACCOUNT')

@lang('routes.BUTTON_EDIT_CAPTION')
@include('includes.errors') @include('includes.success')

@lang('routes.CUST_PANEL_PAGE_PROFILE_TAB_AC_DETAILS_TITLE')
@if(count($account_owner)) {{$account_owner->FirstName}} {{$account_owner->LastName}} @endif
{{$account->Ownership}}
{{$account->FirstName}}
{{$account->LastName}}
{{$account->Number}}
{{$account->Website}}
{{$account->AccountName}}
{{$account->Phone}}
@if($account->IsVendor == 1 ) @lang('routes.BUTTON_YES_CAPTION') @else @lang('routes.BUTTON_NO_CAPTION') @endif
{{$account->Fax}}
@if($account->IsCustomer == 1 ) @lang('routes.BUTTON_YES_CAPTION') @else @lang('routes.BUTTON_NO_CAPTION') @endif
{{$account->Employee}}
{{$account->BillingEmail}}
@if($account->Status == 1 ) @lang('routes.BUTTON_ACTIVE_CAPTION') @else @lang('routes.BUTTON_INACTIVE_CAPTION') @endif
{{$account->VatNumber}}
{{(Currency::getCurrency($account->CurrencyId))}}
{{$account->TimeZone}}
@if(isset($account->Description) && $account->Description!='')
{{$account->Description}}
@endif
@lang('routes.CUST_PANEL_PAGE_PROFILE_TAB_BILLING_TITLE')
{{ TaxRate::getTaxRate(AccountBilling::getTaxRate($account->AccountID))}}
@if(isset($AccountBilling->BillingType))
{{AccountApproval::$billing_type[$AccountBilling->BillingType]}}
@endif
{{AccountBilling::getBillingKey($AccountBilling,'BillingTimezone')}}
@lang('routes.CUST_PANEL_PAGE_PROFILE_TAB_ADDRESS_INFORMATION_TITLE')
{{$account->Address1}}
{{$account->City}}
{{$account->Address2}}
{{$account->PostCode}}
{{$account->Address3}}
{{$account->Country}}
@lang('routes.CUST_PANEL_PAGE_PROFILE_TAB_PAYMENT_INFORMATION_TITLE')
{{$account->PaymentMethod}}
{{$account->PaymentDetail}}
@lang('routes.CUST_PANEL_PAGE_PROFILE_TAB_CONTACTS_TITLE')
@if(count($contacts)>0) @foreach($contacts as $contact) @endforeach @endif
@lang('routes.CUST_PANEL_PAGE_PROFILE_TAB_CONTACTS_TBL_CONTACT_NAME') @lang('routes.CUST_PANEL_PAGE_PROFILE_TAB_CONTACTS_TBL_PHONE') @lang('routes.CUST_PANEL_PAGE_PROFILE_TAB_CONTACTS_TBL_EMAIL')
{{$contact->NamePrefix}} {{$contact->FirstName}} {{$contact->LastName}} {{$contact->Phone}} {{$contact->Email}}
@include('includes.submit_note_script',array("controller"=>"accounts")) @stop