Working on proposals

This commit is contained in:
Hillel Coren 2018-03-06 12:24:56 +02:00
parent 76e30824ac
commit a9dd4392d7
2 changed files with 10 additions and 1 deletions

BIN
public/images/quote.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -170,7 +170,16 @@
field = 'client.phone'; field = 'client.phone';
} }
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) || ' '; var value = getDescendantProp(invoice, field) || ' ';
}
value = doubleDollarSign(value) + ''; value = doubleDollarSign(value) + '';
value = value.replace(/\n/g, "\\n").replace(/\r/g, "\\r"); value = value.replace(/\n/g, "\\n").replace(/\r/g, "\\r");