mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Only set invoice public notes from client if value is set
This commit is contained in:
parent
943c658e00
commit
41923a2e8b
@ -14,7 +14,9 @@ function ViewModel(data) {
|
|||||||
@if (!$invoice->id)
|
@if (!$invoice->id)
|
||||||
self.setDueDate();
|
self.setDueDate();
|
||||||
// copy default note from the client to the invoice
|
// 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
|
@endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user