-
Notifications
You must be signed in to change notification settings - Fork 2
Trade of devices #75
Description
The trade of documents is implemented here #76
1) Add supplier to temporary lot & convert to incoming
On backend, this should convert the temporary lot to an incoming lot and create an associated trade for all devices of that lot
@cayop what's the API endpoint to add a supplier to an temporary lot and change a temporary lot to an incoming lot?
2) Add receiver to temporary lot & convert to outgoing
On backend, this should converts the temporary lot to an outgoing lot and create an associated trade for all devices of that lot
@cayop what's the API endpoint to add a receiver to an temporary lot and change a temporary lot to an outgoing lot?
3) Add device to incoming lot & add to trade
On backend, devices get added to the trade of the lot automatically
The device added to the trade is only confirmed by the user having added the device.
4) Add device to outgoing lot & add to trade
On backend, devices get added to the trade of the lot automatically
The device added to the trade is only confirmed by the user having added the device.
5) Action Trade for devices
On backend, this creates an outgoing lot and an associated trade with the selected devices
5) Action confirmtrade for devices
When the 2nd user confirms the trade, the ownership (control in DH) is changed automatically
6) Action revoke for devices
7) Action confirmrevoke for devices
When the 2nd user confirms the trade, the ownership (control in DH) is changed automatically
8) Show status confirmed / non-confirmed for trade and revoke for devices