This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
sergio.hinojosa
/
eval-desempeno-v2
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Mostrar más campos en la tabla de prestadores
master
Sergio
2 years ago
parent
265a57d953
commit
df7295f7ae
2 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
app/Controllers/Admin.php
+4
-0
app/Views/Admin/prestadores.php
+ 1
- 0
app/Controllers/Admin.php
View File
@@ -25,6 +25,7 @@ class Admin extends BaseController
public function prestadores()
{
$prestadores = model(PrestadorModel::class)->getPrestadoresActivos();
// dd($prestadores[0]);
return view('Admin/prestadores', ['prestadores' => $prestadores]);
}
+ 4
- 0
app/Views/Admin/prestadores.php
View File
@@ -16,6 +16,8 @@
<thead>
<th>Nombre</th>
<th>Tipo</th>
<th>Email</th>
<th>Celular</th>
</thead>
<tbody>
@@ -23,6 +25,8 @@
<tr>
<td><?= $prestador['nombre'] . ' ' . $prestador['apaterno'] . ' ' . $prestador['amaterno'] ?></td>
<td><?= $prestador['tipo'] ?></td>
<td><?= $prestador['email'] ?></td>
<td><?= $prestador['celular'] ?></td>
</tr>
<?php endforeach ?>
Write
Preview
Loading…
Cancel
Save