酒店预订平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

119 lines
6.9 KiB

  1. <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <div class="form-group">
  3. <label class="control-label col-xs-12 col-sm-2">{:__('Create_user_id')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-create_user_id" data-rule="required" data-source="create/user/index" class="form-control selectpage" name="row[create_user_id]" type="text" value="{$row.create_user_id|htmlentities}">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Group_id')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-group_id" data-rule="required" data-source="group/index" class="form-control selectpage" name="row[group_id]" type="text" value="{$row.group_id|htmlentities}">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Commissioner')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-commissioner" data-rule="required" class="form-control" name="row[commissioner]" type="text" value="{$row.commissioner|htmlentities}">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('Channel_id')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <input id="c-channel_id" data-rule="required" data-source="channel/index" class="form-control selectpage" name="row[channel_id]" type="text" value="{$row.channel_id|htmlentities}">
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('Channel_order_no')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <input id="c-channel_order_no" data-rule="required" class="form-control" name="row[channel_order_no]" type="text" value="{$row.channel_order_no|htmlentities}">
  30. </div>
  31. </div>
  32. <div class="form-group">
  33. <label class="control-label col-xs-12 col-sm-2">{:__('User_name')}:</label>
  34. <div class="col-xs-12 col-sm-8">
  35. <input id="c-user_name" data-rule="required" class="form-control" name="row[user_name]" type="text" value="{$row.user_name|htmlentities}">
  36. </div>
  37. </div>
  38. <div class="form-group">
  39. <label class="control-label col-xs-12 col-sm-2">{:__('User_phone')}:</label>
  40. <div class="col-xs-12 col-sm-8">
  41. <input id="c-user_phone" data-rule="required" class="form-control" name="row[user_phone]" type="text" value="{$row.user_phone|htmlentities}">
  42. </div>
  43. </div>
  44. <div class="form-group">
  45. <label class="control-label col-xs-12 col-sm-2">{:__('Total_amount')}:</label>
  46. <div class="col-xs-12 col-sm-8">
  47. <input id="c-total_amount" data-rule="required" class="form-control" step="0.01" name="row[total_amount]" type="number" value="{$row.total_amount|htmlentities}">
  48. </div>
  49. </div>
  50. <div class="form-group">
  51. <label class="control-label col-xs-12 col-sm-2">{:__('Cost_amount')}:</label>
  52. <div class="col-xs-12 col-sm-8">
  53. <input id="c-cost_amount" data-rule="required" class="form-control" step="0.01" name="row[cost_amount]" type="number" value="{$row.cost_amount|htmlentities}">
  54. </div>
  55. </div>
  56. <div class="form-group">
  57. <label class="control-label col-xs-12 col-sm-2">{:__('Profit_amount')}:</label>
  58. <div class="col-xs-12 col-sm-8">
  59. <input id="c-profit_amount" data-rule="required" class="form-control" step="0.01" name="row[profit_amount]" type="number" value="{$row.profit_amount|htmlentities}">
  60. </div>
  61. </div>
  62. <div class="form-group">
  63. <label class="control-label col-xs-12 col-sm-2">{:__('Order_status')}:</label>
  64. <div class="col-xs-12 col-sm-8">
  65. <input id="c-order_status" data-rule="required" class="form-control" name="row[order_status]" type="number" value="{$row.order_status|htmlentities}">
  66. </div>
  67. </div>
  68. <div class="form-group">
  69. <label class="control-label col-xs-12 col-sm-2">{:__('Order_memo')}:</label>
  70. <div class="col-xs-12 col-sm-8">
  71. <input id="c-order_memo" data-rule="required" class="form-control" name="row[order_memo]" type="text" value="{$row.order_memo|htmlentities}">
  72. </div>
  73. </div>
  74. <div class="form-group">
  75. <label class="control-label col-xs-12 col-sm-2">{:__('Log')}:</label>
  76. <div class="col-xs-12 col-sm-8">
  77. <input id="c-log" data-rule="required" class="form-control" name="row[log]" type="text" value="{$row.log|htmlentities}">
  78. </div>
  79. </div>
  80. <div class="form-group">
  81. <label class="control-label col-xs-12 col-sm-2">{:__('Cancel_time')}:</label>
  82. <div class="col-xs-12 col-sm-8">
  83. <input id="c-cancel_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[cancel_time]" type="text" value="{:$row.cancel_time?datetime($row.cancel_time):''}">
  84. </div>
  85. </div>
  86. <div class="form-group">
  87. <label class="control-label col-xs-12 col-sm-2">{:__('Success_time')}:</label>
  88. <div class="col-xs-12 col-sm-8">
  89. <input id="c-success_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[success_time]" type="text" value="{:$row.success_time?datetime($row.success_time):''}">
  90. </div>
  91. </div>
  92. <div class="form-group">
  93. <label class="control-label col-xs-12 col-sm-2">{:__('Del_flag')}:</label>
  94. <div class="col-xs-12 col-sm-8">
  95. <input id="c-del_flag" data-rule="required" class="form-control" name="row[del_flag]" type="number" value="{$row.del_flag|htmlentities}">
  96. </div>
  97. </div>
  98. <div class="form-group">
  99. <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
  100. <div class="col-xs-12 col-sm-8">
  101. <input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:$row.create_time?datetime($row.create_time):''}">
  102. </div>
  103. </div>
  104. <div class="form-group">
  105. <label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
  106. <div class="col-xs-12 col-sm-8">
  107. <input id="c-update_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{:$row.update_time?datetime($row.update_time):''}">
  108. </div>
  109. </div>
  110. <div class="form-group layer-footer">
  111. <label class="control-label col-xs-12 col-sm-2"></label>
  112. <div class="col-xs-12 col-sm-8">
  113. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  114. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  115. </div>
  116. </div>
  117. </form>