--- a/getAgency.php +++ b/getAgency.php @@ -174,6 +174,13 @@ echo $row['statistics']['employees'][$lastkey]['value'].' employees <small>('.$lastkey.')</small>'; echo '</div>'; } + if (isset($row['statistics']['budget'])) { + echo '<div><i class="icon-shopping-cart" style="float:left"></i><p style="margin-left:16px;">'; + $keys = array_keys($row['statistics']['budget']); + $lastkey = $keys[count($keys)-1]; + echo money_format("%#10i",(float)$row['statistics']['budget'][$lastkey]['value']).' <small>('.$lastkey.' budget)</small>'; + echo '</div>'; + } echo ' </ul> </div><!--/.well --> </div><!--/span-->