-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIRS8302.xsl
392 lines (392 loc) · 20.2 KB
/
IRS8302.xsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
<?xml version="1.0" encoding="UTF-8"?>
<!-- File Created by Jonathan Chiu 10/11/07 -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:include href="PopulateTemplate.xsl"/>
<xsl:include href="CommonPathRef.xsl"/>
<xsl:include href="AddHeader.xsl"/>
<xsl:include href="AddOnTable.xsl"/>
<xsl:include href="IRS8302Style.xsl"/>
<xsl:output method="html" indent="yes"/>
<xsl:strip-space elements="*"/>
<xsl:param name="FormData" select="$RtnDoc/IRS8302"/>
<xsl:template match="/">
<!-- 6/14/2011 RLW -->
<!-- 8/29/2011 RLW -->
<html lang="EN-US">
<head>
<title>
<xsl:call-template name="FormTitle">
<xsl:with-param name="RootElement" select="local-name($FormData)"/>
</xsl:call-template>
</title>
<!-- No Browser Caching -->
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Cache-Control" content="no-cache"/>
<meta http-equiv="Expires" content="0"/>
<!-- No Proxy Caching -->
<meta http-equiv="Cache-Control" content="private"/>
<!-- Define Character Set -->
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<meta name="Description" content="IRS Form 8302"/>
<script language="JavaScript" src="{$ScriptPath}/FormDisplay.js" type="text/javascript"/>
<xsl:call-template name="InitJS"/>
<style type="text/css">
<xsl:if test="not($Print) or $Print=''">
<xsl:call-template name="IRS8302Style"/>
<xsl:call-template name="AddOnStyle"/>
</xsl:if>
</style>
<xsl:call-template name="GlobalStylesForm"/>
</head>
<body class="styBodyClass">
<form name="Form8302">
<!-- Begin Header section 1 -->
<xsl:call-template name="DocumentHeader"/>
<div class="styBB" style="width:187mm;border-bottom-width:2px;">
<div class="styFNBox" style="width:32mm;height:18mm;border-right-width:2px;">
Form <span class="styFormNumber" style="font-size:18pt">8302</span>
<!--General Dependency Push Pin-->
<xsl:call-template name="SetFormLinkInline">
<xsl:with-param name="TargetNode" select="$FormData"/>
</xsl:call-template>
<br/>
<span style="font-size:7pt;">(Rev. December 2009)</span>
<br/>
<span class="styAgency">Department of the Treasury</span>
<br/>
<span class="styAgency">Internal Revenue Service</span>
</div>
<div class="styFTBox" style="width:122mm;height:18mm;">
<br/>
<div class="styMainTitle" style="height:8mm;">Electronic Deposit of Tax Refund of $1 Million or More</div>
<div class="styFST" style="height:5mm;font-size:7pt;margin-left:2mm;text-align:center;">
<span style="text-align:center;font-weight:bold;">
<img src="{$ImagePath}/8302_Bullet_Md.gif" alt="MediumBullet"/>
Attach to your income tax return (other than Forms 1040, 1120, or <br/>
1120S), Form 1045, or Form 1139.
</span>
</div>
</div>
<div class="styTYBox" style="width:32mm;height:18mm;border-left-width:2px;">
<div class="styOMB" style="height:11mm;border-bottom:0px;padding-top:7mm;padding-left:1mm;">
OMB No. 1545-1763
</div>
</div>
</div>
<!-- End Header section 1 -->
<!-- Begin address, ID number, name and location, phone number header -->
<div style="width:187mm;border-bottom:1px;">
<!-- Name on tax return -->
<div class="styTableCell" style="float:left;width:138mm;height:10mm;text-align:left;">
<span class="styIRS8302Info">Name(s) shown on income tax return</span>
<br/>
<xsl:call-template name="PopulateReturnHeaderFiler">
<xsl:with-param name="TargetNode">BusinessNameLine1</xsl:with-param>
</xsl:call-template>
<br/>
<xsl:call-template name="PopulateReturnHeaderFiler">
<xsl:with-param name="TargetNode">BusinessNameLine2</xsl:with-param>
</xsl:call-template>
</div>
<!-- Identifying number -->
<div class="styTableCell" style="float:left;width:49mm;height:10mm;text-align:left;padding-left:2mm;border-right:0px;">
<span class="styIRS8302Info" style="font-weight:bold;">Identifying number</span>
<br/>
<br/>
<xsl:call-template name="PopulateReturnHeaderFiler">
<xsl:with-param name="TargetNode">EIN</xsl:with-param>
</xsl:call-template>
</div>
<!-- Name and location of bank -->
<div class="styTableCell" style="float:left;width:138mm;text-align:left;">
<span class="styIRS8302Info">Name and location (City, State) of bank</span>
<br/>
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="$FormData/BankName/BusinessNameLine1"/>
</xsl:call-template>
<br/>
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="$FormData/BankName/BusinessNameLine2"/>
</xsl:call-template>
<br/>
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="$FormData/CityOfBank"/>
</xsl:call-template>,
<xsl:call-template name="PopulateText">
<xsl:with-param name="TargetNode" select="$FormData/StateOfBank"/>
</xsl:call-template>
</div>
<!-- Taxpayer's phone number -->
<div class="styTableCell" style="float:left;width:49mm;text-align:left;padding-left:2mm;border-right:0px;
word-wrap:break-word;height:13mm">
<span class="styIRS8302Info">Taxpayer's phone number</span>
<br/>
<br/>
<br/>
<xsl:call-template name="PopulatePhoneNumber">
<xsl:with-param name="TargetNode" select="$FormData/TaxpayerPhoneNumber"/>
</xsl:call-template>
</div>
</div>
<!-- End address, ID number, name and location, phone number header -->
<!-- Begin data form -->
<!-- Line 1 -->
<div style="width:187mm">
<div class="styIRS8302Num" style="width:4mm;">1</div>
<div class="styIRS8302LB" style="width:180mm">
<span style="font-weight:bold;">Method of deposit (one box must be checked)</span>
<span style="width:4mm;"/>
<!-- populate checkbox -->
<span>
<xsl:call-template name="PopulateSpan">
<xsl:with-param name="TargetNode" select="$FormData/DirectDeposit"/>
</xsl:call-template>
<input type="checkbox" class="styCkbox" style="width:4mm;">
<xsl:call-template name="PopulateNoCheckbox">
<xsl:with-param name="TargetNode" select="$FormData/DirectDeposit"/>
<xsl:with-param name="BackupName">IRS8302DirectDeposit</xsl:with-param>
<xsl:with-param name="Checkbox1or2Type">yes</xsl:with-param>
</xsl:call-template>
</input>
</span>
<span style="width:1mm;"/>
<label>
<xsl:call-template name="PopulateLabelNo">
<xsl:with-param name="TargetNode" select="$FormData/DirectDeposit"/>
<xsl:with-param name="BackupName">IRS8302DirectDeposit</xsl:with-param>
</xsl:call-template>
Direct Deposit
</label>
<span style="width:4mm;"/>
<span>
<xsl:call-template name="PopulateSpan">
<xsl:with-param name="TargetNode" select="$FormData/DirectDeposit"/>
</xsl:call-template>
<input type="checkbox" class="styCkbox" style="width:4mm;">
<xsl:call-template name="PopulateYesCheckbox">
<xsl:with-param name="TargetNode" select="$FormData/DirectDeposit"/>
<xsl:with-param name="BackupName">IRS8302DirectDeposit</xsl:with-param>
<xsl:with-param name="Checkbox1or2Type">yes</xsl:with-param>
</xsl:call-template>
</input>
</span>
<span style="width:1mm;"/>
<label>
<xsl:call-template name="PopulateLabelYes">
<xsl:with-param name="TargetNode" select="$FormData/DirectDeposit"/>
<xsl:with-param name="BackupName">IRS8302DirectDeposit</xsl:with-param>
</xsl:call-template>
Fedwire
</label>
</div>
</div>
<!-- Line 2 -->
<div style="width:187mm">
<div class="styIRS8302Num" style="width:4mm;">2</div>
<div class="styIRS8302LB" style="width:180mm;">
<span style="font-weight:bold;">Routing number (must be nine digits).</span>
<span style="width:1mm;"/>
The first two digits must be between 01 and 12 or 21 through 32.
<br/>
<span style="font-size:2pt;">
<br/>
</span>
<!-- call routing number -->
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/RoutingNumber"/>
<xsl:with-param name="BoxNum" select="1"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/RoutingNumber"/>
<xsl:with-param name="BoxNum" select="2"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/RoutingNumber"/>
<xsl:with-param name="BoxNum" select="3"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/RoutingNumber"/>
<xsl:with-param name="BoxNum" select="4"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/RoutingNumber"/>
<xsl:with-param name="BoxNum" select="5"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/RoutingNumber"/>
<xsl:with-param name="BoxNum" select="6"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/RoutingNumber"/>
<xsl:with-param name="BoxNum" select="7"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/RoutingNumber"/>
<xsl:with-param name="BoxNum" select="8"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/RoutingNumber"/>
<xsl:with-param name="BoxNum" select="9"/>
</xsl:call-template>
<div style="height:7mm;width:1px;border:0 solid black;border-left-width:1;clear:none;float:left"/>
</div>
</div>
<!-- Line 3 & 4 -->
<div style="width:187mm;">
<!-- Line 3 -->
<div class="styIRS8302Num" style="width:4mm;">3</div>
<div class="styIRS8302LB" style="width:127mm;">
<span style="font-weight:bold;">Account number (include hyphens but omit spaces and special symbols):</span>
<br/>
<span style="font-size:2pt;">
<br/>
</span>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/AccountNumber"/>
<xsl:with-param name="BoxNum" select="1"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/AccountNumber"/>
<xsl:with-param name="BoxNum" select="2"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/AccountNumber"/>
<xsl:with-param name="BoxNum" select="3"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/AccountNumber"/>
<xsl:with-param name="BoxNum" select="4"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/AccountNumber"/>
<xsl:with-param name="BoxNum" select="5"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/AccountNumber"/>
<xsl:with-param name="BoxNum" select="6"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/AccountNumber"/>
<xsl:with-param name="BoxNum" select="7"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/AccountNumber"/>
<xsl:with-param name="BoxNum" select="8"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/AccountNumber"/>
<xsl:with-param name="BoxNum" select="9"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/AccountNumber"/>
<xsl:with-param name="BoxNum" select="10"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/AccountNumber"/>
<xsl:with-param name="BoxNum" select="11"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/AccountNumber"/>
<xsl:with-param name="BoxNum" select="12"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/AccountNumber"/>
<xsl:with-param name="BoxNum" select="13"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/AccountNumber"/>
<xsl:with-param name="BoxNum" select="14"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/AccountNumber"/>
<xsl:with-param name="BoxNum" select="15"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/AccountNumber"/>
<xsl:with-param name="BoxNum" select="16"/>
</xsl:call-template>
<xsl:call-template name="PopulateIndividualLetterBox">
<xsl:with-param name="TargetNode" select="$FormData/AccountNumber"/>
<xsl:with-param name="BoxNum" select="17"/>
</xsl:call-template>
<div style="height:7mm;width:1px;border:0 solid black;border-left-width:1;clear:none;float:left"/>
</div>
<!-- Line 4 -->
<div class="styIRS8302Num" style="width:4mm;">4</div>
<div class="styIRS8302LB" style="width:50mm;">
<span style="font-weight:bold;">Type of account (one <br/> box must be checked):</span>
<br/>
<span style="font-size:2pt;">
<br/>
</span>
<span>
<xsl:call-template name="PopulateSpan">
<xsl:with-param name="TargetNode" select="$FormData/DirectDeposit"/>
</xsl:call-template>
<input type="checkbox" class="styCkbox" style="width:4mm;">
<xsl:call-template name="PopulateNoCheckbox">
<xsl:with-param name="TargetNode" select="$FormData/AccountType"/>
<xsl:with-param name="BackupName">IRS8302AccountType</xsl:with-param>
<xsl:with-param name="Checkbox1or2Type">yes</xsl:with-param>
</xsl:call-template>
</input>
</span>
<span style="width:1mm;"/>
<label>
<xsl:call-template name="PopulateLabelNo">
<xsl:with-param name="TargetNode" select="$FormData/AccountType"/>
<xsl:with-param name="BackupName">IRS8302AccountType</xsl:with-param>
</xsl:call-template>
Checking
</label>
<span style="width:4mm;"/>
<span>
<xsl:call-template name="PopulateSpan">
<xsl:with-param name="TargetNode" select="$FormData/DirectDeposit"/>
</xsl:call-template>
<input type="checkbox" class="styCkbox" style="width:4mm;">
<xsl:call-template name="PopulateYesCheckbox">
<xsl:with-param name="TargetNode" select="$FormData/AccountType"/>
<xsl:with-param name="BackupName">IRS8302AccountType</xsl:with-param>
<xsl:with-param name="Checkbox1or2Type">yes</xsl:with-param>
</xsl:call-template>
</input>
</span>
<span style="width:1mm;"/>
<label>
<xsl:call-template name="PopulateLabelYes">
<xsl:with-param name="TargetNode" select="$FormData/AccountType"/>
<xsl:with-param name="BackupName">IRS8302AccountType</xsl:with-param>
</xsl:call-template>
Savings
</label>
</div>
</div>
<div class="styBB" style="width:187mm;height:3mm;"/>
<div style="width:187mm;height:3mm;"/>
<span style="padding-left:70mm;font-size:8pt;">Cat. No 62280S</span>
<span style="padding-left:45mm;font-size:8pt;">Form<span style="font-size:12pt"><b> 8302 </b></span>(Rev. 12-2009)</span>
<div class="pageEnd"/>
<!-- BEGIN Left Over Table -->
<!-- Additonal Data Title Bar and Button -->
<div class="styLeftOverTitleLine" id="LeftoverData">
<div class="styLeftOverTitle">
Additional Data
</div>
<div class="styLeftOverButtonContainer">
<input class="styLeftoverTableBtn" TabIndex="1" type="button" value="Return to Form" onclick="javascript:returnToWriteInImage();"/>
</div>
</div>
<!-- Additional Data Table -->
<table class="styLeftOverTbl">
<xsl:call-template name="PopulateCommonLeftover">
<xsl:with-param name="TargetNode" select="$FormData"/>
<xsl:with-param name="DescWidth" select="100"/>
</xsl:call-template>
</table>
<!-- END Left Over Table -->
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>