INVOICE

{{ $info->site_name ?? 'Fast2Buys' }}

{{ $info->address ?? 'Bangladesh' }}

Phone: {{ $info->owner_phone ?? '' }}

Email: {{ $info->owner_email ?? '' }}

Billed To:

{{ trim(($item->first_name ?? '') . ' ' . ($item->last_name ?? '')) }}

{{ $item->shipping_address }}

Mobile: {{ $item->mobile }}

Invoice No: #{{ $item->invoice_no }}
Order Date: {{ date('d M, Y', strtotime($item->date)) }}
Status: {{ $item->status }}
@php $total = 0; @endphp @foreach($item->details as $key => $detail) @php $row_total = $detail->unit_price * $detail->quantity; $total += $row_total; @endphp @endforeach
SL. Item Description Qty Price Total
{{ $key + 1 }} {{ $detail->product->name ?? 'Unknown Product' }} @if(isset($detail->variation)) @if(isset($detail->variation->color) && $detail->variation->color->name != 'Default') Color: {{ $detail->variation->color->name }} @endif @if(isset($detail->variation->size) && $detail->variation->size->title != 'free') | Size: {{ $detail->variation->size->title }} @endif @endif {{ $detail->quantity }} {{ number_format($detail->unit_price, 2) }}{{ number_format($row_total, 2) }}
@if($item->discount > 0) @endif @php $delivery_amt = $item->shipping_charge ?? 0; $grand_total = $total - $item->discount + $delivery_amt; @endphp
Subtotal: {{ number_format($total, 2) }}
Delivery Charge: {{ number_format($item->shipping_charge ?? 0, 2) }}
Discount: - {{ number_format($item->discount, 2) }}
Grand Total:{{ number_format($grand_total, 2) }} TK