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:
parent
a00ff7cbed
commit
6a15ffd293
BIN
public/images/quote.png
Normal file
BIN
public/images/quote.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user