<?php
/**
 * The update view file of bonus module of ZDOO.
 *
 * @copyright   Copyright 2009-2016 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     商业软件，非开源软件
 * @author      Tao Lv <lvtao@cnezsoft.com>
 * @package     commission
 * @version     $Id$
 * @link        http://www.zdoo.com
 */
?>
<?php include '../../../sys/common/view/header.modal.html.php';?>
<form id='ajaxForm' method='post' action='<?php echo inlink('edit', "id={$bonus->id}");?>'>
  <table class='table table-form'>
    <tr>
      <th class='w-60px'><?php echo $lang->bonus->account;?></th>
      <td class='w-200px'><?php echo $user->realname;?></td>
      <td></td>
    </tr>
    <tr>
      <th><?php echo $lang->bonus->performance;?></th>
      <td><?php echo html::input('performance', $bonus->performance, "class='form-control'");?></td>
      <td></td>
    </tr>
    <tr>
      <th><?php echo $lang->bonus->bonus;?></th>
      <td><?php echo html::input('bonus', $bonus->bonus, "class='form-control'");?></td>
      <td></td>
    </tr>
    <tr>
      <th><?php echo $lang->bonus->desc;?></th>
      <td colspan='2'><?php echo html::textarea('desc', $bonus->desc, "rows='3' class='form-control'");?></td>
    </tr>
    <tr>
      <th></th>
      <td colspan='2' class='form-actions'><?php echo html::submitButton();?></td>
      <td></td>
    </tr>
  </table>
</form>
<?php include '../../../sys/common/view/footer.modal.html.php';?>
