editopportunity.html.php 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?php
  2. /**
  3. * The edit of opportunity module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2021 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.cnezsoft.com)
  6. * @license ZPL(http://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  7. * @author Qiyu Xie <xieqiyu@easycorp.ltd>
  8. * @package assetlib
  9. * @version $Id: edit.html.php 4903 2021-05-27 10:32:59Z tsj $
  10. * @link https://www.zentao.net
  11. */
  12. ?>
  13. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  14. <?php include $app->getModuleRoot() . 'common/view/kindeditor.html.php';?>
  15. <div id="mainContent" class="main-content fade">
  16. <div class="center-block">
  17. <div class='main-header'>
  18. <h2><?php echo $lang->assetlib->editOpportunity;?></small></h2>
  19. </div>
  20. <form method='post' class="main-form form-ajax" enctype='multipart/form-data' id='opportunityForm'>
  21. <table class="table table-form">
  22. <tbody>
  23. <tr>
  24. <th><?php echo $lang->opportunity->name;?></th>
  25. <td><?php echo html::input('name', $opportunity->name, "class='form-control' required");?></td>
  26. <td></td>
  27. <td></td>
  28. </tr>
  29. <tr>
  30. <th><?php echo $lang->opportunity->source;?></th>
  31. <td><?php echo html::select('source', $lang->opportunity->sourceList, $opportunity->source, "class='form-control chosen'");?></td>
  32. </tr>
  33. <tr>
  34. <th><?php echo $lang->opportunity->type;?></th>
  35. <td><?php echo html::select('type', $lang->opportunity->typeList, $opportunity->type, "class='form-control chosen'");?></td>
  36. </tr>
  37. <tr>
  38. <th><?php echo $lang->opportunity->strategy;?></th>
  39. <td><?php echo html::select('strategy', $lang->opportunity->strategyList, $opportunity->strategy, "class='form-control chosen'");?></td>
  40. </tr>
  41. <tr>
  42. <th><?php echo $lang->opportunity->impact;?></th>
  43. <td><?php echo html::select('impact', $lang->opportunity->impactList, $opportunity->impact, "class='form-control'");?></td>
  44. </tr>
  45. <tr>
  46. <th><?php echo $lang->opportunity->chance;?></th>
  47. <td><?php echo html::select('chance', $lang->opportunity->chanceList, $opportunity->chance, "class='form-control'");?></td>
  48. </tr>
  49. <tr>
  50. <th><?php echo $lang->opportunity->ratio;?></th>
  51. <td><?php echo html::input('ratio', $opportunity->ratio, "class='form-control' readonly");?></td>
  52. </tr>
  53. <tr>
  54. <th><?php echo $lang->opportunity->pri;?></th>
  55. <td id='priValue'><?php echo html::select('pri', $lang->opportunity->priList, $opportunity->pri, "class='form-control' disabled");?></td>
  56. </tr>
  57. <tr>
  58. <th><?php echo $lang->opportunity->desc;?></th>
  59. <td colspan="2"><?php echo html::textarea('desc', $opportunity->desc, 'row="6"');?></td>
  60. </tr>
  61. <tr>
  62. <th><?php echo $lang->opportunity->prevention;?></th>
  63. <td colspan="2"><?php echo html::textarea('prevention', $opportunity->prevention, 'row="6"');?></td>
  64. </tr>
  65. <tr>
  66. <th><?php echo $lang->opportunity->resolution;?></th>
  67. <td colspan="2"><?php echo html::textarea('resolution', $opportunity->resolution, 'row="6"');?></td>
  68. </tr>
  69. <tr>
  70. <td colspan='3' class='text-center form-actions'><?php echo html::submitButton() . html::backButton();?></td>
  71. </tr>
  72. </tbody>
  73. </table>
  74. </form>
  75. </div>
  76. </div>
  77. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>