-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalculateTax.php
60 lines (38 loc) · 1.64 KB
/
calculateTax.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
<html>
<head>
<title>Calculate PAYE page</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<form action="processTax.php" target="_blank" method="post">
<fieldset>
<legend>Tax details</legend>
<label for="period">PAY PERIOD: </label>
<input type="radio" value="year" name='period' id='period'>YEAR
<input type="radio" value="month" name='period' id='period'>MONTH
<br><br>
<label for="sal">BASIC SALARY: </label>
<input type="number" name="sal" id="sal" min=0 required />
<br /><br />
<label for="ben">BENEFITS (BONUS, ALLOWANCE): </label>
<input type="number" name="ben" id="ben" min=0 required />
<br /><br />
<label for="nssf">DEDUCT NSSF: </label>
<input type="radio" value="yes" name='nssf' id='nssf'>YES
<input type="radio" value="no" name='nssf' id='nssf'>NO
<br /><br />
<label for="rate">NSSF RATES: </label>
<input type="radio" value="old" name='rate' id='rate'>OLD NSSF RATES (KSH 200)
<input type="radio" value="new" name='rate' id='rate'>NEW NSSF RATES (TIERED)
<br /><br />
<label for="nhif">DEDUCT NHIF: </label>
<input type="radio" value="yes" name='nhif' id='nhif'>YES
<input type="radio" value="no" name='nhif' id='nhif'>NO
<br /><br />
<div class="submit">
<button type="submit" id="btn_register" name="btn_register">CALCULATE</button>
</div>
</fieldset>
</form>
</body>
</html>