Пример #1
0
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 != '') {
    addText(array('Periode Dari', 'Sampai', ''), array("<input type='text' id='dari_tanggal' value='' class='w100'>", "<input type='text' id='smp_tanggal' value='' class='w100'>", "<input type='button' id='okelah' value='OK'>"));
    $zlb->section('lappembelian');
    $zlb->aksi(false);
    $zlb->Header('100%', 'newTable');
    echo "</tbody></table>";
} else {
    no_auth();
}
Пример #2
0
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);
$zfm->Start_form(true, 'frm3');
$zfm->BuildForm('bayaran', true, '100%');
$zfm->BuildFormButton('Process', 'dibayar', 'button', 1);
popup_end();
popup_start('kredited', 'Pembayaran Kredit', 400);
$zfm->AddBarisKosong(true);