*/
public function createPdf( $invoices, $outputStyle = 'stream' )
{
- // $config = $this->config;
- // echo '<pre>$config: ' . print_r( $config, true ) . '</pre>';
- // exit;
$accountNumberLabel = $this->config['billing_terms']['account_number'];
$showAccountNumber = $this->config['settings']['invoice_show_account_number'];
$showInvoiceNumber = $this->config['settings']['invoice_show_invoice_number'];
$this->config['settings']['company_state'],
$this->config['settings']['company_zip']
),
- $this->pdf_font_size
+ $this->pdf_font_size,
+ array( 'spacing' => .9 )
);
// Company Phone
$this->ezText( $this->config['settings']['company_phone'], $this->pdf_font_size );
array( 'header' => '', 'value' => '' ),
'',
array(
+ 'rowGap' => 1,
'fontSize' => $this->pdf_font_size,
'showHeadings' => 0,
'showLines' => 0,
$this->ezSetY( $endAddressSaveY );
$this->ezText( '', $this->pdf_font_size );
$this->ezText( '<b>Bill To:</b>', $this->pdf_header_font_2 );
+ $this->ezText( '', $this->pdf_font_size );
// Billing Information.
$this->ezText(
sprintf(
$account['billing_state'],
$account['billing_zip']
),
- $this->pdf_font_size
+ $this->pdf_font_size,
+ array( 'spacing' => .9 )
);
// $this->ezText( '', $this->pdf_font_size );
array( 'created' => '<b>Date</b>', 'name' => '<b>Description</b>', 'amount' => '<b>Rate</b>' ),
'',
array(
+ 'rowGap' => 1,
'showHeadings' => 1,
'showLines' => 4,
'width' => 560,
array( 'created' => '<b>Date</b>', 'name' => '<b>Description</b>', 'amount' => '<b>Rate</b>' ),
'',
array(
+ 'rowGap' => 1,
'showHeadings' => 0,
'showLines' => 4,
'width' => 560,
array( 'terms' => '<b>Payment Terms</b>' ),
'',
array(
+ 'rowGap' => 1,
'fontSize' => $this->pdf_font_size,
+ 'rowGap' => 1,
'showHeadings' => 1,
'showLines' => 4,
'width' => 530,
array( 'header' => 'Header', 'value' => 'Value' ),
'',
array(
+ 'rowGap' => 1,
'fontSize' => $this->pdf_font_size,
'showHeadings' => 0,
'showLines' => 0,
array( 'header' => 'Header', 'value' => 'Value' ),
'',
array(
+ 'rowGap' => 1,
'fontSize' => $this->pdf_font_size,
'showHeadings' => 0,
'showLines' => 0,
array( 'header' => 'Header', 'value' => 'Value' ),
'',
array(
+ 'rowGap' => 1,
'fontSize' => $this->pdf_font_size,
'showHeadings' => 0,
'showLines' => 0,