<?php
/**
 * The create view file of holiday module of ZenTaoPMS.
 *
 * @copyright   Copyright 2009-2018 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv12.html)
 * @author      chujilu <chujilu@cnezsoft.com>
 * @package     attend
 * @version     $Id$
 * @link        http://www.zdoo.com
 */
?>
<?php include '../../../sys/common/view/header.modal.html.php';?>
<form id='ajaxForm' method='post' action="<?php echo $this->createLink('oa.holiday', 'create')?>">
  <table class='table table-form'>
    <tr>
      <th class='w-80px'><?php echo $lang->holiday->type;?></th>
      <td><?php echo html::radio('type', $lang->holiday->typeList, 'holiday');?></td>
      <td></td>
    </tr>
    <tr>
      <th class='w-80px'><?php echo $lang->holiday->name;?></th>
      <td><?php echo html::input('name', '', "class='form-control'");?></td>
      <td></td>
    </tr>
    <tr>
      <th><?php echo $lang->holiday->begin;?></th>
      <td><?php echo html::input('begin', '', "class='form-control form-date'");?></td>
      <td></td>
    </tr>
    <tr>
      <th><?php echo $lang->holiday->end;?></th>
      <td><?php echo html::input('end', '', "class='form-control form-date'");?></td>
      <td></td>
    </tr>
    <tr>
      <th><?php echo $lang->holiday->desc?></th>
      <td colspan='2'><?php echo html::textarea('desc', '', "class='form-control'")?></td>
    </tr> 
    <tr><th></th><td clospan='2' class='form-actions'><?php echo html::submitButton();?></td></tr>
  </table>
</form>
<?php include '../../../sys/common/view/footer.modal.html.php';?>
