February 19, 2015 in Feedback
I'm creating a code hook that extends the \IPS\nexus\Invoice class and save() method. Once the invoice is set to paid, I'm running some custom code. At this point, I'd also like to create a transaction log to appear within the nice little "Transaction History" block. Is this possible?
public function save()
if ( $this->status == \IPS\nexus\Invoice::STATUS_PAID)
// create log here
return call_user_func_array( 'parent::save', func_get_args() );
This topic is now archived and is closed to further replies.
Started 21 hours ago
Started 6 hours ago
Started Yesterday at 02:28 AM