fixed number format for address transactions
This commit is contained in:
parent
e5bb7e470d
commit
a2f092ddac
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@
|
|||
<div class="credit">+<?php echo number_format($tx->CreditAmount, 8, '.', '') ?> LBC</div>
|
||||
<div class="debit">-<?php echo number_format($tx->DebitAmount, 8, '.', '') ?> LBC</div>
|
||||
<?php else: ?>
|
||||
<?php echo (($tx->DebitAmount > 0) ? '-' : '+'); ?><?php echo number_format((($tx->DebitAmount > 0) ? $tx->DebitAmount : $tx->CreditAmount), 8, '.', '') ?> LBC
|
||||
<?php echo (($tx->DebitAmount > 0) ? '-' : '+'); ?><?php echo number_format((($tx->DebitAmount > 0) ? $tx->DebitAmount : $tx->CreditAmount), 8, '.', ',') ?> LBC
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in a new issue