function Editing($va)
{
    $code = $va['code'];
    $dbRow = scSys::GetKeterangan("*", "code = '{$code}'", "sppd");
    if (!empty($dbRow)) {
        echo '
					with(OBJFORM_NEW.trsppd_laporan.Obj){
						find("#purpose").html("' . $dbRow['purpose'] . '") ; 
						find("#place_to").html("' . $dbRow['place_to'] . '") ; 
						find("#length_journey").html("' . $dbRow['length_journey'] . ' (' . scSys::Terbilang($dbRow['length_journey']) . ') hari") ; 
						find("#date_go").html("' . scDate::String2Date($dbRow['date_go']) . '") ; 
						find("#result").val("' . scSys::CheckText($dbRow['result']) . '") ; 
						find("#result").focus() ;  
					} 
				';
        if ($dbRow['result'] !== "") {
            //echokan
            $cButton = '<button type="button" class="btn btn-success" style="display:inline-block"
								 id="cmdCetak" name="cmdCetak" 
								 onclick="OBJFORM_NEW.trsppd_laporan.Print(&quot;' . $va['code'] . '&quot;)">Cetak</button>';
            echo '
						OBJFORM_NEW.trsppd_laporan.Obj
						.find("#wrapPrint").html("' . scSys::CheckText($cButton) . '") ; 
					';
        }
    }
}
Exemple #2
0
function Grid1_Load($va)
{
    global $scDb;
    $cUserName = GetSession("cSession_UserName");
    $cLv_Admin = scSys::GetConfig("sc_admin");
    $cLv = GetSession("cSession_SCLevel");
    $cLimit = $va['offset'] . "," . $va['limit'];
    //limit
    $vaOrder = array();
    if (isset($va['sort'])) {
        unset($va['sort'][13]);
        unset($va['sort'][14]);
        foreach ($va['sort'] as $key => $vaValue) {
            $vaOrder[] = $vaValue['field'] . " " . $vaValue['direction'];
        }
    }
    $cOrder = implode(",", $vaOrder);
    if ($cOrder == "") {
        $cOrder = "status ASC";
    }
    //init order grid
    $dTglAwal = scDate::Date2String($va['dTglAwal']);
    $dTglAkhir = scDate::Date2String($va['dTglAkhir']);
    $cWhere_opt = "";
    if ($va['optStatusF'] !== "-") {
        $cWhere_opt = " AND status = '{$va['optStatusF']}' ";
    }
    $vaWhere = array();
    if (isset($va['search'])) {
        unset($va['search'][13]);
        unset($va['search'][14]);
        foreach ($va['search'] as $key => $vaValue) {
            $vaWhere[] = $vaValue['field'] . " like '%" . $vaValue['value'] . "%'";
        }
    }
    //init where grid
    $cWhere = "date >= '{$dTglAwal}' AND date <= '{$dTglAkhir}' " . $cWhere_opt . (!empty($vaWhere) ? " AND (" . implode(" OR ", $vaWhere) . ")" : "");
    $vaReturn = array();
    $dbData = $scDb->Browse("sppd", "*", $cWhere, "", "", $cOrder, $cLimit);
    $dbDataNL = $scDb->Browse("sppd", "*", $cWhere);
    while ($dbRow = $scDb->GetRow($dbData)) {
        $dbRow['recid'] = $dbRow['code'];
        $cStatus = $dbRow['status'];
        $dbRow['code'] = '<a class="a-click" onClick="OBJFORM_NEW.trsppd.Print(\'' . $dbRow['recid'] . '\')">' . $dbRow['recid'] . '</a>';
        $dbRow['code'] = html_entity_decode($dbRow['code']);
        $dbRow['status'] = html_entity_decode(sppd::GetStatus($dbRow['status'], true));
        $dbRow['date'] = scDate::String2Date($dbRow['date']);
        $dbRow['date_go'] = scDate::String2Date($dbRow['date_go']);
        $dbRow['date_back'] = scDate::String2Date($dbRow['date_back']);
        $dbRow['letter_date'] = scDate::String2Date($dbRow['letter_date']);
        $dbRow['nip_pejabat'] = scSys::GetKeteranganOne("nama", "nip = '{$dbRow['nip_pejabat']}'", "pegawai");
        $dbRow['nip_leader'] = scSys::GetKeteranganOne("nama", "nip = '{$dbRow['nip_leader']}'", "pegawai");
        $dbRow['username'] = scSys::GetKeteranganOne("FullName", "UserName = '******'username']}'", "username");
        $vaReturn[] = $dbRow;
    }
    $vaReturn = array("total" => $scDb->Rows($dbDataNL), "records" => $vaReturn);
    echo json_encode($vaReturn);
}
Exemple #3
0
function GetData($va)
{
    global $scDb;
    $dTglAwal = $va['dTglAwal'] !== "" ? $va['dTglAwal'] : date("Y-m-d");
    $dTglAKhir = $va['dTglAKhir'] !== "" ? $va['dTglAKhir'] : date("Y-m-d");
    $dTglAwal = scDate::Date2String($dTglAwal);
    $dTglAKhir = scDate::Date2String($dTglAKhir);
    $cUser = $va['cUser'];
    $nLimit = (int) $va['nLimit'];
    $cSearch = $va['cSearch'];
    $cWhere = "DATE_FORMAT(LogWaktu,'%Y-%m-%d') >= '{$dTglAwal}' and DATE_FORMAT(LogWaktu,'%Y-%m-%d') <= '{$dTglAKhir}'";
    if ($cUser !== "") {
        $cWhere .= " and LogKeterangan like '%{$cUser}%'";
    }
    if ($cSearch !== "") {
        $cWhere .= " and (LogKeterangan like '%{$cSearch}%' or LogTable like '%{$cSearch}%' or LogCrud like '%{$cSearch}%')";
    }
    //oCrudBodyTable
    $dbData = $scDb->Browse("sc_config_log", "*", $cWhere, "", "", "Id desc", "0," . $nLimit);
    $cTable = "";
    while ($dbRow = $scDb->GetRow($dbData)) {
        $vaContent = unserialize($dbRow['LogKeterangan']);
        if (!isset($vaContent['Sql'])) {
            $vaContent['Sql'] = $dbRow['LogSQL'];
        }
        if (!isset($vaContent['Username'])) {
            $vaContent['Username'] = $dbRow['LogUserName'];
        }
        $cRawSQL = rawurlencode($vaContent['Sql']);
        $cUserName = scSys::GetKeteranganOne("FullName", "UserName = '******'Username']}'", "username");
        $cUserName = $cUserName == "" ? "System page Login" : $cUserName;
        $cTable .= '<tr>';
        $cTable .= '	<td>' . date("d-m-Y h:i:s", strtotime($dbRow['LogWaktu'])) . '</td>';
        $cTable .= '	<td>' . $dbRow['LogCrud'] . '</td>';
        $cTable .= '	<td>' . $dbRow['LogTable'] . '</td>';
        $cTable .= '	<td>' . $cUserName . '</td>';
        $cTable .= '	<td>' . DetectKeterangan($vaContent['Sql']) . ' [' . $dbRow['LogIp'] . ']</td>';
        $cTable .= '	<td align=\\"center\\"><button onClick=\\"ViewSQL(&quot;' . $cRawSQL . '&quot;)\\" class=\\"btn btn-primary\\"><i class=\\"fa fa-stack-exchange\\"></i></button></td>';
        $cTable .= '</tr>';
    }
    echo '
				$("#oCrudBodyTable").html("' . $cTable . '") ;
			';
}
Exemple #4
0
function LoadSPPD_Pelaporan($va)
{
    global $scDb;
    $cUserName = GetSession("cSession_UserName");
    $cLv_Admin = scSys::GetConfig("sc_admin");
    $cLv = GetSession("cSession_SCLevel");
    $cNip = GetSession("cSession_UserName_Target");
    $cSearch = $va['cSearch'];
    $vaArray = array();
    $cWhere = strpos($cLv_Admin, $cLv) === false ? "code LIKE '%{$cSearch}%' AND (nip_leader = '{$cNip}')" : "code LIKE '%{$cSearch}%'";
    $dbData = $scDb->Browse("sppd", "code,date", $cWhere);
    while ($dbRow = $scDb->GetRow($dbData)) {
        $vaArray[] = array("id" => $dbRow['code'], "text" => $dbRow['code'] . " pada tanggal " . scDate::String2Date($dbRow['date']));
    }
    if (empty($vaArray)) {
        $vaArray[] = array("id" => "scnull", "text" => "Tidak ditemukan");
    }
    echo json_encode($vaArray);
}
function LoadPie($va)
{
    global $scDb;
    //1. Priority
    //2. Category
    $dTglAwal = date("Y-m-d", strtotime($va['bulan_tahun']));
    $dTglAkhir = scDate::EOM($dTglAwal);
    $cGroup = "status";
    $cWhere = "date >= '{$dTglAwal}' AND date <= '{$dTglAkhir}' ";
    $dbData = $scDb->Browse("sppd", "COUNT(code) Jml,DATE_FORMAT(date,'%M %Y') bulan_tahun," . $cGroup, $cWhere, "", $cGroup, $cGroup . " DESC");
    $vaData = array();
    while ($dbRow = $scDb->GetRow($dbData)) {
        $color = $dbRow[$cGroup] == "1" ? "#2ecc71" : ($dbRow[$cGroup] == "2" ? "#3498db" : "#e74c3c");
        $vaData[] = array("value" => $dbRow['Jml'], "color" => $color, "highlight" => $color, "label" => sppd::GetStatus($dbRow[$cGroup]));
    }
    $chtml = ' <ul class="nav nav-tabs" id="myTabs2">
		                    <li class="active"><a href="#otab_1" data-toggle="tab" id="otab__1">Status</a></li>
		                </ul>
		                <div class="tab-content">
		                    <div class="tab-pane active" id="otab_1"> 
		                    	<canvas id="wrapdash_pie" height="300"></canvas> 
		                    </div> 
		                </div>';
    echo '
			$("#wrap_myTabs2").find(".me-loading").remove() ;  
		';
    $vachart = array();
    if (!empty($vaData)) {
        echo '
				$("#wrap_myTabs2").html("' . scSys::CheckText($chtml) . '") ; 
				setTimeout(function(){
					OBJFORM_NEW.frmdash.grid2 	= 
						new Chart($("#wrapdash_pie")[0].getContext("2d")).Pie(' . json_encode($vaData) . ')  ;  
				},50) ;  
			';
    }
}
Exemple #6
0
?>
 value="<?php 
