Version 5.0.13
This commit is contained in:
1 parent
b89858b2ff
commit
5efe744c5f
1407 files changed
+69690
-30177
No files matched your search
@@ -523,6 +523,7 @@ class Invoice extends ActiveRecord
|
||||
public function set_guest_data( ?array $data ) : void
|
||||
{
|
||||
$this->_data['guest_data'] = $data ? json_encode( $data ) : NULL;
|
||||
$this->_member = null;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -735,6 +736,9 @@ class Invoice extends ActiveRecord
|
||||
|
||||
/* Increase the total */
|
||||
$this->recalculateTotal();
|
||||
|
||||
/* Fire an event */
|
||||
Event::fire( 'onAddToInvoice', $item, [ $this ] );
|
||||
|
||||
/* Return the ID */
|
||||
return $id;
|
||||
|
||||
Reference in new issue
Block a user