<?php
/**
 * The assignedto view file of leads 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     leads
 * @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='assignForm' action='<?php echo $this->createLink('leads', 'assign', "contactID={$contact->id}");?>'>
  <table class='table table-form'>
    <tr>
      <th class='w-50px'><?php echo $lang->contact->assign;?></th>
      <td class='required'><?php echo html::select('assignedTo', $users, '', "class='form-control chosen'");?></td>
      <td></td>
    </tr>
    <tr>
      <th><?php echo $lang->comment;?></th>
      <td colspan='2'><?php echo html::textarea('comment', '', "rows='3' class='form-control'");?></td>
    </tr>
    <?php $this->printExtendFields($contact, 'table');?>
    <tr>
      <th></th>
      <td class='form-actions' colspan='2'><?php echo html::submitButton();?></td>
    </tr>
  </table>
</form>
<?php include '../../../sys/common/view/footer.modal.html.php';?>
