[UI] Edit shipment details (#10944)
- Pass "pending" status through to the form
This commit is contained in:
parent
c8b1bfb716
commit
3e35f439c0
|
|
@ -67,7 +67,8 @@ export default function SalesOrderShipmentTable({
|
|||
});
|
||||
|
||||
const editShipmentFields = useSalesOrderShipmentFields({
|
||||
customerId: customerId
|
||||
customerId: customerId,
|
||||
pending: !selectedShipment.shipment_date
|
||||
});
|
||||
|
||||
const completeShipmentFields = useSalesOrderShipmentCompleteFields({});
|
||||
|
|
|
|||
Loading…
Reference in New Issue