How do I get the Name and Address on the Invoice to show up in a Window Envelope?
A client recently asked me the following question: I need to be able to mail (postal mail) invoices to our Members. Our pre-printed size 10 envelopes have a window bottom-left. How can I get the Member's Name and Address on the Invoice to show up in that Window?
message-templates invoice
add a comment |
A client recently asked me the following question: I need to be able to mail (postal mail) invoices to our Members. Our pre-printed size 10 envelopes have a window bottom-left. How can I get the Member's Name and Address on the Invoice to show up in that Window?
message-templates invoice
add a comment |
A client recently asked me the following question: I need to be able to mail (postal mail) invoices to our Members. Our pre-printed size 10 envelopes have a window bottom-left. How can I get the Member's Name and Address on the Invoice to show up in that Window?
message-templates invoice
A client recently asked me the following question: I need to be able to mail (postal mail) invoices to our Members. Our pre-printed size 10 envelopes have a window bottom-left. How can I get the Member's Name and Address on the Invoice to show up in that Window?
message-templates invoice
message-templates invoice
edited Dec 3 '18 at 4:04
KarinG - Semper IT
asked Dec 2 '18 at 17:50
KarinG - Semper ITKarinG - Semper IT
10.7k1636
10.7k1636
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
This requires editing of the Contribution Invoice Receipt - Message Template. End result looks like this:
I'll detail the steps below to get the header part.
The header portion contains two tables: the first table is used to add your logo. The second table has the formatting for the Name and Address section: note that we're putting the Member's Name and Address on the far left and in a slight larger font.
<table width="100%" border = "0" style = "margin-top:20px;margin-right:40px;">
<tr>
<td align="right" height="50"><img src = "https://www.yoursite.com/sites/yoursite/files/logo_250x.png"></td>
</tr>
</table>
<table width="100%" border = "0" cellpadding = "2" cellspacing = "1" style = "margin-top:35px;margin-right:20px; font-family: Arial, Verdana, sans-serif;">
<tr>
<td width="40%" rowspan="3"><b><font size = "4" align = "center">{ts}INVOICE{/ts}</font></b></td>
<td width="25%"><b><font size = "1" >{ts}Invoice Date{/ts}</font></b><font size = "2"> </font></td>
<td width="35%"><font size = "1">{$domain_organization}</font></td>
</tr>
<tr>
<td><font size = "1">{$invoice_date}</font><font size = "2"> </font></td>
<td><font size = "1">{$domain_street_address}</font></td>
</tr>
<tr>
<td><font size = "1"></font><font size = "2"> </font></td>
<td><font size = "1">{if $domain_city}{$domain_city|upper}{/if} {if $domain_state }{$domain_state}{/if} {$domain_postal_code}</font></td>
</tr>
<tr>
<td><font size = "2">{$display_name}</font></td>
<td><b><font size = "1" align = "right">{ts}Invoice Number{/ts}</font></b></td>
<td><font size = "1">{if $domain_country}{$domain_country|upper}{/if}</font></td>
</tr>
<tr>
<td><font size = "2">{$street_address} {$supplemental_address_1}</font></td>
<td><font size = "1">{$invoice_number}</font></td>
<td><font size = "1">{if $domain_email}{$domain_email}{/if}</font></td>
</tr>
<tr>
<td><font size = "2">{$city|upper} {$stateProvinceAbbreviation} {$postal_code}</font></td>
<td></td>
<td><font size = "1"> {if $domain_phone}{$domain_phone}{/if}</font> </td>
</tr>
<tr>
<td></td>
<td><b><font size = "1">{ts}Reference{/ts}</font></b><font size = "2"> </font></td>
<td></td>
</tr>
<tr>
<td></td>
<td><font size = "1">{$source}</font><font size = "2"> </font></td>
<td></td>
</tr>
</table>
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "605"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcivicrm.stackexchange.com%2fquestions%2f27559%2fhow-do-i-get-the-name-and-address-on-the-invoice-to-show-up-in-a-window-envelope%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
This requires editing of the Contribution Invoice Receipt - Message Template. End result looks like this:
I'll detail the steps below to get the header part.
The header portion contains two tables: the first table is used to add your logo. The second table has the formatting for the Name and Address section: note that we're putting the Member's Name and Address on the far left and in a slight larger font.
<table width="100%" border = "0" style = "margin-top:20px;margin-right:40px;">
<tr>
<td align="right" height="50"><img src = "https://www.yoursite.com/sites/yoursite/files/logo_250x.png"></td>
</tr>
</table>
<table width="100%" border = "0" cellpadding = "2" cellspacing = "1" style = "margin-top:35px;margin-right:20px; font-family: Arial, Verdana, sans-serif;">
<tr>
<td width="40%" rowspan="3"><b><font size = "4" align = "center">{ts}INVOICE{/ts}</font></b></td>
<td width="25%"><b><font size = "1" >{ts}Invoice Date{/ts}</font></b><font size = "2"> </font></td>
<td width="35%"><font size = "1">{$domain_organization}</font></td>
</tr>
<tr>
<td><font size = "1">{$invoice_date}</font><font size = "2"> </font></td>
<td><font size = "1">{$domain_street_address}</font></td>
</tr>
<tr>
<td><font size = "1"></font><font size = "2"> </font></td>
<td><font size = "1">{if $domain_city}{$domain_city|upper}{/if} {if $domain_state }{$domain_state}{/if} {$domain_postal_code}</font></td>
</tr>
<tr>
<td><font size = "2">{$display_name}</font></td>
<td><b><font size = "1" align = "right">{ts}Invoice Number{/ts}</font></b></td>
<td><font size = "1">{if $domain_country}{$domain_country|upper}{/if}</font></td>
</tr>
<tr>
<td><font size = "2">{$street_address} {$supplemental_address_1}</font></td>
<td><font size = "1">{$invoice_number}</font></td>
<td><font size = "1">{if $domain_email}{$domain_email}{/if}</font></td>
</tr>
<tr>
<td><font size = "2">{$city|upper} {$stateProvinceAbbreviation} {$postal_code}</font></td>
<td></td>
<td><font size = "1"> {if $domain_phone}{$domain_phone}{/if}</font> </td>
</tr>
<tr>
<td></td>
<td><b><font size = "1">{ts}Reference{/ts}</font></b><font size = "2"> </font></td>
<td></td>
</tr>
<tr>
<td></td>
<td><font size = "1">{$source}</font><font size = "2"> </font></td>
<td></td>
</tr>
</table>
add a comment |
This requires editing of the Contribution Invoice Receipt - Message Template. End result looks like this:
I'll detail the steps below to get the header part.
The header portion contains two tables: the first table is used to add your logo. The second table has the formatting for the Name and Address section: note that we're putting the Member's Name and Address on the far left and in a slight larger font.
<table width="100%" border = "0" style = "margin-top:20px;margin-right:40px;">
<tr>
<td align="right" height="50"><img src = "https://www.yoursite.com/sites/yoursite/files/logo_250x.png"></td>
</tr>
</table>
<table width="100%" border = "0" cellpadding = "2" cellspacing = "1" style = "margin-top:35px;margin-right:20px; font-family: Arial, Verdana, sans-serif;">
<tr>
<td width="40%" rowspan="3"><b><font size = "4" align = "center">{ts}INVOICE{/ts}</font></b></td>
<td width="25%"><b><font size = "1" >{ts}Invoice Date{/ts}</font></b><font size = "2"> </font></td>
<td width="35%"><font size = "1">{$domain_organization}</font></td>
</tr>
<tr>
<td><font size = "1">{$invoice_date}</font><font size = "2"> </font></td>
<td><font size = "1">{$domain_street_address}</font></td>
</tr>
<tr>
<td><font size = "1"></font><font size = "2"> </font></td>
<td><font size = "1">{if $domain_city}{$domain_city|upper}{/if} {if $domain_state }{$domain_state}{/if} {$domain_postal_code}</font></td>
</tr>
<tr>
<td><font size = "2">{$display_name}</font></td>
<td><b><font size = "1" align = "right">{ts}Invoice Number{/ts}</font></b></td>
<td><font size = "1">{if $domain_country}{$domain_country|upper}{/if}</font></td>
</tr>
<tr>
<td><font size = "2">{$street_address} {$supplemental_address_1}</font></td>
<td><font size = "1">{$invoice_number}</font></td>
<td><font size = "1">{if $domain_email}{$domain_email}{/if}</font></td>
</tr>
<tr>
<td><font size = "2">{$city|upper} {$stateProvinceAbbreviation} {$postal_code}</font></td>
<td></td>
<td><font size = "1"> {if $domain_phone}{$domain_phone}{/if}</font> </td>
</tr>
<tr>
<td></td>
<td><b><font size = "1">{ts}Reference{/ts}</font></b><font size = "2"> </font></td>
<td></td>
</tr>
<tr>
<td></td>
<td><font size = "1">{$source}</font><font size = "2"> </font></td>
<td></td>
</tr>
</table>
add a comment |
This requires editing of the Contribution Invoice Receipt - Message Template. End result looks like this:
I'll detail the steps below to get the header part.
The header portion contains two tables: the first table is used to add your logo. The second table has the formatting for the Name and Address section: note that we're putting the Member's Name and Address on the far left and in a slight larger font.
<table width="100%" border = "0" style = "margin-top:20px;margin-right:40px;">
<tr>
<td align="right" height="50"><img src = "https://www.yoursite.com/sites/yoursite/files/logo_250x.png"></td>
</tr>
</table>
<table width="100%" border = "0" cellpadding = "2" cellspacing = "1" style = "margin-top:35px;margin-right:20px; font-family: Arial, Verdana, sans-serif;">
<tr>
<td width="40%" rowspan="3"><b><font size = "4" align = "center">{ts}INVOICE{/ts}</font></b></td>
<td width="25%"><b><font size = "1" >{ts}Invoice Date{/ts}</font></b><font size = "2"> </font></td>
<td width="35%"><font size = "1">{$domain_organization}</font></td>
</tr>
<tr>
<td><font size = "1">{$invoice_date}</font><font size = "2"> </font></td>
<td><font size = "1">{$domain_street_address}</font></td>
</tr>
<tr>
<td><font size = "1"></font><font size = "2"> </font></td>
<td><font size = "1">{if $domain_city}{$domain_city|upper}{/if} {if $domain_state }{$domain_state}{/if} {$domain_postal_code}</font></td>
</tr>
<tr>
<td><font size = "2">{$display_name}</font></td>
<td><b><font size = "1" align = "right">{ts}Invoice Number{/ts}</font></b></td>
<td><font size = "1">{if $domain_country}{$domain_country|upper}{/if}</font></td>
</tr>
<tr>
<td><font size = "2">{$street_address} {$supplemental_address_1}</font></td>
<td><font size = "1">{$invoice_number}</font></td>
<td><font size = "1">{if $domain_email}{$domain_email}{/if}</font></td>
</tr>
<tr>
<td><font size = "2">{$city|upper} {$stateProvinceAbbreviation} {$postal_code}</font></td>
<td></td>
<td><font size = "1"> {if $domain_phone}{$domain_phone}{/if}</font> </td>
</tr>
<tr>
<td></td>
<td><b><font size = "1">{ts}Reference{/ts}</font></b><font size = "2"> </font></td>
<td></td>
</tr>
<tr>
<td></td>
<td><font size = "1">{$source}</font><font size = "2"> </font></td>
<td></td>
</tr>
</table>
This requires editing of the Contribution Invoice Receipt - Message Template. End result looks like this:
I'll detail the steps below to get the header part.
The header portion contains two tables: the first table is used to add your logo. The second table has the formatting for the Name and Address section: note that we're putting the Member's Name and Address on the far left and in a slight larger font.
<table width="100%" border = "0" style = "margin-top:20px;margin-right:40px;">
<tr>
<td align="right" height="50"><img src = "https://www.yoursite.com/sites/yoursite/files/logo_250x.png"></td>
</tr>
</table>
<table width="100%" border = "0" cellpadding = "2" cellspacing = "1" style = "margin-top:35px;margin-right:20px; font-family: Arial, Verdana, sans-serif;">
<tr>
<td width="40%" rowspan="3"><b><font size = "4" align = "center">{ts}INVOICE{/ts}</font></b></td>
<td width="25%"><b><font size = "1" >{ts}Invoice Date{/ts}</font></b><font size = "2"> </font></td>
<td width="35%"><font size = "1">{$domain_organization}</font></td>
</tr>
<tr>
<td><font size = "1">{$invoice_date}</font><font size = "2"> </font></td>
<td><font size = "1">{$domain_street_address}</font></td>
</tr>
<tr>
<td><font size = "1"></font><font size = "2"> </font></td>
<td><font size = "1">{if $domain_city}{$domain_city|upper}{/if} {if $domain_state }{$domain_state}{/if} {$domain_postal_code}</font></td>
</tr>
<tr>
<td><font size = "2">{$display_name}</font></td>
<td><b><font size = "1" align = "right">{ts}Invoice Number{/ts}</font></b></td>
<td><font size = "1">{if $domain_country}{$domain_country|upper}{/if}</font></td>
</tr>
<tr>
<td><font size = "2">{$street_address} {$supplemental_address_1}</font></td>
<td><font size = "1">{$invoice_number}</font></td>
<td><font size = "1">{if $domain_email}{$domain_email}{/if}</font></td>
</tr>
<tr>
<td><font size = "2">{$city|upper} {$stateProvinceAbbreviation} {$postal_code}</font></td>
<td></td>
<td><font size = "1"> {if $domain_phone}{$domain_phone}{/if}</font> </td>
</tr>
<tr>
<td></td>
<td><b><font size = "1">{ts}Reference{/ts}</font></b><font size = "2"> </font></td>
<td></td>
</tr>
<tr>
<td></td>
<td><font size = "1">{$source}</font><font size = "2"> </font></td>
<td></td>
</tr>
</table>
edited Dec 2 '18 at 18:00
answered Dec 2 '18 at 17:53
KarinG - Semper ITKarinG - Semper IT
10.7k1636
10.7k1636
add a comment |
add a comment |
Thanks for contributing an answer to CiviCRM Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcivicrm.stackexchange.com%2fquestions%2f27559%2fhow-do-i-get-the-name-and-address-on-the-invoice-to-show-up-in-a-window-envelope%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown