[IMP]Sale:In contract add stat button for total invoiced and due invoice amount and if an invoice is due, the contract should become pending,in the task/issues, show the alert.