diff --git a/resources/views/invoices/knockout.blade.php b/resources/views/invoices/knockout.blade.php index 40e8923872..cde9b87bf1 100644 --- a/resources/views/invoices/knockout.blade.php +++ b/resources/views/invoices/knockout.blade.php @@ -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 }