mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04: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)
|
public function markInvitationSent($invitation, $messageId = false, $notify = true, $notes = false)
|
||||||
{
|
{
|
||||||
if (! $this->isSent()) {
|
if (! $this->isSent()) {
|
||||||
|
$this->is_public = true;
|
||||||
$this->invoice_status_id = INVOICE_STATUS_SENT;
|
$this->invoice_status_id = INVOICE_STATUS_SENT;
|
||||||
$this->save();
|
$this->save();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user