Letterhead
Plot Order Invoice
Customer Info:
@if($order->customer->type == 'individual') Name : {{$order->customer->first_name . " " . $order->customer->last_name}},
Phone : {{$order->customer->phone_number .", ". $order->customer->phone_number2}},
Address : {{$order->address}}
@else Name : {{$order->customer->rep_name . "-". $order->customer->rep_role }}({{$order->customer->corporate_name}}),
Phone : {{$order->customer->rep_phone .", ". $order->customer->phone_number}},
Address : {{$order->address}}
@endif
Invoice Info:
Invoice ID: {{ $order->order_code }}
Date: {{ \Carbon\Carbon::parse($order->created_at)->format('d M Y') }}
Status: {{ ucfirst($order->status) }}
Items/Plots:
@foreach($items as $i => $item) @endforeach
S/N Plot Size Quantity Price
{{ $i + 1 }} {{$item->plot->number ."(".$item->plot->area->title.")" }} {{$item->plot->size}} 1 ₦ {{number_format($item->price)}}
Sales Summary:
@if($order->payment_plan == 'Installment') @endif
Subtotal: ₦{{ number_format($order->amount ?? 0) }} Discount: ₦ {{ number_format($order->discount ?? 0) }}
Total: {{ $order->total }} Payment Plan: {{ $order->payment_plan }}
Tenure: ₦ {{ number_format($order->installment_amount) }} / {{ number_format($order->tenure) }} month(s) First Deposit ₦ {{ number_format($order->deposit_amount) }}
Total Paid: ₦{{ number_format($order->total - $order->balance) }} Balance: ₦{{ number_format($order->balance) }}
@if(!empty($order->payments) && $order->payments->isNotEmpty()) Payments:
@php($count = 1) @foreach($order->payments as $payment) @php($count++) @endforeach
S/N Reference Amount Channel Status Date
{{$count ++}} {{$payment->reference}} ₦ {{number_format($payment->amount)}} {{$payment->method}} {{$payment->status}} {{$payment->created_at}}
@endif