-
Notifications
You must be signed in to change notification settings - Fork 0
/
reporte-participante-sup.php
206 lines (182 loc) · 7.26 KB
/
reporte-participante-sup.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
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
<?php
include_once('config.php');
if ( (isset($_SESSION['username'])) && ($_SESSION['rol']) == ROL_SUPERVISOR ){
include_once('jupiter/code/fxModelo.php');
include_once('jupiter/code/fxVista.php');
include_once('jupiter/code/db_procter.php');
$resRpt = getEntrenamientoRptByVendedor($_SESSION['UserList'], $db);
$tblRpt = genReporteEVendedorTR($resRpt);
$num = count($resRpt);
// Vars
$title = 'Reporte por participante P&G';
} else {
// User No logeado
header ('Location: index.php');
}
?>
<!doctype html>
<html class="no-js" lang="es">
<head>
<?php include_once('code/header.php'); ?>
</head>
<body>
<!-- Nav -->
<nav class="top-bar" data-topbar role="navigation">
<?php include_once('code/top-bar-title-admin.php'); ?>
<section class="top-bar-section">
<?php include_once('code/top-bar-admin.php'); ?>
</section>
</nav>
<!-- Menu -->
<div class="left-sidebar show-for-large-up">
<ul class="property-nav text-center">
<li>
<a href="dashboard-supervisor.php" data-tooltip aria-haspopup="true" class="tip-right" title="Dashboard"><i class="fa fa-home"></i></a>
</li>
<li>
<a href="lista-participantes.php" data-tooltip aria-haspopup="true" class="tip-right" title="Participantes"><i class="fa fa-users"></i></a>
</li>
<li class="current">
<a href="reporte-entrenamiento2.php" data-tooltip aria-haspopup="true" class="tip-right" title="Reportes"><i class="fa fa-indent"></i></a>
</li>
<li>
<a href="index.php?logout" data-tooltip aria-haspopup="true" class="tip-right" title="Cerrar Sesión"><i class="fa fa-sign-out"></i></a>
</li>
</ul>
</div>
<main id="page" role="main" class="main mIzq45">
<section>
<div class="row pTop1">
<div class="large-12 columns">
<div class="row">
<div class="small-12 medium-12 large-6 columns text-left">
<ul class="button-group small round mDown1">
<li><a href="reporte-acumulado-sup.php" class="button bgVerdeL m0">Acumulado</a></li>
<li><a href="reporte-entrenamiento-sup.php" class="button bgVerdeL m0">Entrenamiento</a></li>
<li><a href="reporte-participante-sup.php" class="button bgVerdeL m0 active">Vendedores</a></li>
<li><a href="reporte-personalizado-sup.php" class="button bgVerdeL m0">Personalizado</a></li>
</ul>
</div>
</div>
<div class="row">
<form action="">
<div class="large-12 columns">
<table class="tblAzul responsive" id="tblShow">
<caption>
<div class="row">
<div class="small-12 columns text-center">
<h4 class="blanco">REPORTES POR VENDEDOR</h4>
</div>
</div>
</caption>
<thead>
<tr>
<th>
<div class="categoria top">
Vendedor
</div>
<div class="iconos">
<a href="">
<i class="fa fa-angle-up"></i>
</a>
<a href="">
<i class="fa fa-angle-down"></i>
</a>
</div>
</th>
<th>
<div class="categoria top">
Documento
</div>
<div class="iconos">
<a href="">
<i class="fa fa-angle-up"></i>
</a>
<a href="">
<i class="fa fa-angle-down"></i>
</a>
</div>
</th>
<th>
<div class="categoria">
Puntos<br/>Ganados
</div>
<div class="iconos">
<a href="">
<i class="fa fa-angle-up"></i>
</a>
<a href="">
<i class="fa fa-angle-down"></i>
</a>
</div>
</th>
<th>
<div class="categoria">
Entrenamientos<br/>Completados
</div>
<div class="iconos">
<a href="">
<i class="fa fa-angle-up"></i>
</a>
<a href="">
<i class="fa fa-angle-down"></i>
</a>
</div>
</th>
<th>
<div class="categoria">
Puntaje<br/>Promedio
</div>
<div class="iconos">
<a href="">
<i class="fa fa-angle-up"></i>
</a>
<a href="">
<i class="fa fa-angle-down"></i>
</a>
</div>
</th>
<th>
<div class="categoria">
Último<br/>Acceso
</div>
<div class="iconos">
<a href="">
<i class="fa fa-angle-up"></i>
</a>
<a href="">
<i class="fa fa-angle-down"></i>
</a>
</div>
</th>
</tr>
</thead>
<tbody>
<?php print($tblRpt); ?>
</tbody>
</table>
</div>
</div>
</form>
<div class="panel callout radius">
<h5>Tienes un TOTAL de <?php print $num; ?> Vendedores.</h5>
</div>
</div>
</div>
</div>
</div>
</section>
<footer>
<?php print $_SESSION['UserList']; ?>
<?php include_once('code/footer.php'); ?>
</footer>
</main>
<?php include_once('code/script.php'); ?>
<script src="js/responsive-tables.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.23.2/js/jquery.tablesorter.js"></script>
<script>
$(document).foundation();
$("#tblShow").tablesorter();
</script>
</body>
</html>