Bug 179

Summary: Server Error When Creating Invoice Without Products
Product: Smartwas Reporter: Raghul (Raghul)
Component: SalesAssignee: Raghul (Raghul)
Status: OPEN ---    
Severity: High    
Priority: High    
Version: unspecified   
Hardware: PC   
OS: Windows   
Associated Test Case ID: Triaged By: ---
Root Cause Analysis (RCA):
Resolution Summary / Fix Details:
Impact Area:

Description Raghul (Raghul) 2026-06-02 07:34:03 UTC
Location: Sales → Customer Enquiry Cycle Page →Sales Estimation Go to SE  Offer List Sales order Invoice Details

When all products are removed and the user tries to create an invoice without any products, the system throws validation message like "Undefined array key 0 (View: /home/smartwas.com/smartppt.smartwas.com/resources/views/sales_order/PDF/sales_order_invoice.blade.php) "