# before_billticket_items

Items from ticket billing feature are about to be billed (added to invoice)

TIP

$details is passed as reference (opens new window) so its possible to modify its value(s) in Advanced hook

# Hook parameter

An array is passed to hook arrays with following keys/values:

Key Type Description
id int item id from hb_ticket_billing_items
ticket_id int related ticket id in hb_tickets table
date string Date when entry was added
start string Datetime of entry start
end string Datetime of entry end
rate_id int Ticket billing rate id from hb_ticket_billing
rate double Cost of entry
type string Entry type, ie hourly
admin_id int Admin id adding enry
admin string Admin Name adding entry

# Sample hook files

Last Updated: 3/17/2023, 8:40:19 AM