@extends('admin.layout', ['menuKey' => 'orders']) @section('title', 'Orders') @section('content')
| # | When | What | Amount | Status | |
|---|---|---|---|---|---|
| {{ $o->id }}@if ($o->receipt_no) {{ $o->receipt_no }}@endif |
{{ $o->created_at->format('M j, g:i A') }} | {{ $o->email }} | {{ $o->items->pluck('name')->implode(', ') }}@if ($o->posting) #{{ $o->posting_id }} {{ $o->posting->title }}@endif |
{{ $o->dollars($o->chargedCents()) }}@if ($o->credit_cents) +{{ $o->dollars((int) $o->credit_cents) }} credit@endif @if ($o->refunded_cents) −{{ $o->dollars($o->refunded_cents) }}@endif |
$o->status === 'paid', 'wait' => in_array($o->status, ['pending', 'disputed'], true), 'off' => ! in_array($o->status, ['paid', 'pending', 'disputed'], true)])>{{ str_replace('_', ' ', $o->status) }}@if ($o->env !== config('healthcareers.env_tag')) {{ $o->env }}@endif |
| No orders yet. | |||||