<?php 
/**
 * The view file of close function of order module of ZDOO.
 *
 * @copyright   Copyright 2009-2018 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv12.html)
 * @author      Tingting Dai <daitingting@xirangit.com>
 * @package     order 
 * @version     $Id$
 * @link        http://www.zdoo.com
 */
?>
<?php include '../../../sys/common/view/header.modal.html.php';?>
<?php include '../../../sys/common/view/editor.html.php';?>
<form method='post' id='ajaxForm' action='<?php echo $this->createLink('order', 'close', "orderID={$order->id}")?>'>
  <table class='table table-form'>
    <tr>
      <th class='w-60px'><?php echo $lang->order->closedReason?></th>
      <td class='w-200px'><?php echo html::select('closedReason', $lang->order->closedReasonList, '', "class='form-control'")?></td>
      <td></td>
    </tr>
    <tr>
      <th><?php echo $lang->order->closedNote;?></th>
      <td colspan='2'><?php echo html::textarea('closedNote');?></td>
    </tr>
    <?php $this->printExtendFields($order, 'table');?>
    <tr>
      <th></th>
      <td colspan='2' class='form-actions'><?php echo html::submitButton();?></td>
    </tr>
  </table>
</form>
<?php include '../../../sys/common/view/footer.modal.html.php';?>
