mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
fix output of documents with disabled recipients
This commit is contained in:
parent
0fa5ffae48
commit
5d2d80b0af
|
@ -149,7 +149,7 @@ foreach($tmprevs as $rev) {
|
||||||
|
|
||||||
$docsinreceptionnoaccess = array();
|
$docsinreceptionnoaccess = array();
|
||||||
$docsinreceptiondisabled = array();
|
$docsinreceptiondisabled = array();
|
||||||
if(!isset($_GET['action']) || $_GET['action'] == 'listDocsInReceptionNoAccess') {
|
if(!isset($_GET['action']) || $_GET['action'] == 'listDocsInReceptionNoAccess' || $_GET['action'] == 'listDocsInReceptionDisabled') {
|
||||||
$tmprevs = $dms->getDocumentsInReception();
|
$tmprevs = $dms->getDocumentsInReception();
|
||||||
foreach($tmprevs as $rev) {
|
foreach($tmprevs as $rev) {
|
||||||
if($doc = $dms->getDocument($rev['documentID'])) {
|
if($doc = $dms->getDocument($rev['documentID'])) {
|
||||||
|
|
|
@ -535,7 +535,7 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style {
|
||||||
else
|
else
|
||||||
$previewer->setConverters($previewconverters);
|
$previewer->setConverters($previewconverters);
|
||||||
|
|
||||||
$this->contentHeading(getMLText("docs_in_revision_no_access"));
|
$this->contentHeading(getMLText("docs_in_recepition_no_access"));
|
||||||
|
|
||||||
if($docsinreception) {
|
if($docsinreception) {
|
||||||
$this->printList($docsinreception, $previewer, 'listDocsInReceptionNoAccess');
|
$this->printList($docsinreception, $previewer, 'listDocsInReceptionNoAccess');
|
||||||
|
@ -559,7 +559,7 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style {
|
||||||
else
|
else
|
||||||
$previewer->setConverters($previewconverters);
|
$previewer->setConverters($previewconverters);
|
||||||
|
|
||||||
$this->contentHeading(getMLText("docs_in_revision_no_access"));
|
$this->contentHeading(getMLText("docs_in_reception_disabled"));
|
||||||
|
|
||||||
if($docsinreception) {
|
if($docsinreception) {
|
||||||
$this->printList($docsinreception, $previewer, 'listDocsInReceptionDisabled');
|
$this->printList($docsinreception, $previewer, 'listDocsInReceptionDisabled');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user