InvoicesOverviewTooltips

Class InvoicesOverviewTooltips

This class generates the required HTML for the tooltips of each row in the invoices overview table. In order to be faster do not use any services but fetch the data directly with DB queries.

category

System

package

Extensions

subpackage

Invoices

Methods

InvoicesOverviewTooltips constructor.

__construct() 

Get Customer Addresses Tooltip HTML

_getCustomerAddresses(\InvoiceListItem $invoiceListItem) : string

Arguments

$invoiceListItem

\InvoiceListItem

Response

string

Get Customer Memo Tooltip HTML

_getCustomerMemos(\InvoiceListItem $invoiceListItem) : string

Arguments

$invoiceListItem

\InvoiceListItem

Response

string

Get Invoice Items Tooltip HTML

_getInvoiceItems(\InvoiceListItem $invoiceListItem) : string

Arguments

$invoiceListItem

\InvoiceListItem

Response

string

Get Order Status History Tooltip HTML

_getOrderStatusHistory(\InvoiceListItem $invoiceListItem) : string

Arguments

$invoiceListItem

\InvoiceListItem

Response

string

Renders and returns a template file.

_render(string $templateFile, array $contentArray) : string

Arguments

$templateFile

string

Template file to render.

$contentArray

array

Content array which represent the variables of the template.

Response

string

Rendered template.

Get the row tooltip HTML for each displayed tooltip.

getRowTooltips(\InvoiceListItem $invoiceListItem) : array

Arguments

$invoiceListItem

\InvoiceListItem

Contains the invoice list item data.

Response

array

Properties

contentView

contentView : \ContentView
var

Type(s)

\ContentView

db

db : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder