Added functions for shipment history table