diff --git a/public/images/quote.png b/public/images/quote.png new file mode 100644 index 0000000000..5bd5259c8f Binary files /dev/null and b/public/images/quote.png differ diff --git a/resources/views/proposals/edit.blade.php b/resources/views/proposals/edit.blade.php index 1b99983e38..54a8a2bf3e 100644 --- a/resources/views/proposals/edit.blade.php +++ b/resources/views/proposals/edit.blade.php @@ -170,7 +170,16 @@ field = 'client.phone'; } - var value = getDescendantProp(invoice, field) || ' '; + if (field == 'logo_url') { + var value = "{{ $account->getLogoURL() }}"; + } else if (field == 'quote_image_url') { + var value = "{{ asset('/images/quote.png') }}"; + } else if (match == '$client.name') { + var value = getClientDisplayName(invoice.client); + } else { + var value = getDescendantProp(invoice, field) || ' '; + } + value = doubleDollarSign(value) + ''; value = value.replace(/\n/g, "\\n").replace(/\r/g, "\\r");