-
Notifications
You must be signed in to change notification settings - Fork 0
/
template0.php
167 lines (159 loc) · 11.1 KB
/
template0.php
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
<?php
require_once "cPanel.php";
$today = new DateTime("today");
$today2 = new DateTime("today");
$today2->sub(new DateInterval("P2D"));
$today9 = new DateTime("today");
$today9->sub(new DateInterval("P8D"));
$tId = "";
?>
<script>
//$("#depo-span").hide();
design = 0;
</script>
<form method="POST" action="Paycheck.php">
<table class="midpad" style="margin-top: 20px;">
<tr>
<td><input type="text" name="company" placeholder="Company name here" style="width:500px; font-size:16px;" /></td>
<td style="text-align: right; color: #09c;"># <input type="text" name="stub_number" id="stub_number" value="1243" /></td>
<!--<td style="text-align: right; color: #09c;"># <input type="text" name="stub_number" value="1243" /></td>-->
</tr>
<tr>
<td><input type="text" name="company_address" placeholder="Company address here" style="width:500px; font-size:16px;" /></td>
<td style="text-align: right;"><span style="font-size: 20px; color: #09c;font-weight: 600">EARNINGS STATEMENT</span></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</table>
<table class="border top-radius blues hebo">
<tbody>
<tr class="midpad" style="height: 20px;">
<th rowspan="2" style="width: 35%; text-align: left; "><span style="font-weight: 600; font-size: 16px; margin: 2px 2px 0px 7px;"" id="c-e">Employee name / address</span>
<input type="text" id="employee_name" name="employee_name" placeholder="Employee name here" style="width: 95%; margin: 7px 2px 2px 7px;" />
<input type="text" id="employee_address" name="employee_address" placeholder="Employee address here" style="width: 95%; margin: 0px 2px 2px 7px;"" />
</th>
<th style="width: 15%">SSN</th>
<th style="width: 20%">REPORTING PERIOD</th>
<th style="width: 15%">PAY DATE</th>
<th style="width: 15%"><span id="c-eID">EMPLOYEE ID</span></th>
</tr>
<tr class="minipad">
<th><input type="text" name="ssn" id="ssn" placeholder="xxx-xx-1234" /></th>
<th><input type="text" name="reporting_period" id="reporting_period" style="width: 170px;"
value="<?php echo $today9->format("m/d/Y"); ?> - <?php echo $today2->format("m/d/Y"); ?>"
placeholder="<?php echo $today9->format("m/d/Y"); ?> - <?php echo $today2->format("m/d/Y"); ?>" /></th>
<th><input type="text" name="pay_date" id="pay_date" value="<?php echo $today->format("m/d/Y"); ?>" placeholder="<?php echo $today->format("m/d/Y"); ?>" /></th>
<th><input type="text" name="employee_id" placeholder="123" /></th>
</tr>
</tbody>
</table>
<table class="border grays">
<thead>
<tr style="font-size: 16px;" class="midpad">
<th>INCOME</th>
<th>RATE</th>
<th>HOURS</th>
<th>CURRENT PAY</th>
<th>DEDUCTIONS</th>
<th>TOTAL</th>
<th>YTD TOTAL</th>
</tr>
</thead>
<tbody>
<tr style="height: 180px; vertical-align: top; text-transform: uppercase;">
<td><span style="font-size: 14px; font-weight: 600;">Gross Earnings</span></td>
<td><input type="number" step="0.01" min="0" id="rate" name="rate" value="11.2" /></td>
<td><input type="number" step="0.01" min="0" id="hours" name="hours" value="40" /></td>
<td><input type="number" step="0.01" min="0" class="current_pay0" id="current_pay" name="current_pay" value="448.00" class="noedit" readonly="readonly" /></td>
<td class="blues"><span style="font-size: 14px; font-weight: 600;">Statutory Deductions</span>
<br />Fica - Medicare
<br />Fica - Social Security
<br />Federal Tax
<br /><span id="stax" style="visibility: hidden;" >State Tax W/H</span>
<br /><span id="sditax" style="visibility: hidden;" >CALIFORNIA SDI TAX</span>
</td>
<td>
<br /><input type="number" class="noedit right fica_mc" readonly="readonly" name="fica_mc" id="fica_mc" />
<br /><input type="number" class="noedit right fica_ss" readonly="readonly" name="fica_ss" id="fica_ss" />
<br /><input type="number" class="noedit right fica_tax" readonly="readonly" name="fica_tax" id="fica_tax" />
<br /><input type="number" class="noedit right fica_stax" readonly="readonly" name="fica_stax" id="fica_stax" />
<br /><input type="number" class="noedit right fica_sditax" readonly="readonly" name="fica_sditax" id="fica_sditax" />
</td>
<td>
<br /><input type="number" class="noedit right ficay_mc" readonly="readonly" name="ficay_mc" id="ficay_mc" />
<br /><input type="number" class="noedit right ficay_ss" readonly="readonly" name="ficay_ss" id="ficay_ss" />
<br /><input type="number" class="noedit right ficay_tax" readonly="readonly" name="ficay_tax" id="ficay_tax" />
<br /><input type="number" class="noedit right ficay_stax" readonly="readonly" name="ficay_stax" id="ficay_stax" />
<br /><input type="number" class="noedit right ficay_sditax" readonly="readonly" name="ficay_sditax" id="ficay_sditax" />
</td>
</tr>
</tbody>
</table>
<table class="border bottom-radius">
<thead>
<tr style="font-size: 16px;" class="midpad">
<th>YTD GROSS</th>
<th>YTD DEDUCTIONS</th>
<th>YTD NET PAY</th>
<th>TOTAL</th>
<th>DEDUCTIONS</th>
<th>NET PAY</th>
</tr>
</thead>
<tbody>
<tr style="text-align: center">
<td><input type="number" class="noedit right" readonly="readonly" name="ytd_gross" id="ytd_gross" /></td>
<td><input type="number" class="noedit right" readonly="readonly" name="ytd_deductions" id="ytd_deductions" /></td>
<td><input type="number" class="noedit right" readonly="readonly" name="ytd_net_pay" id="ytd_net_pay" /></td>
<td><input type="number" class="noedit right" readonly="readonly" name="total" id="total" /></td>
<td><input type="number" class="noedit right" readonly="readonly" name="deductions" id="deductions" /></td>
<td><input type="number" class="noedit right" readonly="readonly" name="net_pay" id="net_pay" /></td>
</tr>
</tbody>
</table>
<div id="deposit-slip">
<table class="border top-radius bottom-radius minipad grays" style="height: 120px;">
<tbody>
<tr>
<td style="padding: 20px 10px 0px 10px; width: 60%; text-align: left; vertical-align:bottom; ">
<div style="border: 2px solid #09e; padding: 5px; width: 100%; ">
<span style="font-size: 16px; font-weight:600;" class="blues">PAY </span>
<span style="font-size: 16px; font-weight:600;" class="dep_pay">....</span>
</div>
<table>
<tr>
<td style="width: 150px;" class="blues">TO THE ORDER OF:</td>
<td>
<span class="depo_en" >Employee name</span><br />
<span class="depo_esa">Employee street address</span>
</td>
</tr>
</table>
</td>
<td style="padding-right:10px;" >
<table>
<tr class="blues" style="border-bottom: 1px solid">
<td style="border-right: 1px solid">CHECK DATE</td>
<td>CHECK NUMBER</td>
</tr>
<tr class="grays">
<td><span id="dep_paydate"><?php echo $today->format("m/d/Y"); ?></span></td>
<td><span id="dep_stub_number">1243</span></td>
</tr>
<tr>
<td colspan="2" style="border-bottom: 2px solid #09c; ">
<span class="blues">THIS IS NOT A CHECK</span><br />
<span class="grays" style="border: 1px solid;">NON-NEGOTIABLE</span><br />
<span class="blues">VOID</span>
<td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<div id="additional-checks"></div>
</form>