Overview

Packages

  • blesta
    • app
      • controllers
      • models
    • components
      • auth
        • ldap
        • motp
        • oath
      • delivery
        • interfax
        • postal
          • methods
      • download
      • email
      • events
      • exchange
        • rates
          • currency
            • layer
          • fixer
          • open
            • exchange
              • rates
          • x
            • rates
      • gateway
        • payments
      • gateways
      • invoice
        • delivery
        • templates
          • perforated
            • invoice
          • quickbooks
            • invoice
          • templates
            • default
      • modules
      • net
        • amazon
          • s3
        • http
        • net
          • geo
            • ip
      • plugins
      • reports
        • aging
          • invoices
        • client
          • data
            • portability
        • custom
          • report
        • invoice
          • creation
        • package
          • revenue
        • tax
          • liability
        • transactions
          • applied
          • received
      • security
      • session
        • cart
      • settingscollection
      • upgrades
        • tasks
      • upload
      • vcard
    • core
      • Automation
        • Tasks
          • Common
          • Task
        • Type
          • Common
          • Cron
      • Pricing
        • ItemComparator
        • MetaItem
        • Modifier
          • Type
            • Description
              • Type
                • Discount
                • Option
                • Service
                • Tax
            • Discount
            • Price
            • Proration
        • Presenter
          • Build
            • Invoice
            • InvoiceData
            • Options
            • Service
            • ServiceChange
            • ServiceData
          • Collection
          • Format
            • Fields
            • Type
              • Discount
              • Item
              • Option
              • Options
              • Package
              • Pricing
              • Service
              • Tax
          • Items
            • Invoice
            • Service
          • Type
      • ServiceProviders
      • Util
        • Captcha
          • Captchas
          • Common
        • Common
          • Traits
        • Events
          • Common
          • Handlers
          • Observers
        • Filters
          • Common
        • GeoIp
        • Input
          • Fields
            • Common
        • Tax
        • Widgets
    • helpers
      • currency
        • format
      • data
        • structure
          • array
          • string
      • text
        • parser
      • widget
        • client
  • minPHP
    • helpers
      • color
      • data
        • structure
  • None
  • PHP

Classes

  • QuickbooksInvoice
  • QuickbooksInvoicePdf
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Class QuickbooksInvoicePdf

Quickbooks Invoice Template

TCPDF
Extended by TcpdfWrapper
Extended by QuickbooksInvoicePdf
Package: blesta\components\invoice\templates\quickbooks\invoice
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at components/invoice_templates/quickbooks_invoice/quickbooks_invoice_pdf.php
Methods summary
public
# __construct( string $orientation = 'P', string $unit = 'mm', string $format = 'A4', boolean $unicode = true, string $encoding = 'UTF-8', boolean $diskcache = false, string $font = null )

Initializes the default invoice PDF

Initializes the default invoice PDF

Parameters

$orientation
The paper orientation (optional, default 'P')
$unit
The measurement unit (optional, default 'mm')
$format
The paper format (optional, default 'A4')
$unicode
True if the PDF should support unicode characters (optional, default true)
$encoding
The character encoding (optional, default 'UTF-8')
$diskcache
True to cache results to disk (optional, default false)
$font
The font to use (optional, default null)
public
# Header( )

Overwrite the default header that appears on each page of the PDF

Overwrite the default header that appears on each page of the PDF

public
# Footer( )

Overwrite the default footer that appears on each page of the PDF

Overwrite the default footer that appears on each page of the PDF

public
# drawInvoice( )

Draws a complete invoice

Draws a complete invoice

protected string
# getDateDue( )

Fetch the date due to display

Fetch the date due to display

Returns

string
The date due to display
Methods inherited from TcpdfWrapper
drawTable()
Properties summary
public array $meta

An array of meta data for this invoice

An array of meta data for this invoice

# []
public CurrencyFormat $CurrencyFormat

The CurrencyFormat object used to format currency values

The CurrencyFormat object used to format currency values

#
public QuickbooksInvoicePdf::$Date $Date

The Date object used to format date values

The Date object used to format date values

#
public array $invoice

An array of invoice data for this invoice

An array of invoice data for this invoice

# []
public boolean $include_address

Whether to include the to address or not

Whether to include the to address or not

# true
Blesta API documentation generated by ApiGen