// Right header for date and account #
$this->ezSetY( $companyNameSaveY );
+ $invoiceData = array();
// Add the Date of invoice and the member account number using ezTable.
$invoiceData[] = array(
'header' => 'Date:', 'value' => date( 'm/d/Y', strtotime( $invoice['due_date'] ) ), 'headerFill' => $this->color_white, 'valueFill' => $this->color_white
$newY = $this->ezText( '', $this->pdf_font_size );
$newY = $this->addText( 375, $newY, 14, '<b>NO PAYMENT REQUIRED</b>' );
}
+ $paymentForm3 = array();
if ( $showAccountNumber ) {
$paymentForm3[] = array( 'header' => '<b>'.$accountNumberLabel . ':</b>', 'value' => $account['account_number'] );
}
SELECT account
FROM " . GLM_MEMBERS_BILLING_PLUGIN_DB_PREFIX . "invoices
WHERE $notPaid ) ";
- $wParts[] = " ( T.usmail_invoice OR T.fax_invoice ) ";
+ $wParts[] = " ( T.usmail_invoice = true OR T.fax_invoice = true ) ";
break;
case 'createLabels':
FROM " . GLM_MEMBERS_BILLING_PLUGIN_DB_PREFIX . "invoices
WHERE $notPaid ) ";
} else {
- $wParts[] = " T.id IN (
- SELECT account
- FROM " . GLM_MEMBERS_BILLING_PLUGIN_DB_PREFIX . "invoices) ";
+ // $wParts[] = " T.id IN (
+ // SELECT account
+ // FROM " . GLM_MEMBERS_BILLING_PLUGIN_DB_PREFIX . "invoices) ";
}
- $wParts[] = " ( T.usmail_invoice OR T.fax_invoice ) ";
+ $wParts[] = " ( T.usmail_invoice = true OR T.fax_invoice = true ) ";
break;
case 'createInvoices':