From 28071a4a923f0053c28118039ada088bffcff84a Mon Sep 17 00:00:00 2001 From: marcdeb1 Date: Sat, 6 Apr 2019 16:14:43 +0200 Subject: [PATCH] Minor fix --- src/Template/Main/claims.ctp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Template/Main/claims.ctp b/src/Template/Main/claims.ctp index 6d06df1..7e21cd5 100644 --- a/src/Template/Main/claims.ctp +++ b/src/Template/Main/claims.ctp @@ -46,6 +46,7 @@ if (isset($claim->price) && $claim->price > 0) { } else if (isset($claim->fee) && strtolower($claim->fee_currency) === 'lbc') { $cost = (float) ($claim->fee) . ' LBC'; } +$effective_amount = $claim->effective_amount / 100000000; $desc = $claim->description; if (strlen(trim($desc)) == 0) { @@ -110,7 +111,7 @@ if (strlen(trim($desc)) == 0) {
Effective amount
claim_bid) . ' LBC'; ?>
-
effective_amount / 100000000) . ' LBC'; ?>
+
claim_bid) ? 'Synchronizing' : ((float) ($claim->effective_amount / 100000000) . ' LBC'); ?>