Fixed draft vendor invoice deletion when the related stock batch was already consumed.
Updated stock batch handling to move consumed quantities to later batches and clear the deleted invoice batch while maintaining P&L records.
Added validation to prevent invoice deletion when purchase returns are associated with the batch.
Added Qty Remain and Batch Status details under Product Details → Purchase Information.
Pushed the changes to main and ported the same changes to the subscription branch, including cleanup of the merge/cherry-pick state.
Aligned Create Product shipping/packing fields with Warehouse Orders and made packing dimensions view-only.
Updated ecommerce FedEx rate calculation to use product billable weight, dimensions, warehouse origin, and customer destination.
Fixed warehouse stock mapping so products selected with a ship-from warehouse are automatically linked to that warehouse.
Updated Stock Mapping to display products linked through the ship-from warehouse, including products with zero current stock.
Added warehouse pack-order email notifications with order details, packaging notes, and Warehouse Orders link; warehouse contact email or assigned users are used as recipients.