| 
					
				 | 
			
			
				@@ -292,7 +292,7 @@ class Agreement 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     	$base = Dever::db('setting/base')->find();
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (isset($info['sdate'])) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (isset($info['sdate']) && $info['sdate']) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         	$qdate = date('Y年m月d日', $info['qdate']);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } else {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         	$qdate = date('Y年m月d日');
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -366,7 +366,7 @@ class Agreement 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $oagreement = Dever::db('setting/agreement')->find(1);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $oname = $this->name($oagreement, $info, $role);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (isset($info['sdate'])) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (isset($info['sdate']) && $info['sdate']) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $sdate = date('Y年m月d日', $info['sdate']);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $edate = date('Y年m月d日', $info['edate']);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $qdate = date('Y年m月d日', $info['qdate']);
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -420,7 +420,7 @@ class Agreement 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $area = Dever::load("area/api.string", $info['area'], '-');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (isset($info['sdate'])) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (isset($info['sdate']) && $info['sdate']) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         	$sdate = date('Y年m月d日', $info['sdate']);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         	$edate = date('Y年m月d日', $info['edate']);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         	$qdate = date('Y年m月d日', $info['qdate']);
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -677,7 +677,7 @@ class Agreement 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $area = '【' . Dever::load("area/api.string", $info['area'], '') . '】';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (isset($info['sdate'])) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (isset($info['sdate']) && $info['sdate']) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $sdate = date('Y年m月d日', $info['sdate']);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $edate = date('Y年m月d日', $info['edate']);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $qdate = date('Y年m月d日', $info['qdate']);
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -849,7 +849,7 @@ class Agreement 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $area = '【' . Dever::load("area/api.string", $info['area'], '') . '】';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (isset($info['sdate'])) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (isset($info['sdate']) && $info['sdate']) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         	$sdate = date('Y年m月d日', $info['sdate']);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         	$edate = date('Y年m月d日', $info['edate']);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         	$qdate = date('Y年m月d日', $info['qdate']);
 
			 |