
<table id="dg" singleSelect="true"></table>              

<div id="toolbar">  
    <!-- <?php if ($this->session->userdata('t1') == 1 && $this->session->userdata('t2') == 1 && $this->session->userdata('t5') == 1 ){ ?>
    <a href="javascript:void(0)" id="btnTbh" class="easyui-linkbutton" iconCls="icon-add" plain="true" title="Tambah">Tambah</a>  
    <?php }?>
    <?php if ($this->session->userdata('u1') == 1 && $this->session->userdata('u2') == 1 && $this->session->userdata('u5') == 1 ){ ?>
    <a href="javascript:void(0)" id="btnUbh" class="easyui-linkbutton" iconCls="icon-edit" plain="true" title="Ubah">Ubah</a> 
    <?php }?>
    <?php if ($this->session->userdata('h1') == 1 && $this->session->userdata('h2') == 1 && $this->session->userdata('h5') == 1 ){ ?>
    <a href="javascript:void(0)" id="btnHps" class="easyui-linkbutton" iconCls="icon-remove" plain="true" title="Hapus">Hapus</a>  
    <?php }?>   -->
	<a href="javascript:void(0)" id="btnPrint" class="easyui-linkbutton" iconCls="icon-print" plain="true" title="Print">Print</a> 
    <a href="javascript:void(0)" id="btnExcel" class="easyui-linkbutton" iconCls="icon-xls" plain="true" title="Excel">Excel</a>
    <span style="display:inline-block;">
    &nbsp; &nbsp; &nbsp;
    <input id="q">
    </span>
</div>

<div id="dlg" class="easyui-dialog" style="width:500px;padding:10px" closed="true" buttons="#dlg-buttons">
	<form id="fm" method="post" onSubmit="return false">
    <input type="hidden" id="id" name="id" required>
 	<table cellpadding="2" cellspacing="2">
    <tr>
      <td width="113">Kode Perusahaan</td>
      <td width="248"><input name="KdPrshn" type="text" id="KdPrshn" class="easyui-textbox" data-options="required:true,novalidate:true" style="width:100px"></td>
    </tr>
    <tr>
      <td width="113">Nama Perusahaan</td>
      <td width="248"><input name="NmPrshn" type="text" id="NmPrshn" class="easyui-textbox" data-options="required:true,novalidate:true" style="width:250px"></td>
    </tr>
    <tr>
      <td>Tipe</td>
      <td>
      <input name="TpPrshn" id="TpPrshn">
      </td>
    </tr>
    <tr>
      <td>NPWP</td>
      <td><input name="NpwpPrshn" type="text" id="NpwpPrshn" class="easyui-textbox" value=""></td>
    </tr>
    <tr>
      <td valign="top">Alamat</td>
      <td><input name="AlmtPrshn" id="AlmtPrshn" class="easyui-textbox" data-options="multiline:true" style="width:250px;height:60px";></td>
    </tr>
    <tr>
      <td>Negara</td>
      <td><input id="Negara" name="Negara"></td>
    </tr>
    <tr>
      <td>NPWP.</td>
      <td><input name="fax" type="text" id="fax" class="easyui-textbox" value="" size="30" maxlength="30">
      </td>
    </tr>
    <tr>
      <td>Telepon</td>
      <td><input name="tlp" type="text" id="tlp" class="easyui-textbox" value="" size="30" maxlength="30">
      </td>
    </tr>
    <tr>
      <td>Valuta</td>
      <td><input id="Valuta" name="Valuta"></td>
    </tr>
    <tr>
      <td>Kurs</td>
      <td><input class="form-control easyui-textbox" name="Kurs" type="text" id="Kurs" value="" size="30"></td>
      </td>
    </tr>
    <tr>
      <td width="113">Nitku</td>
      <td><input class="form-control easyui-datebox" name="NitKu" type="text" id="NitKu" value="" size="30" style="width:250px"></td>
    </tr>
    </table>
    <input type="submit" id="btnSubmit" name="btnSubmit" style="display:none">
    </form>            
</div>
<div id="dlg-buttons">
    <a href="#" id="btnSim" class="easyui-linkbutton" iconCls="icon-ok">Simpan</a>
    <a href="javascript:void(0)" id="btnReset" class="easyui-linkbutton" iconCls="icon-cancel">Kosongkan</a>
</div>      