@extends('admin.layouts.app') @section('title', 'Team') @section('content')

Account View view and manage an account in detail, you will get a 360 degree view on the account with rating, communication, team, tasks and overall opportunities linked..

@if(!empty($accounts->thumbnail) && file_exists('uploads/accounts/thumbnail/'.$accounts->thumbnail)) @else
@endif
@php($class_rating = 'yellow_btn') @if ($accounts->account_rating == 1) @php($class_rating = 'd_green_btn') @elseif ($accounts->account_rating == 2) @php($class_rating = 'green_btn') @elseif ($accounts->account_rating == 3) @php($class_rating = 'yellow_btn') @elseif ($accounts->account_rating == 4) @php($class_rating = 'red_btn') @endif @if(!empty($accounts->account_rating)) @foreach ($customer_rating as $key => $status ) @if($accounts->account_rating == $key) {{ $status }} @endif @endforeach @else UNDEFINED @endif
{{ number_format($total_budget,$business->amt_decimal) }} {{ count($ongoing_opportunities) }} Project ongoing
{{ count($won_opportunities) }} Project won
{{ count($lost_opportunities) }} Project lost

{{ $accounts->account_name}}

@if(!empty($contacts[0])) {{$contacts[0]->contact_title .' '.$contacts[0]->contact_first_name .' '.$contacts[0]->contact_last_name}}, @endif {{(empty($cities->name) || is_null($cities->name))?"-":$cities->name}},{{(empty($countries->code) || is_null($countries->code))?"-":$countries->code}}
Account Options
Account owner
Account Since
{{(empty($accounts->customer_since) || is_null($accounts->customer_since))? trans('general.undefined') :date("d M,Y", strtotime($accounts->customer_since))}}
Contact owner
{{ !empty($contact_owner) ? $contact_owner->title .' '.$contact_owner->firstname.' '.$contact_owner->lastname : trans('general.undefined') }}
Email
Country
{{(empty($countries->name) || is_null($countries->name))? trans('general.undefined') :$countries->name}}
Telephone
{{(empty($accounts->phone) || is_null($accounts->phone))? trans('general.undefined') :$accounts->phone}}
State
Mobile
{{(empty($accounts->mobile) || is_null($accounts->mobile))? trans('general.undefined') :$accounts->mobile}}
City
Zipcode
Address
@include('admin.bottom.messages')
@include('admin.bottom.opportunity')
@include('admin.bottom.files')
@include('admin.bottom.notes')
@include('admin.bottom.logs')
Related contacts
@include('admin.common-modals.sweet-alert'); @include('admin.common-modals.upload-image'); @include('admin.common-modals.note'); @include('admin.common-modals.upload-file'); @include('admin.common-modals.newmessage'); @include('admin.common-modals.mail-view'); @include('admin.bottom.file_viewer'); @stop @section('styles') @stop @section('admin_js') @include('admin.account.js.view') @include('admin.common-js.common') @stop