Add public notes to invoices

This commit is contained in:
David Bomba 2021-01-18 22:08:18 +11:00
parent 81da8e169d
commit 1a4b5ed51d
3 changed files with 10 additions and 0 deletions

View File

@ -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;
}

View File

@ -376,6 +376,10 @@ class InvoiceService
$this->invoice->terms = $settings->invoice_terms;
}
if (!isset($this->invoice->public_notes)) {
$this->invoice->public_notes = $this->invoice->client->public_notes;
}
return $this;
}

View File

@ -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;
}