-
Notifications
You must be signed in to change notification settings - Fork 11
/
salaries.php
100 lines (90 loc) · 3.68 KB
/
salaries.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
<?php require_once(dirname(__FILE__) . '/config.php');
if ( !isset($_SESSION['Admin_ID']) || !isset($_SESSION['Login_Type']) ) {
header('location:' . BASE_URL);
} ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<title>Salaries - Wisely Payroll</title>
<link rel="stylesheet" href="<?php echo BASE_URL; ?>bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="<?php echo BASE_URL; ?>plugins/datatables/dataTables.bootstrap.css">
<link rel="stylesheet" href="<?php echo BASE_URL; ?>plugins/datatables/jquery.dataTables_themeroller.css">
<link rel="stylesheet" href="<?php echo BASE_URL; ?>dist/css/AdminLTE.css">
<link rel="stylesheet" href="<?php echo BASE_URL; ?>dist/css/skins/_all-skins.min.css">
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
<?php require_once(dirname(__FILE__) . '/partials/topnav.php'); ?>
<?php require_once(dirname(__FILE__) . '/partials/sidenav.php'); ?>
<div class="content-wrapper">
<section class="content-header">
<h1>Salaries</h1>
<ol class="breadcrumb">
<li><a href="<?php echo BASE_URL; ?>"><i class="fa fa-dashboard"></i> Home</a></li>
<li class="active">Salaries</li>
</ol>
</section>
<section class="content">
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">Salary Slips</h3>
</div>
<div class="box-body">
<?php if ( $_SESSION['Login_Type'] == 'admin' ) { ?>
<table id="admin-salary" class="table table-bordered table-stripe">
<thead>
<tr>
<th>EMP CODE</th>
<th>NAME</th>
<th>SALARY MONTH</th>
<th>EARNINGS</th>
<th>DEDUCTIONS</th>
<th>NET SALARY</th>
<th>ACTIONS</th>
</tr>
</thead>
</table>
<?php } else { ?>
<table id="emp-salary" class="table table-bordered table-stripe">
<thead>
<tr>
<th>SALARY MONTH</th>
<th>EARNINGS</th>
<th>DEDUCTIONS</th>
<th>NET SALARY</th>
<th>ACTIONS</th>
</tr>
</thead>
</table>
<?php } ?>
</div>
</div>
</div>
</div>
</section>
</div>
<footer class="main-footer">
<strong>Copyright © 2017 <a href="http://wisely.co" target="_blank">Wisely</a>.</strong> All rights reserved.
</footer>
</div>
<script src="<?php echo BASE_URL; ?>plugins/jQuery/jquery-2.2.3.min.js"></script>
<script src="<?php echo BASE_URL; ?>bootstrap/js/bootstrap.min.js"></script>
<script src="<?php echo BASE_URL; ?>plugins/datatables/jquery.dataTables.min.js"></script>
<script src="<?php echo BASE_URL; ?>plugins/datatables/dataTables.bootstrap.min.js"></script>
<script src="<?php echo BASE_URL; ?>plugins/jquery-validator/validator.min.js"></script>
<script src="<?php echo BASE_URL; ?>plugins/bootstrap-notify/bootstrap-notify.min.js"></script>
<script src="<?php echo BASE_URL; ?>dist/js/app.min.js"></script>
<script type="text/javascript">var baseurl = '<?php echo BASE_URL; ?>';</script>
<script src="<?php echo BASE_URL; ?>dist/js/script.js?rand=<?php echo rand(); ?>"></script>
</body>
</html>