Is there a way to hide all options to email a tran...
# general
l
Is there a way to hide all options to email a transaction until it's approved? I was able to hide the Email button itself at the top right. I found a way to hide the Email button under the Communications subtab. But I can't figure out how to remove the Email option when the Create New icon is clicked (beside Actions).
j
We solved with a status criteria in the advanced pdf template, resulting in an error when you print an unapproved PO.
l
Does that apply to emailing? If you don't mind, how do you throw an error in the pdf if it's unapproved?
j
Yes, the email falils to be sent if the template has error in it. I have this in the beginning: <body header="nlheader" header-height="6%" footer="nlfooter" footer-height="75pt" padding="0.5in 0.5in 0.5in 0.5in" size="A4"> <#if record.orderstatus = "A" || record.orderstatus = "C" > </body> </pdf> #else And these are my last three lines: </#if> </body> </pdf>
l
Nice. Thank you. I'll try that.