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 %}