1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 12:12:48 +01:00

Working on proposals

This commit is contained in:
Hillel Coren 2018-03-06 12:24:07 +02:00
parent a00ff7cbed
commit 6a15ffd293
2 changed files with 10 additions and 1 deletions

BIN
public/images/quote.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -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");