{{-- * LaraClassifier - Classified Ads Web Application * Copyright (c) BeDigit. All Rights Reserved * * Website: https://laraclassifier.com * * LICENSE * ------- * This software is furnished under a license and may be used and copied * only in accordance with the terms of such license and with the inclusion * of the above copyright notice. If you Purchased from CodeCanyon, * Please read the full License from here - http://codecanyon.net/licenses/standard --}} @extends('layouts.master') @php $address ??= null; $hasDefault ??= false; @endphp @section('content') @includeFirst([config('larapen.core.customizedViewPath') . 'common.spacer', 'common.spacer'])
@includeFirst([ config('larapen.core.customizedViewPath') . 'account.inc.sidebar', 'account.inc.sidebar', ])
@include('flash::message') @if (isset($errors) && $errors->any())
{{ t('oops_an_error_has_occurred') }}
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
{{-- Create Or Edit Address --}}

{{ $address ? 'Edit Address' : 'Create Address' }}

{{ 'All Addresses' }}
@php $createOrEditURL = $address ? $address->id . '/edit' : 'create'; @endphp
{!! csrf_field() !!} {{-- user_id --}} {{-- country --}} {{-- company --}}
{{-- address1 --}}
{{-- address2 --}}
{{-- city --}}
{{-- county --}}
{{-- state --}}
{{-- zip --}}
{{-- default --}}
default ?? 0) == 1 || !$hasDefault) @disabled(($address->default ?? 0) == 1 || !$hasDefault)>
{{-- button --}}
@endsection