@extends("front.layout.master") @php $sellerac = App\Store::where('user_id','=', $user->id)->first(); @endphp @section('title',__('staticwords.ManageAddress').' | ') @section("body")
@include('user.sidebar')
{{ __('staticwords.ManageAddress') }}

@if(count($user->addresses)>0)
@foreach($user->addresses as $address) @php $c = App\Allcountry::where('id',$address->country_id)->first()->nicename; $s = App\Allstate::where('id',$address->state_id)->first()->name; $ci = App\Allcity::where('id',$address->city_id)->first() ? App\Allcity::where('id',$address->city_id)->first()->name : ''; @endphp
{{$address->name}}, {{ $address->phone }}
@if($address->defaddress == 1)
{{ __('Default') }}
@endif

{{ strip_tags($address->address) }}, {{ $ci }}, {{ $s }}, {{ $c }}@if (isset($address->pin_code)), ({{ $address->pin_code }}) @endif