@extends('layouts.public') @section('title', 'Your quotes — MuveOne') @section('content')

Welcome back{{ auth()->user()->name ? ', ' . auth()->user()->name : '' }}

@if (session('quote_success'))
{{ session('quote_success') }}
@endif @if ($orders->isNotEmpty())

Your orders

@foreach ($orders as $order) @endforeach
ReferenceRouteStatusInvoices
{{ $order->order_id }} {{ $order->from_address }} → {{ $order->to_address }} {{ $order->order_state->label() }} @if ($order->order_state->value === 'deposit_pending')
@csrf
@elseif ($order->order_state->value === 'balance_pending')
@csrf
@endif
@foreach ($order->invoices as $invoice) @if ($invoice->pdf_path) {{ $invoice->invoice_no }} @endif @endforeach
@endif @if ($quotes->isEmpty())

You don't have any quotes yet.

@else

Your recent quotes

@foreach ($quotes as $quote) @endforeach
ReferenceRouteStatusFrom
{{ $quote->quote_id }} {{ $quote->from_address }} → {{ $quote->to_address }} {{ $quote->status->label() }} £{{ number_format((float) $quote->sizes->min('price')) }} @if ($quote->status->value === 'active') Book now @elseif ($quote->status->value === 'expired')
@csrf
@endif
@endif
@endsection