@extends('layouts.core.frontend', [ 'menu' => 'billing', ]) @section('title', trans('messages.contact_information')) @section('head') @endsection @section('page_header')

{{ $customer->displayName() }}

@endsection @section('content') @include("account._menu", [ 'menu' => 'billing', ])

{{ trans('messages.billing_information') }}

@if (!$customer->getDefaultBillingAddress())

{{ trans('messages.has_no_billing_address') }}

{{ trans('messages.add_billing_address') }}
@else @php $billingAddress = $customer->getDefaultBillingAddress(); @endphp
@if (get_localization_config('show_last_name_first', Auth::user()->customer->getLanguageCode()))

{{ $billingAddress->last_name }} {{ $billingAddress->first_name }}

@else

{{ $billingAddress->first_name }} {{ $billingAddress->last_name }}

@endif
{{ $billingAddress->email }}
{{ $billingAddress->phone }}
{{ $billingAddress->address }}
{{ $billingAddress->country->name }}
{{ trans('messages.edit_billing_address') }}
@endif

{{ trans('messages.payment_method') }}

@include('account._payment_info', [ 'redirect' => action('AccountController@billing'), ])
@endsection