Function Reference: geodir_payment_invoice_list

Summary

This function has not been documented yet.

Filters

‘geodir_payment_admin_list_invoice_title’ [Line: 1051]

‘geodir_payment_admin_list_invoice_links’ [Line: 1077]

Source Code

function geodir_payment_invoice_list() {
global $wpdb;

$invoices_list = geodir_payment_get_invoice_list();

$payment_statuses = geodir_payment_all_payment_status( false );
$nonce = wp_create_nonce( ‘invoice_status_update_nonce’ );

$orderby = isset( $_REQUEST[‘orderby’] ) && in_array($_REQUEST[‘orderby’], array(‘id’)) ? $_REQUEST[‘orderby’] : ‘id’;
$order = isset( $_REQUEST[‘order’] ) && $_REQUEST[‘order’] == ‘asc’ ? ‘asc’ : ‘desc’;
?>





HTML !=”) { ?>

HTML ; ?>



# ‘ . __( ‘Send Invoice’, ‘geodir_payments’ ) . ‘‘;

ob_start();
?>



type); ?> date;?>
package_id;?>
amount );?>
alive_days;?>
coupon_code) ? $item->coupon_code : PAYMENT_META_NA;?>
discount) ? geodir_payment_price( $item->discount ) : ‘0’;?>



paymentmethod) ? geodir_payment_method_title($item->paymentmethod) : PAYMENT_META_NA;?>

HTML != ”) { ?>




” style=”color:#F00;cursor: pointer;”>