mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 05:11:27 +00:00 
			
		
		
		
	Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
		
						commit
						cb808e0e66
					
				|  | @ -466,7 +466,6 @@ console.log(params); | |||
| 			echo $arrs; | ||||
| 		} | ||||
| 
 | ||||
| 		$this->contentContainerEnd(); | ||||
| 		if($workflowmode == 'advanced') { | ||||
| 			$mandatoryworkflows = $user->getMandatoryWorkflows(); | ||||
| 			if($mandatoryworkflows) { | ||||
|  | @ -514,6 +513,7 @@ console.log(params); | |||
| 			$this->warningMsg(getMLText("add_doc_workflow_warning")); | ||||
| 		} elseif($workflowmode == 'traditional' || $workflowmode == 'traditional_only_approval') { | ||||
| 			if($workflowmode == 'traditional') { | ||||
| 				$this->contentContainerEnd(); | ||||
| 				$this->contentSubHeading(getMLText("assign_reviewers")); | ||||
| 				$this->contentContainerStart(); | ||||
| 
 | ||||
|  | @ -754,6 +754,8 @@ console.log(params); | |||
| 				} | ||||
| 			$this->contentContainerEnd(); | ||||
| 			$this->warningMsg(getMLText("add_doc_reviewer_approver_warning")); | ||||
| 		} else { | ||||
| 			$this->contentContainerEnd(); | ||||
| 		} | ||||
| 
 | ||||
| 		if($enablereceiptworkflow) { | ||||
|  |  | |||
|  | @ -338,11 +338,14 @@ console.log(element); | |||
| 					) | ||||
| 				); | ||||
| 			} | ||||
| 			$this->contentContainerEnd(); | ||||
| 			if($settings->_initialDocumentStatus == S_RELEASED) | ||||
| 				$this->warningMsg(getMLText("add_doc_workflow_warning")); | ||||
| 		} elseif($workflowmode == 'traditional' || $workflowmode == 'traditional_only_approval') { | ||||
| 			if($workflowmode == 'traditional') { | ||||
| 				$this->contentContainerEnd(); | ||||
| 				$this->contentSubHeading(getMLText("assign_reviewers")); | ||||
| 				$this->contentContainerStart(); | ||||
| 				$res=$user->getMandatoryReviewers(); | ||||
| 				$options = array(); | ||||
| 				foreach ($docAccess["users"] as $usr) { | ||||
|  | @ -508,9 +511,11 @@ console.log(element); | |||
| 						} | ||||
| 					} | ||||
| 				} | ||||
| 				$this->contentContainerEnd(); | ||||
| 			} | ||||
| 
 | ||||
| 			$this->contentSubHeading(getMLText("assign_approvers")); | ||||
| 			$this->contentContainerStart(); | ||||
| 			$options = array(); | ||||
| 			$res=$user->getMandatoryApprovers(); | ||||
| 			foreach ($docAccess["users"] as $usr) { | ||||
|  | @ -676,7 +681,10 @@ console.log(element); | |||
| 						} | ||||
| 					} | ||||
| 				} | ||||
| 			$this->contentContainerEnd(); | ||||
| 			$this->warningMsg(getMLText("add_doc_reviewer_approver_warning")); | ||||
| 		} else { | ||||
| 			$this->contentContainerEnd(); | ||||
| 		} | ||||
| 		if($enablereceiptworkflow) { | ||||
| 			$options = array(); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann