@extends('pdf.layouts.order-interior') @section('title','Invoice') @section('content') {{-- HEADER --}}
Cusella
Veenalukkal Parappur, po, Kottakkal, Kerala 676503
Contact:094955 92491
INVOICE
{{-- CLIENT INFO --}}
Name: {{ $order->customer_name }} Date: {{ now()->format('d-M-Y') }}
Contact: {{ $order->customer_phone }} Invoice No: {{ $order->order_number }}
{{-- ITEM TABLE --}} @php $i=1; @endphp @foreach($order->items as $item) @php $price = $item->variant ? $item->variant->offer_price : 0; $amount = $price * $item->quantity; @endphp @endforeach
No Item Unit Qty Price Amount
{{ $i++ }} {{ $item->product_name }} Nos {{ $item->quantity }} {{ number_format($price,2) }} {{ number_format($amount,2) }}
{{-- TOTAL --}}
{{ number_format($order->total_amount,2) }} RUPEES ONLY
₹ {{ number_format($order->total_amount,2) }}
Authorized Signature
@endsection