@extends('layouts.app')

@section('content')
<div class="max-w-3xl mx-auto bg-white shadow-md rounded p-6">
    <h2 class="text-xl font-bold mb-4">Ship To Address Details</h2>

    <div class="space-y-2">
        <p><strong>Contact Name:</strong> {{ $address->contact_name }}</p>
        <p><strong>Email:</strong> {{ $address->email }}</p>
        <p><strong>Company Name:</strong> {{ $address->company_name }}</p>
        <p><strong>Address 1:</strong> {{ $address->address_1 }}</p>
        <p><strong>Address 2:</strong> {{ $address->address_2 }}</p>
        <p><strong>Address 3:</strong> {{ $address->address_3 }}</p>
        <p><strong>City:</strong> {{ $address->city }}</p>
        <p><strong>Zip/Postal Code:</strong> {{ $address->zip_code }}</p>
        <p><strong>Country:</strong> {{ $address->country }}</p>
        <p><strong>Phone Country Code:</strong> {{ $address->phone_country_code }}</p>
        <p><strong>Phone Number:</strong> {{ $address->phone_number }}</p>
    </div>

    <a href="{{ route('export.ship_to_address.index') }}" class="mt-4 inline-block bg-gray-600 text-white px-4 py-2 rounded hover:bg-gray-700">Back to List</a>
</div>
@endsection
