getInvoiceId()); $invoice = $invoice_post ? new Invoice($invoice_post) : null; ?>

getId()); ?>

#getId(); ?>
getCurrencySymbol() . number_format((float) $payment->getAmount(), 2)); ?>
getPaymentMethod(); if (empty($payment_method)) { // Try direct property access $payment_method = $payment->payment_method; } if (empty($payment_method)) { // Try direct meta access $payment_method = get_post_meta($payment->getId(), '_payment_method', true); } echo esc_html(ucfirst($payment_method ?: __('Not specified', 'easy-invoice'))); ?>
getStatus(); if (in_array($ei_vs, \EasyInvoice\Services\OfflinePayments::pendingStatuses(), true)) { esc_html_e('Awaiting confirmation', 'easy-invoice'); } elseif ('rejected' === $ei_vs) { esc_html_e('Rejected', 'easy-invoice'); } else { echo esc_html(ucfirst($ei_vs)); } ?>
getPaymentDate()))); ?>
getPaymentType())); ?>
getRecurringId()) : ?>
getRecurringId()); ?>
getParentPaymentId()) : ?> getNotes()) : ?>
getNotes())); ?>
getId(); $ei_reference = (string) get_post_meta($ei_pid, \EasyInvoice\Services\OfflinePayments::META_REFERENCE, true); $ei_has_proof = \EasyInvoice\Services\OfflinePayments::hasProof($ei_pid); $ei_proof_nm = (string) get_post_meta($ei_pid, \EasyInvoice\Services\OfflinePayments::META_PROOF_NAME, true); $ei_status = (string) $payment->getStatus(); $ei_pending = in_array($ei_status, \EasyInvoice\Services\OfflinePayments::pendingStatuses(), true); $ei_verified = (int) get_post_meta($ei_pid, '_verified_by', true); $ei_rejected = (int) get_post_meta($ei_pid, '_rejected_by', true); ?>
display_name : __('Unknown user', 'easy-invoice')); ?> ยท
getGatewayResponse(); $gateway_response = null; if ($gateway_response_raw) { // Try to decode JSON if it's a string if (is_string($gateway_response_raw)) { $gateway_response = json_decode($gateway_response_raw, true); } elseif (is_array($gateway_response_raw)) { $gateway_response = $gateway_response_raw; } } if ($gateway_response && is_array($gateway_response)) : ?>

$value) : $loop++; ?>
' . esc_html(json_encode($value, JSON_PRETTY_PRINT)) . ''; } elseif (is_bool($value)) { echo $value ? 'Yes' : 'No'; } elseif (is_null($value)) { echo 'null'; } else { echo esc_html($value); } ?>