@extends('layouts.app', ['title' => 'Orders']) @section('content')

Orders

Every purchase started from a checkout page, an invoice or an event ticket.

@if ($orders->isEmpty())
No orders yet.
@else
@foreach ($orders as $o) @endforeach
DateCustomerForTotalStatusGateway
{{ $o->created_at->timezone($currentAccount->timezone)->format('d M Y, h:i A') }} @if ($o->contact){{ $o->contact->full_name }}@else — @endif {{ $o->description }}@if ($o->answers)
@foreach ($o->answers as $q => $a){{ $q }}: {{ $a }}@if (! $loop->last) · @endif @endforeach
@endif
{{ money_full($o->total, $o->currency) }} {{ $o->status === 'pending' ? 'Awaiting payment' : ucfirst($o->status) }} {{ $o->gateway ? ucfirst($o->gateway) : '—' }}
{{ $orders->links() }}
@endif
@endsection