mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Only set invoice public notes from client if value is set
This commit is contained in:
parent
a6aa59ac2f
commit
2d146e63e2
@ -14,7 +14,9 @@ function ViewModel(data) {
|
||||
@if (!$invoice->id)
|
||||
self.setDueDate();
|
||||
// copy default note from the client to the invoice
|
||||
model.invoice().public_notes(client.public_notes);
|
||||
if (client.public_notes) {
|
||||
model.invoice().public_notes(client.public_notes);
|
||||
}
|
||||
@endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user