mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 13:24:30 -04:00
Working on proposals
This commit is contained in:
parent
76e30824ac
commit
a9dd4392d7
BIN
public/images/quote.png
Normal file
BIN
public/images/quote.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
@ -170,7 +170,16 @@
|
|||||||
field = 'client.phone';
|
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 = doubleDollarSign(value) + '';
|
||||||
value = value.replace(/\n/g, "\\n").replace(/\r/g, "\\r");
|
value = value.replace(/\n/g, "\\n").replace(/\r/g, "\\r");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user