From 709c51ceb628889bec14b093d90c5c76a8fd0e9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Wed, 7 Jul 2021 11:15:01 +0300 Subject: [PATCH] close #2180 Fixed: Undefined payment method while showing Revenues/Payment #nka0hh --- .../views/components/transactions/template/default.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/components/transactions/template/default.blade.php b/resources/views/components/transactions/template/default.blade.php index c965990cd..dada35746 100644 --- a/resources/views/components/transactions/template/default.blade.php +++ b/resources/views/components/transactions/template/default.blade.php @@ -120,7 +120,7 @@ - {{ $payment_methods[$transaction->payment_method] }} + {{ !empty($payment_methods[$transaction->payment_method]) ? $payment_methods[$transaction->payment_method] : trans('general.na') }} @endif