@extends('layouts.master') @section('title') Edit Customer @endsection @section('css') @endsection @section('content') @if (session('success')) @endif @if (session('error')) @endif
{{ $customer['AcCustomerName'] }} {{ $customer['AcCustomerID'] }}

{{ $customer['AcCustomerName'] }}
{{ $customer['AcCustomerID'] }} {{ $customer['IsActive'] == 'Y' ? 'Active' : 'Inactive' }}
{{ $customer['AcCusGroupID'] }}
Gender
{{ $customer['Gender'] ?? '-' }}
Mobile
{{ $customer['MobileNo'] ?? '-' }}
DOB
{{ $customer['DateOfBirth'] ? \Carbon\Carbon::parse($customer['DateOfBirth'])->format('d M Y') : '-' }}
Email
{{ $customer['BillingEmail'] ?? '-' }}
Membership Info
Tier, points & vouchers

{{ $shipping_address['Attention'] }}
Billing Contact

Contact
{{ $shipping_address['Tel1'] }} @if($shipping_address['Tel2']) , {{ $shipping_address['Tel2'] }} @endif
Address
{{ $shipping_address['Address1'] }}, {{ $shipping_address['Address2'] }}, {{ $shipping_address['PostCode'] }} {{ $shipping_address['City'] }}, {{ $shipping_address['State'] }}

@foreach($shipping_address_list as $index => $ship)
{{ $ship['Attention'] }}
Shipping Address {{ $index + 1 }}

Contact
{{ $ship['Tel1'] }}, @if(!empty($ship['Tel2'])) {{ $ship['Tel2'] }} @endif
Email
@if(!empty($ship['Email'])) {{ $ship['Email'] }} @endif
Address
{{ $ship['Address1'] }}, @if(!empty($ship['Address2'])) {{ $ship['Address2'] }} @endif, {{ $ship['PostCode'] }} {{ $ship['City'] }} {{ $ship['State'] }}
@endforeach

{{-- MODALS --}} @endsection @section('script') @endsection