Commit | Line | Data |
---|---|---|
cf612441 PB |
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html xmlns = "http://www.w3.org/1999/xhtml"> | |
3 | <head> | |
4 | <meta http-equiv = "Content-Type" content="text/html; charset=UTF-8" /> | |
5 | <title></title> | |
6 | </head> | |
7 | <body> | |
82b0700d | 8 | <table style = "margin-top:2px;padding-left:7px;"> |
cf612441 | 9 | <tr> |
9f8fe885 | 10 | <td><img src = "{$resourceBase}/i/civi99.png" height = "34px" width = "99px"></td> |
cf612441 PB |
11 | </tr> |
12 | </table> | |
13 | <center> | |
82b0700d | 14 | <table style = "padding-right:19px;font-family: Arial, Verdana, sans-serif;" width = "500" height = "100" border = "0" cellpadding = "2" cellspacing = "1"> |
d75f2f47 EM |
15 | <tr> |
16 | <td style = "padding-left:15px;" ><b><font size = "4" align = "center">TAX INVOICE</font></b></td> | |
cf612441 | 17 | <td colspan = "1"></td> |
d75f2f47 | 18 | <td style = "padding-left:70px;"><b><font size = "1" align = "center" >Invoice Date:</font></b></td> |
82b0700d | 19 | <td><font size = "1" align = "right">{$domain_organization}</font></td> |
d75f2f47 | 20 | </tr> |
cf612441 PB |
21 | <tr> |
22 | {if $organization_name} | |
82b0700d PB |
23 | <td style = "padding-left:17px;"><font size = "1" align = "center" >{$display_name} ({$organization_name})</font></td> |
24 | {else} | |
25 | <td style = "padding-left:15px;"><font size = "1" align = "center" >{$display_name}</font></td> | |
cf612441 PB |
26 | {/if} |
27 | <td colspan = "1"></td> | |
82b0700d | 28 | <td style = "padding-left:70px;"><font size = "1" align = "right">{$invoice_date}</font></td> |
d75f2f47 EM |
29 | <td><font size = "1" align = "right"> |
30 | {if $domain_street_address } | |
31 | {$domain_street_address} | |
32 | {/if} | |
33 | {if $domain_supplemental_address_1 }{$domain_supplemental_address_1}{/if}</font></td> | |
34 | </tr> | |
cf612441 | 35 | <tr> |
82b0700d | 36 | <td style = "padding-left:17px;"><font size = "1" align = "center">{$street_address} {$supplemental_address_1}</font></td> |
cf612441 | 37 | <td colspan = "1"></td> |
d75f2f47 EM |
38 | <td style = "padding-left:70px;"><b><font size = "1" align = "right">Incoice Number:</font></b></td> |
39 | <td ><font size = "1" align = "right">{if $domain_supplemental_address_2 }{$domain_supplemental_address_2}{/if} | |
40 | {if $domain_state }{$domain_state}{/if}</font></td> | |
cf612441 PB |
41 | </tr> |
42 | <tr> | |
82b0700d | 43 | <td style = "padding-left:17px;"><font size = "1" align = "center">{$supplemental_address_2} {$stateProvinceAbbreviation}</font></td> |
cf612441 | 44 | <td colspan="1"></td> |
82b0700d | 45 | <td style = "padding-left:70px;"><font size = "1" align = "right">{$invoice_id}</font></td> |
d75f2f47 EM |
46 | <td><font size = "1" align = "right">{if $domain_city} |
47 | {$domain_city} | |
48 | {/if} | |
49 | {if $domain_postal_code } | |
50 | {$domain_postal_code} | |
51 | {/if} | |
52 | </font></td> | |
53 | </tr> | |
54 | <tr> | |
55 | <td style = "padding-left:17px;"><font size = "1" align = "right">{$city} {$postal_code}</font></td> | |
cf612441 | 56 | <td colspan="1"></td> |
d75f2f47 EM |
57 | <td height = "10" style = "padding-left:70px;"><b><font size = "1"align = "right">Reference:</font></b></td> |
58 | <td><font size = "1" align = "right"> {if $domain_country} | |
59 | {$domain_country} | |
60 | {/if}</font></td> | |
61 | </tr> | |
62 | <tr> | |
63 | <td></td> | |
64 | <td></td> | |
65 | <td style = "padding-left:70px;"><font size = "1"align = "right">{$source}</font></td> | |
66 | <td><font size = "1" align = "right"> {if $domain_phone}{$domain_phone}{/if}</font> </td> | |
67 | </tr> | |
68 | <tr> | |
69 | <td></td> | |
70 | <td></td> | |
71 | <td></td> | |
72 | <td><font size = "1" align = "right"> {if $domain_email} | |
73 | {$domain_email} | |
74 | {/if}</font> </td> | |
75 | </tr> | |
cf612441 | 76 | </table> |
d75f2f47 EM |
77 | <table style = "margin-top:75px;font-family: Arial, Verdana, sans-serif" width = "590" border = "0"cellpadding = "-5" cellspacing = "19" id = "desc"> |
78 | <tr> | |
cf612441 PB |
79 | <td colspan = "2" {$valueStyle}> |
80 | <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *} | |
81 | <tr> | |
82 | <th style = "padding-right:34px;text-align:left;font-weight:bold;width:200px;"><font size = "1">Description</font></th> | |
83 | <th style = "padding-left:34px;text-align:right;font-weight:bold;" ><font size = "1">Quantity</font></th> | |
84 | <th style = "padding-left:34px;text-align:right;font-weight:bold;"><font size = "1">Unit Price</font></th> | |
85 | <th style = "padding-left:34px;text-align:right;font-weight:bold;width:20px;"><font size = "1">{$taxTerm} </font></th> | |
86 | <th style = "padding-left:34px;text-align:right;font-weight:bold;"><font size = "1">Amount {$defaultCurrency}</font></th> | |
87 | </tr> | |
82b0700d | 88 | {foreach from=$lineItem item=value key=priceset name=taxpricevalue} |
d75f2f47 EM |
89 | {if $smarty.foreach.taxpricevalue.index eq 0} |
90 | <tr><td colspan = "5" ><hr size="3" style = "color:#000;"></hr></td></tr> | |
91 | {else} | |
92 | <tr><td colspan = "5" style = "color:#F5F5F5;"><hr></hr></td></tr> | |
93 | {/if} | |
cf612441 PB |
94 | <tr> |
95 | <td style="text-align:left;" ><font size = "1"> | |
d75f2f47 EM |
96 | {if $value.html_type eq 'Text'}{$value.label}{else}{$value.field_title} - {$value.label}{/if} {if $value.description}<div>{$value.description|truncate:30:"..."}</div>{/if} |
97 | </font></td> | |
98 | <td style = "padding-left:34px;text-align:right;"><font size = "1"> {$value.qty}</font></td> | |
99 | <td style = "padding-left:34px;text-align:right;"><font size = "1"> {$value.unit_price|crmMoney:$currency}</font></td> | |
100 | {if $value.tax_amount != ''} | |
101 | <td style = "padding-left:34px;text-align:right;width:20px;"><font size = "1"> {$value.tax_rate}%</font></td> | |
82b0700d | 102 | {else} |
d75f2f47 EM |
103 | <td style = "padding-left:34px;text-align:right;width:20px;"><font size = "1">No {$taxTerm}</font></td> |
104 | {/if} | |
105 | <td style = "padding-left:34px;text-align:right;"><font size = "1">{$value.subTotal|crmMoney:$currency}</font></td> | |
106 | </tr> | |
82b0700d | 107 | {/foreach} |
d75f2f47 EM |
108 | <tr><td colspan = "5" style = "color:#F5F5F5;"><hr></hr></td></tr> |
109 | <tr> | |
110 | <td colspan = "3"></td> | |
111 | <td style = "padding-left:20px;text-align:right;"><font size = "1">Sub Total</font></td> | |
112 | <td style = "padding-left:34px;text-align:right;"><font size = "1"> {$subTotal|crmMoney:$currency}</font></td> | |
113 | </tr> | |
114 | {foreach from = $dataArray item = value key = priceset} | |
115 | <tr> | |
116 | <td colspan = "3"></td> | |
117 | {if $priceset} | |
118 | <td style = "padding-left:20px;text-align:right;"><font size = "1"> TOTAL {$taxTerm} {$priceset}%</font></td> | |
119 | <td style = "padding-left:34px;text-align:right"><font size = "1" align = "right">{$value|crmMoney:$currency}</font> </td> | |
82b0700d PB |
120 | {elseif $priceset == 0} |
121 | <td style = "padding-left:20px;text-align:right;"><font size = "1">TOTAL NO {$taxTerm}</font></td> | |
122 | <td style = "padding-left:34px;text-align:right"><font size = "1" align = "right">{$value|crmMoney:$currency}</font> </td> | |
cf612441 | 123 | </tr> |
d75f2f47 EM |
124 | {/if} |
125 | {/foreach} | |
126 | <tr> | |
127 | <td colspan = "3"></td> | |
128 | <td colspan = "2"><hr></hr></td> | |
129 | </tr> | |
cf612441 | 130 | |
d75f2f47 EM |
131 | <tr> |
132 | <td colspan = "3"></td> | |
133 | <td style = "padding-left:20px;text-align:right;"><b><font size = "1">TOTAL {$defaultCurrency}</font></b></td> | |
134 | <td style = "padding-left:34px;text-align:right;"><font size = "1">{$amount|crmMoney:$currency}</font></td> | |
135 | </tr> | |
cf612441 | 136 | |
d75f2f47 EM |
137 | {if $is_pay_later == 0} |
138 | <tr> | |
139 | <td colspan = "3"></td> | |
140 | <td style = "padding-left:20px;text-align:right;"><font size = "1"> | |
141 | {if $contribution_status_id == $refundedStatusId} | |
142 | LESS Amount Credited | |
143 | {else} | |
144 | LESS Amount Paid | |
145 | {/if} | |
146 | </font></td> | |
147 | <td style = "padding-left:34px;text-align:right;"><font size = "1">{$amount|crmMoney:$currency}</font></td> | |
148 | </tr> | |
149 | <tr> | |
150 | <td colspan = "3"></td> | |
151 | <td colspan = "2" ><hr></hr></td> | |
152 | </tr> | |
153 | <tr> | |
154 | <td colspan = "3"></td> | |
155 | <td style = "padding-left:20px;text-align:right;"><b><font size = "1">AMOUNT DUE: </font></b></td> | |
82b0700d | 156 | <td style = "padding-left:34px;text-align:right;"><b><font size = "1">{$amountDue|crmMoney:$currency}</font></b></td> <td style = "padding-left:34px;"><font size = "1" align = "right"></fonts></td> |
d75f2f47 EM |
157 | </tr> |
158 | {/if} | |
159 | <br/><br/><br/> | |
160 | <tr> | |
161 | <td colspan = "3"></td> | |
162 | </tr> | |
163 | <tr> | |
164 | <td><b><font size = "1" align = "center">DUE DATE: {$dueDate}</font></b></td> | |
165 | <td colspan = "3"></td> | |
166 | </tr> | |
cf612441 PB |
167 | </table> |
168 | </td> | |
169 | </tr> | |
170 | </table> | |
cf612441 PB |
171 | <table style = "margin-top:5px;padding-right:45px;"> |
172 | <tr> | |
9f8fe885 | 173 | <td><img src = "{$resourceBase}/i/contribute/cut_line.png" height = "15" width = "630"></td> |
cf612441 PB |
174 | </tr> |
175 | </table> | |
d75f2f47 EM |
176 | <table style = "margin-top:6px;padding-right:20px;font-family: Arial, Verdana, sans-serif" width = "480" border = "0"cellpadding = "-5" cellspacing="19" id = "desc"> |
177 | <tr> | |
178 | <td width="60%"><b><font size = "4" align = "right">PAYMENT ADVICE</font></b> <br/><br/> <font size = "1" align = "right"><b>To: </b> <div style="width:17em;word-wrap:break-word;"> | |
179 | {$domain_organization} <br /> | |
180 | {$domain_street_address} {$domain_supplemental_address_1} <br /> | |
181 | {$domain_supplemental_address_2} {$domain_state} <br /> | |
182 | {$domain_city} {$domain_postal_code} <br /> | |
183 | {$domain_country} <br /> | |
184 | {$domain_phone} <br /> | |
185 | {$domain_email}</div> | |
186 | </font><br/><br/><font size="1" align="right">{$notes}</font> | |
cf612441 | 187 | </td> |
82b0700d | 188 | <td width="40%"> |
d75f2f47 EM |
189 | <table cellpadding = "-10" cellspacing = "22" align="right" > |
190 | <tr> | |
191 | <td colspan = "2"></td> | |
192 | <td><font size = "1" align = "right" style="font-weight:bold;">Customer: </font></td> | |
193 | <td ><font size = "1" align = "right">{$display_name}</font></td> | |
194 | </tr> | |
195 | <tr> | |
196 | <td colspan = "2"></td> | |
197 | <td><font size = "1" align = "right" style="font-weight:bold;">Invoice Number: </font></td> | |
198 | <td><font size = "1" align = "right">{$invoice_id}</font></td> | |
199 | </tr> | |
200 | <tr><td colspan = "5"style = "color:#F5F5F5;"><hr></hr></td></tr> | |
201 | {if $is_pay_later == 1} | |
202 | <tr> | |
cf612441 | 203 | <td colspan = "2"></td> |
d75f2f47 EM |
204 | <td><font size = "1" align = "right" style="font-weight:bold;">Amount Due:</font></td> |
205 | <td><font size = "1" align = "right" style="font-weight:bold;">{$amount|crmMoney:$currency}</font></td> | |
206 | </tr> | |
207 | {else} | |
208 | <tr> | |
209 | <td colspan = "2"></td> | |
210 | <td><font size = "1" align = "right" style="font-weight:bold;">Amount Due: </font></td> | |
211 | <td><font size = "1" align = "right" style="font-weight:bold;">{$amountDue|crmMoney:$currency}</font></td> | |
212 | </tr> | |
213 | {/if} | |
214 | <tr> | |
215 | <td colspan = "2"></td> | |
216 | <td><font size = "1" align = "right" style="font-weight:bold;">Due Date: </font></td> | |
217 | <td><font size = "1" align = "right">{$dueDate}</font></td> | |
218 | </tr> | |
219 | <tr> | |
cf612441 PB |
220 | <td colspan = "5" style = "color:#F5F5F5;"><hr></hr></td> |
221 | </tr> | |
d75f2f47 | 222 | </table> |
cf612441 | 223 | </td> |
d75f2f47 EM |
224 | </tr> |
225 | </table> | |
226 | ||
227 | ||
cf612441 | 228 | {if $contribution_status_id == $refundedStatusId} |
82b0700d | 229 | <table style = "margin-top:2px;padding-left:7px;page-break-before: always;"> |
cf612441 | 230 | <tr> |
9f8fe885 | 231 | <td><img src = "{$resourceBase}/i/civi99.png" height = "34px" width = "99px"></td> |
cf612441 PB |
232 | </tr> |
233 | </table> | |
234 | <center> | |
d75f2f47 | 235 | |
82b0700d | 236 | <table style = "padding-right:19px;font-family: Arial, Verdana, sans-serif" width = "500" height = "100" border = "0" cellpadding = "2" cellspacing = "1"> |
d75f2f47 EM |
237 | <tr> |
238 | <td style = "padding-left:15px;" ><b><font size = "4" align = "center">CREDIT NOTE</font></b></td> | |
cf612441 | 239 | <td colspan = "1"></td> |
d75f2f47 EM |
240 | <td style = "padding-left:70px;"><b><font size = "1" align = "right">Date:</font></b></td> |
241 | <td><font size = "1" align = "right">{$domain_organization}</font></td> | |
242 | </tr> | |
cf612441 PB |
243 | <tr> |
244 | {if $organization_name} | |
82b0700d | 245 | <td style = "padding-left:17px;"><font size = "1" align = "center">{$display_name} ({$organization_name})</font></td> |
cf612441 | 246 | {else} |
82b0700d | 247 | <td style = "padding-left:17px;"><font size = "1" align = "center">{$display_name}</font></td> |
cf612441 PB |
248 | {/if} |
249 | <td colspan = "1"></td> | |
d75f2f47 EM |
250 | <td style = "padding-left:70px;"><font size = "1" align = "right">{$invoice_date}</font></td> |
251 | <td ><font size = "1" align = "right"> | |
252 | {if $domain_street_address } | |
253 | {$domain_street_address} | |
254 | {/if} | |
255 | {if $domain_supplemental_address_1 } | |
256 | {$domain_supplemental_address_1} | |
257 | {/if}</font></td> | |
258 | </tr> | |
cf612441 | 259 | <tr> |
82b0700d | 260 | <td style = "padding-left:17px;"><font size = "1" align = "center">{$street_address} {$supplemental_address_1}</font></td> |
d75f2f47 EM |
261 | <td colspan = "1"></td> |
262 | <td style = "padding-left:70px;"><b><font size = "1" align = "right">Credit Note Number:</font></b></td> | |
82b0700d | 263 | <td><font size = "1" align = "right">{if $domain_supplemental_address_2 } |
d75f2f47 EM |
264 | {$domain_supplemental_address_2} |
265 | {/if} | |
266 | {if $domain_state } | |
267 | {$domain_state} | |
268 | {/if} | |
269 | </font></td> | |
cf612441 PB |
270 | </tr> |
271 | <tr> | |
82b0700d | 272 | <td style = "padding-left:17px;"><font size = "1" align = "center">{$supplemental_address_2} {$stateProvinceAbbreviation}</font></td> |
cf612441 | 273 | <td colspan="1"></td> |
82b0700d | 274 | <td style = "padding-left:70px;"><font size = "1" align = "right">{$creditnote_id}</font></td> |
d75f2f47 EM |
275 | <td ><font size = "1" align = "right">{if $domain_city} |
276 | {$domain_city} | |
277 | {/if} | |
278 | {if $domain_postal_code } | |
279 | {$domain_postal_code} | |
280 | {/if} | |
281 | </font></td> | |
282 | </tr> | |
283 | <tr> | |
284 | <td style = "padding-left:17px;"><font size = "1" align = "right">{$city} {$postal_code}</font></td> | |
cf612441 | 285 | <td colspan="1"></td> |
d75f2f47 EM |
286 | <td height = "10" style = "padding-left:70px;"><b><font size = "1"align = "right">Reference:</font></b></td> |
287 | <td><font size = "1" align = "right"> {if $domain_country} | |
288 | {$domain_country} | |
289 | {/if}</font></td> | |
290 | </tr> | |
291 | <tr> | |
cf612441 | 292 | <td></td> |
d75f2f47 EM |
293 | <td></td> |
294 | <td style = "padding-left:70px;"><font size = "1"align = "right">{$source}</font></td> | |
295 | <td><font size = "1" align = "right"> {if $domain_phone} | |
296 | {$domain_phone} | |
297 | {/if}</font> </td> | |
298 | </tr> | |
299 | <tr> | |
300 | <td></td> | |
301 | <td></td> | |
302 | <td></td> | |
303 | <td><font size = "1" align = "right"> {if $domain_email} | |
304 | {$domain_email} | |
305 | {/if}</font> </td> | |
306 | </tr> | |
cf612441 PB |
307 | </table> |
308 | ||
82b0700d | 309 | <table style = "margin-top:75px;font-family: Arial, Verdana, sans-serif" width = "590" border = "0"cellpadding = "-5" cellspacing = "19" id = "desc"> |
d75f2f47 | 310 | <tr> |
cf612441 PB |
311 | <td colspan = "2" {$valueStyle}> |
312 | <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *} | |
313 | <tr> | |
314 | <th style = "padding-right:28px;text-align:left;font-weight:bold;width:200px;"><font size = "1">Description</font></th> | |
315 | <th style = "padding-left:28px;text-align:right;font-weight:bold;"><font size = "1">Quantity</font></th> | |
316 | <th style = "padding-left:28px;text-align:right;font-weight:bold;"><font size = "1">Unit Price</font></th> | |
317 | <th style = "padding-left:28px;text-align:right;font-weight:bold;"><font size = "1">{$taxTerm} </font></th> | |
318 | <th style = "padding-left:28px;text-align:right;font-weight:bold;"><font size = "1">Amount {$defaultCurrency}</font></th> | |
319 | </tr> | |
82b0700d | 320 | {foreach from=$lineItem item=value key=priceset name=pricevalue} |
d75f2f47 EM |
321 | {if $smarty.foreach.pricevalue.index eq 0} |
322 | <tr><td colspan = "5" ><hr size="3" style = "color:#000;"></hr></td></tr> | |
323 | {else} | |
324 | <tr><td colspan = "5" style = "color:#F5F5F5;"><hr></hr></td></tr> | |
325 | {/if} | |
cf612441 PB |
326 | <tr> |
327 | <td style ="text-align:left;" ><font size = "1"> | |
d75f2f47 EM |
328 | {if $value.html_type eq 'Text'}{$value.label}{else}{$value.field_title} - {$value.label}{/if} {if $value.description}<div>{$value.description|truncate:30:"..."}</div>{/if} |
329 | </font></td> | |
330 | <td style = "padding-left:28px;text-align:right;"><font size = "1"> {$value.qty}</font></td> | |
331 | <td style = "padding-left:28px;text-align:right;"><font size = "1"> {$value.unit_price|crmMoney:$currency}</font></td> | |
332 | {if $value.tax_amount != ''} | |
333 | <td style = "padding-left:28px;text-align:right;"><font size = "1"> {$value.tax_rate}%</font></td> | |
82b0700d | 334 | {else} |
d75f2f47 EM |
335 | <td style = "padding-left:28px;text-align:right"><font size = "1" >No {$taxTerm}</font></td> |
336 | {/if} | |
337 | <td style = "padding-left:28px;text-align:right;"><font size = "1" >{$value.subTotal|crmMoney:$currency}</font></td> | |
338 | </tr> | |
cf612441 | 339 | {/foreach} |
d75f2f47 EM |
340 | <tr><td colspan = "5" style = "color:#F5F5F5;"><hr></hr></td></tr> |
341 | <tr> | |
342 | <td colspan = "3"></td> | |
343 | <td style = "padding-left:28px;text-align:right;"><font size = "1">Sub Total</font></td> | |
344 | <td style = "padding-left:28px;text-align:right;"><font size = "1"> {$subTotal|crmMoney:$currency}</font></td> | |
345 | </tr> | |
346 | {foreach from = $dataArray item = value key = priceset} | |
347 | <tr> | |
348 | <td colspan = "3"></td> | |
349 | {if $priceset} | |
350 | <td style = "padding-left:28px;text-align:right;"><font size = "1"> TOTAL {$taxTerm} {$priceset}%</font></td> | |
351 | <td style = "padding-left:28px;text-align:right;"><font size = "1" align = "right">{$value|crmMoney:$currency}</font> </td> | |
82b0700d PB |
352 | {elseif $priceset == 0} |
353 | <td style = "padding-left:28px;text-align:right;"><font size = "1">TOTAL NO {$taxTerm}</font></td> | |
354 | <td style = "padding-left:28px;text-align:right;"><font size = "1" align = "right">{$value|crmMoney:$currency}</font> </td> | |
cf612441 | 355 | </tr> |
d75f2f47 EM |
356 | {/if} |
357 | {/foreach} | |
358 | <tr> | |
359 | <td colspan = "3"></td> | |
360 | <td colspan = "2"><hr></hr></td> | |
361 | </tr> | |
cf612441 | 362 | |
d75f2f47 EM |
363 | <tr> |
364 | <td colspan = "3"></td> | |
365 | <td style = "padding-left:28px;text-align:right;"><b><font size = "1">TOTAL {$defaultCurrency}</font></b></td> | |
366 | <td style = "padding-left:28px;text-align:right;"><font size = "1">{$amount|crmMoney:$currency}</font></td> | |
367 | </tr> | |
cf612441 | 368 | |
d75f2f47 EM |
369 | {if $is_pay_later == 0} |
370 | <tr> | |
371 | <td colspan = "3"></td> | |
372 | <td style = "padding-left:28px;text-align:right;"><font size = "1" >LESS Credit to invoice(s)</font></td> | |
373 | <td style = "padding-left:28px;text-align:right;"><font size = "1">{$amount|crmMoney:$currency}</font></td> | |
374 | </tr> | |
375 | <tr> | |
376 | <td colspan = "3"></td> | |
377 | <td colspan = "2" ><hr></hr></td> | |
378 | </tr> | |
379 | <tr> | |
380 | <td colspan = "3"></td> | |
381 | <td style = "padding-left:28px;text-align:right;"><b><font size = "1">REMAINING CREDIT</font></b></td> | |
382 | <td style = "padding-left:28px;text-align:right;"><b><font size = "1">{$amountDue|crmMoney:$currency}</font></b></td> | |
383 | <td style = "padding-left:28px;"><font size = "1" align = "right"></fonts></td> | |
384 | </tr> | |
385 | {/if} | |
386 | <br/><br/><br/> | |
387 | <tr> | |
388 | <td colspan = "3"></td> | |
389 | </tr> | |
390 | <tr> | |
391 | <td></td> | |
392 | <td colspan = "3"></td> | |
393 | </tr> | |
cf612441 PB |
394 | </table> |
395 | </td> | |
396 | </tr> | |
397 | </table> | |
398 | ||
399 | <table style = "margin-top:5px;padding-right:45px;"> | |
400 | <tr> | |
9f8fe885 | 401 | <td><img src = "{$resourceBase}/i/contribute/cut_line.png" height = "15" width = "630"></td> |
cf612441 PB |
402 | </tr> |
403 | </table> | |
404 | ||
d75f2f47 EM |
405 | <table style = "margin-top:6px;padding-right:20px;font-family: Arial, Verdana, sans-serif" width = "507" border = "0"cellpadding = "-5" cellspacing="19" id = "desc"> |
406 | <tr> | |
407 | <td width="60%"><font size = "4" align = "right"><b>CREDIT ADVICE</b><br/><br /><div style="font-size:10px;max-width:300px;">Please do not pay on this advice. Deduct the amount of this Credit Note | |
82b0700d | 408 | from your next payment to us</div><br/></font></td> |
d75f2f47 | 409 | <td width="40%"> |
82b0700d | 410 | <table align="right" > |
d75f2f47 EM |
411 | <tr> |
412 | <td colspan = "2"></td> | |
413 | <td><font size = "1" align = "right" style="font-weight:bold;">Customer: </font></td> | |
414 | <td><font size = "1" align = "right" >{$display_name}</font></td> | |
415 | </tr> | |
416 | <tr> | |
417 | <td colspan = "2"></td> | |
418 | <td><font size = "1" align = "right" style="font-weight:bold;">Credit Note#: </font></td> | |
419 | <td><font size = "1" align = "right">{$creditnote_id}</font></td> | |
420 | </tr> | |
421 | <tr><td colspan = "5"style = "color:#F5F5F5;"><hr></hr></td></tr> | |
422 | <tr> | |
cf612441 | 423 | <td colspan = "2"></td> |
d75f2f47 EM |
424 | <td><font size = "1" align = "right" style="font-weight:bold;">Credit Amount:</font></td> |
425 | <td width='50px'><font size = "1" align = "right" style="font-weight:bold;">{$amount|crmMoney:$currency}</font></td> | |
426 | </tr> | |
cf612441 PB |
427 | </table> |
428 | </td> | |
d75f2f47 EM |
429 | </tr> |
430 | </table> | |
cf612441 PB |
431 | {/if} |
432 | </center> | |
433 | </body> | |
434 | </html> |