Skip to content

Commit

Permalink
Better look of lines
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Mar 19, 2018
1 parent 76a7cc0 commit 1837d6a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions htdocs/core/tpl/objectline_view.tpl.php
Expand Up @@ -154,14 +154,14 @@
print (! empty($line->description) && $line->description!=$line->product_label)?'<br>'.dol_htmlentitiesbr($line->description):'';
}
}

if (! empty($conf->accounting->enabled) && $line->fk_accounting_account > 0)
{
$accountingaccount=new AccountingAccount($this->db);
$accountingaccount->fetch($line->fk_accounting_account);
echo '<br>' . $langs->trans('AccountingAffectation') . ': ' . $accountingaccount->getNomUrl(0,1,1);
echo '<div class="clearboth"></div><br><span class="opacitymedium">' . $langs->trans('AccountingAffectation') . ' : </span>' . $accountingaccount->getNomUrl(0,1,1);
}

?>
</td>
<?php
Expand Down Expand Up @@ -311,7 +311,7 @@
print $line->showOptionals($extrafieldsline,'view',array('style'=>$bcdd[$var],'colspan'=>$coldisplay));
}
?>

</tr>

<!-- END PHP TEMPLATE objectline_view.tpl.php -->

0 comments on commit 1837d6a

Please sign in to comment.