Пример #1
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');
Пример #2
0
<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$zfm = new zetro_frmBuilder('asset/bin/zetro_inv.frm');
$zlb = new zetro_buildlist();
$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);
Пример #3
0
<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$zfm = new zetro_frmBuilder('asset/bin/zetro_neraca.frm');
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_neraca.frm');
$path = 'application/views/laporan/transaksi';
calender();
link_css('jquery.coolautosuggest.css', 'asset/css');
link_js('jquery.coolautosuggest.js', 'asset/js');
link_js('auto_sugest.js,lap_jual.js,jquery.fixedheader.js', 'asset/js,' . $path . '/js,asset/js');
panel_begin('Detail Penjualan');
panel_multi('detailpenjualan', 'block', false);
if ($all_detailpenjualan != '') {
    echo "<form id='frm1' name='frm1' method='post' action=''>";
    addText(array('Periode  :', ' s/d ', 'Jenis Penjualan', ''), array("<input type='text' id='dari_tgl' name='dari_tgl' value='" . date('d/m/Y') . "'>", "<input type='text' id='sampai_tgl' name='sampai_tgl' value=''>", "<select id='id_jenis' name='id_jenis'></select>", "<!--input type='button' value='OK' id='okelah'-->"));
    addText(array('Order by :', 'Sort by', '', ''), array("<select id='orderby' name='orderby'>" . selectTxt('susunanjual', false, 'asset/bin/zetro_member.frm') . "</select>", "<select id='urutan' name='urutan'>" . selectTxt('Urutan', true) . "</select>", "<input type='checkbox' id='show_de' name='show_de' checked='checked' value='detail' style='display:none'>", "<input type='button' value='OK' id='okedech'/>"));
    echo "</form>";
    echo "</tbody></table>";
    echo "<table id='xx' width='100%'><tbody><tr><td>&nbsp;</td></tr></tbody></table>";
} else {
    no_auth();
}
panel_multi_end();
auto_sugest();
panel_end();
?>
<input type='hidden' value="<?php 
echo $this->session->userdata('menus');
Пример #4
0
<?php

$zfm = new zetro_frmBuilder('asset/bin/zetro_inv.frm');
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_inv.frm');
$path = 'application/views/laporan';
link_css('autosuggest.css', 'asset/css');
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');
Пример #5
0
<?php

$zfm = new zetro_frmBuilder('asset/bin/zetro_user.frm');
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_user.frm');
$path = 'application/views/controlpanel';
link_css('autosuggest.css', 'asset/css');
link_js('auto_sugest.js,zetro_number.js,userlist.js', 'asset/js,asset/js,' . $path . '/js');
tab_select('');
panel_begin('User Account');
panel_multi('adduser', 'none', false);
if ($all_adduser != '') {
    $e_adduser == '' || $c_adduser == '' ? $btn = false : ($btn = true);
    $zfm->AddBarisKosong(true);
    $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);
Пример #6
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';
calender();
$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');
Пример #7
0
<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$zfm = new zetro_frmBuilder('asset/bin/zetro_member.frm');
$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' 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();
Пример #8
0
<?php

$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');
Пример #9
0
<?php

$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';
//$printer="<img src='".base_url()."asset/images/print.png' id='printsheet' title='Print count sheet'>";
link_css('autosuggest.css', 'asset/css');
link_js('material_opname.js,auto_sugest.js,jquery_terbilang.js,jquery.fixedheader.js', $path . '/js,asset/js,asset/js,asset/js');
panel_begin('Stock Opname', false, '', $p_countsheet != '' ? 'Print to printer' : '');
panel_multi('countsheet', 'block');
echo "<form id='frm2' name='frm2' method='post' action=''>";
addText(array('Kategori', 'Order By', 'Urutan', ''), array("<select id='Kategori' name='Kategori'></select>", "<select id='orderby' name='orderby'>" . selectTxt('SusunanStock') . "</select>", "<select id='urutan' name='urutan'>" . selectTxt('Urutan', true) . "</select>", "<input type='button' value='OK' id='okelah'/>"));
echo "</form>";
$zlb->section('stoklistview');
$zlb->aksi(false);
$zlb->Header('100%', 'sheet');
echo "</tbody></table>";
panel_multi_end();
panel_multi('stockadjustment', 'none', false);
if ($c_adjust != '' || $e_adjust != '') {
    echo "Select Filter of list :";
    $zfm->AddBarisKosong();
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('stoklist filter', true, '50%');
    $zfm->BuildFormButton('Process', 'filter', 'button', 1);
    echo "<hr>";
    $zlb->inlineedit('y');
    $zlb->section('stoklistview');
    $zlb->aksi(true);
    $zlb->Header('100%');
Пример #10
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();
Пример #11
0
<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$zfm = new zetro_frmBuilder('asset/bin/zetro_inv.frm');
$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);
Пример #12
0
<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$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);
Пример #13
0
<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$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('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 {
Пример #14
0
<?php

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();
}
Пример #15
0
<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$file = 'asset/bin/zetro_neraca.frm';
$zfm = new zetro_frmBuilder($file);
$zlb = new zetro_buildlist();
$zlb->config_file($file);
$path = 'application/views/warehouse';
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_mutasi.js', $path . '/js');
panel_begin('Rusak/Hilang');
panel_multi('addbarangrusak', 'none', false);
if ($all_addbarangrusak != '') {
    $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, 'frm1');
    $zfm->BuildForm('pemakaian', true, '50%');
    $zfm->BuildFormButton('Simpan', 'rusak');
    echo "<hr/>";
} else {
    no_auth();
}
panel_multi_end();
panel_multi('listbarangrusak', 'block', false);
Пример #16
0
<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$zfm = new zetro_frmBuilder('asset/bin/zetro_member.frm');
$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();
Пример #17
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('master_vendor.js', $path . '/js');
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 {
Пример #18
0
<?php

$zfm = new zetro_frmBuilder('asset/bin/zetro_member.frm');
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_member.frm');
link_js('jquery.fixedheader.js,zetro_number.js', 'asset/js,asset/js');
link_js('jquery_terbilang.js', 'asset/js');
tab_head('Member Detail', "style='background:#333'");
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>";
Пример #19
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>";
}
Пример #20
0
<?php

