diff --git a/app/Services/PaymentService.php b/app/Services/PaymentService.php index 3a662a08710d..21417437bfd1 100644 --- a/app/Services/PaymentService.php +++ b/app/Services/PaymentService.php @@ -857,7 +857,7 @@ class PaymentService extends BaseService function ($model) { $max_refund = number_format($model->amount - $model->refunded, 2); $formatted = Utils::formatMoney($max_refund, $model->currency_id, $model->country_id); - $symbol = Utils::getFromCache($model->currency_id, 'currencies')->symbol; + $symbol = Utils::getFromCache($model->currency_id ? $model->currency_id : 1, 'currencies')->symbol ; return "javascript:showRefundModal({$model->public_id}, '{$max_refund}', '{$formatted}', '{$symbol}')"; }, function ($model) {