Added a decent amount of functionality on dispatch and orders pages