コード例 #1
0
ファイル: material_stock.php プロジェクト: asad345100/pos-ci
<?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');
コード例 #2
0
ファイル: list_blacklist.php プロジェクト: laiello/ksu
$no = 0;
echo "<tbody>";
//($page+1);
foreach ($list->result_array() as $lst) {
    $no++;
    echo "<tr class='xx' id='" . $lst['ktp_spb'] . "' align='left'>\n\r\n\t\t   <td class='kotak' align='center'>{$no}</td>\r\n\t\t   <td class='kotak'>" . $lst['nama_spb'] . "{$ae}</td>\r\n\t\t   <td class='kotak'>" . $lst['ktp_spb'] . "</td>\r\n\t\t   <td class='kotak'>" . $lst['almnasabah'] . "</td>\r\n\t\t   <td class='kotak' width='8%' align='center'>";
    $bls = rdb('blacklist', 'ktp_spb', 'ktp_spb', "where ktp_spb='" . $lst['ktp_spb'] . "'");
    if ($ae == 'Y' || $user_aktiv == 'Superuser') {
        $zb->event($lst['ktp_spb']);
    }
    echo "</td></tr>\n";
}
echo "</tbody></table>";
panel_end();
popup_start('Edit Data Nasabah', 500, 300, 'frm2');
$zb = new zetro_frmBuilder('asset/bin/zetro_form.cfg');
$zb->AddBarisKosong(true);
$zb->BuildForm('nasabah', true, '80%');
popup_end('');
?>
<input type='text' id='prs' value='bcl'>
<script language='javascript'>
	$(document).ready(function(e) {
		$('img.edit').hide();
		$('img.del').attr({'src':'<?php 
echo base_url();
?>
asset/images/up2.png','title':'Keluarkan dari daftar Black List'});
       // $('img.del').show();;
		//$('img.del').addClass('pas');
					
コード例 #3
0
ファイル: lap_kas.php プロジェクト: asad345100/pos-ci
<?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();
コード例 #4
0
ファイル: material_jenis.php プロジェクト: asad345100/pos-ci
<?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();
コード例 #5
0
ファイル: master_general.php プロジェクト: asad345100/pos-ci
<?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();
コード例 #6
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_css('autosuggest.css', 'asset/css');
link_js('auto_sugest.js,jquery.fixedheader.js,master_kas_harian.js,jquery_terbilang.js', 'asset/js,asset/js,' . $path . '/js,asset/js');
tab_select('');
panel_begin('Kas Harian Toko');
panel_multi('setupsaldokas', 'none', false);
if ($all_kas_harian != '') {
    $zfm->AddBarisKosong(false);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('kasharian', $e_kas_harian == '' || $c_kas_harian == '' ? false : true, '50%');
    $e_kas_harian == '' || $c_kas_harian == '' ? '' : $zfm->BuildFormButton('Simpan', 'kas');
    echo "<hr>";
    //buildgrid('mst_kas_harian','tgl_kas','kasharian',true,'deleted');
    $zlb->section('kasharian');
    $zlb->aksi(false);
    $zlb->icon('deleted');
    $zlb->Header('100%');
    echo "</tbody></table>";
} else {
    no_auth();
}
panel_multi_end();
panel_multi('operasionaltoko', 'block', false);
if ($all_kas_keluar != '') {
    $zfm->AddBarisKosong(false);
コード例 #7
0
ファイル: material_income.php プロジェクト: asad345100/pos-ci
<?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();
コード例 #8
0
ファイル: member_pinjaman.php プロジェクト: asad345100/pos-ci
<?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';
calender();
link_css('jquery.alerts.css', 'asset/css');
link_css('jquery.coolautosuggest.css', 'asset/css');
link_js('jquery.alerts.js', 'asset/js');
link_js('jquery.coolautosuggest.js,auto_sugest.js', 'asset/js,asset/js');
link_js('jquery.fixedheader.js,jquery_terbilang.js,member_pinjaman.js', 'asset/js,asset/js,' . $path . '/js');
panel_begin('Pembayaran Tagihan');
panel_multi('pinjaman', 'none', false);
if ($all_pembayarantagihan != '') {
    $fld = "<input type='hidden' value='' id='ID_Perkiraan'>";
    $zfm->Addinput($fld);
    $zfm->AddBarisKosong();
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('pinjaman', true, '60%');
    $zfm->BuildFormButton('Simpan', 'pinjaman');
} else {
    no_auth();
}
panel_multi_end();
panel_multi('pembayarantagihan', 'block');
if ($all_pembayarantagihan != '') {
    $fld = "<input type='hidden' value='' id='ID_Perkiraane'>";
コード例 #9
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();
?>
コード例 #10
0
ファイル: member_detail.php プロジェクト: asad345100/pos-ci
<?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>";
コード例 #11
0
ファイル: lap_Jual.php プロジェクト: asad345100/pos-ci
<?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 != '') {
コード例 #12
0
ファイル: pelunasan_spb.php プロジェクト: laiello/ksu
<?php

link_css('autosuggest.css', 'asset/css');
link_js('jquery_terbilang.js,zetro_number.js,pelunasan_spb.js', 'asset/js,asset/js,application/views/spb/js');
$user_aktiv = $this->session->userdata("userid");
$bln = "<select id='bulan'></select>";
$thn = "<select id='thn'></select>";
panel_begin('Pelunasan SPB', 'frm1');
$zb = new zetro_frmBuilder('asset/bin/zetro_form.cfg');
$zb->AddBarisKosong(true);
$zb->BuildForm('perpanjang', '', '60%');
echo "<br/>\n";
?>
<table id='listTable' width='100%' style='border-collapse:collapse'>
<thead>
<tr class='header' align='center'>
<th class='kotak' rowspan='2' width='25%'>Uraian</th>
<th class='kotak' rowspan='2' width='10%'>Taksir</th>
<th class='kotak' rowspan='2' width='10%'>Nilai Taksir</th>
<th class='kotak' rowspan='2' width='5%'>Jangka Waktu</th>
<th class='kotak' rowspan='2' width='10%'>Jatuh Tempo</th>
<th class='kotak' colspan='10' width='40%'>Perpanjangan Waktu</th>
</tr>
<tr class='header' align='center'>
<th class='kotak'>1</th>
<th class='kotak'>2</th>
<th class='kotak'>3</th>
<th class='kotak'>4</th>
<th class='kotak'>5</th>
<th class='kotak'>6</th>
<th class='kotak'>7</th>
コード例 #13
0
ファイル: material_new.php プロジェクト: asad345100/pos-ci
<?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/warehouse';
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_new.js', 'asset/js,' . $path . '/js');
panel_begin('Gudang');
panel_multi('tambahbarang', 'block', false);
if ($c_gudang__index != '') {
    $zfm->AddBarisKosong(true);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm($section, true, '70%');
    $zfm->BuildFormButton('Simpan', 'add');
} else {
    no_auth();
}
panel_multi_end();
echo "<div id='status' style='width:99%; border:1px solid #DDDDD'></div>";
panel_end();
terbilang();
?>
<input type='hidden' id='id_kategori' value=''>
<input type='hidden' id='id_jenis' value=''>
<input type='hidden' id='id_satuan' value=''>
コード例 #14
0
ファイル: material_opname.php プロジェクト: asad345100/pos-ci
<?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%');
コード例 #15
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 {
コード例 #16
0
ファイル: lap_daftar_spb.php プロジェクト: laiello/ksu
<th class='kotak' width='3%'>6</th>
<th class='kotak' width='3%'>7</th>
<th class='kotak' width='3%'>8</th>
<th class='kotak' width='3%'>9</th>
<th class='kotak' width='3%'>10</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<?php 
panel_multi_end();
panel_end();
echo "</form>";
popup_start('Edit SPB', 500, 500, 'frm2');
$zb = new zetro_frmBuilder('asset/bin/zetro_form.cfg');
$zb->AddBarisKosong(true);
$zb->BuildForm('Spb', true, '80%');
popup_end('');
?>
<script language='javascript'>
	$(document).ready(function(e) {
        $('#bulan').html("<?php 
dropdown('spb', 'distinct(month(tgl_spb)) as bln', '', 'order by month(tgl_spb)', $blne);
?>
");
        $('#thn').html("<?php 
dropdown('spb', 'distinct(year(tgl_spb)) as thn', '', 'order by year(tgl_spb)', $thne);
?>
");
	    //$('#id_barang').html("<?php 
コード例 #17
0
ファイル: change_password.php プロジェクト: asad345100/pos-ci
<?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('change_password.js', $path . '/js');
tab_select('');
panel_begin('Ganti Password');
panel_multi('changepassword', 'bock');
$zfm->AddBarisKosong(true);
$zfm->Start_form(true, 'frm1');
$zfm->BuildForm('changepwd', true, '70%');
$zfm->BuildFormButton('Simpan', 'changepwd');
panel_multi_end();
panel_end();
コード例 #18
0
ファイル: Lap_beli.php プロジェクト: asad345100/pos-ci
<?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();
コード例 #19
0
ファイル: lap_kas.php プロジェクト: asad345100/pos-ci
<?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_kas.js,auto_sugest.js,jquery_terbilang.js', 'asset/js,' . $path . '/js,asset/js,asset/js');
panel_begin('Lap.Kas');
panel_multi('kasharian', 'block');
if ($all_kasharian != '') {
    $fld3 = "<input type='hidden' id='section' name='section' value='lapjuallist'>";
    $fld3 .= "<input type='hidden' id='lap' name='lap' value='kas'>";
    $fld3 .= "<input type='hidden' id='optional' name='optional' value=''>";
    $zfm->Addinput($fld3);
    $zfm->AddBarisKosong(true);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('lapkas', true, '60%');
    $zfm->BuildFormButton('Process', 'lapkas', 'button', 2);
} else {
    no_auth();
}
panel_multi_end();
panel_end();
auto_sugest();
?>
<script language="javascript">
	$(document).ready(function(e) {
    //$('#v_stocklist table#ListTable').fixedHeader({width:700,height:350})
    });
</script>
コード例 #20
0
ファイル: member_view.php プロジェクト: asad345100/pos-ci
<?php

$zfm = new zetro_frmBuilder('asset/bin/zetro_member.frm');
$zlb = new zetro_buildlist();
$section = 'Barang';
$zlb->config_file('asset/bin/zetro_member.frm');
$path = 'application/views/member';
link_css('jquery.coolautosuggest.css', 'asset/css');
link_js('jquery.coolautosuggest.js,member.js', 'asset/js,' . $path . '/js');
link_js('ajaxupload.js', 'asset/js');
link_js('jquery_terbilang.js', 'asset/js');
!empty($panel) ? $panel = $panel : ($panel = '');
tab_select($panel);
panel_begin('Pelanggan Baru');
panel_multi('pelangganbaru', 'block');
if ($all_pelangganbaru != '') {
    $zfm->Addinput("<input type='hidden' id='No_Agt' name='No_Agt' value=''/>");
    $zfm->AddBarisKosong(true);
    $zfm->Start_form(true, 'frm1');
    $zfm->BuildForm('registrasi', true, '50%');
    $zfm->BuildFormButton('Simpan', 'registrasi');
} else {
    no_auth();
}
panel_multi_end();
panel_multi('uploadphoto');
if ($all_uploadphoto != '') {
    !empty($upload_data['file_name']) ? $img = $upload_data['file_name'] : ($img = '');
    !empty($d_photo) ? $dv = $d_photo : ($dv = 'none');
    !empty($nourut) ? $nourut = $nourut : ($nourut = '');
    !empty($nama) ? $nama = $nama : ($nama = '');
コード例 #21
0
ファイル: lap_stock.php プロジェクト: asad345100/pos-ci
<?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');
コード例 #22
0
ファイル: material_jual.php プロジェクト: asad345100/pos-ci
<?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>";
コード例 #23
0
ファイル: userlist.php プロジェクト: asad345100/pos-ci
<?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);
コード例 #24
0
ファイル: userlist.php プロジェクト: laiello/ksu
<table style="border-collapse:collapse" border="0" id='panel'>
<tr height="35px" align="center">
<td width="125px" class="j_panel " id="add">Add User</td>
<td width="125px" class="j_panel " id="list">User List</td>
<td width="125px" class="j_panel " id="hak">Hak Akses</td>
</tr></table>
<div class="pn_content">
<hr>
<span id="v_add" style="display:<?php 
echo $dsp;
?>
"><br />
<?php 
if ($ac == 'Y' || $ae == 'Y' || $user_aktiv == 'Superuser') {
    echo "<form id='frm1' name='frm1' action='' method='post'>";
    $zb = new zetro_frmBuilder('asset/bin/form.cfg');
    $zb->BuildForm('Adduser', true, '70%');
} else {
    no_auth();
}
?>
</span>
<span id='v_list' style='display:block'><br />
<?php 
if ($le == 'Y' || $lv == 'Y' || $user_aktiv == 'Superuser') {
    $zb = new zetro_listBuilder('asset/bin/form.cfg');
    $zb->ListHeader('Adduser', '70%', 'listTable');
    $no = 0;
    //($page+1);
    foreach ($userlst->result_array() as $lst) {
        $no++;
コード例 #25
0
ファイル: spbnew.php プロジェクト: laiello/ksu
<?php 
link_css('autosuggest.css', 'asset/css');
link_js('zetro_number.js,spb.js,jquery_terbilang.js', 'asset/js,application/views/spb/js,asset/js');
panel_begin('SPB', 'frm1');
$zb = new zetro_frmBuilder('asset/bin/zetro_form.cfg');
$zb->AddButton('RePrint Slip');
$zb->BuildForm('Spb', true, '80%', '', 2);
panel_end();
//popup menu
popup_start('Tambah Jenis Barang', 500, 500, 'frm2');
$zb->AddBarisKosong(true);
$zb->BuildForm('Material', true, '100%', 'popup');
popup_end();
?>
<script language='javascript'>
$(document).ready(function(e) {
	var today= new Date();
	var bln='<?php 
echo date('m');
?>
';//today.getMonth();
	lock('#no_spb');
	(bln.length==0)? xx='0'+bln:xx=bln;
 	$('#no_spb').val('<?php 
echo $no_spb;
?>
/SPB/'+xx+'/'+today.getFullYear());
   $('#nama_spb').focus().select();
   //$('#id_barang').html("<?php 
dropdown('material', 'nmbarang', 'nmbarang', 'order by nmbarang');
コード例 #26
0
ファイル: useroto.php プロジェクト: laiello/ksu
<div class='contents'>
<div class="j_panel judul">Create SPB</div>
<div class="pn_content">
<hr>
<?php 
$zb = new zetro_frmBuilder('asset/bin/zetro_form.cfg');
$zb->BuildForm('Spb', true, '80%');
/*$no=0;//($page+1);
	foreach ($userlst->result_array() as $lst){
		$no++;
		echo "<tr class='xx' align='center'>
			 <td class='kotak'>$no</td>
			 <td class='kotak'>".$lst['userid']."</td>
			 <td class='kotak' align='left'>".$lst['username']."</td>
			 <td class='kotak' >".rdb("user_level","nmlevel","","where idlevel='".$lst['levelid']."'")."</td>
			 <td class='kotak' width='10%'>";
			 $zb->event($no);
			echo "<td></tr>";
			 $no++;
	}
*/
?>
<table align="center" width="100%"><tr><td><?php 
//=$paginator;
?>
</td></tr></table>
</div>
</div>
コード例 #27
0
ファイル: material_list.php プロジェクト: asad345100/pos-ci
<?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);
コード例 #28
0
ファイル: material_rusak.php プロジェクト: asad345100/pos-ci
<?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);
コード例 #29
0
ファイル: change_password.php プロジェクト: laiello/ksu
<script language="javascript" src="<?php 
echo base_url() . 'application/views/admin/js/change_pwd.js';
?>
"></script>
<div class='contents'>
<div class="j_panel judul">Change Pwd</div>
<div class="pn_content">
<hr>
<?php 
echo "<form id='frm1' name='frm1' action='' method='post'>";
$zb = new zetro_frmBuilder('asset/bin/form.cfg');
$zb->BuildForm('Ganti Password', true, '80%');
echo "<input type='hidden' id='userid' value='" . $user_id . "' />";
echo "</form>";
?>
</div>
</div>
コード例 #30
0
ファイル: master_inv.php プロジェクト: asad345100/pos-ci
<?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);