-
Notifications
You must be signed in to change notification settings - Fork 2
/
AddEmployee_N.aspx
173 lines (142 loc) · 9.21 KB
/
AddEmployee_N.aspx
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
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="AddEmployee_N.aspx.cs" Inherits="AddEmployee_N" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.modalBackground
{
background-color: Gray;
filter: alpha(opacity=80);
opacity: 0.8;
z-index: 10000;
}
</style>
<style type="text/css">
.hiddencol
{
display: none;
}
</style>
<script type="text/javascript">
function HideLabel() {
var seconds = 5;
setTimeout(function () {
document.getElementById("<%=divmsg.ClientID %>").style.display = "none";
}, seconds * 2000);
};
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentheading" Runat="Server">
Add Employee - PAYE Input File
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="portlet-title">
<div class="caption">
Add Employee - Paye Input Details
</div>
<div class="actions">
<div class="btn-group">
<asp:Button runat="server" ID="btnBack" CssClass="btn btn-redtheme" Text="Back To List" OnClick="btnBack_Click" />
</div>
</div>
</div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<script type="text/javascript" language="javascript">
Sys.Application.add_load(HideLabel);
</script>
<div id="divmsg" class="" runat="server" style="display:none"></div>
<div>
<table class="table borderless" style="width:100% !important; border:none !important;">
<tr>
<td style="font-weight:bold;">Employee Name:</td> <td></td><td><asp:TextBox ID="txt_employee_Fname" runat="server" CssClass="form-control"></asp:TextBox></td><td><asp:TextBox ID="txt_employee_Mname" runat="server" CssClass="form-control"></asp:TextBox></td><td><asp:TextBox ID="txt_employee_Lname" runat="server" CssClass="form-control"></asp:TextBox></td>
<td style="font-weight:bold;"> </td>
</tr>
<tr>
<td style="font-weight:bold;">Tax Year:</td> <td></td><td><asp:TextBox ID="txt_tax_year" runat="server" CssClass="form-control" Enabled="false"></asp:TextBox></td>
<td style="font-weight:bold;">Employee TIN:</td> <td><asp:TextBox ID="txt_employee_TIN" runat="server" CssClass="form-control"></asp:TextBox></td>
<td></td>
</tr>
<tr>
<td style="font-weight:bold;">Annual Basic:</td> <td></td><td><asp:TextBox ID="txt_AnnualBasic" runat="server" CssClass="form-control" Text="0"></asp:TextBox></td>
<td style="font-weight:bold;">Employee RIN:</td> <td><asp:TextBox ID="txt_employee_RIN" runat="server" CssClass="form-control"></asp:TextBox></td>
<td></td>
</tr>
<tr>
<td style="font-weight:bold;">Annual Transport:</td> <td></td><td><asp:TextBox ID="txt_Annual_Trans" runat="server" CssClass="form-control" Text="0"></asp:TextBox></td>
<td style="font-weight:bold;">Annual Rent:</td> <td><asp:TextBox ID="txt_AnnualRent" runat="server" CssClass="form-control" Text="0"></asp:TextBox></td>
<td></td>
</tr>
<tr>
<td style="font-weight:bold;">Annual Meal:</td> <td></td><td><asp:TextBox ID="txt_Annual_Meal" runat="server" CssClass="form-control" Text="0"></asp:TextBox></td>
<td style="font-weight:bold;">Annual Utility:</td> <td><asp:TextBox ID="txt_Annual_Utility" runat="server" CssClass="form-control" Text="0"></asp:TextBox></td>
<td></td>
</tr>
<tr>
<td style="font-weight:bold;">Pension:</td> <td></td><td><asp:TextBox ID="txt_Pension" runat="server" CssClass="form-control" Text="0"></asp:TextBox></td>
<td style="font-weight:bold;">Leave Transport Grant:</td> <td><asp:TextBox ID="txt_Leave_Trans_Grant" runat="server" CssClass="form-control" Text="0"></asp:TextBox></td>
<td></td>
</tr>
<tr>
<td style="font-weight:bold;">NHIS:</td> <td></td><td><asp:TextBox ID="txt_NHIS" runat="server" CssClass="form-control" Text="0"></asp:TextBox></td>
<td style="font-weight:bold;">NHF:</td> <td><asp:TextBox ID="txt_NHF" runat="server" CssClass="form-control" Text="0"></asp:TextBox></td>
<td></td>
</tr>
<tr>
<td style="font-weight:bold;">Other Income:</td> <td></td><td><asp:TextBox ID="txt_otherIncome" runat="server" CssClass="form-control" Text="0"></asp:TextBox></td>
<td style="font-weight:bold;">Annual Gross:</td> <td>
<asp:TextBox ID="txt_AnnualGross" runat="server" CssClass="form-control" Enabled="true" Text="0"></asp:TextBox>
</td>
<td>
</td>
</tr>
<tr>
<td style="font-weight:bold;">Start Month:</td> <td></td><td>
<%-- <asp:TextBox ID="txt_start_month" runat="server" CssClass="form-control"></asp:TextBox>
<br />
<cc1:CalendarExtender ID="cal_start_date" TargetControlID="txt_start_month" Format="yyyy-MM-dd" runat="server"></cc1:CalendarExtender>--%>
<asp:DropDownList ID="txt_start_month" runat="server" CssClass="form-control">
<asp:ListItem>January</asp:ListItem>
<asp:ListItem>February</asp:ListItem>
<asp:ListItem>March</asp:ListItem>
<asp:ListItem>April</asp:ListItem>
<asp:ListItem>May</asp:ListItem>
<asp:ListItem>June</asp:ListItem>
<asp:ListItem>July</asp:ListItem>
<asp:ListItem>August</asp:ListItem>
<asp:ListItem>September</asp:ListItem>
<asp:ListItem>October</asp:ListItem>
<asp:ListItem>November</asp:ListItem>
<asp:ListItem>December</asp:ListItem>
</asp:DropDownList>
</td>
<td style="font-weight:bold;">End Month:</td> <td>
<asp:DropDownList ID="txt_end_month" runat="server" CssClass="form-control">
<asp:ListItem>January</asp:ListItem>
<asp:ListItem>February</asp:ListItem>
<asp:ListItem>March</asp:ListItem>
<asp:ListItem>April</asp:ListItem>
<asp:ListItem>May</asp:ListItem>
<asp:ListItem>June</asp:ListItem>
<asp:ListItem>July</asp:ListItem>
<asp:ListItem>August</asp:ListItem>
<asp:ListItem>September</asp:ListItem>
<asp:ListItem>October</asp:ListItem>
<asp:ListItem>November</asp:ListItem>
<asp:ListItem Selected="True">December</asp:ListItem>
</asp:DropDownList>
</td><td>
<%--<asp:TextBox ID="txt_end_month" runat="server" CssClass="form-control"></asp:TextBox>
<cc1:CalendarExtender ID="cal_end_date" TargetControlID="txt_end_month" Format="yyyy-MM-dd" runat="server"></cc1:CalendarExtender>--%>
</td>
</tr>
<tr>
<td style="font-weight:bold; display:none;" colspan="5">Pension: <asp:CheckBox ID="chk_pension" runat="server"></asp:CheckBox>
NHF: <asp:CheckBox ID="chk_NHF" runat="server"></asp:CheckBox>
NHIS: <asp:CheckBox ID="chk_NHIS" runat="server"></asp:CheckBox>
</td>
<td><asp:Button ID="btn_save" Text="SAVE" runat="server" CssClass="btn btn-theme" OnClick="btn_save_Click"/> </td>
</tr>
</table>
</div></ContentTemplate></asp:UpdatePanel>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="modelpops" Runat="Server">
</asp:Content>