@extends('layouts.admin')

@section('content')
<div class="container">
    <h1>{{ __('Delivery Details') }}</h1>
    <div class="mb-3">
        <label class="form-label">{{ __('ID') }}:</label>
        <div>{{ $delivery->id }}</div>
    </div>
    <div class="mb-3">
        <label class="form-label">{{ __('Provider ID') }}:</label>
        <div>{{ $delivery->provider_id }}</div>
    </div>
    <div class="mb-3">
        <label class="form-label">{{ __('Slot ID') }}:</label>
        <div>{{ $delivery->slot_id }}</div>
    </div>
    <div class="mb-3">
        <label class="form-label">{{ __('Status') }}:</label>
        <div>{{ $delivery->status }}</div>
    </div>
    <div class="mb-3">
        <label class="form-label">{{ __('Tracking Code') }}:</label>
        <div>{{ $delivery->tracking_code }}</div>
    </div>
    <div class="mb-3">
        <label class="form-label">{{ __('Created At') }}:</label>
        <div>{{ $delivery->created_at }}</div>
    </div>
    <a href="{{ route('admin.deliveries.edit', $delivery) }}" class="btn btn-warning">{{ __('Edit') }}</a>
    <a href="{{ route('admin.deliveries.index') }}" class="btn btn-secondary">{{ __('Back to List') }}</a>
</div>
@endsection
