@extends('frontend.layouts.app') @section('title', t('frontend.order.lookup_title')) @section('content')

{{ t('frontend.order.lookup_title') }}

{{-- Search Form --}}
@csrf
@error('phone')

{{ $message }}

@enderror
{{-- Results --}} @isset($orders) @if($orders->isEmpty())
{{ t('frontend.order.no_orders_found') }}
@else
@foreach($orders as $order)
#{{ $order->order_number }} {{ $order->status?->translations->where('locale_code', app()->getLocale())->first()?->label ?? $order->status?->status_key }}
{{ $order->created_at->format('d.m.Y') }}
@endforeach
@endif @endisset
@endsection