add formatComment()

used to group comments entered for receiption of document
This commit is contained in:
Uwe Steinmann 2017-07-18 13:35:35 +02:00
parent a5688a7c3b
commit 00b4817bc7

View File

@ -586,4 +586,16 @@ function addDirSep($str) { /* {{{ */
else
return trim($str);
} /* }}} */
/**
* Formats comments for aknowledge of reception.
*
* Only use in documentListRow()
*/
function formatComment($an) { /* {{{ */
$t = array();
foreach($an as $a)
$t[] = $a['n']." × ".$a['c'];
return $t;
} /* }}} */
?>