Skip to content

Commit

Permalink
Merge pull request #228 from andromeda-hebat/db/afifah
Browse files Browse the repository at this point in the history
add column jenis berkas on dashboard admin jurusan
  • Loading branch information
FarrelAD authored Dec 19, 2024
2 parents caab00e + 99f4ab4 commit 324ed62
Show file tree
Hide file tree
Showing 29 changed files with 13 additions and 1 deletion.
5 changes: 5 additions & 0 deletions app/models/BerkasPengajuan.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class BerkasPengajuan extends Model
protected string $nama_lengkap;
protected string $tanggal_request;
protected string $keterangan_verifikasi;
private string $jenis_berkas;


public function getNomor(): int { return $this->nomor; }
Expand Down Expand Up @@ -47,4 +48,8 @@ public function setTanggalRequest(string $tanggal_request): void { $this->tangga
public function getKeteranganVerifikasi(): string { return $this->keterangan_verifikasi; }

public function setKeteranganVerifikasi(string $keterangan_verifikasi): void { $this->keterangan_verifikasi = $keterangan_verifikasi; }

public function getJenisBerkas(): string {return $this->jenis_berkas;}

public function setJenisBerkas(string $jenis_berkas){$this->jenis_berkas = $jenis_berkas;}
}
2 changes: 2 additions & 0 deletions app/models/Notifikasi.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,6 @@ public function setTanggal(string $tanggal): void { $this->tanggal = $tanggal; }
public function getStatus(): string { return $this->status; }

public function setStatus(string $status): void { $this->status = $status; }


}
4 changes: 3 additions & 1 deletion app/repository/BerkasRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ public static function getAllBerkas(): array
m.nim,
m.nama_lengkap,
ta.tanggal_request,
vb.status_verifikasi,
vb.status_verifikasi,
'Berkas TA' AS jenis_berkas,
vb.keterangan_verifikasi
FROM VER.VerifikasiBerkas vb
INNER JOIN BERKAS.TA ta ON vb.id_berkas = ta.id_ta
Expand All @@ -103,6 +104,7 @@ public static function getAllBerkas(): array
m.nama_lengkap,
p.tanggal_request,
v.status_verifikasi,
'Berkas Prodi' AS jenis_berkas,
v.keterangan_verifikasi
FROM USERS.Mahasiswa m
INNER JOIN BERKAS.Prodi p ON m.nim = p.nim
Expand Down
2 changes: 2 additions & 0 deletions app/views/pages/admin_jurusan/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
<th style="background-color:#E4EEFF ;">NIM</th>
<th style="background-color:#E4EEFF ;">Mahasiswa</th>
<th style="background-color:#E4EEFF ;">Status</th>
<th style="background-color:#E4EEFF ;">Jenis Berkas</th>
<th style="background-color:#E4EEFF ;">Tanggal Pengajuan</th>
<th style="background-color:#E4EEFF ;">Keterangan</th>
</thead>
Expand All @@ -98,6 +99,7 @@
<td>
<?php include __DIR__ . '/../../atoms/badge_' . strtolower($value->getStatusVerifikasi()) . '.php' ?>
</td>
<td><?= $value->getJenisBerkas() ?></td>
<td><?= $value->getTanggalRequest() ?></td>
<td><?= $value->getKeteranganVerifikasi() ?></td>
</tr>
Expand Down
1 change: 1 addition & 0 deletions storage/logs/error.log
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
2024-12-05 14:06:37 UTC -- SQLSTATE[08001]: [Microsoft][ODBC Driver 17 for SQL Server]Named Pipes Provider: Could not open a connection to SQL Server [2].
2024-12-05 14:07:12 UTC -- SQLSTATE[08001]: [Microsoft][ODBC Driver 17 for SQL Server]Named Pipes Provider: Could not open a connection to SQL Server [2].
2024-12-19 05:52:21 UTC -- SQLSTATE[42S22]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'status_verifikasi'.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 324ed62

Please sign in to comment.