From 450ac7e6ee10490453917022c5fd9371c8a70155 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 24 Aug 2025 06:51:28 +0200 Subject: [PATCH] Fix #10813 --- resources/views/list/bills.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/list/bills.twig b/resources/views/list/bills.twig index e326f77c99..ef0093b389 100644 --- a/resources/views/list/bills.twig +++ b/resources/views/list/bills.twig @@ -68,8 +68,8 @@ > ~ {{ formatAmountBySymbol((entry.amount_max + entry.amount_min)/2, entry.currency_symbol, entry.currency_decimal_places) }} - {% if '0' != entry.pc_amount_max %} - (~ {{ formatAmountBySymbol((entry.pc_amount_max + entry.pc_amount_min)/2, primaryCurrency.symbol, primaryCurrency.decimal_places) }}) + {% if '0' != entry.pc_amount_max and null != entry.pc_amount_max %} + (~ {{ formatAmountBySymbol((entry.pc_amount_max + entry.pc_amount_min)/2, primaryCurrency.symbol, primaryCurrency.decimal_places) }}) {% endif %}