[UI] Edit shipment details (#10944)

- Pass "pending" status through to the form
This commit is contained in:
Oliver 2025-12-03 17:28:13 +11:00 committed by GitHub
parent c8b1bfb716
commit 3e35f439c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -67,7 +67,8 @@ export default function SalesOrderShipmentTable({
});
const editShipmentFields = useSalesOrderShipmentFields({
customerId: customerId
customerId: customerId,
pending: !selectedShipment.shipment_date
});
const completeShipmentFields = useSalesOrderShipmentCompleteFields({});