@extends('pages/page') @section('css') @endsection @section('below_content')

Account details

{{ $customer->name ?? '' }}

{{ $customer->no ?? '' }}

Active {{-- TBC --}}

@if ($user && $user->is_superuser())

£{{ number_format($customer->credit_limit,2) }}

Balance: £{{ number_format($customer->balance,2) }}Available: £{{ number_format($customer->credit_limit - $customer->balance,2) }}

@endif

Access details & Newsletter

@php $alerts = app(Cartalyst\Alerts\Alerts::class)->whereArea('access_details')->get(); @endphp @foreach ($alerts as $alert) @endforeach

{{ Auth::user()->email }}

********

{{ $customer && $customer->receive_marketing_communications ? "YES" : "NO" }}

Contact details

@php $alerts = app(Cartalyst\Alerts\Alerts::class)->whereArea('contact_details')->get(); @endphp @foreach ($alerts as $alert) @endforeach

{{ $customer->contat ?? '' }}

{{ $customer->phone_no ?? '' }}

{{ $customer->fax_no ?? '' }}

{{ $customer->mobile ?? '' }}

{{-- Disabled for now, TecMan can't handle it: --}}

Business address

@php $alerts = app(Cartalyst\Alerts\Alerts::class)->whereArea('address_details')->get(); @endphp @foreach ($alerts as $alert) @endforeach

{{ $customer->name ?? '' }}

{{ $customer->address_1 ?? '' }}

{{ $customer->address_2 ?? '' }}

{{ $customer->city ?? '' }}

{{ $customer->county ?? '' }}

{{ $customer->postcode ?? '' }}

{{-- Also country_code, but not sure how to translate this to a country name; also, do we have any users from outside the UK? --}} {{-- Disabled for now, TecMan can't handle it: --}}

Need to amend your details? Send us an email to get in touch.

@endsection