@extends('layouts.app') @section('title','Create Invoice • JAN Enterprises ERP') @section('page_title','Generate Invoice') @section('page_subtitle',$order->order_no.' • '.$order->company->name) @section('content')

Invoice Details

Invoice lines are copied from the order
@csrf
Tax settings are configurable. Confirm your GST rate and tax treatment with your accountant before issuing a statutory invoice.
Cancel

Order Summary

{{ $order->order_no }}
Company{{ $order->company->name }}
GSTIN{{ $order->company->gstin ?: 'Not added' }}
Order Date{{ $order->order_date->format('d M Y') }}
Taxable Value₹{{ number_format($order->items->sum('final_amount'),0) }}

Invoice Items

Snapshot will be saved when invoice is generated
@foreach($order->items as $item)@endforeach
DescriptionHSNQtyRateAmount
{{ $item->asset->name }} Laptop{{ $item->asset->hsn ?: '—' }}{{ $item->quantity }}₹{{ number_format((float)$item->sell_price_per_unit,2) }}₹{{ number_format((float)$item->final_amount,2) }}
@endsection