@extends('layouts.finance.finance') @section('content')

Create New Invoice

Generate and email an invoice for steel supply/tasks.

{{-- ERROR NOTIFICATION BOX --}} @if ($errors->any())

Please fix the following errors:

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if (session('error'))
{{ session('error') }}
@endif
@csrf

1. Project & Client Details

{{-- Project Dropdown --}}
{{-- Invoice Type (Proforma or Tax) --}}
{{-- Client Details --}}
{{-- Order Items Table (Hidden by default, populated via AJAX) --}} {{-- NEW: Added flex box to align heading and manual button --}}

2. Invoice Details (Selected Items)

{{-- Dynamic Container for Appended Items --}}
Description Qty (MT) Rate (₹) GST (%) Action
No items selected yet. Click "Use for Invoice" above or "+ Add Manual Item".
Cancel
{{-- JavaScript for AJAX Auto-fill and Dynamic Invoice Rows --}} @endsection