mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add public notes to invoices
This commit is contained in:
parent
81da8e169d
commit
1a4b5ed51d
@ -114,6 +114,9 @@ class CreditService
|
||||
$this->credit->terms = $settings->credit_terms;
|
||||
}
|
||||
|
||||
if (!isset($this->credit->public_notes)) {
|
||||
$this->credit->public_notes = $this->credit->client->public_notes;
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
@ -375,6 +375,10 @@ class InvoiceService
|
||||
if (!isset($this->invoice->terms)) {
|
||||
$this->invoice->terms = $settings->invoice_terms;
|
||||
}
|
||||
|
||||
if (!isset($this->invoice->public_notes)) {
|
||||
$this->invoice->public_notes = $this->invoice->client->public_notes;
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
@ -171,6 +171,9 @@ class QuoteService
|
||||
$this->quote->terms = $settings->quote_terms;
|
||||
}
|
||||
|
||||
if (!isset($this->quote->public_notes)) {
|
||||
$this->quote->public_notes = $this->quote->client->public_notes;
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user