@extends('master.app') @section('title', 'Create Invoice') @section('pageCSS') {{-- If select2 is NOT in master, uncomment these --}} {{-- --}} @endsection @section('body')
@include('general.valert') @if ($errors->any())
@endif
@csrf {{-- ✅ HEADER --}}

Create Invoice

Single page • Clean • Fast
{{ old('invoice_number', $number) }} Items: 0 Balance: 0
Safe mode (stock required)
Type name / phone / code to search
{{-- ✅ ITEMS --}}
Add Items
Stock qty validated
# Stock Price Qty Total Action
No items yet
{{-- ✅ STATEMENT --}}
Invoice Statement
Discount & Received auto-calc balance
Submit blocked if no items — prevents empty invoices.
@endsection @section('pageJs') {{-- If select2 is NOT in master, uncomment these --}} {{-- --}} @endsection