Currently, configuration requires that we have a client script set up for each doctype that has a Document Approval Rule. We should default this by checking if any rules exist for the current DocType and then having the approval view conditionally render.
Currently, configuration requires that we have a client script set up for each doctype that has a Document Approval Rule. We should default this by checking if any rules exist for the current DocType and then having the approval view conditionally render.