Skip to content

Commit

Permalink
Add logo to generated laporan
Browse files Browse the repository at this point in the history
  • Loading branch information
ikhsan3adi committed Mar 14, 2023
1 parent eee42a0 commit db916e0
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 6 deletions.
17 changes: 14 additions & 3 deletions app/Views/admin/generate-laporan/laporan-guru.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
<?= $this->extend('templates/laporan') ?>

<?= $this->section('content') ?>
<h2 align="center">DAFTAR HADIR GURU</h2>
<h4 align="center">TAHUN PELAJARAN 2022/2023</h4>
<table>
<tr>
<td><img src="<?= base_url('public/assets/img/icbcn_logo.jpg'); ?>" width="100px"></td>
<td width="100%">
<h2 align="center">DAFTAR HADIR GURU</h2>
<h4 align="center">SMK ICB CINTA NIAGA</h4>
<h4 align="center">TAHUN PELAJARAN 2022/2023</h4>
</td>
<td>
<div style="width:100px"></div>
</td>
</tr>
</table>
<span>Bulan : <?= $bulan; ?></span>
<table align="center" border="1">
<thead>
Expand All @@ -19,7 +30,7 @@
</thead>
<tr>
<th id="rowSpan3" align="center">No</th>
<th id="rowSpan3" width="250px">Nama</th>
<th id="rowSpan3" width="1000px">Nama</th>
<?php foreach ($tanggal as $value) : ?>
<th align="center"><?= $value->format('d'); ?></th>
<?php endforeach; ?>
Expand Down
17 changes: 14 additions & 3 deletions app/Views/admin/generate-laporan/laporan-siswa.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
<?= $this->extend('templates/laporan') ?>

<?= $this->section('content') ?>
<h2 align="center">DAFTAR HADIR SISWA</h2>
<h4 align="center">TAHUN PELAJARAN 2022/2023</h4>
<table>
<tr>
<td><img src="<?= base_url('public/assets/img/icbcn_logo.jpg'); ?>" width="100px"></td>
<td width="100%">
<h2 align="center">DAFTAR HADIR SISWA</h2>
<h4 align="center">SMK ICB CINTA NIAGA</h4>
<h4 align="center">TAHUN PELAJARAN 2022/2023</h4>
</td>
<td>
<div style="width:100px"></div>
</td>
</tr>
</table>
<span>Bulan : <?= $bulan; ?></span>
<span style="position: absolute;right: 0;">Kelas : <?= "{$kelas['kelas']} {$kelas['jurusan']}"; ?></span>
<table align="center" border="1">
Expand All @@ -20,7 +31,7 @@
</thead>
<tr>
<th id="rowSpan3" align="center">No</th>
<th id="rowSpan3" width="250px">Nama</th>
<th id="rowSpan3" width="1000px">Nama</th>
<?php foreach ($tanggal as $value) : ?>
<th align="center"><?= $value->format('d'); ?></th>
<?php endforeach; ?>
Expand Down

0 comments on commit db916e0

Please sign in to comment.