Пример #1
0
function buildgrid($table, $field, $section, $aksi = true, $icon = '')
{
    $zlb = new zetro_buildlist();
    $zlb->config_file('asset/bin/zetro_master.frm');
    $sql2 = "select * from {$table} order by {$field}";
    //echo $sql2;
    $zlb->section($section);
    $zlb->aksi($aksi);
    $zlb->icon($icon);
    $zlb->query($sql2);
    $zlb->sub_total(false);
    $zlb->sub_total_field('stock,blokstok');
    $zlb->Header('100%');
    $zlb->list_data($section);
    $zlb->BuildListData($field);
    echo "</tbody></table>";
}
Пример #2
0
link_css('autosuggest.css', 'asset/css');
link_js('auto_sugest.js,lap_beli.js,jquery.fixedheader.js', 'asset/js,' . $path . '/js,asset/js');
panel_begin('Lap.Pembelian', '', ',' . $printer);
panel_multi('tranpembelian', 'block');
if ($all_trans_beli != '') {
    $fld = "<input type='hidden' id='jtran' name='jtran' value=''>";
    $fld .= "<input type='hidden' id='section' name='section' value='lapbelilist'>";
    $fld .= "<input type='hidden' id='lap' name='lap' value='beli'>";
    $fld .= "<input type='hidden' id='optional' name='optional' value=''>";
    $zfm->Addinput($fld);
    $zfm->AddBarisKosong(false);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('lapbeli', true, '60%');
    $zfm->BuildFormButton('Process', 'filter', 'button', 2);
    echo "<hr>";
    $zlb->section('lapbelilist');
    $zlb->aksi(false);
    $zlb->Header('100%');
    echo "</tbody></table>";
} else {
    no_auth();
}
panel_multi_end();
auto_sugest();
panel_end();
?>
<script language="javascript">
$(document).ready(function(e) {
    $('#printsheet').click(function(){
		$('#frm1').attr('action','print_laporan');
		document.frm1.submit();
Пример #3
0
<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$zfm = new zetro_frmBuilder('asset/bin/zetro_master.frm');
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_master.frm');
$path = 'application/views/master';
link_js('jquery.fixedheader.js,master_tools.js,jquery_terbilang.js', 'asset/js,' . $path . '/js,asset/js');
panel_begin('Tools Akun');
panel_multi('settingneraca', 'block', false);
if ($all_settingneraca != '') {
    $zlb->section('neraca');
    $zlb->aksi(false);
    $zlb->icon();
    $zlb->sub_total(false);
    $zlb->sub_total_field('stock,blokstok');
    $zlb->Header('100%');
    $n = 0;
    foreach ($head as $lh) {
        $n++;
        echo "<tr class='xx' onClick=\"show_detail('" . $lh->ID . "');\" id='c-" . $lh->ID . "'>\r\n\t\t\t\t  <td class='kotak' align='center'>{$n}</td>\r\n\t\t\t\t  <td class='kotak'>" . $lh->Header2 . "</td>\r\n\t\t\t\t  <td class='kotak'>" . $lh->Jenis1 . "</td>\r\n\t\t\t\t  </tr>\n";
    }
    echo "</body></table><hr>\n";
    $zlb->section('subneraca');
    $zlb->aksi(false);
    $zlb->icon();
    $zlb->sub_total(false);
    $zlb->sub_total_field('stock,blokstok');
    $zlb->Header('100%', 'SubTable');
Пример #4
0
$section = 'Barang';
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_master.frm');
$path = 'application/views/master';
link_js('jquery.fixedheader.js,master_general.js,jquery_terbilang.js', 'asset/js,' . $path . '/js,asset/js');
tab_select('');
panel_begin('Data General');
panel_multi('datakas', 'block', false);
$mk = '_kas';
if ($all_kas != '') {
    $zfm->AddBarisKosong(true);
    $zfm->Start_form(true, 'frm3');
    $zfm->BuildForm('Kas', true, '50%');
    $zfm->BuildFormButton('Simpan', 'kas');
    echo "<hr>";
    $zlb->section('Kas');
    $zlb->aksi(true);
    $zlb->icon('delete');
    $zlb->Header('70%');
    echo "</tbody></table>";
} else {
    no_auth();
}
panel_multi_end();
auto_sugest();
tab_select('prs');
panel_end();
terbilang();
?>

<script language="javascript">
Пример #5
0
$zlb = new zetro_buildlist();
$section = 'Barang';
$zlb->config_file('asset/bin/zetro_inv.frm');
$path = 'application/views/inventory';
link_js('material_inv.js', $path . '/js');
link_js('jquery.fixedheader.js', 'asset/js');
tab_select('');
panel_begin('Jenis Barang');
panel_multi('jenisbarang', 'block', false);
if ($all_jenisbarang != '') {
    $zfm->AddBarisKosong(false);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('Jenis', true, '50%');
    $zfm->BuildFormButton('Simpan', 'jenis');
    echo "<hr/>";
    $zlb->section('Jenis');
    $zlb->aksi($e_jenisbarang != '' ? true : false);
    $zlb->icon('deleted');
    $zlb->Header('100%', 'Jenis');
    echo "</tbody></table>";
} else {
    no_auth();
}
panel_multi_end();
panel_end();
?>
<script language="javascript">
$(document).ready(function(e) {
    	$('#jenisbarang').removeClass('tab_button');
		$('#jenisbarang').addClass('tab_select');
Пример #6
0
$zlb->config_file('asset/bin/zetro_beli.frm');
$path = 'application/views/pembelian';
Calender();
link_css('jquery.coolautosuggest.css', 'asset/css');
link_js('jquery.coolautosuggest.js', 'asset/js');
link_js('jquery.fixedheader.js', 'asset/js');
link_js('material_income_list.js', $path . '/js');
link_js('material_income.js,jquery_terbilang.js', $path . '/js,asset/js');
panel_begin('Penerimaan Barang');
panel_multi('inputpembelian', 'block', false);
if ($c_pembelian__index != '') {
    $zfm->AddBarisKosong(false);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('pembelian', false, '60%');
    echo "<hr><form id='frm2' name='frm2' method='post' action=''>";
    $zlb->section('pembelianlist');
    $zlb->aksi(true);
    $zlb->Header('97%');
    echo "<tr><td class='kotak' colspan='8'>&nbsp;</td>";
    echo "</tbody><tfoot>";
    $zfm->section('pembelianlist');
    $zfm->rowCount();
    $zfm->button('simpan');
    $zfm->BuildGrid();
    echo "</tfoot></table></form>";
} else {
    no_auth();
}
panel_multi_end();
panel_multi('listpembelian', 'none', false);
if ($all_listpembelian != '') {
Пример #7
0
link_js('jquery.fixedheader.js', 'asset/js');
panel_begin('List Vendor');
panel_multi('addvendor', 'none', false);
if ($all_master__vendor_n != '') {
    $zfm->AddBarisKosong(true);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('produsen', true, '50%');
    $zfm->BuildFormButton('Simpan', 'vendor');
} else {
    no_auth();
}
panel_multi_end();
panel_multi('listvendor', 'block', false);
if ($all_listvendor != '') {
    addText(array('Nama Vendor :', ''), array('<input type="text" id="finde" class="cari w100">', '<input type="button" id="oke" value="Cari">'));
    $zlb->section('produsen');
    $zlb->aksi($e_listvendor != '' ? true : false);
    $zlb->icon('deleted');
    $zlb->Header('100%');
    echo "</tbody></table>";
} else {
    no_auth();
}
panel_multi_end();
panel_end();
popup_start('v_detail', 'Transaksi Vendor :<span id="nmp"></span>', 750, 550);
$zlb->section('detailtransvendor');
$zlb->aksi(false);
$zlb->icon('deleted');
$zlb->Header('100%', 'vend_detail');
echo "</tbody></table>";
Пример #8
0
<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$zfm = new zetro_frmBuilder('asset/bin/zetro_akun.frm');
$zlb = new zetro_buildlist();
$section = 'Barang';
$zlb->config_file('asset/bin/zetro_akun.frm');
$path = 'application/views/akuntansi';
link_js('jquery.fixedheader.js,subklass_akun.js', 'asset/js,' . $path . '/js');
panel_begin('Sub Klasifikasi');
panel_multi('subklasifikasi', 'block');
if ($all_subklasifikasi != '') {
    $fld = "<input type='hidden' id='ID_A' name='ID_A' value=''>";
    $zfm->Addinput($fld);
    $zfm->AddBarisKosong(false);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('subklasifikasi', true, '50%');
    $zfm->BuildFormButton('Simpan', 'subklasifikasi');
    echo "<hr>";
    $zlb->section('subklasifikasi');
    $zlb->aksi(true);
    $zlb->Header('100%');
    $zlb->icon();
    echo "</tbody></table>";
} else {
    no_auth();
}
panel_multi_end();
panel_end();
Пример #9
0
$zlb = new zetro_buildlist();
$section = 'Barang';
$zlb->config_file('asset/bin/zetro_inv.frm');
$path = 'application/views/inventory';
link_js('material_kat.js', $path . '/js');
link_js('jquery.fixedheader.js', 'asset/js');
tab_select('');
panel_begin('Kategori Barang');
panel_multi('kategoribarang', 'block', false);
if ($all_kategoribarang != '') {
    $zfm->AddBarisKosong(false);
    $zfm->Start_form(true, 'frm2');
    $zfm->BuildForm('Kategori', true, '50%');
    $zfm->BuildFormButton('Simpan', 'kat');
    echo "<hr/>";
    $zlb->section('Kategori');
    $zlb->aksi($e_kategoribarang != '' ? true : false);
    $zlb->icon('deleted');
    $zlb->Header('100%', 'Jenis');
    echo "</tbody></table>";
} else {
    no_auth();
}
panel_multi_end();
panel_multi('jenisbarang', 'none', false);
if ($all_jenis != '') {
    $zfm->AddBarisKosong(true);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('Jenis', true, '50%');
    $zfm->BuildFormButton('Simpan', 'jenis');
    echo "<hr/>";
Пример #10
0
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_inv.frm');
$path = 'application/views/inventory';
link_css('jquery.coolautosuggest.css', 'asset/css');
link_js('jquery.coolautosuggest.js,jquery_terbilang.js', 'asset/js,asset/js');
link_js('jquery.fixedheader.js,material_list.js', 'asset/js,' . $path . '/js');
panel_begin('Satuan Barang');
panel_multi('satuanbarang', 'block', false);
if ($c_satuanbarang != '') {
    $zfm->AddBarisKosong();
    $zfm->Start_form(true, 'frm3');
    $zfm->BuildForm('Satuan', true, '70%');
    $zfm->BuildFormButton('Simpan', 'sat', 'button');
    echo "<hr>";
    $sql2 = "select * from inv_barang_satuan order by Satuan";
    $zlb->section('Satuan');
    $zlb->aksi(true);
    $zlb->icon('deleted');
    $zlb->Header('100%');
    $zlb->query($sql2);
    $zlb->list_data('Satuan');
    $zlb->BuildListData('Satuan');
    echo "</tbody></table>";
    inline_edit('satuan');
} else {
    no_auth();
}
panel_multi_end();
panel_end();
?>
<script language="javascript">
Пример #11
0
}
$zfm = new zetro_frmBuilder('asset/bin/zetro_neraca.frm');
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_neraca.frm');
$path = 'application/views/warehouse';
$sesi = $this->session->userdata('menus');
link_js('jquery.fixedheader.js', 'asset/js');
link_js('material_stocklist.js', $path . '/js');
calender();
panel_begin($sesi != 'SW52ZW50b3J5' ? 'List Stock' : 'Stock Adjustment');
panel_multi($sesi != 'SW52ZW50b3J5' ? 'liststock' : 'stockadjustment', 'block', false);
if ($all_liststock != '' || $all_stockadjustment != '') {
    echo "<form id='frm1' name='frm1' method='post' action=''>";
    addText(array('Kategori', 'Order By', 'Urutan', '', ''), array("<select id='Kategori' name='Kategori'></select>", "<select id='Stat' name='Stat' style='display:none'>\r\n\t\t\t\t\t  <option value=''>Semua</option>\r\n\t\t\t\t\t  <option value='Continue'>Continue</option>\r\n\t\t\t\t\t  <option value='Discontinue'>Discontinue</option>\r\n\t\t\t\t  </select>\r\n\t\t\t\t  <select id='orderby' name='orderby'>" . selectTxt('SusunanStock') . "</select>", "<select id='urutan' name='urutan'>" . selectTxt('Urutan', true) . "</select>", "<input type='button' value='OK' id='okelah'/>", "<input type='button' value='Print' id='prt'/>"));
    echo "</form>";
    $zlb->section('stocklist');
    $zlb->aksi($sesi != 'SW52ZW50b3J5' ? false : $e_stockadjustment != '' ? true : false);
    //SW52ZW50b3J5
    $zlb->icon();
    $zlb->Header('100%', 'stoked');
    echo "</tbody></table>";
} else {
    no_auth();
}
panel_multi_end();
panel_end();
popup_start('stocklist', 'Stock Adjustment', 550);
$fld = "<input type='hidden' id='id_barang' val=''/>";
$fld .= "<input type='hidden' id='batch' val=''/>";
$zfm->Addinput($fld);
$zfm->AddBarisKosong(true);
Пример #12
0
<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$zfm = new zetro_frmBuilder('asset/bin/zetro_akun.frm');
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_akun.frm');
$path = 'application/views/akuntansi';
link_js('jquery.fixedheader.js,klass_akun.js', 'asset/js,' . $path . '/js');
panel_begin('Klasifikasi');
panel_multi('klasifikasi', 'block');
if ($all_klasifikasi != '') {
    $fld = "<input type='hidden' id='ID_A' name='ID_A' value=''>";
    $zfm->Addinput($fld);
    $zfm->AddBarisKosong(true);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('klasifikasi', true, '50%');
    $zfm->BuildFormButton('Simpan', 'klasifikasi');
    $zlb->section('klasifikasi');
    $zlb->aksi(true);
    $zlb->Header('100%');
    $zlb->icon();
    echo "</tbody></table>";
} else {
    no_auth();
}
panel_multi_end();
panel_end();
Пример #13
0
if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$zfm = new zetro_frmBuilder('asset/bin/zetro_member.frm');
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_member.frm');
$path = 'application/views/member';
link_css('jquery.coolautosuggest.css', 'asset/css');
link_js('jquery.coolautosuggest.js,auto_sugest.js', 'asset/js,asset/js');
link_js('jquery.fixedheader.js,jquery_terbilang.js,member_simpanan.js', 'asset/js,asset/js,' . $path . '/js');
panel_begin('Simpanan');
panel_multi('transaksisimpanan', 'block');
if ($all_pembayarantagihan != '') {
    $zfm->AddBarisKosong();
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('simpanan', true, '50%');
    echo "<tr id='Tun' style='display:none'>\r\n\t\t  <td class='border_b'>&nbsp;&nbsp; Nama Anggota</td>\r\n\t\t  <td><input type='text' id='nm_agt' name='nm_agt' class='w90 cari'></td>\r\n\t\t  <td>&nbsp;</td>\r\n\t\t  </tr>\n\r\n\t\t  <tr id='Tune' style='display:none'>\r\n\t\t  <td class='border_b'>&nbsp;&nbsp; Nomor Perkiraan</td>\r\n\t\t  <td><input type='text' id='ID_Perkiraan' name='ID_Perkiraan' class='w50'></td>\r\n\t\t  <td>&nbsp;</td>\r\n\t\t  </tr>\n\r\n\t\t  <tr id='Tun' style='display:none'>\r\n\t\t  <td class='border_b'>&nbsp;&nbsp; Jumlah</td>\r\n\t\t  <td><input type='text' id='jumlah' name='jumlah' class='w35 angka'><div id='terbilang' class='infox'></div></td>\r\n\t\t  <td></td>\r\n\t\t  </tr>\n\r\n\t\t  <tr id='Tun' style='display:none'>\r\n\t\t  <td class='border_b'>&nbsp;&nbsp; Keterangan</td>\r\n\t\t  <td><textarea id='keterangan' name='keterangan' class='t90'></textarea></td>\r\n\t\t  <td>&nbsp;</td>\r\n\t\t  </tr>\n\r\n\t\t  <tr id='Tran' style='display:none'>\r\n\t\t  <td class='border_b'>&nbsp;&nbsp; No. Referensi</td>\r\n\t\t  <td><input type='text' id='noreff' name='noreff' class='w70'></td>\r\n\t\t  <td>&nbsp;</td>\r\n\t\t  </tr>\n\r\n\t\t  <tr><tc colspan='3'>&nbsp;</td></tr>\n\r\n\t\t  <tr id='Tun' style='display:none'>\r\n\t\t\t<td>&nbsp;</td>\r\n\t\t\t<td><input type='button' id='saved-simpanan' title='Simpan' value='Simpan'><input type='reset' id='batal' value='Cancel' Title='Cancel'></td>\r\n\t\t\t<td></td>\r\n\t\t\t</tr></table>\n";
    echo "<span id='loading' style='display:none'>\r\n\t<font style='color:#000'><b>Data being processed, please wait...</b><img src='" . base_url() . "asset/img/indicator.gif'></span>\r\n\t<span id='ptgaji' style='display:none; width:60%'>";
    $zlb->section('potonggaji');
    $zlb->aksi(true);
    $zlb->Header('100%');
    $zlb->icon();
    echo "</tbody></table>";
    echo "</span>";
    //$zfm->BuildFormButton('Simpan','simpanan');
} else {
    no_auth();
}
panel_multi_end();
panel_end();
echo "<div id='kekata' class='infox'></div>";
Пример #14
0
if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$zfm = new zetro_frmBuilder('asset/bin/zetro_member.frm');
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_member.frm');
$path = 'application/views/member';
$sesi = $this->session->userdata('menus');
calender();
link_css('jquery.coolautosuggest.css', 'asset/css');
link_css('jquery.alerts.css', 'asset/css');
link_js('jquery.alerts.js', 'asset/js');
link_js('jquery.coolautosuggest.js', 'asset/js');
link_js('jquery.fixedheader.js,jquery_terbilang.js,member_tagihan.js', 'asset/js,asset/js,' . $path . '/js');
panel_begin('Tagihan Pelanggan');
panel_multi('listtagihan', 'block', false);
if ($all_listtagihan != '') {
    echo "<form id='frm1' name='frm1' method='post' action=''>";
    addText(array('Status Tagihan', 'Order By', 'Urutan', '', ''), array("<select id='stat_tag' name='stat_tag'>\r\n\t\t\t\t   <option value=''>Semua</option>\r\n\t\t\t\t   <option value='1'>Lunas</option>\r\n\t\t\t\t   <option value='0' selected>Belum Lunas</option></select>", "<select id='orderby' name='orderby'>" . selectTxt('SusunanPlg', false, 'asset/bin/zetro_member.frm') . "</select>", "<select id='urutan' name='urutan'>" . selectTxt('Urutan', true) . "</select>", "<input type='button' value='OK' id='okelah'/>", "<input type='button' value='Print' id='prt'/>"));
    addText(array('Cari by Nama Pelangan', ''), array("<input type='text' class='cari w100' id='cariya' value=''>", "<input type='button' value='Cari' id='carilah'/>"));
    echo "</form>";
    $zlb->section('TagihanKredit');
    $zlb->aksi($sesi == 'SW52ZW50b3J5' ? false : true);
    $zlb->icon();
    $zlb->Header('100%');
    echo "</tbody></table>";
} else {
    no_auth();
}
panel_multi_end();
panel_end();
Пример #15
0
link_css('autosuggest.css', 'asset/css');
link_css('jquery.coolautosuggest.css', 'asset/css');
link_js('jquery.coolautosuggest.js', 'asset/js');
link_js('jquery.fixedheader.js', 'asset/js');
link_js('material_jual.js,jquery_terbilang.js,jquery.sumfield.js', $path . '/js,asset/js,asset/js');
panel_begin('Transaksi');
panel_multi('penjualan', 'block', false);
if ($c_penjualan__index != '') {
    echo "<table id='frame' width='99%'>\r\n\t\t <tr valign='top'><td width='45%'>";
    $zfm->AddBarisKosong(false);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('jualan', false, '100%');
    //$zfm->BuildFormButton('Process','filter','button',2);
    echo "</td><td class='kotak' colspan='2' width='55%'>\r\n\t<div id='kasir' class='harga' align='right'></div>\r\n\t<div id='trblkasir' style='font-size:medium; font-weight:bold'>Rp. </div></td></tr></table>\r\n\t<hr>\r\n\t<table id='frame2' width='99%'>\r\n\t\t<tr valign='top'><td rowspan='1' width='75%' style='overflow:auto; max-height:100px'>";
    echo "<div  style='height:320px;overflow:auto'>\r\n\t\t<form id='frm2' name='frm2' method='post' action=''>";
    $zlb->section('penjualanlist');
    $zlb->aksi(false);
    $zlb->Header('100%');
    $zfm->section('penjualanlist');
    $zfm->rowCount(20);
    $zfm->button('simpan');
    $zfm->BuildGrid(false);
    echo "</tbody></table></form>";
    echo "</div></td>\r\n\t<td class='kotak' width='25%' valign='top' height='70px' rowspan='2'>\r\n\t\t  <table id='inform' style='border-collapse:collapse' width='100%'>\r\n\t\t  \t<tr class='header'><td colspan='2' class='kotak'>Information</td></tr>\r\n\t\t  \t<tr><td width='40%' class='kotak'>In line Stock</td>\r\n\t\t  \t  \t<td class='kotak' id='ist'></td>\r\n\t\t\t</tr>\r\n\t\t  \t<tr style='display:'><td width='40%' class='kotak'>Modal</td>\r\n\t\t  \t  \t<td class='kotak' id='mdl'></td>\r\n\t\t\t</tr>\r\n\t\t  \t<tr><td class='kotak'>PPN 10%</td><td class='kotak' id='xst'>\r\n\t\t  \t\t<input type='checkbox' id='ppne' disabled>Aktif</td>\r\n\t\t\t</tr>\r\n\t\t\t<tr><td colspan='2'>&nbsp;</td></tr>\r\n\t\t\t<tr><td colspan='2'><input type='hidden' id='v_ist' value=''></td></tr>\r\n\t\t  </table>\r\n\t<!--/td></tr>\r\n\t<tr><td class='kotak' valign='top' align=''-->\r\n\t\t<table width='100%' id='b'>\r\n\t\t<tr><td class='kotak' width='35%'>Cara Bayar </td>\r\n\t\t<td class='kotak' width='65%'> <select id='cbayare' class='S100'></select></td>\r\n\t\t</tr>\r\n\t\t<tr id='nontunai'><td class='kotak' width='35%'>Nomor </td>\r\n\t\t<td class='kotak' width='65%'><input type='text' id='nogiro' class='w100 upper'></td>\r\n\t\t</tr>\r\n\t\t<tr id='nontunai'><td class='kotak' width='35%'>Bank </td>\r\n\t\t<td class='kotak' width='65%'><input type='text' id='n_bank' class='w100 upper'></td>\r\n\t\t</tr>\r\n\t\t<tr id='nontunai'><td class='kotak' width='35%'>Tanggal </td>\r\n\t\t<td class='kotak' width='65%'><input type='text' id='tgl_giro' class='w100 upper'></td>\r\n\t\t</tr>\r\n\t\t<tr><td colspan='2'>&nbsp;</td></tr>\r\n\t\t<tr><td colspan='2' align='center'>\r\n\t\t  <input type='button' id='bayar' value='Bayar'>\r\n\t\t  <!--input type='button' id='kredit' value='Bayar Kredit'-->\r\n\t\t  <input type='button' id='batal' value='Batal'>\r\n\t\t  </td>\r\n\t\t </tr></table>\r\n\t</tr>\r\n\t <tr><td colspan='1' class=''>\r\n\t\t  <table style='border-collapse:collpse'>\r\n\t\t\t  <tr align='center'>\r\n\t\t\t\t<td class='kotak' width='80px'>F1<br> Cek Stock</td>\r\n\t\t\t\t<!--td class='kotak' width='80px'>F2<br> Edit Line</td-->\r\n\t\t\t\t<td class='kotak' width='80px'>F4<br> Re Print</td>\r\n\t\t\t  </tr>\r\n\t\t  </table>\r\n\t </td></tr>\r\n\t</table>";
} else {
    no_auth();
}
panel_multi_end();
panel_end();
popup_start('pembayaran', 'Pembayaran', 400);
$zfm->AddBarisKosong(true);
Пример #16
0
$zfm = new zetro_frmBuilder('asset/bin/zetro_inv.frm');
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_inv.frm');
$path = 'application/views/inventory';
link_css('jquery.coolautosuggest.css', 'asset/css');
link_js('jquery.coolautosuggest.js', 'asset/js');
link_js('jquery.fixedheader.js,material_stock.js,auto_sugest.js,jquery_terbilang.js', 'asset/js,' . $path . '/js,asset/js,asset/js');
panel_begin('Stock');
panel_multi('stockoverview', 'block', false);
if ($v_stock__index != '') {
    $zfm->AddBarisKosong(true);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('stokoverview', false, '50%');
    echo "<hr>";
    $zlb->section('stokoverlist');
    $zlb->aksi(false);
    $zlb->icon();
    $zlb->Header('60%', 'stoked');
    echo "</tbody></table>";
} else {
    no_auth();
}
panel_multi_end();
panel_multi('liststock', 'none', false);
if ($v_liststock != '') {
    echo "<form id='frm2' name='frm2' method='post' action=''>";
    addText(array('Filter by Kategori', 'Status', '', 'Nama Barang/Kode   ', ''), array("<select id='id_kategori' name='id_kategori' class='s100'></select>", "<select id='stat_barang' name='stat_barang' class='s100'>\r\n\t\t\t\t\t  <option value=''>Semua</option>\r\n\t\t\t\t\t<option value='Continue'>Continue</option>\r\n\t\t\t\t\t<option value='Discontinue'>Discontinue</option></select>", '<input type="button" id="saved-filter" value="Process">', '<input type="text" id="nam_barang" name="nam_barang" value="" class="w100 carix" title="Silahkan ketik nama barang atau kode barang">', '<input type="button" id="cari" value="Cari">'));
    echo "</form>";
    $zlb->section('stoklistview');
    $zlb->aksi(true);
Пример #17
0
    $zfm->Addinput($fld);
    $zfm->AddBarisKosong(true);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('pemakaian', true, '50%');
    $zfm->BuildFormButton('Simpan', 'rusak');
    echo "<hr/>";
} else {
    no_auth();
}
panel_multi_end();
panel_multi('listbarangrusak', 'block', false);
if ($all_listbarangrusak != '') {
    echo "<form id='frm3' name='frm3' method='post' action=''>";
    addText(array('Periode', 's/d', '', ''), array("<input type='text' id='dari_tgl' name='dari_tgl' value=''/>", "<input type='text' id='sampai_tgl' name='sampai_tgl' value=''/>", "<input type='button' id='okelah' name='okelah' value='OK'/>", "<input type='button' id='prtr' name='prtr' value='Print'/>"));
    echo "</form>";
    $zlb->section('pemakaian');
    $zlb->aksi($e_listbarangrusak != '' ? true : false);
    $zlb->icon('deleted');
    $zlb->Header('100%');
    echo "</tbody></table>";
} else {
    no_auth();
}
panel_multi_end();
popup_start('pakai', 'Edit Barang Rusak/hilang', 550);
$fld = "<input type='hidden' id='id_barang' name='id_barang' value=''/>";
$fld .= "<input type='hidden' id='id_satuan' name='id_satuan' value=''/>";
$zfm->Addinput($fld);
$zfm->AddBarisKosong(true);
$zfm->Start_form(true, 'frm2');
$zfm->BuildForm('pemakaian', true, '100%');
Пример #18
0
$zlb = new zetro_buildlist();
$zn = new zetro_manager();
$section = 'listanggota';
$zlb->config_file('asset/bin/zetro_member.frm');
$path = 'application/views/member';
$dept = "<select id='dept' name='dept'></select>";
$stat = "<select id='stat' name='stat'>\r\n\t\t<option value='all'>Semua</option>\r\n\t\t<option value='1'>Terjurnal</option>\r\n\t\t<option Value='0' selected='selected'>Belum Terjurnal</option>\r\n\t\t</select>";
link_css('style.css', 'asset/js');
link_js('jquery.fcbkcomplete.js', 'asset/js');
link_js('jquery.fixedheader.js,member_transaksi.js', 'asset/js,' . $path . '/js');
panel_begin('List Transaksi', '', 'Department :,' . $dept . ', &nbsp;&nbsp;Status :' . $stat);
panel_multi('listtransaksi', 'block');
addText(array('Departemen :', 'Status :'), array('<span id="ndept"></span>', '<span id="nstat"></span>'));
if ($all_listtransaksi != '') {
    $n = 0;
    $zlb->section('listtransaksi');
    $zlb->aksi(true);
    $zlb->Header('100%');
    $zlb->icon('deleted');
    echo "</tbody></table>";
} else {
    no_auth();
}
panel_multi_end();
panel_end();
?>
<input type='hidden' id='ordby' value='' class='w100'/>
<input type='hidden' id='totdata' value='<?php 
echo !empty($list) ? count($list) : 0;
?>
' />
Пример #19
0
$p_bukubesar != '' ? $oto_p = '' : ($oto_p = 'none');
link_css('jquery.coolautosuggest.css', 'asset/css');
link_js('jquery.fixedheader.js,jquery.coolautosuggest.js', 'asset/js,asset/js');
link_js('buku_besar.js,jquery_terbilang.js', $path . '/js,asset/js');
panel_begin('Buku Besar', '', ',', ",,,,<input type='button' class='print' style='display:{$oto_p}' value='Cetak' id='cetak' title='Klik untuk print'>");
panel_multi('bukubesar', 'block', false);
if ($all_bukubesar != '') {
    echo "<form name='frm_j' id='frm_j' method='post' action=''>";
    echo "\r\n<table id='period' style='border-collapse:collapse'>\r\n\t<tr><td width='70px'>Periode :</td>\r\n    \t<td width='20px'><input type='radio' name='periode' id='pertgl' /></td>\r\n        <td width='70px'>Per Tanggal</td>\r\n        <td width='100px'><input type='text' id='tgl_start' class='w100' value='' /></td>\r\n        <td width='20px'>s/d</td>\r\n        <td width='100px'><input type='text' id='tgl_stop' class='w100' value='' /></td>\r\n        <td style='border-right:2px dotted #FFF' width='15px'></td>\r\n        <td width='10px'>&nbsp;</td>\r\n        <td width='80px'>Klasifikasi</td>\r\n        <td width='170px'><select id='ID_Klas' class='S100'>";
    dropdown("klasifikasi", 'ID', 'Klasifikasi');
    echo "</select></td>\r\n        <td width='5px'>&nbsp;</td>\r\n        <td width='90px'>Sub Klasifikasi</td>\r\n        <td width='250px'><select id='ID_SubKlas' class='S70'></select></td>\r\n    </tr>\r\n\t<tr><td>&nbsp;</td>\r\n    \t<td><input type='radio' name='periode' id='pertahun' /></td>\r\n        <td>Per Tahun</td>\r\n        <td><select id='tahun'></select></td>\r\n        <td>&nbsp;</td>\r\n        <td><input type='button' id='oke' value='OK'></td>\r\n        <td style='border-right:2px dotted #FFF' width='15px'></td>\r\n        <td >&nbsp;</td>\r\n        <td >Departemen</td>\r\n        <td ><select id='ID_Dept' class='S100'>";
    dropdown("mst_departemen", 'ID', 'Departemen');
    echo "</select></td>\r\n        <td >&nbsp;</td>\r\n        <td >Perkiraan</td>\r\n        <td ><select id='ID_Agt' class='S100' style='float:left'></select></td>\r\n    </tr>\r\n</table>\r\n<hr />";
    echo "</form>";
    echo "<div id='tgl' style='display:none'>";
    $zlb->section('bukubesar');
    $zlb->aksi(false);
    $zlb->Header('100%');
    $zlb->icon();
    echo "</tbody></table>\n\r\n\t\t</div>\r\n\t\t<div id='thn' style='display:none'>";
    $zlb->section('bukubesartahunan');
    $zlb->aksi(false);
    $zlb->Header('70%', 'bbTahunan');
    $zlb->icon();
    echo "</tbody></table></div>";
} else {
    no_auth();
}
panel_multi_end();
panel_end();
loading_ajax();
Пример #20
0
panel_multi('datapelanggan', 'block', false);
echo "<table width='100%' border='0'>\r\n\t<tr valign='top'><td width='45%'>";
//$zfm->Addinput("<input type='text' id='No_Agt' name='No_Agt' value='".$no_anggota."'/>");
$zfm->AddBarisKosong(false);
$zfm->Start_form(true, 'frm1');
$zfm->BuildForm('registrasi', false, '100%');
echo "</td><td width='5%'>&nbsp;</td>\r\n\t <td width='50%'>";
$zfm->AddBarisKosong(false);
$zfm->Start_form(true, 'frm2');
$zfm->BuildForm('biodata', false, '100%');
echo "<!--hr><div id='pic' style='height:350px; border:1px inset #FFF'>\r\n\t<img src='' id='photone' width='500px' height='350px'></div>";
echo "</td></tr-->\r\n\t </table>\r\n\t\t<hr>\r\n\t\t<div id='btn' style='width:90%; border:0px outset #CCC;padding:5px; padding-right:20px' align='right'>\r\n\t\t<input type='button' id='update_b' value='Update Data'>\r\n\t\t<!--input type='button' id='cetak_b' value='Cetak'-->\r\n\t\t<input type='button' id='keluar_b' value='Tutup'></div>";
panel_multi_end();
panel_multi('membertrans', 'none', false);
addText(array('No. Anggota', 'Nama Lengkap', 'Department'), array("<input type='text' id='no_anggota' readonly value='{$no_anggota}'>", "<input type='text' id='nm_anggota' readonly value='{$nm_anggota}'>", "<input type='text' id='id_department' readonly value='{$id_department}' size='40'>"));
$zlb->section('detail');
$zlb->aksi(false);
$zlb->Header('90%', 'detail_tbl');
$zlb->icon();
$n = 0;
foreach ($transaksi->result() as $trn) {
    $n++;
    echo "<tr class='xx' id='t-" . $trn->ID . "' align='center' onclick=\"get_detail_trans('" . $trn->ID . "');\">\r\n\t\t\t\t  <td class='kotak'>{$n}</td>\r\n\t\t\t\t  <td class='kotak'>" . $trn->Kode . "</td>\r\n\t\t\t\t  <td class='kotak' align='left'>" . $trn->Jenis . "</td>\r\n\t\t\t\t  <td class='kotak' align='right'>" . number_format($trn->SaldoAwal, 2) . "</td>\r\n\t\t\t\t  <td class='kotak' align='right'>" . number_format($trn->Debet, 2) . "</td>\r\n\t\t\t\t  <td class='kotak' align='right'>" . number_format($trn->Kredit, 2) . "</td>\r\n\t\t\t\t  <td class='kotak' align='right'>" . number_format($trn->SaldoAkhir, 2) . "</td>\r\n\t\t\t\t  </tr>";
}
echo "</tbody></table><hr>";
echo "<div id='loading' style='display:none'>Loading data in progress ...please wait. &nbsp;<img src='" . base_url() . "asset/img/indicator.gif'></div>";
echo "<div id='dtl_trans' style='display:none'>";
echo "<p style='color:#000'>Detail transaksi <span id='dtl'></span> :</p>";
$zlb->section('DetailTrans');
$zlb->aksi(false);
$zlb->Header('100%', 'trans_tbl');
Пример #21
0
$zn = new zetro_manager();
$section = 'listanggota';
$zlb->config_file('asset/bin/zetro_member.frm');
$path = 'application/views/member';
$dept = "<select id='dept' name='dept'></select>";
$stat = "<select id='stat' name='stat'>\r\n\t\t<option value='all' selected>Semua</option>\r\n\t\t<option value='1'>Aktif</option>\r\n\t\t<option Value='2'>Non Aktif</option>\r\n\t\t<option Value='3'>Keluar</option>\r\n\t\t</select>";
link_css('style.css', 'asset/js');
link_js('jquery.fcbkcomplete.js', 'asset/js');
link_js('jquery.fixedheader.js,member_list.js', 'asset/js,' . $path . '/js');
panel_begin('Pelanggan');
//,'','Department :,'.$dept.', &nbsp;&nbsp;Keaktifan :'.$stat,",Total Data : <span id='td'></span>");
panel_multi('daftaranggota', 'block');
if ($all_member__member_list != '') {
    addText(array('Cari Berdasarkan Nama'), array("<div style='border:1px solid #DDD; background:#FFF'>\r\n\t\t\t  <input type='text' id='carix' value='' style='border:none'>\r\n\t\t\t  <img src='" . base_url() . "asset/img/Icon_210.ico' id='cari' style='cursor:pointer'></div>"));
    $n = 0;
    $zlb->section($section);
    $zlb->aksi(true);
    $zlb->Header('100%');
    $zlb->icon();
    echo "</tbody></table>";
} else {
    no_auth();
}
panel_multi_end();
loading_ajax();
popup_full();
terbilang();
?>
<input type='hidden' id='ordby' value='' class='w100'/>
<input type='hidden' id='totdata' value='<?php 
echo !empty($list) ? count($list) : 0;
Пример #22
0
$zfm = new zetro_frmBuilder('asset/bin/zetro_beli.frm');
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_beli.frm');
$path = 'application/views/pembelian';
link_css('jquery.coolautosuggest.css', 'asset/css');
link_js('jquery.coolautosuggest.js', 'asset/js');
link_js('jquery.fixedheader.js', 'asset/js');
link_js('material_income_return.js,auto_sugest.js,jquery_terbilang.js,jquery.sumfield.js', $path . '/js,asset/js,asset/js,asset/js');
panel_begin('Return Konsinyasi');
panel_multi('returnpembelian', 'block', false);
if ($c_returnpembelian != '') {
    $zfm->AddBarisKosong(false);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('pembelian', false, '60%');
    echo "<hr><form id='frm2' name='frm2' method='post' action=''>";
    $zlb->section('pembelianlist');
    $zlb->aksi(true);
    $zlb->Header('97%');
    echo "<tr><td class='kotak' colspan='8'>&nbsp;</td>";
    echo "</tbody><tfoot>";
    $zfm->section('pembelianlist');
    $zfm->rowCount();
    $zfm->button('simpan');
    $zfm->BuildGrid();
    echo "</tfoot></table></form>";
} else {
    no_auth();
}
panel_multi_end();
panel_end();
terbilang();
Пример #23
0
link_js('jquery.fixedheader.js,lap_stock.js,auto_sugest.js,jquery_terbilang.js', 'asset/js,' . $path . '/js,asset/js,asset/js');
panel_begin('Lap.Stock');
panel_multi('stocklist', 'block');
if ($all_stocklist != '') {
    $fld = "<input type='hidden' id='section' name='section' value='lapjuallist'>";
    $fld .= "<input type='hidden' id='lap' name='lap' value='stock'>";
    $fld .= "<input type='hidden' id='optional' name='optional' value='stock'>";
    $zfm->Addinput($fld);
    echo "Select Filter of list :";
    $zfm->AddBarisKosong();
    $zfm->Start_form(true, 'frm2');
    $zfm->BuildForm('stoklist filter', true, '50%');
    $zfm->BuildFormButton('Process', 'filter', 'button', 2);
    echo "<hr>";
    //<font style='color:#000; font-size:medium'><u>List Obat Filter by :<span id='nmj'></span><span id='kat'></span><span id='gol'></span></u></font>";
    $zlb->section('stoklistview');
    $zlb->aksi(false);
    $zlb->Header('100%');
    echo "</tbody></table>";
} else {
    no_auth();
}
panel_multi_end();
panel_multi('dataexpire');
if ($all_dataexpire != '') {
    $fld2 = "<input type='hidden' id='section' name='section' value='lapjuallist'>";
    $fld2 .= "<input type='hidden' id='lap' name='lap' value='expired'>";
    $fld2 .= "<input type='hidden' id='optional' name='optional' value=''>";
    $zfm->Addinput($fld2);
    $zfm->AddBarisKosong();
    $zfm->Start_form(true, 'frm1');
Пример #24
0
link_js('jquery.fixedheader.js', 'asset/js');
panel_begin('Vendor');
panel_multi('addvendor', 'block', false);
if ($all_master__vendor_n != '') {
    $zfm->AddBarisKosong(true);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('produsen', true, '50%');
    $zfm->BuildFormButton('Simpan', 'vendor');
} else {
    no_auth();
}
panel_multi_end();
panel_multi('listvendor', 'none', false);
if ($all_listvendor != '') {
    addText(array('Nama Vendor :', ''), array('<input type="text" id="finde" class="cari w100">', '<input type="button" id="oke" value="Cari">'));
    $zlb->section('produsen');
    $zlb->aksi($e_listvendor != '' ? true : false);
    $zlb->icon('deleted');
    $zlb->Header('100%');
    echo "</tbody></table>";
} else {
    no_auth();
}
panel_multi_end();
panel_end();
auto_sugest();
?>
<script language="javascript">
	$(document).ready(function(e) {
        $('#addvendor').removeClass('tab_button');
		$('#addvendor').addClass('tab_select');
Пример #25
0
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('userlist', $btn, '70%');
    if ($btn == true) {
        $zfm->BuildFormButton('Simpan', 'userlist');
    }
} else {
    no_auth();
}
panel_multi_end();
//tab user list
panel_multi('listuser', 'block', false);
if ($v_listuser != '') {
    $e_listuser == '' ? $btn = false : ($btn = true);
    $sql2 = "select * from users where userid !='superuser' order by userid";
    $zlb->deskripsi('user_level', 'nmlevel', 'idlevel');
    $zlb->section('userlist');
    $zlb->aksi($btn);
    $zlb->icon();
    $zlb->query($sql2);
    $zlb->Header('80%');
    $zlb->list_data('userlist');
    $zlb->BuildListData('userid');
    echo "</tbody></table>\n";
} else {
    no_auth();
}
panel_multi_end();
//tab user autorisation
panel_multi('authorisation', 'none', false);
//form select group
if ($all_authorisation != '') {
Пример #26
0
$zfm = new zetro_frmBuilder('asset/bin/zetro_inv.frm');
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_inv.frm');
$path = 'application/views/inventory';
link_css('jquery.coolautosuggest.css', 'asset/css');
link_js('jquery.coolautosuggest.js,jquery_terbilang.js', 'asset/js,asset/js');
link_js('jquery.fixedheader.js,material_list.js', 'asset/js,' . $path . '/js');
panel_begin('Konversi Satuan');
panel_multi('konversisatuan', 'block', false);
if ($c_konversisatuan != '') {
    $zfm->AddBarisKosong();
    $zfm->Start_form(true, 'frm4');
    $zfm->BuildForm('Konversi', true, '70%');
    $zfm->BuildFormButton('Simpan', 'konv');
    echo "<hr>";
    $zlb->section('Konversi');
    $zlb->aksi(true);
    $zlb->icon('deleted');
    $zlb->Header('70%', 'konversi');
    echo "</tbody></table>";
} else {
    no_auth();
}
panel_multi_end();
panel_end();
?>
<script language="javascript">
$(document).ready(function(e) {
    	$('#konversisatuan').removeClass('tab_button');
		$('#konversisatuan').addClass('tab_select');
		$('#add-nm_satuan').hide();
Пример #27
0
$section = 'Barang';
$zlb->config_file('asset/bin/zetro_inv.frm');
$path = 'application/views/inventory';
$kateg = "<select id='plh' name='plh' class='s100'></select>";
$jenis = "<select id='plh_jenis' name='plh_jenis' class='s100'></select>";
$stats = "<select id='plh_stat' name='plh_stat' class='s100'>\r\n\t\t<option value='all'>Semua</option>\r\n\t\t<option value='Continue'>Continue</option>\r\n\t\t<option value='Discontinue'>Discontinue</option></select>";
$cari = "<input id='plh_cari' name='plh_cari' class='w100 cari'>";
link_css('jquery.coolautosuggest.css', 'asset/css');
link_js('jquery.coolautosuggest.js,jquery_terbilang.js', 'asset/js,asset/js');
link_js('jquery.fixedheader.js,material_list.js', 'asset/js,' . $path . '/js');
panel_begin('Daftar Barang');
panel_multi('listbarang', 'block', false);
if ($e_listbarang != '' || $v_listbarang != '') {
    addText(array('Filter by Kategori :', ' Jenis :', 'Status', ' Cari by nama'), array($kateg, $jenis, $stats, $cari));
    /*	$sql="select * from inv_barang order by nama_barang";*/
    $zlb->section('BarangList');
    $zlb->aksi($e_listbarang != '' ? true : false);
    $zlb->Header('100%');
    $zlb->icon();
    /*
    		$zlb->query($sql);
    		$zlb->sub_total(false);
    		$zlb->sub_total_field('4,5');
    		$zlb->list_data($section);
    		$zlb->BuildListData('nama_barang');*/
    echo "</tbody></table>";
} else {
    no_auth();
}
echo "<hr><div id='bawahan' style='display:none;width:100%; height:25px; background:#AAA; border:1px outset #CCCC'></div>";
panel_multi_end();
Пример #28
0
panel_begin('Perkiraan');
panel_multi('addperkiraan');
if ($all_addperkiraan != '') {
    $zfm->AddBarisKosong(true, 'b');
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('perkiraan', true, '50%');
    $zfm->BuildFormButton('Simpan', 'perkiraan');
} else {
    no_auth();
}
panel_multi_end();
panel_multi('perkiraan', 'block');
if ($all_perkiraan != '') {
    $klas = '';
    addText(array('Klasifikasi', 'Sub Klasifikasi', 'Unit'), array("<select id='klas' class='S00'></select>", "<select id='subklas'></select>", "<select id='unit_jurnal'></select>"));
    $zlb->section('perkiraan');
    $zlb->aksi($e_perkiraan != '' ? true : false);
    $zlb->Header('100%');
    $zlb->icon();
    echo "</tbody></table>";
} else {
    no_auth();
}
panel_multi_end();
panel_end();
popup_start('akun', 'Edit Perkiraan', '700');
if ($e_perkiraan != '') {
    $zfm->AddBarisKosong(true, 'b');
    $zfm->Start_form(true, 'frm2');
    $zfm->BuildForm('perkiraan', true, '100%');
    $zfm->BuildFormButton('Update', 'edit_akun');