コード例 #1
0
ファイル: help.php プロジェクト: mamlaka/maxon
 function load($modul)
 {
     echo "<div class='widget-help'><div class=' glyphicon glyphicon-info-sign thumbnail'> HELP_MOD : " . $modul . "</div>";
     $this->load->model('article_model');
     $article = $this->article_model->get_by_id($modul);
     if ($article) {
         $content = "";
         if ($article->row()) {
             $content = $article->row()->content;
         }
         if ($content == "") {
             echo "<p>Tampaknya untuk modul ini belum ada helpnya gan, mau ikut berkonstribusi membuatkan helpnya \n\t\t\t\tdan tatacara input transaksi ini silahkan klik tautan [Edit] dibawah ini.</p>";
         }
     }
     echo "[" . link_button("Edit", "add('help/edit/{$modul}','" . base_url() . "index.php/help/edit/" . $modul . "');", "save", "false") . "...] </div>";
 }
コード例 #2
0
ファイル: division.php プロジェクト: AlvaCorp/maxon
<legend>DIVISI</legend>
	<div class="thumbnail box-gradient">
		<form id="frmNew" method="POST">
			<table width="100%" class='table2'>
				<tr>	
					<td>Kode</td><td><?php 
echo form_input('div_code');
?>
</td>
					<td>Nama</td><td colspan='4'><?php 
echo form_input('div_name');
?>
</td>
					<td><?php 
echo link_button("Tambah", "add_divisi()", "save");
?>
</td>
				</tr>
			</table>
		</form>
	</div>
	<div class="thumbnail" >
			<table class="table2" width="100%">
				<thead><tr><th>Kode</th><th>Nama Divisi</th>
					<th>Action</th></tr></thead>
				<tbody>
					<?     			
					$CI =& get_instance();
					
					$sql="select * from divisions";
					$rst_item=$CI->db->query($sql);
コード例 #3
0
ファイル: salesman.php プロジェクト: AlvaCorp/maxon
<h1>SALESMAN</h1><div class="thumbnail box-gradient">
	<?
	echo link_button('Save', 'save_this()','save');		
	echo link_button('Print', 'print()','print');		
	echo link_button('Add','','add','true',base_url().'index.php/coa/add');		
	echo link_button('Search','','search','true',base_url().'index.php/coa');		
	echo link_button('Help', 'load_help(\'salesman\')','help');		
	
	?>
	<a href="#" class="easyui-splitbutton" data-options="menu:'#mmOptions',iconCls:'icon-tip'">Options</a>
	<div id="mmOptions" style="width:200px;">
		<div onclick="load_help('salesman')">Help</div>
		<div>Update</div>
		<div>MaxOn Forum</div>
		<div>About</div>
	</div>
</div>
<div class="thumbnail">	
<form id="myform"  method="post" action="<?php 
echo base_url();
?>
index.php/salesman/save">
<input type='hidden' name='mode' id='mode'	value='<?php 
echo $mode;
?>
'>
<?php 
echo validation_errors();
?>
   <table class='table2' width='100%'>
	<tr>
