@extends('layouts.store') @section('title', $order->invoice->invoice_number) @section('content')
Meatworx

Tax invoice

{{ $order->invoice->invoice_number }}
{{ $order->invoice->invoice_date->format('d M Y') }}

Bill to
{{ $order->user->company_name ?: $order->user->name }}
{{ $order->user->billing_address }}
GSTIN {{ $order->user->gst_number ?: '—' }}

Order {{ $order->order_number }} · Delivery {{ $order->delivery_date->format('d M Y') }}

@foreach($order->items as $item) @endforeach
ItemQtyRateAmount
{{ $item->product_name }} {{ $item->quantity }} {{ $item->unit }} ₹{{ number_format($item->rate, 2) }} ₹{{ number_format($item->rate * $item->quantity, 2) }}
Subtotal₹{{ number_format($order->invoice->subtotal, 2) }}
GST₹{{ number_format($order->invoice->tax, 2) }}
Total₹{{ number_format($order->invoice->total, 2) }}
Paid₹{{ number_format($order->invoice->paid(), 2) }}
Due₹{{ number_format($order->invoice->due(), 2) }}
@endsection