- #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')); ?>
ยท