Changed display rules for pending page, updated logic in sidecar and pending order controller