Undo icon not used for draft button on cancelled purchase request quotations
The wrong state is used in the check to work out whether the undo icon should be used for the draft button for purchase request quotations. The cancelled state for purchase request quotations is 'cancelled', but the undo icon is only used for quotations in the 'cancel' state.