getCurrencyCode() ?: 'USD'; // If currency is "global", use the global setting if ($currency_code === 'global') { $currency_code = get_option('easy_invoice_currency_code', 'USD'); } $currency_symbol = \EasyInvoice\Helpers\CurrencyHelper::getCurrencySymbol($currency_code); // Get available payment gateways $payment_controller = new \EasyInvoice\Controllers\PaymentController(); $available_gateways = $payment_controller->getAvailableGateways($invoice_id); // Get nonce for AJAX security $payment_nonce = wp_create_nonce('easy_invoice_payment'); ?> '; } $a = 'width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"'; $paths = [ 'bank' => '', 'cheque' => '', 'cash' => '', 'card' => '', 'wallet' => '', ]; $id = strtolower($gateway_id); $key = 'card'; if (isset($paths[strtolower($icon)])) { $key = strtolower($icon); } elseif (false !== strpos($id, 'bank') || false !== strpos($id, 'transfer') || false !== strpos($id, 'wire')) { $key = 'bank'; } elseif (false !== strpos($id, 'cheque') || false !== strpos($id, 'check')) { $key = 'cheque'; } elseif (false !== strpos($id, 'cash')) { $key = 'cash'; } elseif (false !== strpos($id, 'paypal') || false !== strpos($id, 'paystack') || false !== strpos($id, 'mollie')) { $key = 'wallet'; } return '' . $paths[$key] . ''; } } ?>

getNumber()); ?> getIssueDate()))); ?>
getTotal() - $total_amount > 0.005 ? __('Amount Due', 'easy-invoice') : __('Total Amount', 'easy-invoice')); ?>