felicity-lims/felicity/apps/shipment/conf.py

27 lines
959 B
Python
Raw Normal View History

2023-05-17 16:54:05 +08:00
"""Shipment Configs
This file is part of Felicity LIMS Software
"""
class ShipmentStates(object):
"""Shipment Workflow States
empty -> preperation -> ready -> shipped
Other:
rejected, recalled, received
"""
2023-09-11 13:02:05 +08:00
DUE = "due" # shipment recived from external labs
2023-06-24 18:28:27 +08:00
RECEIVING = "receiving"
2023-05-17 16:54:05 +08:00
EMPTY = "empty" # shipment without samples
PREPERATION = "preperation" # shipment containing at least a single sample
2023-09-11 13:02:05 +08:00
READY = "ready" # shipment finalised
AWAITING = "awaiting" # shipment queued for dispatch
FAILED = "failed" # shipment queued for dispatch, has at least a one dispatch trial
SHIPPED = "shipped" # shipment that was successfully send and acknowledged in the other system
2023-05-17 16:54:05 +08:00
REJECTED = "rejected" # shipment rejected by the receiving lab
RECEIVED = "received" # shipment receved by the receiving lab
CANCELLED = "cancelled" #
2023-05-17 16:54:05 +08:00
shipment_states = ShipmentStates()