Ejemplo n.º 1
0
#=== Start ===
echo open_body();
?>
<!-- Includes -->
<script language=javascript1.2 src=js/zTools.js></script>
<script language=javascript1.2 src=js/keu_3tutupbulan.js></script>
<link rel=stylesheet type=text/css href='style/zTable.css'>
<?php 
#====== Controller ======
# Options
$optOrg = makeOption($dbname, 'organisasi', 'kodeorganisasi,namaorganisasi', "kodeorganisasi='" . $_SESSION['empl']['lokasitugas'] . "'");
$bulantahun = $_SESSION['org']['period']['tahun'] . "-" . $_SESSION['org']['period']['bulan'];
$optPeriod = array($bulantahun => $bulantahun);
# Fields
$els = array();
$els[] = array(makeElement('kodeorg', 'label', $_SESSION['lang']['kodeorg']), makeElement('kodeorg', 'select', '', array('style' => 'width:200px'), $optOrg));
$els[] = array(makeElement('periode', 'label', $_SESSION['lang']['periode']), makeElement('periode', 'select', '', array('style' => 'width:200px'), $optPeriod));
# Button
$els['btn'] = array(makeElement('btnList', 'button', $_SESSION['lang']['tutupbuku'], array('onclick' => 'tutupBuku()')));
#====== View ======
# Menu
include 'master_mainMenu.php';
# Form
OPEN_BOX();
echo genElTitle($_SESSION['lang']['tutupbulan'], $els);
CLOSE_BOX();
//echo"<pre>";
//print_r($_SESSION);
//echo"</pre>";
#=== End ===
close_body();
Ejemplo n.º 2
0
function renderFormDetail($data, $mode = 'add', $num = 0)
{
    global $dbname;
    # Prepare Options
    $holding = getHolding($dbname, $data['kodeorg']);
    if ($holding != false) {
        $kelompok = array('' => '');
        $tmpKel = makeOption($dbname, 'setup_klpkegiatan', 'kodeklp,namakelompok', "kodeorg='" . $holding['kode'] . "'");
        foreach ($tmpKel as $key => $row) {
            $kelompok[$key] = $row;
        }
    } else {
        $kelompok = array();
    }
    $optCashFlow = makeOption($dbname, 'keu_5mesinlaporandt', 'nourut,keterangandisplay', "tipe='Detail' and namalaporan='CASH FLOW DIRECT'");
    $whereKeg = "(substr(noakun,1,2)='52' or substr(noakun,1,2)='64') and detail=1";
    $kegiatan = makeOption($dbname, 'keu_5akun', 'noakun,namaakun', $whereKeg, 1);
    if (!isset($_SESSION['org']['below'])) {
        $_SESSION['org']['below'] = getOrgBelow($dbname, $data['kodeorg']);
    }
    $orgBelow = $_SESSION['org']['below'];
    # Prepare Field
    if ($mode == 'add') {
        $disabled = '';
    } else {
        $disabled = 'disabled';
    }
    $els = array();
    $els[] = array(makeElement('kodebagian', 'label', $_SESSION['lang']['kodebagian']), makeElement('kodebagian', 'select', $data['kodebagian'], array('style' => 'width:250px', $disabled => $disabled), $orgBelow));
    $els[] = array(makeElement('kelompok', 'label', $_SESSION['lang']['kelompok']), makeElement('kelompok', 'select', $data['kelompok'], array('style' => 'width:250px', 'onchange' => "getKegiatan(this,'kodekegiatan')", 'disabled' => 'disabled'), $kelompok));
    $els[] = array(makeElement('kodekegiatan', 'label', $_SESSION['lang']['posbiaya']), makeElement('kodekegiatan', 'select', $data['kodekegiatan'], array('style' => 'width:250px', $disabled => $disabled), $kegiatan));
    $els[] = array(makeElement('noaruskas', 'label', $_SESSION['lang']['noaruskas']), makeElement('noaruskas', 'select', $data['noaruskas'], array('style' => 'width:250px'), $optCashFlow));
    $els[] = array(makeElement('kodebarang', 'label', $_SESSION['lang']['kodebarang']), makeElement('kodebarang', 'searchBarang', $data['kodebarang'], array('style' => 'width:70px', 'maxlength' => '10', 'onkeypress' => 'return tanpa_kutip(event)', 'readonly' => 'readonly', $disabled => $disabled)));
    /*$els[] = array(
    	makeElement('revisi','label',$_SESSION['lang']['revisi']),
    	makeElement('revisi','textnum',$data['revisi'],array('style'=>'width:70px','maxlength'=>'2',
    	    'onkeypress'=>'return angka_doang(event)',$disabled=>$disabled))
        );*/
    $els[] = array(makeElement('hargasatuan', 'label', $_SESSION['lang']['hargasatuan']), makeElement('hargasatuan', 'textnum', $data['hargasatuan'], array('style' => 'width:70px', 'readonly' => 'readonly')));
    $els[] = array(makeElement('jumlah', 'label', $_SESSION['lang']['jumlah']), makeElement('jumlah', 'textnum', $data['jumlah'], array('style' => 'width:70px', 'readonly' => 'readonly')));
    $els2 = array();
    $els2[] = array(makeElement('jan', 'label', $_SESSION['lang']['jan']), makeElement('jan', 'textnum', $data['jan'], array('style' => 'width:90px', 'maxlength' => '13', 'onkeypress' => 'return angka_doang(event)', 'onkeyup' => 'updateQty()')));
    $els2[] = array(makeElement('peb', 'label', $_SESSION['lang']['peb']), makeElement('peb', 'textnum', $data['peb'], array('style' => 'width:90px', 'maxlength' => '13', 'onkeypress' => 'return angka_doang(event)', 'onkeyup' => 'updateQty()')));
    $els2[] = array(makeElement('mar', 'label', $_SESSION['lang']['mar']), makeElement('mar', 'textnum', $data['mar'], array('style' => 'width:90px', 'maxlength' => '13', 'onkeypress' => 'return angka_doang(event)', 'onkeyup' => 'updateQty()')));
    $els2[] = array(makeElement('apr', 'label', $_SESSION['lang']['apr']), makeElement('apr', 'textnum', $data['apr'], array('style' => 'width:90px', 'maxlength' => '13', 'onkeypress' => 'return angka_doang(event)', 'onkeyup' => 'updateQty()')));
    $els2[] = array(makeElement('mei', 'label', $_SESSION['lang']['mei']), makeElement('mei', 'textnum', $data['mei'], array('style' => 'width:90px', 'maxlength' => '13', 'onkeypress' => 'return angka_doang(event)', 'onkeyup' => 'updateQty()')));
    $els2[] = array(makeElement('jun', 'label', $_SESSION['lang']['jun']), makeElement('jun', 'textnum', $data['jun'], array('style' => 'width:90px', 'maxlength' => '13', 'onkeypress' => 'return angka_doang(event)', 'onkeyup' => 'updateQty()')));
    $els2[] = array(makeElement('jul', 'label', $_SESSION['lang']['jul']), makeElement('jul', 'textnum', $data['jul'], array('style' => 'width:90px', 'maxlength' => '13', 'onkeypress' => 'return angka_doang(event)', 'onkeyup' => 'updateQty()')));
    $els2[] = array(makeElement('agt', 'label', $_SESSION['lang']['agt']), makeElement('agt', 'textnum', $data['agt'], array('style' => 'width:90px', 'maxlength' => '13', 'onkeypress' => 'return angka_doang(event)', 'onkeyup' => 'updateQty()')));
    $els2[] = array(makeElement('sep', 'label', $_SESSION['lang']['sep']), makeElement('sep', 'textnum', $data['sep'], array('style' => 'width:90px', 'maxlength' => '13', 'onkeypress' => 'return angka_doang(event)', 'onkeyup' => 'updateQty()')));
    $els2[] = array(makeElement('okt', 'label', $_SESSION['lang']['okt']), makeElement('okt', 'textnum', $data['okt'], array('style' => 'width:90px', 'maxlength' => '13', 'onkeypress' => 'return angka_doang(event)', 'onkeyup' => 'updateQty()')));
    $els2[] = array(makeElement('nov', 'label', $_SESSION['lang']['nov']), makeElement('nov', 'textnum', $data['nov'], array('style' => 'width:90px', 'maxlength' => '13', 'onkeypress' => 'return angka_doang(event)', 'onkeyup' => 'updateQty()')));
    $els2[] = array(makeElement('dec', 'label', $_SESSION['lang']['dec']), makeElement('dec', 'textnum', $data['dec'], array('style' => 'width:90px', 'maxlength' => '13', 'onkeypress' => 'return angka_doang(event)', 'onkeyup' => 'updateQty()')));
    $fieldStr = "##kodebagian##kodekegiatan##kelompok##revisi##kodebarang##hargasatuan" . "##jumlah##jan##peb##mar##apr##mei##jun##jul##agt##sep##okt##nov##dec";
    if ($mode == 'add') {
        $btn = makeElement('addDataDetailB', 'button', $_SESSION['lang']['save'], array('onclick' => 'addDataDetail()', 'style' => 'float:left;clear:both;'));
    } else {
        $btn = makeElement('editDataDetailB', 'button', $_SESSION['lang']['save'], array('onclick' => 'editDataDetail(' . $num . ')', 'style' => 'float:left;clear:both;'));
    }
    # Make Layout
    $form = genElTitle('Form Detail', $els);
    $form .= genElementMultiDim('Rincian Sebaran', $els2, 3);
    $form .= $btn;
    return $form;
}
Ejemplo n.º 3
0
#=======Form============
echo "<div style='margin-bottom:30px'>";
$els = array();
# Fields
$els[] = array(makeElement('kodeorg', 'label', $_SESSION['lang']['kodeorg']), makeElement('kodeorg', 'select', '', array('style' => 'width:250px'), $optOrg));
$els[] = array(makeElement('kodeaplikasi', 'label', $_SESSION['lang']['kodeaplikasi']), makeElement('kodeaplikasi', 'text', '', array('style' => 'width:50px', 'maxlength' => '5')));
$els[] = array(makeElement('jurnalid', 'label', $_SESSION['lang']['jurnalid']), makeElement('jurnalid', 'text', '', array('style' => 'width:250px', 'maxlength' => '5')));
$els[] = array(makeElement('keterangan', 'label', $_SESSION['lang']['keterangan']), makeElement('keterangan', 'text', '', array('style' => 'width:250px', 'maxlength' => '50')));
$els[] = array(makeElement('noakundebet', 'label', $_SESSION['lang']['noakundebet']), makeElement('noakundebet', 'select', '', array('style' => 'width:250px'), $optAkun));
$els[] = array(makeElement('sampaidebet', 'label', $_SESSION['lang']['sampaidebet']), makeElement('sampaidebet', 'select', '', array('style' => 'width:250px'), $optAkun));
$els[] = array(makeElement('noakunkredit', 'label', $_SESSION['lang']['noakunkredit']), makeElement('noakunkredit', 'select', '', array('style' => 'width:250px'), $optAkun));
$els[] = array(makeElement('sampaikredit', 'label', $_SESSION['lang']['sampaikredit']), makeElement('sampaikredit', 'select', '', array('style' => 'width:250px'), $optAkun));
$els[] = array(makeElement('aktif', 'label', $_SESSION['lang']['aktif']), makeElement('aktif', 'check'));
# Fields
$fieldStr = '##kodeorg##kodeaplikasi##jurnalid##keterangan##noakundebet##sampaidebet##noakunkredit##sampaikredit##aktif';
$fieldArr = explode("##", substr($fieldStr, 2, strlen($fieldStr) - 2));
# Button
$els['btn'] = array(genFormBtn($fieldStr, 'keu_5parameterjurnal', "##kodeorg##kodeaplikasi##jurnalid", null, null, true));
# Generate Field
echo genElTitle('Parameter Jurnal', $els);
echo "</div>";
#=======End Form============
#=======Table============
# Display Table
#echo masterTable($dbname,'setup_kegiatan',$fieldArr);
echo "<div style='clear:both;float:left'>";
echo masterTable($dbname, 'keu_5parameterjurnal', $fieldArr, array(), array(), null, array(), null, 'kodeorg##kodeaplikasi##jurnalid');
echo "</div>";
#=======End Table============
CLOSE_BOX();
echo close_body();
?>
<!-- Includes -->
<script language=javascript1.2 src='js/zTools.js'></script>
<script language=javascript1.2 src='js/keu_3tutupbulanAudit.js'></script>
<link rel=stylesheet type=text/css href='style/zTable.css'>
<?php 
#====== Controller ======
# Options
$optOrg = makeOption($dbname, 'organisasi', 'kodeorganisasi,namaorganisasi', "kodeorganisasi='" . $_SESSION['empl']['lokasitugas'] . "'");
$bulantahun = $_SESSION['org']['period']['tahun'] - 1 . "-12";
$bulantahun1 = $_SESSION['org']['period']['tahun'] . "-12";
$optPeriod = array($bulantahun1 => $bulantahun1, $bulantahun => $bulantahun);
# Fields
$els = array();
$els[] = array(makeElement('kodeorg', 'label', $_SESSION['lang']['kodeorg']), makeElement('kodeorg', 'select', '', array('style' => 'width:200px'), $optOrg));
$els[] = array(makeElement('periode', 'label', $_SESSION['lang']['periode']), makeElement('periode', 'select', '', array('style' => 'width:200px'), $optPeriod));
# Button
$els['btn'] = array(makeElement('btnList', 'button', $_SESSION['lang']['tutupbuku'], array('onclick' => 'tutupBuku()')));
#====== View ======
# Menu
include 'master_mainMenu.php';
# Form
OPEN_BOX();
echo genElTitle('Recognition Ending Audit(base on the last revision):', $els);
if ($_SESSION['language'] == 'EN') {
    echo "<fieldset style='width:500px';><legend>" . $_SESSION['lang']['info'] . "</legend>\n              After doing this process, you will be in the period of January next year, if you've been in a period greater than January \n              of the following year, then you must conduct the process of closing the books until your transaction at this time period \n              (after doing the process), through Finance menu-> process-> Close Book month (No need to process the 'Monthly Process') .\n              </feldset>";
} else {
    echo "<fieldset style='width:500px';><legend>" . $_SESSION['lang']['info'] . "</legend>\n              Setelah melakukan proses ini, anda akan berada pada periode bulan Januari tahun selanjutnya, \n              jika anda sudah berada pada periode lebih besar dari bulan Januari tahun berikut, makan anda wajib melakukan proses Tutup buku hingga periode\n              transaksi anda saat ini(setelah melakukan proses ini), melalui menu Keuangan->Proses->Tutup Buku Bulanan(Tidak perlu proses akhir bulan) .\n              </feldset>";
}
CLOSE_BOX();
close_body();
Ejemplo n.º 5
0
#======Select Prep======
# Get Data
//$where = "`tipe`='HOLDING' or `tipe`='PT' or `tipe`='KANWIL'";
$where = "`tipe`='HOLDING' or `tipe`='PABRIK' or `tipe`='KANWIL' or `tipe`='GUDANG' or tipe='GUDANGTEMP' or `tipe`='KEBUN'\r\n         or (tipe='TRAKSI' and length(kodeorganisasi)=4)";
$optOrg = makeOption($dbname, 'organisasi', 'kodeorganisasi,namaorganisasi', $where, '0');
#======End Select Prep======
#=======Form============
echo "<div style='margin-bottom:30px'>";
$els = array();
# Fields
$els[] = array(makeElement('kodeorg', 'label', $_SESSION['lang']['kodeorg']), makeElement('kodeorg', 'select', '', array('style' => 'width:200px'), $optOrg));
$els[] = array(makeElement('periode', 'label', $_SESSION['lang']['periode']), makeElement('periode', 'text', '', array('style' => 'width:70px', 'placeholder' => 'yyyy-dd', 'maxlength' => '80')));
$els[] = array(makeElement('tanggal', 'label', $_SESSION['lang']['tanggal']), makeElement('tanggalmulai', 'text', '', array('style' => 'width:100px', 'readonly' => 'readonly', 'onmousemove' => 'setCalendar(this.id)', 'maxlength' => '8')) . " s/d " . makeElement('tanggalsampai', 'text', '', array('style' => 'width:100px', 'readonly' => 'readonly', 'onmousemove' => 'setCalendar(this.id)', 'maxlength' => '8')));
$els[] = array(makeElement('tutupbuku', 'label', $_SESSION['lang']['tutupbuku']), makeElement('tutupbuku', 'check', '0', array()));
# Fields
$fieldStr = '##kodeorg##periode##tanggalmulai##tanggalsampai##tutupbuku';
$fieldArr = explode("##", substr($fieldStr, 2, strlen($fieldStr) - 2));
# Button
$els['btn'] = array(genFormBtn($fieldStr, 'setup_periodeakuntansi', "##kodeorg##periode", null, null, '##tutupbuku'));
# Generate Field
echo genElTitle($_SESSION['lang']['periodeakuntansi'], $els);
echo "</div>";
#=======End Form============
#=======Table============
# Display Table
echo "<div style='clear:both;float:left'>";
echo masterTable($dbname, 'setup_periodeakuntansi', "*", array(), array(), null, array(), null, 'kodeorg##periode');
echo "</div>";
#=======End Table============
CLOSE_BOX();
echo close_body();
Ejemplo n.º 6
0
$qOpt = mysql_query($sOPt) or die(mysql_error($conn));
while ($rOpt = mysql_fetch_assoc($qOpt)) {
    $optPt .= "<option value=" . $rOpt['kodeorganisasi'] . ">" . $rOpt['namaorganisasi'] . "</option>";
}
#======End Select Prep======
#=======Form============
echo "<div style='margin-bottom:30px'>";
$els = array();
# Fields
$els[] = array(makeElement('kodeorg', 'label', $_SESSION['lang']['kodeorg']), makeElement('kodeorg', 'select', '', array('style' => 'width:150px'), $optOrg));
$els[] = array(makeElement('kodekelompok', 'label', $_SESSION['lang']['kodekelompok']), makeElement('kodekelompok', 'text', '', array('style' => 'width:100px', 'maxlength' => '5', 'onkeypress' => 'return tanpa_kutip(event)')));
$els[] = array(makeElement('keterangan', 'label', $_SESSION['lang']['keterangan']), makeElement('keterangan', 'text', '', array('style' => 'width:250px', 'maxlength' => '45', 'onkeypress' => 'return tanpa_kutip(event)')));
$els[] = array(makeElement('nokounter', 'label', $_SESSION['lang']['nokounter']), makeElement('nokounter', 'text', '0', array('style' => 'width:70px', 'maxlength' => '11', 'onkeypress' => 'return angka_doang(event)')));
# Fields
$fieldStr = '##kodeorg##kodekelompok##keterangan##nokounter';
$fieldArr = explode("##", substr($fieldStr, 2, strlen($fieldStr) - 2));
# Button
$els['btn'] = array(genFormBtn($fieldStr, 'keu_5kelompokjurnal', "##kodeorg##kodekelompok"));
# Generate Field
echo genElTitle($_SESSION['lang']['kodekelompok'] . " " . $_SESSION['lang']['jurnal'], $els);
echo "</div><br /><br /><br /><br /><br /><br /><br /><br />";
#=======End Form============
echo "\r\n<fieldset style=width=30px;float:left;>\r\n<legend style='font-weight:bold'>Reset Counter</legend>\r\n<table cellpading=1 border=0>\r\n<tr><td><select id=kodePt name=kodePt style='width:150px;'>" . $optPt . "</select><button class=mybutton onclick=\"resetJurnal()\">" . $_SESSION['lang']['save'] . "</button>\r\n</table>\r\n</fieldset><br /><br /><br /><br />";
#=======Table===============
# Display Table
echo "<div style='clear:both;float:left'>";
echo masterTable($dbname, 'keu_5kelompokjurnal');
echo "</div>";
#=======End Table============
CLOSE_BOX();
echo close_body();
Ejemplo n.º 7
0
$optKary = makeOption($dbname, 'datakaryawan', 'nik,namakaryawan', $whereKary, '0');
#======End Select Prep======
#=======Form============
echo "<div style='margin-bottom:30px'>";
$els = array();
# Fields
$els[] = array(makeElement('kodeorg', 'label', $_SESSION['lang']['kodeorg']), makeElement('kodeorg', 'select', '', array('style' => 'width:200px'), $optOrg));
$els[] = array(makeElement('kodetangki', 'label', $_SESSION['lang']['kodetangki']), makeElement('kodetangki', 'text', '', array('style' => 'width:200px', 'maxlength' => '10', 'onkeypress' => 'return tanpa_kutip(event)')));
$els[] = array(makeElement('keterangan', 'label', $_SESSION['lang']['keterangan']), makeElement('keterangan', 'text', '', array('style' => 'width:200px', 'maxlength' => '50', 'onkeypress' => 'return tanpa_kutip(event)')));
$els[] = array(makeElement('komoditi', 'label', $_SESSION['lang']['komoditi']), makeElement('komoditi', 'text', '', array('style' => 'width:200px', 'maxlength' => '3', 'onkeypress' => 'return tanpa_kutip(event)')));
$els[] = array(makeElement('luaspenampang', 'label', $_SESSION['lang']['luaspenampang']), makeElement('luaspenampang', 'textnum', '', array('style' => 'width:200px', 'maxlength' => '10', 'onkeypress' => 'return angka_doang(event)')));
$els[] = array(makeElement('satuanpenampang', 'label', $_SESSION['lang']['satuanpenampang']), makeElement('satuanpenampang', 'text', '', array('style' => 'width:200px', 'maxlength' => '10', 'onkeypress' => 'return tanpa_kutip(event)')));
$els[] = array(makeElement('volumekerucut', 'label', $_SESSION['lang']['volumekerucut']), makeElement('volumekerucut', 'textnum', '', array('style' => 'width:200px', 'maxlength' => '10', 'onkeypress' => 'return angka_doang(event)')));
$els[] = array(makeElement('satuankerucut', 'label', $_SESSION['lang']['satuankerucut']), makeElement('satuankerucut', 'text', '', array('style' => 'width:200px', 'maxlength' => '10', 'onkeypress' => 'return tanpa_kutip(event)')));
# Fields
$fieldStr = '##kodeorg##kodetangki##keterangan##komoditi##luaspenampang##satuanpenampang##volumekerucut##satuankerucut';
$fieldArr = explode("##", substr($fieldStr, 2, strlen($fieldStr) - 2));
# Button
$els['btn'] = array(genFormBtn($fieldStr, 'pabrik_5tangki', "##kodeorg##kodetangki", null, 'kodeorg##kodetangki'));
# Generate Field
echo genElTitle($_SESSION['lang']['tangki'], $els);
echo "</div>";
#=======End Form============
#=======Table===============
# Display Table
echo "<div style='clear:both;float:left'>";
echo masterTable($dbname, 'pabrik_5tangki', "*", array(), array(), array(), array(), null, 'kodeorg##kodetangki');
echo "</div>";
#=======End Table============
CLOSE_BOX();
echo close_body();
Ejemplo n.º 8
0
$optKary = makeOption($dbname, 'datakaryawan', 'karyawanid,namakaryawan');
// Options for passing
$opt = array('username' => $optUser, 'karyawanid' => $optKary);
#=======Form============
echo "<div style='margin-bottom:30px'>";
$els = array();
# Fields
$els[] = array(makeElement('username', 'label', $_SESSION['lang']['user']), makeElement('username', 'select', '', array('style' => 'width:250px'), $optUser));
$els[] = array(makeElement('karyawanid', 'label', $_SESSION['lang']['namakaryawan']), makeElement('karyawanid', 'select', '', array('style' => 'width:250px'), $optKary));
# Fields
$fieldStr = '##username##karyawanid';
// Field yang akan diambil
$fieldArr = explode("##", substr($fieldStr, 2, strlen($fieldStr) - 2));
$fieldId = '##username##karyawanid';
// Field yang menjadi ID (tidak boleh diubah)
# Button
$btnConfig = array('opt' => json_encode($opt), 'barang' => array('kodebarang'));
$els['btn'] = array(genFormBtnConfig($fieldStr, 'admin_list', $fieldId, $btnConfig));
# Generate Field
echo genElTitle("Admin List", $els);
echo "</div>";
#=======End Form============
#=======Table============
# Display Table
echo "<div style='clear:both;float:left'>";
$configTable = array('column' => $fieldArr, 'changeLang' => array('username' => 'user'), 'listName' => "Admin List", 'opt' => $opt);
echo masterTableConfig($dbname, 'admin_list', $configTable);
echo "</div>";
#=======End Table============
CLOSE_BOX();
echo close_body();
Ejemplo n.º 9
0
# Fields
$els[] = array(makeElement('kodeorg', 'label', $_SESSION['lang']['kodeorg']), makeElement('kodeorg', 'select', '', array('style' => 'width:150px'), $optOrg));
$els[] = array(makeElement('noakun', 'label', $_SESSION['lang']['noakun']), makeElement('noakun', 'text', '', array('style' => 'width:150px', 'maxlength' => '7', 'onkeypress' => 'return tanpa_kutip(event)')));
$els[] = array(makeElement('namaakun', 'label', $_SESSION['lang']['namaakun']), makeElement('namaakun', 'text', '', array('style' => 'width:250px', 'maxlength' => '80', 'onkeypress' => 'return tanpa_kutip(event)')));
$els[] = array(makeElement('namaakun1', 'label', $_SESSION['lang']['namaakun']) . "(EN)", makeElement('namaakun1', 'text', '', array('style' => 'width:250px', 'maxlength' => '80', 'onkeypress' => 'return tanpa_kutip(event)')));
$els[] = array(makeElement('tipeakun', 'label', $_SESSION['lang']['tipeakun']), makeElement('tipeakun', 'select', '', array('style' => 'width:150px'), $optTipeAkun));
$els[] = array(makeElement('level', 'label', $_SESSION['lang']['level']), makeElement('level', 'text', '', array('style' => 'width:150px', 'maxlength' => '2', 'onkeypress' => 'return angka_doang(event)')));
$els[] = array(makeElement('matauang', 'label', $_SESSION['lang']['matauang']), makeElement('matauang', 'select', '', array('style' => 'width:150px'), $optCurr));
$els[] = array(makeElement('detail', 'label', $_SESSION['lang']['detail']), makeElement('detail', 'check', '', array()));
$els[] = array(makeElement('kasbank', 'label', $_SESSION['lang']['kasbank']), makeElement('kasbank', 'check', '0', array()));
$els[] = array(makeElement('fieldaktif', 'label', $_SESSION['lang']['fieldaktif']), makeElement('fieldaktif', 'multichk', '0000000', array('style' => 'width:80px', 'maxlength' => '7', 'onkeypress' => 'return angka_doang(event)'), $optFieldAktif));
$els[] = array(makeElement('pemilik', 'label', $_SESSION['lang']['namapemilik']), makeElement('pemilik', 'text', '', array('style' => 'width:150px', 'maxlength' => '7', 'onkeypress' => 'return angka_doang(event)')));
# Fields
$fieldStr = '##noakun##namaakun##namaakun1##tipeakun##kasbank##level##matauang##kodeorg##detail##fieldaktif##pemilik';
$fieldArr = explode("##", substr($fieldStr, 2, strlen($fieldStr) - 2));
# Button
$els['btn'] = array(genFormBtn($fieldStr, 'keu_5akun', "##noakun##kodeorg", null, null, true));
# Generate Field
echo genElTitle($_SESSION['lang']['daftarperkiraan'], $els);
echo "</div>";
#=======End Form============
#=======Table===============
# Display Table
$kolom = 'noakun,namaakun';
echo "<div style='clear:both;float:left'>";
echo masterTable($dbname, 'keu_5akun', "*", array(), array(), array(), array(), 'keu_slave_5daftarperkiraan_pdf');
#echo masterTable($dbname,'keu_5akun',"*",array(),array(),array(),array(),'keu_slave_5daftarperkiraan_pdf');
echo "</div>";
#=======End Table============
CLOSE_BOX();
echo close_body();
Ejemplo n.º 10
0
<script language=javascript src=js/zMaster.js></script>
<script language=javascript src=js/zSearch.js></script>
<link rel=stylesheet type=text/css href=style/zTable.css>
<?php 
#=======Form============
echo "<div style='margin-bottom:30px'>";
$els = array();
# Fields
$els[] = array(makeElement('kodesegment', 'label', $_SESSION['lang']['kodesegment']), makeElement('kodesegment', 'text', '', array('style' => 'width:70px', 'maxlength' => 10)));
$els[] = array(makeElement('namasegment', 'label', $_SESSION['lang']['namasegment']), makeElement('namasegment', 'text', '', array('style' => 'width:300px', 'maxlength' => '70')));
# Fields
$fieldStr = '##kodesegment##namasegment';
// Field yang akan diambil
$fieldArr = explode("##", substr($fieldStr, 2, strlen($fieldStr) - 2));
$fieldId = '##kodesegment';
// Field yang menjadi ID (tidak boleh diubah)
# Button
$els['btn'] = array(genFormBtnConfig($fieldStr, 'keu_5segment', $fieldId));
# Generate Field
echo genElTitle($_SESSION['lang']['segment'], $els);
echo "</div>";
#=======End Form============
#=======Table============
# Display Table
echo "<div style='clear:both;float:left'>";
$configTable = array('column' => $fieldArr, 'freezeField' => 'kodesegment', 'listName' => $_SESSION['lang']['segment']);
echo masterTableConfig($dbname, 'keu_5segment', $configTable);
echo "</div>";
#=======End Table============
CLOSE_BOX();
echo close_body();
Ejemplo n.º 11
0
$optAkun = makeOption($dbname, 'keu_5akun', 'noakun,namaakun', null, '2');
$whereOrg = "tipe='HOLDING'";
$optOrg = makeOption($dbname, 'organisasi', 'kodeorganisasi,namaorganisasi', $whereOrg, '1');
#======End Select Prep======
#=======Form============
echo "<div style='margin-bottom:30px'>";
$els = array();
# Fields
$els[] = array(makeElement('kodeorg', 'label', $_SESSION['lang']['kodeorg']), makeElement('kodeorg', 'select', '', array('style' => 'width:250px'), $optOrg));
$els[] = array(makeElement('kodeklp', 'label', $_SESSION['lang']['kodeklp']), makeElement('kodeklp', 'text', '', array('style' => 'width:50px', 'maxlength' => '8')));
$els[] = array(makeElement('namakelompok', 'label', $_SESSION['lang']['namakelompok']), makeElement('namakelompok', 'text', '', array('style' => 'width:250px', 'maxlength' => '80')));
$els[] = array(makeElement('namakelompok1', 'label', $_SESSION['lang']['namakelompok1']), makeElement('namakelompok1', 'text', '', array('style' => 'width:250px', 'maxlength' => '80')));
$els[] = array(makeElement('noakun', 'label', $_SESSION['lang']['noakun']), makeElement('noakun', 'select', '', array('style' => 'width:250px'), $optAkun));
# Fields
$fieldStr = '##kodeorg##kodeklp##namakelompok##namakelompok1##noakun';
$fieldArr = explode("##", substr($fieldStr, 2, strlen($fieldStr) - 2));
# Button
$els['btn'] = array(genFormBtn($fieldStr, 'setup_klpkegiatan', "##kodeklp##kodeorg"));
# Generate Field
echo genElTitle($_SESSION['lang']['namakelompok'], $els);
echo "</div>";
#=======End Form============
#=======Table============
# Display Table
#echo masterTable($dbname,'setup_kegiatan',$fieldArr);
echo "<div style='clear:both;float:left'>";
echo masterTable($dbname, 'setup_klpkegiatan', "*", array(), array(), array(), array(), 'setup_slave_klpkegiatan_pdf');
echo "</div>";
#=======End Table============
CLOSE_BOX();
echo close_body();
Ejemplo n.º 12
0
    $optPeriod[$tmp2Bulan . "-" . $tmp2Tahun] = $tmp2Bulan . "-" . $tmp2Tahun;
    $tmp2Bulan++;
    if ($tmp2Bulan > 12) {
        $tmp2Bulan = 1;
        $tmp2Tahun++;
    }
}
# Element
$els = array();
# Fields
$els[] = array(makeElement('pt', 'label', $_SESSION['lang']['pt']), makeElement('pt', 'select', '', array('style' => 'width:200px'), $optPt));
$els[] = array(makeElement('unit', 'label', $_SESSION['lang']['unit']), makeElement('unit', 'select', '', array('style' => 'width:200px'), $optUnit));
$els[] = array(makeElement('periode', 'label', $_SESSION['lang']['periode']), makeElement('periode', 'select', '', array('style' => 'width:200px'), $optPeriod));
$els[] = array(makeElement('revisi', 'label', $_SESSION['lang']['revisi']), makeElement('revisi', 'select', 'all', array('style' => 'width:200px'), $optRev));
$param = '##pt##unit##periode##revisi';
$container = 'printArea';
$els['btn'] = array(makeElement('btnPreview', 'btn', 'Preview', array('onclick' => "zPreview('keu_slave_2summaryJMemorial','" . $param . "','" . $container . "')")) . makeElement('btnPDF', 'btn', 'PDF', array('onclick' => "zPdf('keu_slave_2summaryJMemorial','" . $param . "','" . $container . "')")) . makeElement('btnExcel', 'btn', 'Excel', array('onclick' => "zExcel(event,'keu_slave_2summaryJMemorial.php','" . $param . "','" . $container . "')")));
/** View **/
echo open_body();
?>
<script language=javascript src=js/zTools.js></script>
<script language=javascript src=js/zReport.js></script>
<link rel="stylesheet" type="text/css" href="style/zTable.css">
<?php 
include 'master_mainMenu.php';
OPEN_BOX();
echo genElTitle('Summary Memorial Journal', $els);
echo "<fieldset style='clear:left'><legend><b>Print Area</b></legend>";
echo "<div id='" . $container . "' style='overflow:auto;height:60%'></div></fieldset>";
CLOSE_BOX();
echo close_body();
Ejemplo n.º 13
0
    $optSegment = makeOption($dbname, 'keu_5segment', 'kodesegment,namasegment', $whereSegment, '1');
} else {
    $optSegment = array();
}
// Options for passing
$opt = array('kodesegment' => $optSegment);
#=======Form============
$els = array();
# Fields
$els[] = array(makeElement('kodeblok', 'label', $_SESSION['lang']['kodeblok']), makeElement('kodeblok', 'select', '', array('style' => 'width:200px'), $optBlok));
$els[] = array(makeElement('kodesegment', 'label', $_SESSION['lang']['kodesegment']), makeElement('kodesegment', 'searchSegment', '', array('style' => 'width:200px')));
$els[] = array(makeElement('porsisegment', 'label', $_SESSION['lang']['porsisegment']), makeElement('porsisegment', 'textnum', '', array('style' => 'width:200px')));
# Fields
$fieldStr = '##kodeblok##kodesegment##porsisegment';
// Field yang akan diambil
$fieldArr = explode("##", substr($fieldStr, 2, strlen($fieldStr) - 2));
$fieldId = '##kodeblok##kodesegment';
// Field yang menjadi ID (tidak boleh diubah)
# Button
$btnConfig = array('disabled' => '##kodesegment', 'opt' => json_encode($opt));
$els['btn'] = array(genFormBtnConfig($fieldStr, 'keu_5proporsisegment', $fieldId, $btnConfig));
# Generate Field
echo genElTitle('Form', $els);
#=======End Form============
#=======Table============
# Display Table
echo "<div style='clear:both;float:left'>";
$configTable = array('column' => $fieldArr, 'freezeField' => 'kodeblok##kodesegment', 'listName' => $_SESSION['lang']['segment'], 'opt' => $opt);
echo masterTableConfig($dbname, 'keu_5proporsisegment', $configTable);
echo "</div>";
#=======End Table============
Ejemplo n.º 14
0
#====== Controller ======
# Options
$optOrg = makeOption($dbname, 'organisasi', 'kodeorganisasi,namaorganisasi', "kodeorganisasi='" . $_SESSION['empl']['lokasitugas'] . "'");
$bulantahun = $_SESSION['org']['period']['tahun'] . "-" . $_SESSION['org']['period']['bulan'];
$optPeriod = array($bulantahun => $bulantahun);
//$optJenisData=array('gudang'=>'gudang - (RO,Kebun,PKS)','gaji'=>'Gaji Karyawan Tidak Langsung - (RO,Traksi,Kebun,PKS)','gajiharilibur'=>'Gaji Karyawan Langsung - (Kebun)','alokasi'=>'Alokasi Traksi - (Traksi)','depresiasi'=>'Depresiasi');
if ($_SESSION['language'] == 'EN') {
    $optJenisData = array('gaji' => 'Salaries From General Cost', 'gajiharilibur' => 'UnAllocated Salaries of Plant Labour', 'potongan' => 'Deduction Journal', 'depresiasi' => 'Depreciation', 'fixtrans' => 'Warehouse Integrity Check', 'alokasi' => 'Vehicle Running Allocation - (Traksi)', 'kurs' => 'Kurs Differentiation', 'mutasi' => 'Promotion / Mutation / Demotion');
} else {
    $optJenisData = array('gaji' => 'Gaji Karyawan Tidak Langsung - (RO,Traksi,Kebun,PKS)', 'gajiharilibur' => 'Gaji Karyawan Langsung - (Kebun)', 'potongan' => 'Penarikan Potongan Gaji Karyawan', 'depresiasi' => 'Depresiasi', 'fixtrans' => 'Integrity Check Gudang', 'alokasi' => 'Alokasi Traksi - (Traksi)', 'kurs' => 'Selisih Kurs', 'mutasi' => 'Promosi / Mutasi / Demosi');
}
# Fields
$els = array();
$els[] = array(makeElement('kodeorg', 'label', $_SESSION['lang']['kodeorg']), makeElement('kodeorg', 'select', '', array('style' => 'width:200px'), $optOrg));
$els[] = array(makeElement('periode', 'label', $_SESSION['lang']['periode']), makeElement('periode', 'select', '', array('style' => 'width:200px'), $optPeriod));
$els[] = array(makeElement('jenisData', 'label', $_SESSION['lang']['jenisbiaya']), makeElement('jenisData', 'select', '', array('style' => 'width:200px'), $optJenisData));
# Button
$els['btn'] = array(makeElement('btnList', 'button', $_SESSION['lang']['list'], array('onclick' => 'listPosting()')));
#====== View ======
# Menu
include 'master_mainMenu.php';
# Form
OPEN_BOX();
echo genElTitle($_SESSION['lang']['peosesakhirbulan'], $els);
CLOSE_BOX();
# List
OPEN_BOX();
echo makeFieldset($_SESSION['lang']['list'], 'listPosting', null, true);
CLOSE_BOX();
#=== End ===
close_body();
Ejemplo n.º 15
0
#=======Form============
echo "<div style='margin-bottom:30px'>";
$els = array();
# Fields
$els[] = array(makeElement('kodeorg', 'label', $_SESSION['lang']['kodeorg']), makeElement('kodeorg', 'select', '', array('style' => 'width:200px'), $optOrg));
$els[] = array(makeElement('shift', 'label', $_SESSION['lang']['shift']), makeElement('shift', 'textnum', '1', array('style' => 'width:200px', 'maxlength' => '1', 'onkeypress' => 'return angka_doang(event)')));
$els[] = array(makeElement('mandor', 'label', $_SESSION['lang']['mandor']), makeElement('mandor', 'select', '', array('style' => 'width:200px'), $optKary));
$els[] = array(makeElement('asisten', 'label', $_SESSION['lang']['asisten']), makeElement('asisten', 'select', '', array('style' => 'width:200px'), $optKary));
# Fields
$fieldStr = '##kodeorg##shift##mandor##asisten';
$fieldArr = explode("##", substr($fieldStr, 2, strlen($fieldStr) - 2));
# Button
$opt = array('mandor' => $optKary, 'asisten' => $optKary);
$els['btn'] = array(genFormBtn($fieldStr, 'pabrik_5shift', "##kodeorg##shift", null, 'kodeorg##shift', null, null, '##', '##', json_encode($opt)));
# Generate Field
echo genElTitle('Shift', $els);
echo "</div>";
#=======End Form============
#=======Prepare Table=======
$table = 'pabrik_5shift';
# Extract Data
//$where = "kodeorg='".$_SESSION['empl']['lokasitugas']."'";
$where = "1";
$query = "select * from " . $dbname . "." . $table . " where " . $where;
$res = mysql_query($query);
$j = mysql_num_fields($res);
$i = 0;
$field = array();
$fieldStr = "";
$primary = array();
$primaryStr = "";
Ejemplo n.º 16
0
# Get Data
$optKlpBy = array('Karyawan' => 'Karyawan', 'Mesin' => 'Mesin', 'Material' => 'Material', 'Transport' => 'Transport', 'Kontrak' => 'Kontrak', 'Supervisi' => 'Supervisi');
$whereOrg = "tipe='HOLDING'";
$optOrg = makeOption($dbname, 'organisasi', 'kodeorganisasi,namaorganisasi', $whereOrg, '1');
#======End Select Prep======
#=======Form============
echo "<div style='margin-bottom:30px'>";
$els = array();
# Fields
$els[] = array(makeElement('kodeorg', 'label', $_SESSION['lang']['kodeorg']), makeElement('kodeorg', 'select', '', array('style' => 'width:250px'), $optOrg));
$els[] = array(makeElement('kelompokbiaya', 'label', $_SESSION['lang']['kelompokbiaya']), makeElement('kelompokbiaya', 'select', '', array('style' => 'width:150px'), $optKlpBy));
$els[] = array(makeElement('kodebiaya', 'label', $_SESSION['lang']['kodebiaya']), makeElement('kodebiaya', 'text', '', array('style' => 'width:50px', 'maxlength' => '3')));
$els[] = array(makeElement('keteranganbiaya', 'label', $_SESSION['lang']['keterangan']), makeElement('keteranganbiaya', 'text', '', array('style' => 'width:250px', 'maxlength' => '40')));
# Fields
$fieldStr = '##kodeorg##kelompokbiaya##kodebiaya##keteranganbiaya';
$fieldArr = explode("##", substr($fieldStr, 2, strlen($fieldStr) - 2));
# Button
$els['btn'] = array(genFormBtn($fieldStr, 'keu_5komponenbiaya', "##kodebiaya"));
# Generate Field
echo genElTitle('Komponen Biaya', $els);
echo "</div>";
#=======End Form============
#=======Table============
# Display Table
#echo masterTable($dbname,'setup_kegiatan',$fieldArr);
echo "<div style='clear:both;float:left'>";
echo masterTable($dbname, 'keu_5komponenbiaya', "*", array(), array(), null, array(), null, 'kodebiaya');
echo "</div>";
#=======End Table============
CLOSE_BOX();
echo close_body();
Ejemplo n.º 17
0
#=======Form============
echo "<div style='margin-bottom:30px'>";
$els = array();
# Fields
$els[] = array(makeElement('kodeaplikasi', 'label', $_SESSION['lang']['kodeaplikasi']), makeElement('kodeaplikasi', 'select', '', array('style' => 'width:150px'), $optApp));
$els[] = array(makeElement('jabatan', 'label', $_SESSION['lang']['jabatan']), makeElement('jabatan', 'select', '', array('style' => 'width:150px'), $optJab));
# Fields
$fieldStr = '##kodeaplikasi##jabatan';
$fieldArr = explode("##", substr($fieldStr, 2, strlen($fieldStr) - 2));
# Button
$opt = array('jabatan' => $optJab);
$btnConfig = array('freeze' => 'kodeaplikasi', 'empty' => true, 'opt' => json_encode($opt));
$els['btn'] = array(genFormBtnConfig($fieldStr, 'setup_posting', "##kodeaplikasi##jabatan", $btnConfig));
//$els['btn'] = array(
//  genFormBtn($fieldStr,
//    'setup_posting',"##kodeaplikasi",null,'kodeaplikasi',true)
//);
# Generate Field
echo genElTitle('Setup Posting', $els);
echo "</div>";
#=======End Form============
#=======Table===============
$configTable = array('opt' => $opt, 'column' => '*');
# Display Table
echo "<div style='clear:both;float:left'>";
echo masterTableConfig($dbname, 'setup_posting', $configTable);
#echo masterTable($dbname,'keu_5akun',"*",array(),array(),array(),array(),'keu_slave_5daftarperkiraan_pdf');
echo "</div>";
#=======End Table============
CLOSE_BOX();
echo close_body();
Ejemplo n.º 18
0
#=======Form============
echo "<div style='margin-bottom:30px'>";
$els = array();
# Fields
$els[] = array(makeElement('kodegudang', 'label', $_SESSION['lang']['gudang']), makeElement('kodegudang', 'select', '', array('style' => 'width:250px'), $optGudang));
$els[] = array(makeElement('kodebarang', 'label', $_SESSION['lang']['kodebarang']), makeElement('kodebarang', 'searchBarang', '', array('style' => 'width:250px')));
$els[] = array(makeElement('nokartubin', 'label', $_SESSION['lang']['nokartubin']), makeElement('nokartubin', 'text', '', array('style' => 'width:70px', 'maxlength' => '45')));
$els[] = array(makeElement('maxstok', 'label', $_SESSION['lang']['maxstok']), makeElement('maxstok', 'textnum', '', array('style' => 'width:100px')));
$els[] = array(makeElement('minstok', 'label', $_SESSION['lang']['minstok']), makeElement('minstok', 'textnum', '', array('style' => 'width:100px')));
# Fields
$fieldStr = '##kodegudang##kodebarang##nokartubin##maxstok##minstok';
// Field yang akan diambil
$fieldArr = explode("##", substr($fieldStr, 2, strlen($fieldStr) - 2));
$fieldId = '##kodegudang##kodebarang';
// Field yang menjadi ID (tidak boleh diubah)
# Button
$btnConfig = array('disabled' => '##kodebarang', 'opt' => json_encode($opt), 'barang' => array('kodebarang'));
$els['btn'] = array(genFormBtnConfig($fieldStr, 'log_5kartubin', $fieldId, $btnConfig));
# Generate Field
echo genElTitle($_SESSION['lang']['nokartubin'], $els);
echo "</div>";
#=======End Form============
#=======Table============
# Display Table
echo "<div style='clear:both;float:left'>";
$configTable = array('column' => $fieldArr, 'freezeField' => 'kodegudang##kodebarang', 'changeLang' => array('kodegudang' => 'gudang'), 'listName' => $_SESSION['lang']['nokartubin'], 'opt' => $opt, 'cond' => $cond);
echo masterTableConfig($dbname, 'log_5kartubin', $configTable);
echo "</div>";
#=======End Table============
CLOSE_BOX();
echo close_body();
Ejemplo n.º 19
0
$els[] = array(makeElement('status', 'label', $_SESSION['lang']['status']), makeElement('status', 'select', '', array('style' => 'width:250px'), $optAktif));
# Fields
$fieldStr = '##kodeorg##kodekegiatan##namakegiatan##namakegiatan1##kelompok##satuan##noakun##status';
//$fieldArr = explode("##",substr($fieldStr,2,strlen($fieldStr)-2));
# Button
$els['btn'] = array(genFormBtn($fieldStr, 'setup_kegiatan', "##kodekegiatan##kodeorg##kelompok", null, null, null, null, '##', '##kodekegiatan'));
//$optKlp = makeOption($dbname,'setup_klpkegiatan',"kodeklp,noakun",
//					 "kodeorg in ('".array_keys($optOrg)."')");
$qKlp = selectQuery($dbname, 'setup_klpkegiatan', 'kodeorg,kodeklp,noakun', "kodeorg in ('" . implode("','", array_keys($optOrg)) . "')");
$resKlp = fetchData($qKlp);
$optKlp = array();
foreach ($resKlp as $row) {
    $optKlp[$row['kodeorg']][$row['kodeklp']] = $row['noakun'];
}
# Generate Field
echo genElTitle($_SESSION['lang']['kegiatan'], $els);
echo "<input id=klpAkun type=hidden value='" . json_encode($optKlp) . "'>";
echo "</div>";
#=======End Form============
#=======Prepare Table=======
$table = 'setup_kegiatan';
# Extract Data
$query = "select * from " . $dbname . "." . $table;
$res = mysql_query($query);
$j = mysql_num_fields($res);
$i = 0;
$field = array();
$fieldStr = "";
$primary = array();
$primaryStr = "";
# Get Names
Ejemplo n.º 20
0
?>
<script language=javascript1.2 src=js/detailakses.js></script>
<?php 
# Options
$tmpUser = makeOption($dbname, 'user', 'namauser,namauser');
$optUser = array('' => '');
foreach ($tmpUser as $key => $row) {
    $optUser[$key] = $row;
}
# Prep Element
$els = array();
$els[] = array(makeElement('user', 'label', $_SESSION['lang']['user']), makeElement('user', 'select', '', array('style' => 'width:250px', 'onchange' => 'getMenuList()'), $optUser));
$els[] = array(makeElement('menu', 'label', $_SESSION['lang']['menu']), makeElement('menu', 'select', '', array('style' => 'width:250px', 'disabled' => 'disabled'), array()));
# Prep Button
$btn = array();
$btn[] = array(makeElement('input', 'check', '0', array('disabled' => 'disabled')), makeElement('input', 'label', $_SESSION['lang']['input']));
$btn[] = array(makeElement('edit', 'check', '0', array('disabled' => 'disabled')), makeElement('edit', 'label', $_SESSION['lang']['edit']));
$btn[] = array(makeElement('delete', 'check', '0', array('disabled' => 'disabled')), makeElement('delete', 'label', $_SESSION['lang']['delete']));
/*$btn[] = array(
    makeElement('view','check','0',array('disabled'=>'disabled')),
    makeElement('view','label',$_SESSION['lang']['view']),
);*/
$btn[] = array(makeElement('print', 'check', '0', array('disabled' => 'disabled')), makeElement('print', 'label', $_SESSION['lang']['print']));
$btn[] = array(makeElement('approve', 'check', '0', array('disabled' => 'disabled')), makeElement('approve', 'label', $_SESSION['lang']['approve']));
$btn[] = array(makeElement('posting', 'check', '0', array('disabled' => 'disabled')), makeElement('posting', 'label', $_SESSION['lang']['posting']));
$els['btn'] = array(genElementMultiDim('Permission', $btn, 3));
$els[] = array(makeElement('save', 'btn', $_SESSION['lang']['save'], array('onclick' => 'saveData()', 'disabled' => 'disabled')));
#=== Display View
echo genElTitle('Detail Access', $els);
CLOSE_BOX();
echo close_body();