Merge pull request #747 from anandpdoshi/anand-august-5

Fixes for print
[validate] for a submittable document, validate if it is linked to a cancelled document

Thanks to @adityaduggal for reporting this