mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 21:27:36 +00:00 
			
		
		
		
	place in two columns and color table rows
This commit is contained in:
		
							parent
							
								
									3958714bff
								
							
						
					
					
						commit
						4081173442
					
				|  | @ -52,6 +52,8 @@ class SeedDMS_View_ReceiptSummary extends SeedDMS_Bootstrap_Style { | |||
| 		$this->contentStart(); | ||||
| 		$this->pageNavigation(getMLText("my_documents"), "my_documents"); | ||||
| 
 | ||||
| 		echo "<div class=\"row-fluid\">\n"; | ||||
| 		echo "<div class=\"span6\">\n"; | ||||
| 		$this->contentHeading(getMLText("receipt_summary")); | ||||
| 
 | ||||
| 		// TODO: verificare scadenza
 | ||||
|  | @ -89,9 +91,10 @@ class SeedDMS_View_ReceiptSummary extends SeedDMS_Bootstrap_Style { | |||
| 				if(is_string($txt)) | ||||
| 					echo $txt; | ||||
| 				else { | ||||
| 					echo "<tr id=\"table-row-document-".$document->getID()."\" class=\"table-row-document\" rel=\"document_".$document->getID()."\" formtoken=\"".createFormKey('movedocument')."\" draggable=\"true\">"; | ||||
| 					$class = $st['status'] == 1 ? ' success' : ($st['status'] == -1 ? ' error' : ( $st['status'] == -2 ? ' info' : '')); | ||||
| 					echo "<tr id=\"table-row-document-".$document->getID()."\" class=\"table-row-document".$class."\" rel=\"document_".$document->getID()."\" formtoken=\"".createFormKey('movedocument')."\" draggable=\"true\">"; | ||||
| 					echo $this->documentListRow($document, $previewer, true, $st['version']); | ||||
| 					print "<td>".$st["date"]." ". htmlspecialchars($moduser->getFullName()) ."</td>"; | ||||
| 					print "<td><small>".getReceiptStatusText($st['status'])."<br />".$st["date"]."<br />". htmlspecialchars($moduser->getFullName()) ."</small></td>"; | ||||
| 					echo "</tr>"; | ||||
| 				} | ||||
| 			} | ||||
|  | @ -105,6 +108,8 @@ class SeedDMS_View_ReceiptSummary extends SeedDMS_Bootstrap_Style { | |||
| 			printMLText("no_docs_to_receipt"); | ||||
| 		} | ||||
| 
 | ||||
| 		echo "</div>\n"; | ||||
| 		echo "<div class=\"span6\">\n"; | ||||
| 		$this->contentHeading(getMLText("group_receipt_summary")); | ||||
| 
 | ||||
| 		$printheader=true; | ||||
|  | @ -132,9 +137,10 @@ class SeedDMS_View_ReceiptSummary extends SeedDMS_Bootstrap_Style { | |||
| 				if(is_string($txt)) | ||||
| 					echo $txt; | ||||
| 				else { | ||||
| 					echo "<tr id=\"table-row-document-".$document->getID()."\" class=\"table-row-document\" rel=\"document_".$document->getID()."\" formtoken=\"".createFormKey('movedocument')."\" draggable=\"true\">"; | ||||
| 					$class = $st['status'] == 1 ? ' success' : ($st['status'] == -1 ? ' error' : ( $st['status'] == -2 ? ' info' : '')); | ||||
| 					echo "<tr id=\"table-row-document-".$document->getID()."\" class=\"table-row-document".$class."\" rel=\"document_".$document->getID()."\" formtoken=\"".createFormKey('movedocument')."\" draggable=\"true\">"; | ||||
| 					echo $this->documentListRow($document, $previewer, true, $st['version']); | ||||
| 					print "<td>".$st["date"]." ". htmlspecialchars($modgroup->getName()) ."</td>"; | ||||
| 					print "<td><small>".getReceiptStatusText($st['status'])."<br />".$st["date"]."<br />". htmlspecialchars($moduser->getFullName()) ."</small></td>"; | ||||
| 					echo "</tr>"; | ||||
| 				} | ||||
| 			} | ||||
|  | @ -145,6 +151,8 @@ class SeedDMS_View_ReceiptSummary extends SeedDMS_Bootstrap_Style { | |||
| 			printMLText("no_docs_to_receipt"); | ||||
| 		} | ||||
| 
 | ||||
| 		echo "</div>\n"; | ||||
| 		echo "</div>\n"; | ||||
| 		$this->contentEnd(); | ||||
| 		$this->htmlEndPage(); | ||||
| 	} /* }}} */ | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann