Invoice list handler

package org.openpsa.invoices

 Methods

_handler_customer (mixed $handler_id, array $args, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

_handler_dashboard (mixed $handler_id, array $args, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

_handler_deliverable (mixed $handler_id, array $args, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

_handler_json (mixed $handler_id, array $args, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

_on_initialize ()

_show_customer (mixed $handler_id, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_show_dashboard (mixed $handler_id, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_show_deliverable (mixed $handler_id, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_show_json (mixed $handler_id, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

get_qb ($field, $direction)

Parameters

$field

$direction

get_row (\midcom_core_dbaobject $invoice)

Parameters

$invoice

_add_filters (\midcom_core_querybuilder $qb)

Helper that adds a customer/deliverable constraints to list QBs

Parameters

$qb

\midcom_core_querybuilder&$qb th QB we're working with

_show_invoice_list ($type)

Parameters

$type

_show_recent ()

Helper that shows the six most recently paid invoices

 Properties

 

\org_openpsa_contacts_group_dba $_customer

The customer we're working with, if any
 

\org_openpsa_sales_salesproject_deliverable_dba $_deliverable

The deliverable we're working with, if any
 

string $_list_type

The current list type