From 5558a38106f46b202740315c5d7f79147b990145 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Tue, 13 Jun 2017 23:39:40 +0100 Subject: [PATCH] fixed combined debit and credit display for addresses --- src/Template/Main/address.ctp | 4 ++-- webroot/css/main.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Template/Main/address.ctp b/src/Template/Main/address.ctp index 14fc732..c39ecba 100644 --- a/src/Template/Main/address.ctp +++ b/src/Template/Main/address.ctp @@ -178,8 +178,8 @@ OutputCount ?> DebitAmount > 0 && $tx->CreditAmount > 0): ?> - CreditAmount, 8, '.', '') ?> - DebitAmount, 8, '.', '') ?> +
+CreditAmount, 8, '.', '') ?>
+
-DebitAmount, 8, '.', '') ?>
DebitAmount > 0) ? '-' : '+'); ?>DebitAmount > 0) ? $tx->DebitAmount : $tx->CreditAmount), 8, '.', '') ?> LBC diff --git a/webroot/css/main.css b/webroot/css/main.css index dceb1dd..3af417b 100644 --- a/webroot/css/main.css +++ b/webroot/css/main.css @@ -161,7 +161,7 @@ footer .content .page-time { position: absolute; right: 12px; bottom: 0px; paddi .recent-transactions { width: 1200px; margin: 48px auto 0 auto; box-shadow: 0 2px 6px rgba(0,0,0,.175); border: 1px solid rgba(0,0,0,.15); padding: 36px; cursor: default } .tx-table td { vertical-align: top } -.tx-table td.credit, .tx-table td span.credit { color: #00e676 } -.tx-table td.debit, .tx-table td span.debit { color: #ff0000 } +.tx-table td.credit, .tx-table td div.credit { color: #00e676 } +.tx-table td.debit, .tx-table td div.debit { color: #ff0000 } .clear { clear: both } \ No newline at end of file