contractsDetailNewCheck: "contractsDetailNewCheck" = 'contractsDetailNewCheck'

Method name for PRE contractsDetailNewCheckPre and POST contractsDetailNewCheck

This method is triggered after pressing the New Contract button at /#/pm/contracts, but before the contract is created. If this method return false a contract will not be created and user will stay at contracts list. In this method you don't have access to contractAPI, but you can use other api for checking conditions from CRMs.

export const contractsDetailNewCheck = async ({ api }) => {
// TODO: Add your code
return;
}