mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fix for is_public
This commit is contained in:
parent
18cbf56439
commit
bd3bcbd6ba
@ -493,6 +493,7 @@ class Invoice extends EntityModel implements BalanceAffecting
|
||||
public function markInvitationSent($invitation, $messageId = false, $notify = true, $notes = false)
|
||||
{
|
||||
if (! $this->isSent()) {
|
||||
$this->is_public = true;
|
||||
$this->invoice_status_id = INVOICE_STATUS_SENT;
|
||||
$this->save();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user