echo date("01-01-Y");
?>
">
                                    <Input type="hidden" name="cPageSource" id="cPageSource" value="<?php 
echo $cPageSource;
?>
"/>
                                </div>
                                <div class="col-sm-2" style="margin-top:30px">s/d</div>
                                <div class="col-sm-5">
                                    <label>End Date</label>
                                    <input type="text" name="dTglAkhir" id="dTglAkhir" class="form-control sc-date text-center"
                                    <?php 
echo scDate::SetDataDate();
?>
 value="<?php 
echo date("d-m-Y");
?>
" >
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <label>Status</label>
                            <br />
                            <div class="radio-inline">
                                <label>
                                    <input type="radio" name="optStatusF" value="-" checked="true">
                                    Semua
Exemple #7
0
 $vaTanggal[] = array("x" => "", "1" => "Dikeluarkan di", "2" => ":", "3" => "Singosari");
 $vaTanggal[] = array("x" => "", "1" => "Pada Tanggal", "2" => ":", "3" => $vaDate["Tgl"] . " " . $vaDate['Bulan'] . " " . $vaDate['Tahun']);
 $vaTtd = array();
 $vaTtd[] = array("x" => "", "1" => $vaPejabat["jabatan"]);
 if ($vaPejabat['nip'] !== scSys::GetConfig("sc_kepala_dinas")) {
     $vaTtd[] = array("x" => "", "1" => "An. Kepala Dinas " . scSys::GetConfig("sc_company"));
 }
 $vaTtd[] = array("x" => "", "1" => "");
 $vaTtd[] = array("x" => "", "1" => "");
 $vaTtd[] = array("x" => "", "1" => "");
 $vaTtd[] = array("x" => "", "1" => "");
 $vaTtd[] = array("x" => "", "1" => "<u>" . $vaPejabat["nama"] . "</u>");
 $vaTtd[] = array("x" => "", "1" => $vaPejabat_Gol['Description']);
 $vaTtd[] = array("" => "", "1" => "NIP : " . $vaPejabat["nip"]);
 $vaDasar = array();
 $vaDate = scDate::Date2Var($dbRow['letter_date']);
 $vaDasar[] = array("1" => "Dasar", "2" => ":", "3" => $dbRow['letter_content']);
 $vaKepada = array();
 $nRow = 1;
 $vaKepada[] = array("1" => "Kepada", "2" => ":", "3" => $nRow++ . ".", "4" => "Nama", "5" => ":", "6" => $vaLeader['nama']);
 $vaKepada[] = array("1" => "", "2" => "", "3" => "", "4" => "Pangkat / gol", "5" => ":", "6" => $vaLeader_Gol['Description'] . " / " . $vaLeader_Gol['Title']);
 $vaKepada[] = array("1" => "", "2" => "", "3" => "", "4" => "NIP", "5" => ":", "6" => $vaLeader['nip']);
 $vaKepada[] = array("1" => "", "2" => "", "3" => "", "4" => "Jabatan", "5" => ":", "6" => $vaLeader['jabatan']);
 foreach ($vaPengikut as $key => $vaData) {
     $vaPengikut_Gol = scSys::GetKeterangan("Title,Description", "Id = '{$vaData['golongan']}'", "sc_master");
     $vaKepada[] = array("1" => "", "2" => "", "3" => $nRow++ . ".", "4" => "Nama", "5" => ":", "6" => $vaData['nama']);
     $vaKepada[] = array("1" => "", "2" => "", "3" => "", "4" => "Pangkat / gol", "5" => ":", "6" => $vaPengikut_Gol['Description'] . " / " . $vaPengikut_Gol['Title']);
     $vaKepada[] = array("1" => "", "2" => "", "3" => "", "4" => "NIP", "5" => ":", "6" => $vaData['nip']);
     $vaKepada[] = array("1" => "", "2" => "", "3" => "", "4" => "Jabatan", "5" => ":", "6" => $vaData['jabatan']);
 }
 $vaUntuk = array();
 }
 $vaTable1 = array();
 $vaTable1[] = array("1" => "Kepada", "2" => ":", "3" => $vaPejabat['nama']);
 $vaTable1[] = array("1" => "Tanggal", "2" => ":", "3" => scDate::String2Date($dbRow['result_date']));
 $vaTable1[] = array("1" => "Perihal", "2" => ":", "3" => "Laporan Hasil perjalanan Dinas ke " . $dbRow['place_to']);
 $vaTable2 = array();
 $vaTable2[] = array("1" => "Nama / NIP", "2" => ":", "3" => $vaLeader['nama']);
 $vaTable2[] = array("1" => "Pangkat / Gol", "2" => ":", "3" => $vaLeader_Gol['Description'] . " / " . $vaLeader_Gol['Title']);
 $vaTable2[] = array("1" => "Jabatan", "2" => ":", "3" => $vaLeader['jabatan']);
 $vaDate = scDate::Date2Var($dbRow['date_go']);
 $vaTable3 = array();
 $vaTable3[] = array("1" => "1.", "2" => "Maksud dan Tujuan", "3" => ":", "4" => $dbRow['purpose']);
 $vaTable3[] = array("1" => "2.", "2" => "Tempat yang dituju", "3" => ":", "4" => $dbRow['place_to']);
 $vaTable3[] = array("1" => "3.", "2" => "Untuk Selama", "3" => ":", "4" => $dbRow['length_journey'] . " (" . scSys::Terbilang($dbRow['length_journey']) . ") hari");
 $vaTable3[] = array("1" => "4.", "2" => "Berangkat Tanggal", "3" => ":", "4" => $vaDate["Tgl"] . " " . $vaDate['Bulan'] . " " . $vaDate['Tahun']);
 $vaDate = scDate::Date2Var($dbRow['result_date']);
 $vaTtd = array();
 $vaTtd[] = array("x" => "", "1" => "Singosari, " . $vaDate["Tgl"] . " " . $vaDate['Bulan'] . " " . $vaDate['Tahun']);
 $vaTtd[] = array("x" => "", "1" => "PETUGAS");
 $vaTtd[] = array("x" => "", "1" => "");
 $vaTtd[] = array("x" => "", "1" => "");
 $vaTtd[] = array("x" => "", "1" => "");
 $vaTtd[] = array("x" => "", "1" => "");
 $vaTtd[] = array("x" => "", "1" => "<u>" . $vaLeader["nama"] . "</u>");
 $vaTtd[] = array("x" => "", "1" => $vaLeader_Gol['Description']);
 $vaTtd[] = array("" => "", "1" => "NIP : " . $vaLeader["nip"]);
 $nFont = 10;
 $pdf = new Cezpdf("A4", "P", $vaOpt, "0");
 $pdf->ezImage(scSys::GetConfig("sc_header"), false, 100, 600);
 $pdf->ezTable($vaTable1, "", "", array("showLines" => 0, "showHeadings" => 0, "fontSize" => $nFont, "cols" => array("1" => array("width" => 20, "wrap" => 1), "2" => array("width" => 2), "3" => array("wrap" => 1))));
 $pdf->ezText("");
