Bug : report doesn't work (the javascript file was included)

Cosmetic : dashboard : we make the report greater
This commit is contained in:
Dany De Bontridder 2010-07-27 22:17:38 +00:00
parent 0627f6f052
commit 63fa2cac04
2 changed files with 4 additions and 13 deletions

View file

@ -41,16 +41,7 @@ $User->db=$cn;
require_once('class_database.php');
require_once('class_ipopup.php');
echo js_include('accounting_item.js');
echo js_include('prototype.js');
echo js_include('scriptaculous.js');
echo js_include('effects.js');
echo js_include('controls.js');
echo js_include('dragdrop.js');
echo js_include('acc_ledger.js');
echo js_include('ajax_fiche.js');
echo JS_INFOBULLE;
echo JS_CARD;
load_all_script();
echo ICard::ipopup('ipopcard');
echo IPoste::ipopup('ipop_account');
$search_card=new IPopup('ipop_card');

View file

@ -38,7 +38,7 @@ echo HtmlInput::button('hide',_('Annuler'),'onClick="$(\'add_todo_list\').hide()
echo '</form>';
echo '</div>';
echo '<div style="float:left;width:30%;">';
echo '<div style="float:left;width:27%;">';
echo '<fieldset> <legend>'._('Pense-Bête').'</legend>';
@ -83,7 +83,7 @@ if ( $rapport->exist() == false ) {
}
if ( $report != 0 ) {
echo '<div style="float:left;width:27%">';
echo '<div style="float:left;width:30%">';
echo '<fieldset style="background-color:white"><legend>'.$rapport->get_name().'</legend>';
$exercice=$user->get_exercice();
if ( $exercice == 0 ) {
@ -101,7 +101,7 @@ if ( $report != 0 ) {
echo '<tr'.$bgcolor.'">';
echo '<td> '.$row['desc'].'</td>'.
'<td>'.sprintf("% 10.2f",$row['montant'])." &euro;</td>";
'<td style="text-align:right">'.sprintf("% 10.2f",$row['montant'])." &euro;</td>";
echo '</tr>';
}
echo '</table>';