faktor pendukung support pdf
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
Desc. : PHP - Validasi Faktor Pendukung OPD
|
||||
Created By : Siau Pheng ([email protected]).
|
||||
Created Date : December 7th, 2011.
|
||||
Last Modified : September 15th, 2026.
|
||||
Last Modified : September 16th, 2026.
|
||||
|
||||
(c) 2011 - 2026, 3FONIA Software; WWW.3FONIA.COM.
|
||||
|
||||
@@ -84,7 +84,12 @@ if ( $data == "tabel-opd" ) {
|
||||
$tbl_mat = '<table id="tabelMatrik" class="table table-striped table-bordered table-hover" data-order=\'[[0,"asc"]]\'><thead><tr><th class="hid">ID</th><th>TW</td><th>Dokumen Matrik</th><th>Ukuran</th><th class="sorting_disabled">Aksi</th></tr></thead><tbody>';
|
||||
$db->Query("SELECT * FROM dpa_dalev_renja_matrik WHERE ".$qsql." AND Aktif=1");
|
||||
while ($db->Next()){
|
||||
$mat_link = '<a class="table-icon" title="Dokumen" onclick="ValidFaktorOPDJS.matrik_download(\''.$db->Row("DalevMatrikID").'\');"><i class="bi-filetype-xlsx"></i></a>';
|
||||
$afile = explode(".", $db->Row("Matrik_File"));
|
||||
if ($afile[1] === "pdf") {
|
||||
$mat_link = '<a class="table-icon" title="Dokumen" onclick="ValidFaktorOPDJS.matrik_open_pdf(\''.$_SESSION['__WEB_APP']['WEB_PATH'].'dokumen/'.$db->Row("Matrik_File").'\');"><i class="bi-file-pdf"></i></a>';
|
||||
} else {
|
||||
$mat_link = '<a class="table-icon" title="Dokumen" onclick="ValidFaktorOPDJS.matrik_download(\''.$db->Row("DalevMatrikID").'\');"><i class="bi-filetype-xlsx"></i></a>';
|
||||
}
|
||||
$mat_link .= '<a class="table-icon fon-tabel-dt" title="Validasi"><i class="bi-check2"></i></a>';
|
||||
$tbl_mat .= sprintf('<tr><td class="hid">%s</td><td class="c">%s</td><td class="l" title="%s">%s</td><td class="c">%s</td><td class="c">%s</td></tr>', $db->Row("DalevMatrikID"), $db->Row("TW"), $db->Row("Matrik_Name"), $db->Row("Matrik_Name"), $db->Row("Matrik_Size"), $mat_link);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user