$zfm = new zetro_frmBuilder('asset/bin/zetro_beli.frm');
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_beli.frm');
$path = 'application/views/laporan';
$printer = "<img src='" . base_url() . "asset/images/print.png' id='printsheet' class='menux' style='display:none' title='Print report'>";
link_css('autosuggest.css', 'asset/css');
link_js('auto_sugest.js,lap_jual.js,jquery.fixedheader.js', 'asset/js,' . $path . '/js,asset/js');
panel_begin('Lap.Penjualan', '', ',' . $printer);
panel_multi('transaksipenjualan', 'block');
$fld = "<input type='hidden' id='jtran' name='jtran' value=''>";
$fld .= "<input type='hidden' id='section' name='section' value='lapjuallist'>";
$fld .= "<input type='hidden' id='lap' name='lap' value='jual'>";
$fld .= "<input type='hidden' id='optional' name='optional' value=''>";
if ($all_trans_jual != '') {
    $zfm->Addinput($fld);
    $zfm->AddBarisKosong(false);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('lapjual', true, '60%');
    $zfm->BuildFormButton('Process', 'filter', 'button', 2);
} else {
    no_auth();
}
panel_multi_end();
$fld2 = "<input type='hidden' id='jtran' name='jtran' value=''>";
$fld2 .= "<input type='hidden' id='section' name='section' value='lapjuallist'>";
$fld2 .= "<input type='hidden' id='lap' name='lap' value='resep'>";
$fld2 .= "<input type='hidden' id='optional' name='optional' value=''>";
panel_multi('transaksiresep');
if ($all_trans_resep != '') {
Пример #21
0
<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$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';
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();
Пример #22
0
<?php

$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();
Пример #23
0
<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$zfm = new zetro_frmBuilder('asset/bin/zetro_inv.frm');
$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();
Пример #24
0
<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$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();
?>
Пример #25
0
<?php

$zfm = new zetro_frmBuilder('asset/bin/zetro_master.frm');
$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();
Пример #26
0
<?php

$zfm = new zetro_frmBuilder('asset/bin/zetro_beli.frm');
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_beli.frm');
$path = 'application/views/laporan';
$printer = "<img src='" . base_url() . "asset/images/print.png' id='printsheet' class='menux' style='display:none' title='Print report'>";
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();
Пример #27
0
<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
$zfm = new zetro_frmBuilder('asset/bin/zetro_inv.frm');
$zlb = new zetro_buildlist();
$zlb->config_file('asset/bin/zetro_inv.frm');
$path = 'application/views/akuntansi/kas';
calender();
link_css('jquery.coolautosuggest.css', 'asset/css');
link_js('jquery.coolautosuggest.js,jquery_terbilang.js', 'asset/js,asset/js');
link_js('jquery.fixedheader.js,laba_rugi.js', 'asset/js,' . $path . '/js');
panel_begin('Laba Rugi');
panel_multi('labarugi', 'block', false);
if ($all_labarugi != '') {
    addText(array('Periode Tanggal : ', ' 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='okedech' value='OK'/>", "<input type='checkbox' id='pajak' name='pajak' value='ok' style='display:none'>"), true, 'frm1');
} else {
    no_auth();
}
panel_multi_end();
panel_end();
terbilang();
Пример #28
0
<?php

$zfm = new zetro_frmBuilder('asset/bin/zetro_beli.frm');
$zlb = new zetro_buildlist();
calender();
$zlb->config_file('asset/bin/zetro_beli.frm');
$path = 'application/views/penjualan';
$printer = "<img src='" . base_url() . "asset/images/print.png' id='printsheet' title='Print count sheet'>";
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>";
Пример #29
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/laporan/transaksi';
calender();
link_css('jquery.coolautosuggest.css', 'asset/css');
link_js('jquery.coolautosuggest.js', 'asset/js');
link_js('lap_kas.js', $path . '/js');
panel_begin('Laporan Kas');
panel_multi('laporankas', 'block', false);
if ($all_laporankas != '') {
    $zfm->AddBarisKosong(true);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('filterlapkas', true, '60%');
    $zfm->BuildFormButton('Process', 'filter', 'button', 2);
} else {
    no_auth();
}
panel_multi_end();
panel_end();
Пример #30
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,akun.js,jquery_terbilang.js', 'asset/js,' . $path . '/js,asset/js');
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>";