@extends('layouts.admin') @section('title', $inv->invoice_number) @section('content') @php $m = $shop->money; $o = $inv->order; $a = $inv->address; @endphp
← {{ __('Invoices') }}{{ __('Print') }}

EVEROP

{{ __('Invoice') }} {{ $inv->invoice_number }}
{{ __('Date') }}: {{ $inv->issued_at }}
{{ __('Order') }}: {{ $o->order_number }}

@if ($a)
{{ $a->recipient_name }}
{{ $a->phone }}
{{ $a->address_line1 }}@if ($a->address_line2), {{ $a->address_line2 }}@endif
{{ collect([$a->district, $a->province])->filter()->implode(', ') }}
@endif
@foreach ($inv->items as $i)@endforeach
{{ __('Item') }}{{ __('Price') }}{{ __('Qty') }}{{ __('Total') }}
{{ $i->product_name }}{{ $i->sku }} · {{ $i->color_label }} {{ $i->size_label }}{{ $m->format((float) $i->unit_price) }}{{ $i->quantity }}{{ $m->format((float) $i->line_total) }}
{{ __('Subtotal') }}
{{ $m->format((float) $o->subtotal) }}
@if ((float) $o->discount_total > 0)
{{ __('Discount') }}
−{{ $m->format((float) $o->discount_total) }}
@endif
{{ __('Delivery') }}
{{ $m->format((float) $o->shipping_fee) }}
{{ __('Total') }}
{{ $m->format((float) $o->grand_total) }}

{{ __('Payment') }}: {{ $inv->method ? __($inv->method) : '—' }} · {{ __(ucfirst($o->payment_status)) }}

@endsection