{{-- The receipt document: the same content as the PDF and the email. Needs $order and $v (ReceiptView::for). --}}
@php $logoW = \App\Support\Brand::logoWidth(40); @endphp healthcareers.app
Receipt
@foreach ($v['meta'] as $label => $value)
{{ $label }}
$label === 'Receipt number'])>{{ $value }}
@endforeach

From

@foreach (\App\Services\Receipts::SELLER as $line)@if ($loop->first){{ $line }}@else
{{ $line }}@endif @endforeach

Bill to

@foreach ($v['billTo'] as $line)@if ($loop->first){{ $line }}@else
{{ $line }}@endif @endforeach

@foreach ($v['lines'] as $line) @endforeach
DescriptionQtyAmount
{{ $line['name'] }}@if ($line['detail']){{ $line['detail'] }}@endif{{ $line['qty'] }}{{ \App\Services\Receipts::money($line['cents']) }}
@foreach ($v['sums'] as $label => $cents) $loop->last])>{{ $label }} $loop->last])>{{ \App\Services\Receipts::money($cents) }} @endforeach
{{ $v['paidLine'] }}
@if ($v['refunds'])

Refunds

@foreach ($v['refunds'] as $r)
{{ $r['no'] }}{{ $r['at']->timezone('America/New_York')->format('M j, Y') }}−{{ \App\Services\Receipts::money($r['cents']) }}
@endforeach
Net paid{{ \App\Services\Receipts::money($v['net']) }}
@endif
{{ $v['footer'] }}@if ($order->chargedCents() > 0) The charge shows on your card statement as CLEARED* HEALTHCAREERS.@endif