<?php

$cPageSource = GetLocationFile(__FILE__);
$vaDate = scDate::Date2Var(date("Y-m-d"));
?>
     

<section class="content-header">
    <h1>
        Pelaporan SPPD
    </h1>
</section>

<section class="content">
    <form name="trsppd_laporan" id="trsppd_laporan">
        <section class="content">
            <div class="nav-tabs-custom">
                <ul class="nav nav-tabs" id="myTabs">
                    <li class="active"><a href="#tab_1" data-toggle="tab" id="trsppd_laporan_tab_1">Pelaporan SPPD</a></li> 
                    <li class="pull-right bg-danger no-margin" style="padding-right:10px ;padding-left:10px ">
                        <h5 style="font-weight:bold;">
                            <?php 
echo $vaDate['Hari'] . " , " . $vaDate['Tgl'] . " " . $vaDate['Bulan'] . " " . $vaDate['Tahun'];
?>
                        </h5>
                    </li> 
                </ul>
                <div class="tab-content">
                    <div class="tab-pane active full-height" id="tab_1"> 
                        <div class="row">
                            <div class="col-sm-6">
Exemple #10
0
function Editing($va)
{
    $cKode = $va['code'];
    $dbRow = scSys::GetKeterangan("*", "code = '{$cKode}'", "sppd");
    if (!empty($dbRow)) {
        $vaNip_Pejabat = array("id" => $dbRow['nip_pejabat'], "text" => scSys::GetKeteranganOne("nama", "nip = '{$dbRow['nip_pejabat']}'", "pegawai"));
        $vaNip_Leader = array("id" => $dbRow['nip_leader'], "text" => scSys::GetKeteranganOne("nama", "nip = '{$dbRow['nip_leader']}'", "pegawai"));
        $vaNip = array();
        foreach (explode(",", $dbRow['nip']) as $key => $value) {
            $vaNip[] = array("id" => $value, "text" => scSys::GetKeteranganOne("nama", "nip = '{$value}'", "pegawai"));
        }
        $dbRow['date_go'] = scDate::String2Date($dbRow['date_go']);
        $dbRow['date_back'] = scDate::String2Date($dbRow['date_back']);
        echo '
					with(OBJFORM_NEW.trsppd.Obj){
						find("#code").val("' . $cKode . '") ;
						find("#letter_content").val("' . $dbRow['letter_content'] . '") ;
						find("#nip_pejabat").select2("data",' . json_encode($vaNip_Pejabat) . ') ;
						find("#nip_leader").select2("data",' . json_encode($vaNip_Leader) . ') ;
						find("#rate_travel").val("' . $dbRow['rate_travel'] . '") ;
						find("#nip").select2("data",' . json_encode($vaNip) . ') ;
						find("#purpose").val("' . $dbRow['purpose'] . '") ;
						find("#transport").val("' . $dbRow['transport'] . '") ;
						find("#place_from").val("' . $dbRow['place_from'] . '") ;
						find("#place_to").val("' . $dbRow['place_to'] . '") ;
						find("#length_journey").val("' . $dbRow['length_journey'] . '") ;
						find("#date_go").val("' . $dbRow['date_go'] . '") ;
						find("#date_back").val("' . $dbRow['date_back'] . '") ;
						find("#government").val("' . $dbRow['government'] . '") ; 
						find("#budget_from").val("' . $dbRow['budget_from'] . '") ;
						find("#description").val("' . $dbRow['description'] . '") ;
					}
				';
    }
}
function Editing($va)
{
    $cNip = $va['cNip'];
    $dbRow = scSys::GetKeterangan("*", "nip = '{$cNip}'", "pegawai");
    if (!empty($dbRow)) {
        $vaNip = array("id" => $dbRow['nip'], "text" => $dbRow['nip']);
        $vaGolongan = scSys::GetKeterangan("Title,Description", "Id = '{$dbRow['golongan']}'", "sc_master");
        $vaGolongan = array("id" => $dbRow['golongan'], "text" => $vaGolongan['Description'] . " / " . $vaGolongan['Title']);
        echo ' 
					with(OBJFORM_NEW.mstpegawai.Obj){
						find("#cNip").select2("data",' . json_encode($vaNip) . ') ;
						find("#cNip").select2("readonly",true) ;
						find("#cNama").val("' . $dbRow['nama'] . '") ;
						find("#cAlamat").val("' . $dbRow['alamat'] . '") ;
						find("#cTempat").val("' . $dbRow['tempat_lahir'] . '") ;
						find("#dTempat_Tgl").val("' . scDate::String2Date($dbRow['tanggal_lahir']) . '") ;
						find("#cGolongan").val("' . $dbRow['golongan'] . '") ;
						find("#dGolongan_Tgl").val("' . scDate::String2Date($dbRow['golongan_tanggal']) . '") ;
						find("#cJabatan").val("' . $dbRow['jabatan'] . '") ;
						find("#dJabatan_Tgl").val("' . scDate::String2Date($dbRow['jabatan_tanggal']) . '") ;
						find("#nKerjaTahun").val("' . $dbRow['kerja_tahun'] . '") ;
						find("#nKerjaBulan").val("' . $dbRow['kerja_bulan'] . '") ;
						find("#cJabatan_Lat").val("' . $dbRow['latihan_jabatan'] . '") ;
						find("#dJabatan_Lat_Tgl").val("' . scDate::String2Date($dbRow['latihan_jabatan_tanggal']) . '") ;
						find("#nJabatan_Lat").val("' . $dbRow['latihan_jabatan_jam'] . '") ;
						find("#cPendidikan").val("' . $dbRow['pendidikan'] . '") ; 
						find("#nThLulus").val("' . $dbRow['pendidikan_lulus'] . '") ;
						find("#cIjazah").val("' . $dbRow['pendidikan_ijazah'] . '") ;
						find("#cCatatan_Mutasi").val("' . $dbRow['catatan_mutasi'] . '") ;
						find("#cKeterangan").val("' . $dbRow['keterangan'] . '") ;
						find("#cno_hp").val("' . $dbRow['no_hp'] . '") ;
					} 
					$("#myTabs li:eq(1) a").tab("show") ; 
				';
    }
}
Exemple #12
0
 public static function GetLastKode($cKey, $lUpdate = true, $dTgl = '', $nLen = 18)
 {
     global $scDb;
     if ($dTgl == '') {
         $dTglTransaksi = scDate::GetTglTransaksi();
         $dTgl = $dTglTransaksi;
     }
     $dTgl = date("dmy", strtotime(scDate::Date2String($dTgl)));
     $dTgl = str_replace("-", "", $dTgl);
     $cCabang = scSys::GetCabangUser();
     $cKey .= $cCabang . $dTgl;
     //TBcabang2013100100001
     $nKey = strlen($cKey);
     $nRow = self::GetLastInt($cKey, $lUpdate);
     $cLastKode = $cKey . str_repeat("0", $nLen - $nKey - strlen($nRow)) . $nRow;
     return $cLastKode;
 }
