diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 52363192d..849e64340 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -2154,6 +2154,23 @@ $(document).ready( function() { } else { $content .= getOverallStatusText($status["status"]); } + if($owner->getID() == $user->getID() && $receiptStatus = $latestContent->getReceiptStatus()) { + $rstat = array('-1'=>0, '0'=>0, '1'=>0, '-2'=>0); + $allcomments = array(); + foreach ($receiptStatus as $r) { + $rstat[''.$r['status']]++; + if($r['comment']) + $allcomments[] = $r['comment']; + } + $totalreceipts = $rstat['-1'] + $rstat['0'] + $rstat['1']; + $content .= "; +