From 98cff78781aaf915fbae77219baed23ccd788d08 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 6 Sep 2019 09:10:27 -0400 Subject: [PATCH] Update payment list page. payment_method is text field. --- views/admin/billing/payments.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/admin/billing/payments.html b/views/admin/billing/payments.html index 4f088d2..d61e819 100644 --- a/views/admin/billing/payments.html +++ b/views/admin/billing/payments.html @@ -123,7 +123,7 @@ {$t.member_name} {$t.transaction_time.datetime} {$t.amount|string_format:"%.2f"} - {if $t.payment_method}{$payment_methods[$t.payment_method]}{/if} + {if !empty($t.payment_method)}{$t.payment_method}{/if} {$t.payment_data} @@ -135,7 +135,7 @@ {/foreach} {else} - (no Payments listed) + (no Payments listed) {/if} -- 2.17.1