extranet/includes/giant/templates/rapport/AnnualAccounts.tpl.php

30 lines
900 B
PHP
Raw Normal View History

<script>
function affCache(idpr)
{
var pr = document.getElementById(idpr);
if (pr.style.display == "") {
pr.style.display = "none";
} else {
pr.style.display = "";
}
}
</script>
<div style="border:1px solid silver;background-color:#E0E1E6" align="center">
Cliquez pour afficher la liste
<div align="right" style="float:right">
<img src="/pages/giant/media/icons/application_put.png" onclick="affCache('pr5');" style="cursor:pointer" />
</div>
</div>
<div id="pr5" style="display:none">
<?php
foreach($AnnualAccounts as $champ => $row)
{
$date = _setDateWithGiant($row->AccountsFileDate->format, $row->AccountsFileDate->_);
echo '<b>' . SelectTrueLabel($this->labelConfig, 'AnnualAccounts') . ' :</b> <a href="?page=AccountsFileDate">'
. $date[0].' / '.$date[1].' / '.$date[2].
'</a><br />';
}
$_SESSION['AnnualAccounts'] = $AnnualAccounts;
?>
</div>