Add public notes to invoices
This commit is contained in:
parent
81da8e169d
commit
1a4b5ed51d
3 changed files with 10 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue