mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-07 10:51:17 +00:00
[UI] Edit shipment details (#10944)
- Pass "pending" status through to the form
This commit is contained in:
1 parent
c8b1bfb716
commit
3e35f439c0
1 file changed
+2
-1
@@ -67,7 +67,8 @@ export default function SalesOrderShipmentTable({
|
|||||||
});
|
});
|
||||||
|
|
||||||
const editShipmentFields = useSalesOrderShipmentFields({
|
const editShipmentFields = useSalesOrderShipmentFields({
|
||||||
customerId: customerId
|
customerId: customerId,
|
||||||
|
pending: !selectedShipment.shipment_date
|
||||||
});
|
});
|
||||||
|
|
||||||
const completeShipmentFields = useSalesOrderShipmentCompleteFields({});
|
const completeShipmentFields = useSalesOrderShipmentCompleteFields({});
|
||||||
|
|||||||
Reference in new issue
Block a user