track.html.php 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <?php
  2. /**
  3. * The track 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 Shujie Tian <tianshujie@easycorp.ltd>
  8. * @package opportunity
  9. * @version $Id: track.html.php 4903 2021-05-27 13:45: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->opportunity->track;?></h2>
  19. </div>
  20. <form class="load-indicator main-form form-ajax" method='post' enctype='multipart/form-data' id='dataform'>
  21. <table class="table table-form">
  22. <tbody>
  23. <tr>
  24. <th><?php echo $lang->opportunity->isChange;?></th>
  25. <td><?php echo html::radio('isChange', $lang->opportunity->isChangeList, 0, "onclick=refreshPage(this)");?></td>
  26. <td></td>
  27. </tr>
  28. <tr class='track hidden'>
  29. <th><?php echo $lang->opportunity->name;?></th>
  30. <td><?php echo html::input('name', $opportunity->name, "class='form-control'");?></td>
  31. </tr>
  32. <tr class='track hidden'>
  33. <th><?php echo $lang->opportunity->type;?></th>
  34. <td><?php echo html::select('type', $lang->opportunity->typeList, $opportunity->type, "class='form-control chosen'");?></td>
  35. </tr>
  36. <tr class='track hidden'>
  37. <th><?php echo $lang->opportunity->strategy;?></th>
  38. <td><?php echo html::select('strategy', $lang->opportunity->strategyList, $opportunity->strategy, "class='form-control chosen'");?></td>
  39. </tr>
  40. <tr class='track hidden'>
  41. <th><?php echo $lang->opportunity->impact;?></th>
  42. <td><?php echo html::select('impact', $lang->opportunity->impactList, $opportunity->impact, "class='form-control chosen'");?></td>
  43. </tr>
  44. <tr class='track hidden'>
  45. <th><?php echo $lang->opportunity->chance;?></th>
  46. <td><?php echo html::select('chance', $lang->opportunity->chanceList, $opportunity->chance, "class='form-control chosen'");?></td>
  47. </tr>
  48. <tr class='track hidden'>
  49. <th><?php echo $lang->opportunity->ratio;?></th>
  50. <td><?php echo html::input('ratio', $opportunity->ratio, "class='form-control' readonly");?></td>
  51. </tr>
  52. <tr class='track hidden'>
  53. <th><?php echo $lang->opportunity->pri;?></th>
  54. <td id='priValue'><?php echo html::select('pri', $lang->opportunity->priList, $opportunity->pri, "class='form-control chosen' disabled");?></td>
  55. </tr>
  56. <tr class='track hidden'>
  57. <th><?php echo $lang->opportunity->lastCheckedBy;?></th>
  58. <td><?php echo html::select('lastCheckedBy', $users, $this->app->user->account, "class='form-control chosen'");?></td>
  59. </tr>
  60. <tr class='track hidden'>
  61. <th><?php echo $lang->opportunity->lastCheckedDate;?></th>
  62. <td><?php echo html::input('lastCheckedDate', helper::isZeroDate($opportunity->lastCheckedDate) ? helper::today() : $opportunity->lastCheckedDate , "class='form-control form-datetime'");?></td>
  63. </tr>
  64. <tr class='track hidden'>
  65. <th><?php echo $lang->opportunity->desc;?></th>
  66. <td colspan='2'><?php echo html::textarea('desc', $opportunity->desc, "class='form-control'");?></td>
  67. </tr>
  68. <tr class='track hidden'>
  69. <th><?php echo $lang->opportunity->prevention;?></th>
  70. <td colspan='2'><?php echo html::textarea('prevention', $opportunity->prevention, "class='form-control'");?></td>
  71. </tr>
  72. <tr class='track hidden'>
  73. <th><?php echo $lang->opportunity->resolution;?></th>
  74. <td colspan='2'><?php echo html::textarea('resolution', $opportunity->resolution, "class='form-control'");?></td>
  75. </tr>
  76. <tr class='not-track'>
  77. <th><?php echo $lang->comment;?></th>
  78. <td colspan='2'><?php echo html::textarea('comment', '', "class='form-control'");?></td>
  79. </tr>
  80. <tr>
  81. <td colspan='3' class='form-actions text-center'>
  82. <?php echo html::submitButton() . html::backButton();?>
  83. </td>
  84. </tr>
  85. </tbody>
  86. </table>
  87. </form>
  88. </div>
  89. </div>
  90. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>