Operation details in HTML : align the text to the right

This commit is contained in:
Dany De Bontridder 2010-06-27 18:48:31 +00:00
parent b7efe5e5f4
commit 6ed60f9562
3 changed files with 11 additions and 4 deletions

View file

@ -67,7 +67,14 @@ $detail->get();
?>
</legend>
<table class="result">
<tr>
<?
echo th(_('Poste Comptable'));
echo th(_('Quick Code'));
echo th(_('Libellé'));
echo th(_('Débit'),' style="text-align:right"');
echo th(_('Crédit'),' style="text-align:right"');
echo '</tr>';
for ($e=0;$e<count($detail->det->array);$e++) {
$row=''; $q=$detail->det->array;
$row=td($q[$e]['j_poste']);

View file

@ -52,12 +52,12 @@ echo td(_('Pièce')).td($itext->input());
echo th(_('Poste Comptable'));
echo th(_('Quick Code'));
echo th(_('Libellé'));
echo th(_('Débit'));
echo th(_('Crédit'));
echo th(_('Débit'), 'style="text-align:right"');
echo th(_('Crédit'), 'style="text-align:right"');
if ($owner->MY_ANALYTIC != 'nu'){
echo th('Plan Analytique');
}
echo '</tr>';
$idx_ca=0;
for ($e=0;$e<count($obj->det->array);$e++) {
$row=''; $q=$obj->det->array;