@php $setting = \App\Models\SystemSetting::first(); $subtotal = $order->items->sum(fn($i) => $i->price * $i->qty); @endphp
{{ $setting->company_name ?? 'ANIN LORÉ' }}
Luxury Fashion Atelier

Invoice To:
{{ $order->customer_name ?? '-' }}
{{ $order->email ?? '-' }}
{{ $order->phone ?? '-' }}
{{ $order->address ?? '-' }}
Invoice No: {{ $order->order_number }}
Date: {{ optional($order->created_at)->format('d M Y') }}
Status: {{ ucfirst($order->status ?? '-') }}
@foreach($order->items as $item) @endforeach
Product Qty Size Price Subtotal
{{ $item->product->name ?? '-' }} {{ $item->qty }} {{ $item->size ?? '-' }} Rp {{ number_format($item->price,0,',','.') }} Rp {{ number_format($item->price * $item->qty,0,',','.') }}
@if($order->discount_amount > 0) @endif
Subtotal Rp {{ number_format($subtotal,0,',','.') }}
Early Bird Discount - Rp {{ number_format($order->discount_amount,0,',','.') }}
Total Payment Rp {{ number_format($order->total_amount,0,',','.') }}
@if($setting && ($setting->bank_name || $setting->bank_account_name || $setting->bank_account_number))
Payment Information

Please complete your payment via bank transfer:

@if($setting->bank_name) Bank: {{ $setting->bank_name }}
@endif @if($setting->bank_account_name) Account Name: {{ $setting->bank_account_name }}
@endif @if($setting->bank_account_number) Account Number: {{ $setting->bank_account_number }}
@endif
Send proof of payment to:
{{ $setting->email ?? 'payment@aninlore.com' }}
@endif