mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for is_public
This commit is contained in:
parent
d5d17d52b9
commit
57913baf09
@ -494,6 +494,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