Full line-item edit on sales, purchases and invoices
Operators can now correct line items in-place on draft orders and invoices, instead of having to delete-and-recreate. Server-side guards keep finalised orders untouchable.
- NewInline line-item edit on /sales/[id] and /purchases/[id] - Pencil per row swaps inputs in-place, totals recompute on save
- New/invoicing/[id] line items now editable when the invoice is still DRAFT (description, qty, unit price, discount %)
- NewDetail pages reachable by clicking any row on the list pages
- ImprovedPATCH /sales/:id and PATCH /purchases/:id now accept line_items + recompute subtotal/total server-side
- ImprovedSales/purchases header edit (dates, shipping, notes, customer PO #) lives directly on the detail page
