Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (6 sloc) 447 Bytes
<?php
EventAdmin::$allowed_actions['createregistrationinvoice'] = 'ADMIN';
Object::add_extension("EventAdmin_EventRegistration_RecordController", "EventAdmin_EventRegistration_RecordControllerInvoiceDecorator");
DataObject::add_extension("EventRegistration","EventInvoicesRegistrationDecorator");
DataObject::add_extension("EventTicket", "EventTicketInvoiceDecorator");
DataObject::add_extension("InvoiceItem", "InvoiceItemEventDecorator");