diff --git a/sql/message_templates/grant_approved_html.tpl b/sql/message_templates/grant_approved_html.tpl index 2d8b756bbf62de152291f92eea0a1f414d88deef..62309e3d8d583d1aef99d9be5d746c004576ccb9 100644 --- a/sql/message_templates/grant_approved_html.tpl +++ b/sql/message_templates/grant_approved_html.tpl @@ -10,15 +10,15 @@ {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} <p>Dear {contact.display_name},</p> - <p>This is being sent to you as a receipt of {$grant_status} grant.</p> + <p>Your grant application below has been approved.</p> Grant Program Name: {$grant_programs} <br> -Grant Type : {$grant_type}<br> -Total Amount : {$grant.amount_total}<br> +Grant Type: {$grant_type}<br> +Total Amount: {$grant.amount_total|crmMoney:$currency}<br> {if customField} {foreach from=$customField key=key item=data} <b>{$customGroup.$key}</b><br> {foreach from=$data key=dkey item=ddata} -{$ddata.label} : {$ddata.value}<br> +{$ddata.label}: {$ddata.value}<br> {/foreach} {/foreach} {/if} diff --git a/sql/message_templates/grant_approved_subject.tpl b/sql/message_templates/grant_approved_subject.tpl index 61b9691067700a20c9d6d59d130e682d568cae14..48028b8ca07f206fbc7f5533ad057a8a1b0413d6 100644 --- a/sql/message_templates/grant_approved_subject.tpl +++ b/sql/message_templates/grant_approved_subject.tpl @@ -1 +1 @@ -Receipt for {$grant_status} Grant +Grant application approved diff --git a/sql/message_templates/grant_approved_text.tpl b/sql/message_templates/grant_approved_text.tpl index 93b230a4c901d2eea94bed510d7d5f0c22848830..192beb937ea959b7098bff11a6172b0192192a15 100644 --- a/sql/message_templates/grant_approved_text.tpl +++ b/sql/message_templates/grant_approved_text.tpl @@ -1,8 +1,9 @@ Dear {contact.display_name}, - This is being sent to you as a receipt of {$grant_status} grant. + +Your grant application below has been approved. Grant Program Name: {$grant_programs} <br> Grant Type {$grant_type} -Total Amount: {$grant.amount_total} +Total Amount: {$grant.amount_total|crmMoney:$currency} {if customField} {foreach from=$customField key=key item=data} {$customGroup.$key} diff --git a/sql/message_templates/grant_awaiting_info_html.tpl b/sql/message_templates/grant_awaiting_info_html.tpl index 66176a93ba0c3a5b95d459f23fa87948365bcc79..cf5bd4fad556e6bf02024c5d4f47c6adda231f37 100644 --- a/sql/message_templates/grant_awaiting_info_html.tpl +++ b/sql/message_templates/grant_awaiting_info_html.tpl @@ -10,19 +10,18 @@ {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} <p>Dear {contact.display_name},</p> - <p>This is being sent to you as a receipt of {$grant_status} grant.</p> + <p>Processing of your grant application has been put on hold while we await further information from you.</p> Grant Program Name: {$grant_programs} <br> -Grant Type : {$grant_type}<br> -Total Amount : {$grant.amount_total}<br> +Grant Type: {$grant_type}<br> +Total Amount: {$grant.amount_total|crmMoney:$currency}<br> {if $grant.grant_incomplete_reason} -Grant Incomplete Reason: -{$grant.grant_incomplete_reason}<br> +Grant Incomplete Reason: {$grant.grant_incomplete_reason}<br> {/if} {if customField} {foreach from=$customField key=key item=data} <b>{$customGroup.$key}</b><br> {foreach from=$data key=dkey item=ddata} -{$ddata.label} : {$ddata.value}<br> +{$ddata.label}: {$ddata.value}<br> {/foreach} {/foreach} {/if} diff --git a/sql/message_templates/grant_awaiting_info_subject.tpl b/sql/message_templates/grant_awaiting_info_subject.tpl index 61b9691067700a20c9d6d59d130e682d568cae14..3e802f92d123275776fd4d5ca22a093b52c53060 100644 --- a/sql/message_templates/grant_awaiting_info_subject.tpl +++ b/sql/message_templates/grant_awaiting_info_subject.tpl @@ -1 +1 @@ -Receipt for {$grant_status} Grant +Awaiting information regarding your {$grant_type} application diff --git a/sql/message_templates/grant_awaiting_info_text.tpl b/sql/message_templates/grant_awaiting_info_text.tpl index 813a70d07b3a1bba831630ee12aeca203d528b62..4b50b441f62007bc3e7e563d8061b1c52ed60388 100644 --- a/sql/message_templates/grant_awaiting_info_text.tpl +++ b/sql/message_templates/grant_awaiting_info_text.tpl @@ -1,17 +1,17 @@ Dear {contact.display_name}, - This is being sent to you as a receipt of {$grant_status} grant. -Grant Program Name: {$grant_programs} <br> -Grant Type {$grant_type}<br> -Total Amount: {$grant.amount_total}<br> + +Processing of your grant application has been put on hold while we await further information from you. +Grant Program Name: {$grant_programs} +Grant Type: {$grant_type}<br> +Total Amount: {$grant.amount_total|crmMoney:$currency} {if $grant.grant_incomplete_reason} -Grant Incomplete Reason: -{$grant.grant_incomplete_reason}<br> +Grant Incomplete Reason: {$grant.grant_incomplete_reason} {/if} {if customField} {foreach from=$customField key=key item=data} {$customGroup.$key} {foreach from=$data key=dkey item=ddata} -{$ddata.label} : {$ddata.value}<br> +{$ddata.label}: {$ddata.value}<br> {/foreach} {/foreach} {/if} \ No newline at end of file diff --git a/sql/message_templates/grant_eligible_html.tpl b/sql/message_templates/grant_eligible_html.tpl index 2d8b756bbf62de152291f92eea0a1f414d88deef..7c0b03fba9950394e489752888b351049397f8fd 100644 --- a/sql/message_templates/grant_eligible_html.tpl +++ b/sql/message_templates/grant_eligible_html.tpl @@ -10,15 +10,15 @@ {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} <p>Dear {contact.display_name},</p> - <p>This is being sent to you as a receipt of {$grant_status} grant.</p> + <p>We have determined that the grant application below is eligible to receive an award. The actual amount to be awarded will be determined at a later date.</p> Grant Program Name: {$grant_programs} <br> -Grant Type : {$grant_type}<br> -Total Amount : {$grant.amount_total}<br> +Grant Type: {$grant_type}<br> +Total Amount: {$grant.amount_total|crmMoney:$currency}<br> {if customField} {foreach from=$customField key=key item=data} <b>{$customGroup.$key}</b><br> {foreach from=$data key=dkey item=ddata} -{$ddata.label} : {$ddata.value}<br> +{$ddata.label}: {$ddata.value}<br> {/foreach} {/foreach} {/if} diff --git a/sql/message_templates/grant_eligible_subject.tpl b/sql/message_templates/grant_eligible_subject.tpl index 61b9691067700a20c9d6d59d130e682d568cae14..ebd3a44775a20d91d7dde1f842134fb1f29b0906 100644 --- a/sql/message_templates/grant_eligible_subject.tpl +++ b/sql/message_templates/grant_eligible_subject.tpl @@ -1 +1 @@ -Receipt for {$grant_status} Grant +Your {$grant_type} grant application is eligible diff --git a/sql/message_templates/grant_eligible_text.tpl b/sql/message_templates/grant_eligible_text.tpl index 93b230a4c901d2eea94bed510d7d5f0c22848830..5bb14f3975c78707cc9e3248a269d48babb5c488 100644 --- a/sql/message_templates/grant_eligible_text.tpl +++ b/sql/message_templates/grant_eligible_text.tpl @@ -1,13 +1,14 @@ Dear {contact.display_name}, - This is being sent to you as a receipt of {$grant_status} grant. + +We have determined that the grant application below is eligible to receive an award. The actual amount to be awarded will be determined at a later date. Grant Program Name: {$grant_programs} <br> -Grant Type {$grant_type} -Total Amount: {$grant.amount_total} +Grant Type: {$grant_type} +Total Amount: {$grant.amount_total|crmMoney:$currency} {if customField} {foreach from=$customField key=key item=data} {$customGroup.$key} {foreach from=$data key=dkey item=ddata} -{$ddata.label} : {$ddata.value}<br> +{$ddata.label}: {$ddata.value}<br> {/foreach} {/foreach} {/if} \ No newline at end of file diff --git a/sql/message_templates/grant_ineligible_html.tpl b/sql/message_templates/grant_ineligible_html.tpl index 44922458c0ee51205e5169ab771325284ce38ded..5068cbceacee2ee7f46b91777f2ac2707ae7cbf6 100644 --- a/sql/message_templates/grant_ineligible_html.tpl +++ b/sql/message_templates/grant_ineligible_html.tpl @@ -10,19 +10,18 @@ {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} <p>Dear {contact.display_name},</p> - <p>This is being sent to you as a receipt of {$grant_status} grant.</p> + <p>We regret to inform you that the application below is ineligible.</p> Grant Program Name: {$grant_programs} <br> -Grant Type : {$grant_type}<br> -Total Amount : {$grant.amount_total}<br> +Grant Type: {$grant_type}<br> +Total Amount: {$grant.amount_total|crmMoney:$currency}<br> {if $grant.grant_rejected_reason} -Grant Ineligible Reason: -{$grant.$grant.grant_rejected_reason}<br> +Grant Ineligible Reason: {$grant.$grant.grant_rejected_reason}<br> {/if} {if customField} {foreach from=$customField key=key item=data} <b>{$customGroup.$key}</b><br> {foreach from=$data key=dkey item=ddata} -{$ddata.label} : {$ddata.value}<br> +{$ddata.label}: {$ddata.value}<br> {/foreach} {/foreach} {/if} diff --git a/sql/message_templates/grant_ineligible_subject.tpl b/sql/message_templates/grant_ineligible_subject.tpl index 6cad7a0dbb91bf357e8d07a1cc5796e841d38a32..2f4c4e544502c33c8c821e5e65632d02eb21fcd0 100644 --- a/sql/message_templates/grant_ineligible_subject.tpl +++ b/sql/message_templates/grant_ineligible_subject.tpl @@ -1 +1 @@ -Receipt for {$grant_status} Grant \ No newline at end of file +Your {$grant_type} Grant Application \ No newline at end of file diff --git a/sql/message_templates/grant_ineligible_text.tpl b/sql/message_templates/grant_ineligible_text.tpl index 8cd8dd987e90b911a20b7835f51191b2fdabf0eb..31919438aaa7faca2b4015a3bef9077afedb4f06 100644 --- a/sql/message_templates/grant_ineligible_text.tpl +++ b/sql/message_templates/grant_ineligible_text.tpl @@ -1,17 +1,17 @@ Dear {contact.display_name}, - This is being sent to you as a receipt of {$grant_status} grant. + +We regret to inform you that the application below is ineligible. Grant Program Name: {$grant_programs} <br> -Grant Type {$grant_type} -Total Amount: {$grant.amount_total} +Grant Type: {$grant_type} +Total Amount: {$grant.amount_total|crmMoney:$currency} {if $grant.grant_rejected_reason} -Grant Ineligible Reason: -{$grant.grant_rejected_reason}<br> +Grant Ineligible Reason: {$grant.grant_rejected_reason}<br> {/if} {if customField} {foreach from=$customField key=key item=data} {$customGroup.$key} {foreach from=$data key=dkey item=ddata} -{$ddata.label} : {$ddata.value}<br> +{$ddata.label}: {$ddata.value}<br> {/foreach} {/foreach} {/if} \ No newline at end of file diff --git a/sql/message_templates/grant_paid_html.tpl b/sql/message_templates/grant_paid_html.tpl index 2d8b756bbf62de152291f92eea0a1f414d88deef..06ebaf2654a60ed75501f93adb5a57290db3f031 100644 --- a/sql/message_templates/grant_paid_html.tpl +++ b/sql/message_templates/grant_paid_html.tpl @@ -10,15 +10,15 @@ {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} <p>Dear {contact.display_name},</p> - <p>This is being sent to you as a receipt of {$grant_status} grant.</p> + <p>~We have just created a payment for the application listed below.</p> Grant Program Name: {$grant_programs} <br> -Grant Type : {$grant_type}<br> -Total Amount : {$grant.amount_total}<br> +Grant Type: {$grant_type}<br> +Total Amount: {$grant.amount_total|crmMoney:$currency}<br> {if customField} {foreach from=$customField key=key item=data} <b>{$customGroup.$key}</b><br> {foreach from=$data key=dkey item=ddata} -{$ddata.label} : {$ddata.value}<br> +{$ddata.label}: {$ddata.value}<br> {/foreach} {/foreach} {/if} diff --git a/sql/message_templates/grant_paid_text.tpl b/sql/message_templates/grant_paid_text.tpl index 93b230a4c901d2eea94bed510d7d5f0c22848830..f6aa2ad621a8773f6e11616c76c4a63f155658d0 100644 --- a/sql/message_templates/grant_paid_text.tpl +++ b/sql/message_templates/grant_paid_text.tpl @@ -1,13 +1,14 @@ Dear {contact.display_name}, - This is being sent to you as a receipt of {$grant_status} grant. + +We have just created a payment for the application listed below. Grant Program Name: {$grant_programs} <br> -Grant Type {$grant_type} -Total Amount: {$grant.amount_total} +Grant Type: {$grant_type} +Total Amount: {$grant.amount_total|crmMoney:$currency} {if customField} {foreach from=$customField key=key item=data} {$customGroup.$key} {foreach from=$data key=dkey item=ddata} -{$ddata.label} : {$ddata.value}<br> +{$ddata.label}: {$ddata.value}<br> {/foreach} {/foreach} {/if} \ No newline at end of file diff --git a/sql/message_templates/grant_payment_check_html.tpl b/sql/message_templates/grant_payment_check_html.tpl index 1d90a8e6beb8d69637e5d0c27ce1456b61c4feb8..f55a517c90eb305d2fcb348a42601c0e50513de5 100644 --- a/sql/message_templates/grant_payment_check_html.tpl +++ b/sql/message_templates/grant_payment_check_html.tpl @@ -13,14 +13,14 @@ </tr> <tr> <td width="85%">total_in_words</td><td width="15%" style="float:right; text-align:right;">check_total</td> - </tr> + </tr> </table> </div> <div style="height:60px" > <table width="100%" cellpadding=0 cellspacing=0 ;"> <tr> <td width="100%">payable_to_name</td> - </tr> + </tr> <tr> <td width="100%">payable_to_address</td> </tr> @@ -34,14 +34,14 @@ </table> </div> <div style="height:300px" > - <div style="float:right; text-align:right;"> payment_id </div> + <div style="float:right; text-align:right;"> payment_id </div> <table width="100%" cellpadding=0 cellspacing=0 > <tr><td width="100%" colspan="4">RE: payment_reason</td></tr> <tr><td width="15%">Payment Date</td><td width="15%">Grant ID</td><td width="50%">Payee</td><td width="20%">Amount</td></tr> - <tr><td width="15%">payment_details</td> </tr> + <tr><td width="15%">payment_details</td> </tr> <tr> - <td width="15%"></td><td width="15%%"></td><td width="50%" style="text-align:right;" >Total Amount </td><td width="15%" >CAD :amount</td> - </tr> + <td width="15%"></td><td width="15%%"></td><td width="50%" style="text-align:right;" >Total Amount </td><td width="15%" >currency amount</td> + </tr> </table> </div> <div style="height:265px" > @@ -50,10 +50,10 @@ <tr><td width="100%" colspan="4">RE: payment_reason</td></tr> <tr><td width="15%">Payment Date</td><td width="15%">Grant ID</td><td width="50%">Payee</td><td width="20%">Amount</td></tr> <tr><td width="15%">payment_details</td> - </tr> + </tr> <tr> - <td width="15%"></td><td width="15%%"></td><td width="50%" style="text-align:right; ">Total Amount </td><td width="20%" >CAD :amount</td> - </tr> + <td width="15%"></td><td width="15%%"></td><td width="50%" style="text-align:right; ">Total Amount </td><td width="20%" >currency amount</td> + </tr> </table> </div> </body> diff --git a/sql/message_templates/grant_payment_report_html.tpl b/sql/message_templates/grant_payment_report_html.tpl index 162fde03cfe917262cfebcef56b2dfd903dc59c1..1d9048413316c584b39fe538a8e7015cef7f5bc8 100644 --- a/sql/message_templates/grant_payment_report_html.tpl +++ b/sql/message_templates/grant_payment_report_html.tpl @@ -7,21 +7,21 @@ <body> {assign var='page' value=1} <div style="float:right; text-align:right; margin-top:-50px;"> Page: {$page} </div> - <table width="100%" cellpadding=0 cellspacing=0 > + <table width="100%" cellpadding=0 cellspacing=0 > <tr> - <td width="50%" align="right"><b><font size="2">{$domain_name}</font></b></td><td width="25%" align="right" ><b><font size="2">Run By :</font></b></td><td width="25%" align="left" ><font size="2">{$contact}</font></td> + <td width="50%" align="right"><b><font size="2">{$domain_name}</font></b></td><td width="25%" align="right" ><b><font size="2">Run By:</font></b></td><td width="25%" align="left" ><font size="2">{$contact}</font></td> </tr> <tr> - <td width="50%" align="right"></td><td width="25%" align="right" ><b><font size="2">Date :</font></b></td><td width="25%" align="left" ><font size="2">{$date}</font></td> + <td width="50%" align="right"></td><td width="25%" align="right" ><b><font size="2">Date:</font></b></td><td width="25%" align="left" ><font size="2">{$date}</font></td> </tr> <tr> - <td width="50%" align="right"><b><font size="2">A/P Cheque Register</font></b></td><td width="25%" align="right" ><b><font size="2">Time :</font></b></td><td width="25%" align="left" ><font size="2">{$time}</font></td> - </tr> + <td width="50%" align="right"><b><font size="2">A/P Cheque Register</font></b></td><td width="25%" align="right" ><b><font size="2">Time:</font></b></td><td width="25%" align="left" ><font size="2">{$time}</font></td> + </tr> </table> </br> - <table width="100%" cellpadding=0 cellspacing=0 > + <table width="100%" cellpadding=0 cellspacing=0 > <tr> - <td width="25%" align="center" ><b><font size="2">Batch ID:{$batch_number}</font></b></td><td width="25%" align="center" ><b><font size="2">Currency: CAD</font></b></td><td width="25%" align="center" ><b><font size="2">Accounting Year: 2012</font></b></td> + <td width="25%" align="center" ><b><font size="2">Batch ID:{$batch_number}</font></b></td><td width="25%" align="center" ><b><font size="2">Currency: {$currency}</font></b></td><td width="25%" align="center" ><b><font size="2">Accounting Year: 2012</font></b></td> </tr> </table> <hr/></br></br> <table width="100%" cellpadding=0 cellspacing=0 > @@ -37,23 +37,23 @@ <tr style="page-break-after:always"> <td width="10%"><font size="2">{$data.payment_number}</font></td><td width="10%"><font size="2">{$key}</font></td><td width="20%"><font size="2">{$data.payable_to_name}</font></td><td width="25%" align="center" ><b><font size="2">Account:{$data.account_name}</font></b></td><td width="12%" align="right" ><font size="2" >{$data.amount} </font></td><td width="12%"><font size="2">{$data.payment_date}</font></td><td width="15%"><font size="2"> {$contact}</font></td><td width="14%"><font size="2">{$data.payment_created_date}</font></td><td width="12%" ><font size="2">{$data.replaces_payment_id}</font></td> </tr> - </table> + </table> <div style="float:right; text-align:right; margin-top:-50px;"> Page: {$page} </div> - <table width="100%" cellpadding=0 cellspacing=0 > + <table width="100%" cellpadding=0 cellspacing=0 > <tr> - <td width="50%" align="right"><b><font size="2">{$domain_name}</font></b></td><td width="25%" align="right" ><b><font size="2">Run By :</font></b></td><td width="25%" align="left" ><font size="2">{$contact}</font></td> + <td width="50%" align="right"><b><font size="2">{$domain_name}</font></b></td><td width="25%" align="right" ><b><font size="2">Run By:</font></b></td><td width="25%" align="left" ><font size="2">{$contact}</font></td> </tr> <tr> - <td width="50%" align="right"></td><td width="25%" align="right" ><b><font size="2">Date :</font></b></td><td width="25%" align="left" ><font size="2">{$date}</font></td> + <td width="50%" align="right"></td><td width="25%" align="right" ><b><font size="2">Date:</font></b></td><td width="25%" align="left" ><font size="2">{$date}</font></td> </tr> <tr> - <td width="50%" align="right"><b><font size="2">A/P Cheque Register</font></b></td><td width="25%" align="right" ><b><font size="2">Time :</font></b></td><td width="25%" align="left" ><font size="2">{$time}</font></td> - </tr> + <td width="50%" align="right"><b><font size="2">A/P Cheque Register</font></b></td><td width="25%" align="right" ><b><font size="2">Time:</font></b></td><td width="25%" align="left" ><font size="2">{$time}</font></td> + </tr> </table> </br> - <table width="100%" cellpadding=0 cellspacing=0 > + <table width="100%" cellpadding=0 cellspacing=0 > <tr> - <td width="25%" align="center" ><b><font size="2">Batch ID:{$batch_number}</font></b></td><td width="25%" align="center" ><b><font size="2">Currency: CAD</font></b></td><td width="25%" align="center" ><b><font size="2">Account:{$account_name}</font></b></td><td width="25%" align="center" ><b><font size="2">Accounting Year: 2012</font></b></td> + <td width="25%" align="center" ><b><font size="2">Batch ID:{$batch_number}</font></b></td><td width="25%" align="center" ><b><font size="2">Currency: {$currency}</font></b></td><td width="25%" align="center" ><b><font size="2">Account:{$account_name}</font></b></td><td width="25%" align="center" ><b><font size="2">Accounting Year: 2012</font></b></td> </tr> </table> <hr/></br></br> <table width="100%" cellpadding=0 cellspacing=0 > @@ -69,11 +69,11 @@ {assign var='count' value=$count+1} {/foreach} {/if} - </table> + </table> <br><br><hr> <table width="100%" cellpadding=0 cellspacing=0 > - <tr><td colspan="2"><b>Statistics:</b></td></tr> - <tr><td width="50%">Number of cheques : {$total_payments}</td><td width="50%">Total amount : {$total_amount} </td></tr> - </table> + <tr><td colspan="2"><b>Statistics:</b></td></tr> + <tr><td width="50%">Number of cheques: {$total_payments}</td><td width="50%">Total amount: {$total_amount} </td></tr> + </table> </body> </html> \ No newline at end of file diff --git a/sql/message_templates/grant_submitted_html.tpl b/sql/message_templates/grant_submitted_html.tpl index 2d8b756bbf62de152291f92eea0a1f414d88deef..e2538019c88e890a37621e5c6a52467ceb455ee8 100644 --- a/sql/message_templates/grant_submitted_html.tpl +++ b/sql/message_templates/grant_submitted_html.tpl @@ -10,15 +10,15 @@ {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} <p>Dear {contact.display_name},</p> - <p>This is being sent to you as a receipt of {$grant_status} grant.</p> + <p>This is to let you know that we have received your application as detailed below.</p> Grant Program Name: {$grant_programs} <br> -Grant Type : {$grant_type}<br> -Total Amount : {$grant.amount_total}<br> +Grant Type: {$grant_type}<br> +Total Amount: {$grant.amount_total|crmMoney:$currency}<br> {if customField} {foreach from=$customField key=key item=data} <b>{$customGroup.$key}</b><br> {foreach from=$data key=dkey item=ddata} -{$ddata.label} : {$ddata.value}<br> +{$ddata.label}: {$ddata.value}<br> {/foreach} {/foreach} {/if} diff --git a/sql/message_templates/grant_submitted_text.tpl b/sql/message_templates/grant_submitted_text.tpl index 93b230a4c901d2eea94bed510d7d5f0c22848830..bba2b242e11e6bd5ddd368ae4516fd3bf327da2c 100644 --- a/sql/message_templates/grant_submitted_text.tpl +++ b/sql/message_templates/grant_submitted_text.tpl @@ -1,13 +1,14 @@ Dear {contact.display_name}, - This is being sent to you as a receipt of {$grant_status} grant. + +This is to let you know that we have received your application as detailed below. Grant Program Name: {$grant_programs} <br> -Grant Type {$grant_type} -Total Amount: {$grant.amount_total} +Grant Type: {$grant_type} +Total Amount: {$grant.amount_total|crmMoney:$currency} {if customField} {foreach from=$customField key=key item=data} {$customGroup.$key} {foreach from=$data key=dkey item=ddata} -{$ddata.label} : {$ddata.value}<br> +{$ddata.label}: {$ddata.value}<br> {/foreach} {/foreach} {/if} \ No newline at end of file diff --git a/sql/message_templates/grant_withdrawn_html.tpl b/sql/message_templates/grant_withdrawn_html.tpl index 0749e5eb674cb9ab0c73e0c1e07634283a42556a..eb8165c66321261dc14cd6fd44cf94a783457802 100644 --- a/sql/message_templates/grant_withdrawn_html.tpl +++ b/sql/message_templates/grant_withdrawn_html.tpl @@ -10,15 +10,15 @@ {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} <p>Dear {contact.display_name},</p> - <p>This is being sent to you as a receipt of {$grant_status} grant.</p> -Grant Program Name : {$grant_programs} <br> -Grant Type : {$grant_type}<br> -Total Amount : {$grant.amount_total}<br> + <p>Thank you for the notification that you want the grant application below and any associated award to be withdrawn. We have completed the withdrawal now.</p> +Grant Program Name: {$grant_programs} <br> +Grant Type: {$grant_type}<br> +Total Amount: {$grant.amount_total|crmMoney:$currency}<br> {if customField} {foreach from=$customField key=key item=data} <b>{$customGroup.$key}</b><br> {foreach from=$data key=dkey item=ddata} -{$ddata.label} : {$ddata.value}<br> +{$ddata.label}: {$ddata.value}<br> {/foreach} {/foreach} {/if} diff --git a/sql/message_templates/grant_withdrawn_subject.tpl b/sql/message_templates/grant_withdrawn_subject.tpl index 6cad7a0dbb91bf357e8d07a1cc5796e841d38a32..0480f9be87024f456bb9cad812a989cdfbbbe516 100644 --- a/sql/message_templates/grant_withdrawn_subject.tpl +++ b/sql/message_templates/grant_withdrawn_subject.tpl @@ -1 +1 @@ -Receipt for {$grant_status} Grant \ No newline at end of file +Withdrawal of Grant Application \ No newline at end of file diff --git a/sql/message_templates/grant_withdrawn_text.tpl b/sql/message_templates/grant_withdrawn_text.tpl index 93b230a4c901d2eea94bed510d7d5f0c22848830..84c2b78b122eba46e38184ef823016e52cf2b679 100644 --- a/sql/message_templates/grant_withdrawn_text.tpl +++ b/sql/message_templates/grant_withdrawn_text.tpl @@ -1,13 +1,14 @@ Dear {contact.display_name}, - This is being sent to you as a receipt of {$grant_status} grant. + +Thank you for the notification that you want the grant application below and any associated award to be withdrawn. We have completed the withdrawal now. Grant Program Name: {$grant_programs} <br> -Grant Type {$grant_type} -Total Amount: {$grant.amount_total} +Grant Type: {$grant_type} +Total Amount: {$grant.amount_total|crmMoney:$currency} {if customField} -{foreach from=$customField key=key item=data} -{$customGroup.$key} -{foreach from=$data key=dkey item=ddata} -{$ddata.label} : {$ddata.value}<br> -{/foreach} -{/foreach} + {foreach from=$customField key=key item=data} + {$customGroup.$key} + {foreach from=$data key=dkey item=ddata} +{$ddata.label}: {$ddata.value}<br> + {/foreach} + {/foreach} {/if} \ No newline at end of file