Exemple #13
0
 public static function InitWrapInfo($dbRowAll, $cId, $oOSX)
 {
     $dbRowAll['DatetimeInsert_Maker'] = $dbRowAll['DatetimeInsert_Maker'] < $dbRowAll['DatetimeUpdate_Maker'] ? $dbRowAll['DatetimeUpdate_Maker'] : $dbRowAll['DatetimeInsert_Maker'];
     $cAlasan1 = "";
     $cAlasan2 = "";
     if (GetSession("cSession_UserName") == $dbRowAll['UserName_Maker']) {
         if ($dbRowAll['Penolakan_Checker'] !== "") {
             $vaPenolakan = @json_decode($dbRowAll['Penolakan_Checker'], true);
             if (!is_array($vaPenolakan)) {
                 $vaPenolakan = unserialize($dbRowAll['Penolakan_Checker']);
             }
             $cAlasan1 .= "<li>Penolakan Oleh Pemeriksa : <b>" . scSys::GetKeteranganOne("FullName", "UserName = '******'UserName']}'", "username") . "</b>";
             $cAlasan1 .= " Pada : <b>" . $vaPenolakan['Tgl'] . "</b> , Dengan Alasan : <br />";
             $cAlasan1 .= "&quot;<i>" . scSys::CheckText($vaPenolakan['Alasan'], true) . "</i>&quot;</li>";
         }
         if ($dbRowAll['Penolakan_Signer'] !== "") {
             $vaPenolakan = @json_decode($dbRowAll['Penolakan_Signer'], true);
             if (!is_array($vaPenolakan)) {
                 $vaPenolakan = unserialize($dbRowAll['Penolakan_Signer']);
             }
             $cAlasan2 .= "<li>Penolakan Oleh Penyetuju : <b>" . scSys::GetKeteranganOne("FullName", "UserName = '******'UserName']}'", "username") . "</b>";
             $cAlasan2 .= " Pada : <b>" . $vaPenolakan['Tgl'] . "</b> , Dengan Alasan : <br />";
             $cAlasan2 .= "&quot;<i>" . scSys::CheckText($vaPenolakan['Alasan'], true) . "</i>&quot;</li>";
         }
         if ($cAlasan1 !== "" || $cAlasan2 !== "") {
             $cAlasan2 .= "<li><a onClick=\"" . $oOSX . ".cmdBatal('" . $cId . "')\" style=\"cursor:pointer\">\n                    Klik disini untuk pembatalan permintaan Mutasi</a> </li>";
         }
     }
     $cHtml = '<br />
                 <div class="alert alert-danger alert-dismissable"> 
                     <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
                     <b>
                     <ul style="padding-left:5px;">
                       <li>
                         Pembuat  : ' . scSys::GetKeteranganOne("FullName", "UserName = '******'UserName_Maker']}'", "username") . ' (' . scDate::String2DateTime($dbRowAll['DatetimeInsert_Maker']) . ')' . '</li>
                       <li>
                     Pemeriksa : ' . scSys::GetKeteranganOne("FullName", "UserName = '******'UserName_Checker']}'", "username") . ' (' . scDate::String2DateTime($dbRowAll['DatetimeUpdate_Checker']) . ')' . '</li> ' . $cAlasan1 . '
                     <li>
                     Penyetuju : ' . scSys::GetKeteranganOne("FullName", "UserName = '******'UserName_Signer']}'", "username") . ' (' . scDate::String2DateTime($dbRowAll['DatetimeInsert_Signer']) . ')' . '</li> ' . $cAlasan2 . '
                     </ul>
                     </b>
                 </div>';
     return $cHtml;
 }