Class 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.

Methods summary

public __construct( void )

InvoicesOverviewTooltips constructor.

public getRowTooltips( InvoiceListItem $invoiceListItem ) : array

Get the row tooltip HTML for each displayed tooltip.

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

Renders and returns a template file.

protected _getInvoiceItems( InvoiceListItem $invoiceListItem ) : string

Get Invoice Items Tooltip HTML

protected _getCustomerMemos( InvoiceListItem $invoiceListItem ) : string

Get Customer Memo Tooltip HTML

protected _getCustomerAddresses( InvoiceListItem $invoiceListItem ) : string

Get Customer Addresses Tooltip HTML

protected _getOrderStatusHistory( InvoiceListItem $invoiceListItem ) : string

Get Order Status History Tooltip HTML

Properties summary

protected $contentView : ContentView

		
protected $db : CI_DB_query_builder