コード例 #4
0
ファイル: info_list.php プロジェクト: AlvaCorp/maxon
<? if($offset==0){ ?>
	<div class='thumbnail'>
		<?php 
echo link_button("Add", "add();return false;", "add", "true");
?>
		<?php 
echo link_button('List', 'list();return false;', 'list');
?>
		<?php 
echo link_button('Search', 'search_stock(' . $offset . ');', 'search');
?>
	</div>
	<div class='thumbnail'>
		<form id='frmSearch'>
		<? echo $criteria_text; ?>
		</form>
	</div>
	<?
}

	$s="select item_number,description,unit_of_measure,quantity_in_stock,category,
		sub_category,supplier_number,item_picture 
			from inventory where 1=1";
	if(isset($sid_kode)){
		if($sid_kode!=''){
			$s .= " and item_number like '%".$sid_kode."%'";
		}
	}
	if(isset($sid_nama)){
		if($sid_nama!=''){
			$s .= " and description like  '%".$sid_nama."%'";
コード例 #5
0
ファイル: komponen.php プロジェクト: AlvaCorp/maxon
					</tr>
				</thead>
		</table>
	</div>
</div>
<div id="tb">
    <form id="frmItem" method='post' >
	<div class="thumbnail">
		<?php 
echo link_button('Add Item', 'add_item()', 'save');
?>
		<?php 
echo link_button('Edit', 'edit_item()', 'edit');
?>
		<?php 
echo link_button('Remove', 'del_item()', 'remove');
?>
	</div>
	<div class="thumbnail">
			<table>
				<tr><td>Komponen</td><td>Rumus</td><td>No Urut</td></tr>
				<tr><td><?php 
echo form_dropdown('salary_com_code', $com_list, $salary_com_code);
?>
</td>
					<td><?php 
echo form_input('formula_string', $formula_string, "style='width:350px'");
?>
</td>
					<td><?php 
echo form_input('no_urut', $no_urut, "style='width:50px'");
コード例 #6
0
ファイル: cash_adjust.php プロジェクト: mamlaka/maxon
echo link_button('Save', 'save_this()', 'save');
echo link_button('Print', 'print_voucher()', 'print');
echo link_button('Add', '', 'add', 'true', base_url() . 'index.php/cash_mutasi/add');
echo link_button('Search', '', 'search', 'true', base_url() . 'index.php/cash_mutasi');
if ($mode == "view") {
    echo link_button('Refresh', '', 'reload', 'true', base_url() . 'index.php/cash_mutasi/view/' . $voucher);
}
if ($mode == "view") {
    echo link_button('Delete', '', 'remove', 'true', base_url() . 'index.php/cash_mutasi/delete/' . $voucher);
}
if ($posted) {
    echo link_button('UnPosting', '', 'cut', 'true', base_url() . 'index.php/cash_mutasi/unposting/' . $voucher);
} else {
    echo link_button('Posting', '', 'ok', 'true', base_url() . 'index.php/cash_mutasi/posting/' . $voucher);
}
echo link_button('Help', 'load_help()', 'help');
?>
	<a href="#" class="easyui-splitbutton" data-options="menu:'#mmOptions',iconCls:'icon-tip'">Options</a>
	<div id="mmOptions" style="width:200px;">
		<div onclick="load_help()">Help</div>
		<div>Update</div>
		<div>MaxOn Forum</div>
		<div>About</div>
	</div>
	<script type="text/javascript">
		function load_help() {
			window.parent.$("#help").load("<?php 
echo base_url();
?>
index.php/help/load/cash_mutasi");
		}
コード例 #7
0
ファイル: themes.php プロジェクト: AlvaCorp/maxon
, 
				By: <?php 
echo $create_by;
?>
			</div>
			<div class='tm_content'>
				<?php 
echo $description;
?>
			</div>
			<div class='tm_button'>
				<?php 
echo link_button("Apply", "themes_apply('{$name}')", "save", "false");
?>
				<?php 
echo link_button("Preview", "themes_preview('{$name}')", "search", "false");
?>
			</div>
		</div>
	</div>
</div>
<? } ?>
<script language="javascript">
	function themes_apply(tm_name){
		var url="<?php 
echo base_url();
?>
index.php/admin/themes/save/"+tm_name;
		window.parent.open(url,"_self");
//		location.reload();
	}
コード例 #8
0
ファイル: stock_mutasi.php プロジェクト: AlvaCorp/maxon
<legend>MUTASI STOCK ANTAR LOKASI</legend>
<div class="thumbnail box-gradient"> 
	<?
	echo link_button('Add','','add','true',base_url().'index.php/stock_mutasi/add');		
	echo link_button("Print","print_mutasi()","print");
	echo link_button('Search','','search','true',base_url().'index.php/stock_mutasi');		
	echo link_button('Help', 'load_help(\'stock_mutasi\')','help');		
		
	?>	
	<a href="#" class="easyui-splitbutton" data-options="menu:'#mmOptions',iconCls:'icon-tip'">Options</a>
	<div id="mmOptions" style="width:200px;">
		<div onclick="load_help('stock_mutasi')">Help</div>
		<div>Update</div>
		<div>MaxOn Forum</div>
		<div>About</div>
	</div>	
</div> 
<div class="thumbnail">	
<form id="frmItem" method='post' >
   <table class="table2" width="100%">
	<tr>
		<td>Nomor</td><td><?php 
echo form_input('transfer_id', $transfer_id, 'id=transfer_id');
?>
</td>
	</tr>
       <tr>
		<td>Tanggal</td><td><?php 
echo form_input('date_trans', $date_trans, "id='date_trans' class='easyui-datetimebox' required");
?>
</td>
コード例 #9
0
ファイル: user_jobs.php プロジェクト: mamlaka/maxon
<div><h1>KELOMPOK USER<div class="thumbnail">
	<?php 
echo link_button('Save', 'simpan()', 'save');
?>
</div></H1>
<div class="thumbnail">
	<?php 
echo form_open(base_url() . 'index.php/jobs/add', "id='myform'");
?>
	<table>	
	<tr><td>Group Id</td><td><?php 
echo form_input('user_group_id', $user_group_id, "id='user_group_id'");
?>
</td></tr>
	<tr><td>Group Name</td><td><?php 
echo form_input('user_group_name', $user_group_name, "id='user_group_name'");
?>
</td></tr>
	<tr><td>Description</td><td><?php 
echo form_input('description', $description, "id='description'");
?>
</td></tr>
	</table>

	<div id='divDetail'><?php 
echo $modules;
?>
</div>

	<?php 
echo form_close();
コード例 #10
0
ファイル: debit_memo.php プロジェクト: mamlaka/maxon
            </td>
        </tr>	 
        <tr>
            <td>Tanggal</td><td><?php 
echo form_input('tanggal', $tanggal, 'id=tanggal 
             class="easyui-datetimebox" required style="width:150px"');
?>
            </td>
        </tr>
       <tr>
            <td>Faktur</td>
            <td><?php 
echo form_input('docnumber', $docnumber, 'id="docnumber"');
?>
            	<?php 
echo link_button("", 'select_faktur()', 'search', 'true');
?>
            </td>
       </tr>
       <tr>
       		<td>Jumlah: </td>
       		<td><?php 
echo form_input('amount', $amount, 'id=amount');
?>
</td>
      </tr>
       <tr>
            <td>Keterangan</td>
            <td colspan="6">
            	<?php 
echo form_input('keterangan', $keterangan, 'id=keterangan style="width:300px"');
コード例 #11
0
ファイル: mat_release.php プロジェクト: AlvaCorp/maxon
					<th data-options="field:'description',width:150">Nama Barang</th>
					<th data-options="field:'quantity',width:50,align:'right',editor:{type:'numberbox',options:{precision:2}}">Qty</th>
					<th data-options="field:'unit',width:50,align:'left',editor:'text'">Satuan</th>
					<th data-options="field:'cost',width:50,align:'right',editor:{type:'numberbox',options:{precision:2}}">Cost</th>
					<th data-options="field:'amount',width:50,align:'right',editor:{type:'numberbox',options:{precision:2}}">Total</th>
					<th data-options="field:'warehouse',width:50,align:'right',editor:{type:'numberbox',options:{precision:2}}">Warehouse</th>
					<th data-options="field:'line_exec_no',width:30,align:'right'">line_exec_no</th>
					<th data-options="field:'id',width:30,align:'right'">Line</th>
				</tr>
			</thead>
		</table>	
	
	</div>
</form> 
</div>
<div id="btnExec"><?=link_button("Select","select_exec();return false;","ok")?></div>	
<div id='dlgExec'class="easyui-dialog" style="width:500px;height:380px;padding:10px 20px"
	closed="true"  buttons="#btnExec">
	<table id="dgExec" class="easyui-datagrid"  
		data-options="singleSelect: true">
		<thead>
			<tr>
				<th data-options="field:'work_exec_no',width:150">Exec Number</th>
				<th data-options="field:'start_date',width:80">Exec Date</th>
				<th data-options="field:'wo_number',width:80">WO Number</th>
				<th data-options="field:'person_in_charge',width:80">Person</th>
			</tr>
		</thead>
	</table>
</div>
 
コード例 #12
0
ファイル: invoice_form.php プロジェクト: AlvaCorp/maxon
	buttons="#tbAddInvoice">	 
	<form method='post' id='frmAddInvoice'>
	<?
		echo my_input("Nomor Faktur",'invoice_number','','col-sm-5');
		echo my_input("Tanggal",'invoice_date',date("Y-m-d"),'col-sm-5');
		echo my_input("Bulan ke",'idx_month','','col-sm-5');
		echo my_input("Jumlah",'amount','','col-sm-5');
	?>
	</form>
</div>	   
<div id='tbAddInvoice'>
	<?php 
echo link_button('Save', 'dlgAddInvoice_Save()', 'ok');
?>
	<?php 
echo link_button('Close', 'dlgAddInvoice_Close()', 'no');
?>
</div>
<script language="JavaScript">
	function dgInvoice_Add(){
		$('#dlgAddInvoice').dialog('open').dialog('setTitle','Tambah Faktur');
	}
	function dgInvoice_Edit(){
		row = $('#dgInvoice').datagrid('getSelected');
		if (row){
			$("#invoice_number").val(row.invoice_number);
			$("#invoice_date").val(row.invoice_date);
			$("#idx_month").val(row.idx_month);
			$("#amount").val(row.amount);
		}
		$('#dlgAddInvoice').dialog('open').dialog('setTitle','Edit Faktur');
コード例 #13
0
ファイル: ptkp.php プロジェクト: AlvaCorp/maxon
<legend>STATUS PERKAWINAN</legend>
<div class="thumbnail box-gradient">
	<?
	echo link_button('Save', 'save_this()','save');		
	echo link_button('Print', 'print()','print');		
	echo link_button('Add','','add','true',base_url().'index.php/payroll/ptkp/add');		
	echo link_button('Search','','search','true',base_url().'index.php/payroll/ptkp');		
	echo link_button('Help', 'load_help(\'ptkp\')','help');		
	
	?>
	<a href="#" class="easyui-splitbutton" data-options="menu:'#mmOptions',iconCls:'icon-tip'">Options</a>
	<div id="mmOptions" style="width:200px;">
		<div onclick="load_help()">Help</div>
		<div>Update</div>
		<div>MaxOn Forum</div>
		<div>About</div>
	</div>
	
</div>
<div class="thumbnail">	
<form id="frmEmployee"  method="post">
	<input type='hidden' name='mode' id='mode'	value='<?php 
echo $mode;
?>
'>
	<?php 
echo validation_errors();
?>
   <table class='table2' width='100%'>
	<tr>
		<td>Kode</td>
コード例 #14
0
ファイル: level.php プロジェクト: AlvaCorp/maxon
	</div>
	<div class="thumbnail" >
			<table class="table2" width="100%">
				<thead><tr><th>Kode</th><th>Level Name</th><th>Keterangan</th><th>Action</th></tr></thead>
				<tbody>
					<?     			
					$CI =& get_instance();
					
					$sql="select * from employee_level";
					$rst_item=$CI->db->query($sql);
					foreach($rst_item->result() as $row_item){
						echo "
						<tr><td>".$row_item->levelkode."</td>
						<td>".$row_item->levelname."</td>
						<td>".$row_item->keterangan."</td>
						<td>".link_button('Hapus',"del_level('".$row_item->levelkode."')","remove")."
						";
					}
					?>
					<tr></tr>
				</tbody>
			</table>
	</div>
</div>
<script language="JavaScript">
	function add_level(){
		url='<?php 
echo base_url();
?>
index.php/payroll/payroll/employee/level_add';
			$('#frmNew').form('submit',{
コード例 #15
0
ファイル: mat_release.php プロジェクト: mamlaka/maxon
?>
</td></tr>
			<tr><td>Comments</td><td><?php 
echo form_input("comments", $comments, "id='comments'");
?>
</td></tr>
		</tbody>
	</table>
	<div id="divWoItem"><?php 
echo $detail;
?>
</div>
</form> 
</div>
<div id="btnExec"><?php 
echo link_button("Select", "select_exec();return false;", "ok");
?>
</div>	
<div id='dlgExec'class="easyui-dialog" style="width:500px;height:380px;padding:10px 20px"
	closed="true"  buttons="#btnExec">
	<table id="dgExec" class="easyui-datagrid"  data-options="singleSelect: true">
		<thead>
			<tr>
				<th data-options="field:'work_exec_no',width:150">Exec Number</th>
				<th data-options="field:'start_date',width:80">Exec Date</th>
				<th data-options="field:'wo_number',width:80">WO Number</th>
				<th data-options="field:'person_in_charge',width:80">Person</th>
			</tr>
		</thead>
	</table>
</div>
コード例 #16
0
ファイル: monthly_process.php プロジェクト: mamlaka/maxon
<div><h1>MUTASI ANTAR REKENING<div class="thumbnail">
	<?php 
echo link_button('Save', 'save_this()', 'save');
?>
</div></H1>
<div class="thumbnail">
<?php 
echo validation_errors();
if ($mode == 'view') {
    echo form_open('cash_mutasi/update', 'id=myform name=myform');
    $disabled = 'disable';
} else {
    $disabled = '';
    echo form_open('cash_mutasi/save', 'id=myform name=myform');
}
?>

   
   <table>
       <tr>
            <td>Jenis</td><td>
                <?php 
echo form_radio('trans_type', 'cash trx', $trans_type == 'cash trx');
?>
Cash
                <?php 
echo form_radio('trans_type', 'cheque trx', $trans_type == 'cheque trx');
?>
Giro/Cek
                <?php 
echo form_radio('trans_type', 'trans trx', $trans_type == 'trans trx');
コード例 #17
0
ファイル: division.php プロジェクト: mamlaka/maxon
</td>
				</tr>
			</table>
		</form>
	</div>
	<div class="thumbnail" >
			<table class="table1" width="400px">
				<thead><tr><td>Kode</td><td>Nama Divisi</td>
					<td>&nbsp;</td></tr></thead>
				<tbody>
					<?php 
$CI =& get_instance();
$sql = "select * from divisions";
$rst_item = $CI->db->query($sql);
foreach ($rst_item->result() as $row_item) {
    echo "\n\t\t\t\t\t\t<tr><td>" . $row_item->div_code . "</td>\n\t\t\t\t\t\t<td>" . $row_item->div_name . "</td>\n\t\t\t\t\t\t<td>" . link_button('', "del_divisi('" . $row_item->div_code . "')", "remove") . "\n\t\t\t\t\t\t";
}
?>
					<tr></tr>
				</tbody>
			</table>
	</div>
</div>
<script language="JavaScript">
	function add_divisi(){
		url='<?php 
echo base_url();
?>
index.php/company/division_add';
			$('#frmNew').form('submit',{
				url: url,
コード例 #18
0
ファイル: employee.php プロジェクト: AlvaCorp/maxon
<legend>DATA MASTER PEGAWAI</legend><div class="thumbnail box-gradient">
	<?
	echo link_button('Save', 'save_this()','save');		
	echo link_button('Print', 'print()','print');		
	echo link_button('Add','','add','true',base_url().'index.php/payroll/employee/add');		
	echo link_button('Refresh','frmEmployeeReload()','reload','true');		
	echo link_button('Search','','search','true',base_url().'index.php/payroll/employee');		
	echo link_button('Help', 'load_help(\'employee\')','help');		
	
	?>
	<a href="#" class="easyui-splitbutton" data-options="menu:'#mmOptions',iconCls:'icon-tip'">Options</a>
	<div id="mmOptions" style="width:200px;">
		<div onclick="load_help()">Help</div>
		<div>Update</div>
		<div>MaxOn Forum</div>
		<div>About</div>
	</div>
</div>

<?php 
$readonly = $mode == "view" ? "readonly" : "";
echo validation_errors();
?>

<div class="easyui-tabs" style="width:auto;height:auto;min-height:300px">
	<div title="General" style="padding:10px">
 
	<form id="frmEmployee"  method="post">
		<input type='hidden' name='mode' id='mode'	value='<?php 
echo $mode;
?>
コード例 #19
0
ファイル: work_exec.php プロジェクト: mamlaka/maxon
</div>
<div id='dlgWo'class="easyui-dialog" style="width:500px;height:380px;padding:10px 20px"
		closed="true" buttons="#btnWo">
		<table id="dgWo" class="easyui-datagrid" data-options="singleSelect: true">
			<thead>
				<tr>
					<th data-options="field:'work_order_no',width:150">Nomor Work Order</th>
					<th data-options="field:'start_date',width:80">Tanggal Mulai</th>
					<th data-options="field:'expected_date',width:80">Tanggal Akhir</th>
					<th data-options="field:'wo_status',width:80">Status</th>
				</tr>
			</thead>
		</table>
</div>
<div id="btnWo"><?php 
echo link_button("Select", "select_work_order();return false;", "ok");
?>
</div>	   

<script type="text/javascript">
    function save_this(){
  		if($('#work_exec_no').val()==''){alert('Isi nomor bukti !');return false;}
  		if($('#work_order_no').val()==''){alert('Isi nomor work order !');return false;}
		url='<?php 
echo base_url();
?>
index.php/work_exec/save';
			$('#frmWoe').form('submit',{
				url: url,
				onSubmit: function(){
					return $(this).form('validate');
コード例 #20
0
ファイル: employee_license.php プロジェクト: AlvaCorp/maxon
				<td>Lulus</td><td><?php 
echo form_input("graduate");
?>
</td>
			</tr>
		</table>		
		<input type='hidden' id='id_edu' name='id'>
		<input type='hidden' id='nip_edu' name='employeeid' value='<?php 
echo $nip;
?>
'>
	</form>
</div>
<div id="tbDlgEdu">
	<?php 
echo link_button("Save", "save_edu()", "save");
?>
</div>	

<script language="JavaScript">
	function add_edu() {
		$('#dlgEdu').dialog('open').dialog('setTitle','Pendidikan');
	}
	function save_edu() {
        if($('#company').val()===''){alert('Isi dulu nama perusahaan !');return false;};

		url='<?php 
echo base_url();
?>
index.php/payroll/employee/education/save';
		$('#frmEdu').form('submit',{
コード例 #21
0
ファイル: verify.php プロジェクト: AlvaCorp/maxon
<div class='thumbnail box-gradient'>
<?php 
echo link_button("Help", "load_help()", "help");
?>
</div>
<legend>PROSES VERIFIKASI</legend>
<p>Dibawah ini adalah daftar aplikasi permohonan kredit yang belum diverifikasi
silahkan klik nomor tersebut untuk diverifikasi</p>
<?php 
echo $not_verified;
?>
<p>&nbsp</p>
<div class='' id='divResult' style="display:none">
	<legend>STEP 1 - Info Aplikasi Kredit </legend>
	<p>Dibawah ini adalah data-data yang perlu anda verifikasi sebagai berikut: Tekan tombol <strong>Proses</strong> untuk mulai verifikasi </p>
	<div id='divResultContent'>
	
	</div>
	<p>&nbsp</p>
	<div class='thumbnail'>
	<button type="button" onclick="on_step1()" class="btn btn-info">PROSES</button>
	</div>
</div>

<p>&nbsp</p>
<div id='dlgVerifyData'class="easyui-dialog" style="width:600px;height:500px;padding:5px" closed="true" 
	buttons="#tbVerifyData">
	<? include_once "verify_form.php" ?>
</div>
<div id='tbVerifyData'>
	<button type="button" onclick="save_temp()" class="btn btn-info">SIMPAN</button>
コード例 #22
0
ファイル: sales_order.php プロジェクト: AlvaCorp/maxon
					<form id="frmItem" method='post' >
						 <td><input onblur='find()' id="item_number" style='width:80px' 
							name="item_number"   class="easyui-validatebox" required="true">
							<?php 
echo link_button('', 'searchItem()', 'search');
?>
						 </td>
						 <td><input id="description" name="description" style='width:180px'></td>
						 <td><input id="quantity"  style='width:40px'  name="quantity" onblur="hitung()"></td>
						 <td><input id="unit" name="unit"  style='width:30px' ></td>
						 <td><input id="price" name="price"  style='width:80px'   onblur="hitung()" class="easyui-validatebox" validType="numeric"></td>
						<td><input id="discount" name="discount"  style='width:30px'   onblur="hitung()" class="easyui-validatebox" validType="numeric"></td>
						<td><input id="amount" name="amount"  style='width:80px'  class="easyui-validatebox" validType="numeric"></td>
						<td>
							<?php 
echo link_button('Add Item', 'save_item()', 'save');
?>
						</td> 
						<input type='hidden' id='so_number' name='so_number'>
						<input type='hidden' id='line_number' name='line_number'>
					</form>
					
				</tr>
			</table>
			
		</div>
		<table id="dg" class="easyui-datagrid"  width='100%'
			data-options="
				iconCls: 'icon-edit',fitColumns: true, 
				singleSelect: true,
				toolbar: '#tb',
コード例 #23
0
ファイル: payment.php プロジェクト: AlvaCorp/maxon
</div>
<div id='divRbTool'>
<input type='button' class='btn btn-info' 
	onclick='divRbToolView_Click();return false' value='VIEW'>
</div>


<div id="tbBayar">
	<?php 
echo link_button("Hitung", "dlgBayar_Recalc()", "reload", "false");
?>
	<?php 
echo link_button("Keluar", "dlgBayar_Close()", "remove", "false");
?>
	<?php 
echo link_button("Proses", "dlgBayar_Save()", "save", "false");
?>
</div>
<script language='javascript'>
	var denda_hari=<?php 
echo getvar("denda_hari", 7);
?>
;
	var denda_prc=<?php 
echo getvar("denda_prc", 5);
?>
;
	var def_denda=0;
	var def_bunga=0;
	var def_pokok=0;
	if(denda_prc>=1)denda_prc=denda_prc/100;
コード例 #24
0
ファイル: cust_master.php プロジェクト: AlvaCorp/maxon
		<thead>
			<tr>
				<th data-options="field:'lokasi_nama',width:180">Nama Daerah</th>
				<th data-options="field:'kode',width:90">Kode</th>
			</tr>
		</thead>
	</table>
	</div>
</div>	
<div id='tbProvKab'>
	<input type='hidden' name='what_lokasi' id='what_lokasi'>
	<input id='txtFindLokasi' name='txtFindLokasi'>
	<? 
	echo link_button("Filter","cmdLokasiFind()","search");
	echo link_button("Select","cmdLokasiSelect()","ok");
	echo link_button("Close","cmdLokasiClose()","cancel");
	?>
</div>
 <script language='javascript'>
	var foto_no=0;
	function validnum(){
		var fld=['zip_pos','phone','rt','rw'];
		var n=0;
		for(i=0;i<fld.length;i++){
			n=$("#frmMain input[name="+fld[i]+"]").val();
			if(!isNumber(n)){
			alert("Isi field "+fld[i]+" dengan angka !!"); 
			return false;}
		}
		return true;
	}
コード例 #25
0
ファイル: purchase_invoice.php プロジェクト: mamlaka/maxon
			">
			<thead>
				<tr>
					<th data-options="field:'nomor',width:80">Nomor</th>
					<th data-options="field:'tanggal',width:150">Tanggal</th>
					<th data-options="field:'amount',width:150">Jumlah</th>
				</tr>
			</thead>
		</table>
	
	</DIV>

<!-- MEMO -->
	<div id='tbCrdb'>
		<?php 
echo link_button('Delete', 'delete_crdb()', 'remove');
?>
	</div>
	<DIV title="Memo" style="padding:10px">
	
		<table id="dgCrdb" class="easyui-datagrid"  
			style="width:700px;min-height:700px"
			data-options="
				iconCls: 'icon-edit',
				singleSelect: true,toolbar:'#tbCrdb',
				url: '<?php 
echo base_url();
?>
index.php/purchase_invoice/list_crdb/<?php 
echo $purchase_order_number;
?>
コード例 #26
0
ファイル: cash_out.php プロジェクト: AlvaCorp/maxon
	<form method='post' id='frmItem'>
	<input type='hidden' id='line_number' name='line_number'>
	<input type='hidden' id='voucher_item' name='voucher_item'>
	<table class='table2' width='100%'>
		<thead>
		<tr>
			<td>Kode</td><td>Nama Perkiraan</td><td>Jumlah</td><td>Catatan</td><td>Action</td>
		</tr>
		</thead>
		<tbody><tr>
			<td><input type='text' id='account' name='account' style='width:80px'>
				<?=link_button('','lookup_coa()','search')?></td>
			<td><input type='text' id='description' name='description'></td>
			<td><input type='text' id='amount' name='amount' style='width:80px'></td>
			<td><input type='text' id='comments' name='comments'></td>
			<td><?=link_button('Add Item','save_item()','save')?></td>
			</tr>
		</tbody>
	</table>
	</form>
</div>

<?=load_view('gl/select_coa')?>
<?=load_view('purchase/supplier_select')?>

<script type="text/javascript">
    function save_this(){
        if($('#voucher').val()===''){alert('Isi kode voucher !');return false;};
        if($('#trans_type').val()===''){alert('Isi jenis penerimaan !');return false;};
       $('#myform').submit();
    }
コード例 #27
0
ファイル: absensi.php プロジェクト: mamlaka/maxon
					">
				<thead>
					<tr>
						<th data-options="field:'nip'">NIP</th>
						<th data-options="field:'nama'">Nama</th>
						<th data-options="field:'time_in',align:'right',editor:{type:'numberbox',options:{precision:2}}">Time In</th>
						<th data-options="field:'time_out',align:'right',editor:{type:'numberbox',options:{precision:2}}">Time Out</th>
						<th data-options="field:'id',align:'right'">Line</th>
					</tr>
				</thead>
			</table>
		</div>
	</div>	 
<div id='tb'>
	<?php 
echo link_button('Absensi', 'load_absensi()', 'edit');
?>
</div> 
<script type="text/javascript">
	function load_absensi(){
		var row = $('#dg').datagrid('getSelected');
		if(row){
			window.open('<?php 
echo base_url();
?>
index.php/absensi/detail/'+row.nip,'_self');
		} else {
			alert("Pilih satu baris untuk melihat data absensi.");
		}
	}
	function cari_nip(){
コード例 #28
0
ファイル: info_list_coa.php プロジェクト: AlvaCorp/maxon
<? if($offset==0){ ?>
	<div class='thumbnail'>
		<?php 
echo link_button('Add', '', 'add', 'true', base_url() . 'index.php/coa/add');
?>
		
		<?php 
echo link_button('List', 'list();return false;', 'list');
?>
		<?php 
echo link_button('Search', 'search_coa(' . $offset . ');', 'search');
?>
	</div>
	<div class='thumbnail'>
		<form id='frmSearch'>
		<? echo $criteria_text; ?>
		</form>
	</div>
	<?
}

	$s="select * from chart_of_accounts where 1=1";
	if(isset($sid_nama)){
		if($sid_nama!=''){
			$s .= " and account_description like '%".$sid_nama."%'";
		}
	}
	if(isset($sid_kel)){
		if($sid_kel!=''){
			$s .= " and group_type like  '%".$sid_kel."%'";
		}
コード例 #29
0
ファイル: bank_accounts.php プロジェクト: AlvaCorp/maxon
	<DIV title="Cards" style="padding:10px">
		<div class='thumbnail'>
			<form method="post">
			<table width="100%" class="table2">
			<tr><td>Date From</td>
			<td><?php 
echo form_input('date_from', date("Y-m-d"), 'id=date_from class="easyui-datetimebox" ');
?>
</td>
			<td>Date To</td>
			<td><?php 
echo form_input('date_to', date("Y-m-d"), 'id=date_to  class="easyui-datetimebox" ');
?>
</td>
			<td><?php 
echo link_button('Search', 'search_cards()', 'search');
?>
</td>
			</tr>
			</table>
			</form>
		</div>
	
		<table id="dgCard" class="easyui-datagrid"  
			style="width:auto;height:auto"
			data-options="
				iconCls: 'icon-edit',fitColumns: true,
				singleSelect: true,toolbar: '#tbRetur',
				url: ''
			">
			<thead>
コード例 #30
0
ファイル: receive_po_view.php プロジェクト: AlvaCorp/maxon
<div><legend>RECEIVE P.O. ITEMS</legend>
<div class="thumbnail box-gradient">
	<?
	echo link_button('Add','','add','true',base_url().'index.php/receive_po/add');		
	echo link_button('Print', 'print_receive()','print');		
	echo link_button('Delete', 'delete_receive()','remove');	
	echo link_button('Search','','search','true',base_url().'index.php/receive_po');		
	if($mode=="view") echo link_button('Refresh','','reload','true',base_url().'index.php/receive_po/view/'.$shipment_id);		
	echo link_button('Help', "load_help('receipt_po')",'help');		
	?>
	<a href="#" class="easyui-splitbutton" data-options="menu:'#mmOptions',iconCls:'icon-tip'">Options</a>
	<div id="mmOptions" style="width:200px;">
		<div onclick="load_help('receipt_po')">Help</div>
		<div>Update</div>
		<div>MaxOn Forum</div>
		<div>About</div>
	</div>
</div>
<div class="thumbnail">	
   <table class='table2' width="100%">
       <tr>
           <td>Receipt No:</td><td><strong><?php 
echo $shipment_id;
?>
</strong>                        
           </td>
       </tr>
       <tr>
            <td>Nomor PO:</td><td><strong><a href="#" onclick="view_po('<?php 
echo $purchase_order_number;
?>