@php $showOfflineFields = false; if ($errors->has('date') or $errors->has('referral_code') or $errors->has('account') or !empty($editOfflinePayment)) { $showOfflineFields = true; } $isMultiCurrency = !empty(getFinancialCurrencySettings('multi_currency')); $userCurrency = currency(); $invalidChannels = []; @endphp