@extends('layouts.syndron.app')
@section('content')

<div class="card">
    <div class="card-body">
        <x-syndron.ui.table :columns="['ID','User ID','Order ID','Address','Actions']">
            @foreach($addresses as $address)
            <tr>
                <td>{{ $address->id }}</td>
                <td>{{ $address->user_id }}</td>
                <td>{{ $address->order_id }}</td>
                <td>{{ $address->address }}</td>
                <td>
                    <a href="{{ route('admin.order-delivery-addresses.show', $address) }}" class="btn btn-info btn-sm">{{ __('View') }}</a>
                </td>
            </tr>
            @endforeach
        </x-syndron.ui.table>
    </div>
</div>
@endsection
