酒店预订平台
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

143 lines
8.2 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">{:__('Del_flag')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-del_flag" data-rule="required" class="form-control" name="row[del_flag]" type="number" value="{$row.del_flag|htmlentities}">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <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):''}">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <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):''}">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('Order_id')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <input id="c-order_id" data-rule="required" data-source="order/index" class="form-control selectpage" name="row[order_id]" type="text" value="{$row.order_id|htmlentities}">
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('Prod_type')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <input id="c-prod_type" data-rule="required" class="form-control" name="row[prod_type]" type="text" value="{$row.prod_type|htmlentities}">
  30. </div>
  31. </div>
  32. <div class="form-group">
  33. <label class="control-label col-xs-12 col-sm-2">{:__('Order_detail_id')}:</label>
  34. <div class="col-xs-12 col-sm-8">
  35. <input id="c-order_detail_id" data-rule="required" data-source="order/detail/index" class="form-control selectpage" name="row[order_detail_id]" type="text" value="{$row.order_detail_id|htmlentities}">
  36. </div>
  37. </div>
  38. <div class="form-group">
  39. <label class="control-label col-xs-12 col-sm-2">{:__('Group_id')}:</label>
  40. <div class="col-xs-12 col-sm-8">
  41. <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}">
  42. </div>
  43. </div>
  44. <div class="form-group">
  45. <label class="control-label col-xs-12 col-sm-2">{:__('Pro_name')}:</label>
  46. <div class="col-xs-12 col-sm-8">
  47. <input id="c-pro_name" data-rule="required" class="form-control" name="row[pro_name]" type="text" value="{$row.pro_name|htmlentities}">
  48. </div>
  49. </div>
  50. <div class="form-group">
  51. <label class="control-label col-xs-12 col-sm-2">{:__('Item_name')}:</label>
  52. <div class="col-xs-12 col-sm-8">
  53. <input id="c-item_name" data-rule="required" class="form-control" name="row[item_name]" type="text" value="{$row.item_name|htmlentities}">
  54. </div>
  55. </div>
  56. <div class="form-group">
  57. <label class="control-label col-xs-12 col-sm-2">{:__('Item_unit')}:</label>
  58. <div class="col-xs-12 col-sm-8">
  59. <input id="c-item_unit" data-rule="required" class="form-control" name="row[item_unit]" type="text" value="{$row.item_unit|htmlentities}">
  60. </div>
  61. </div>
  62. <div class="form-group">
  63. <label class="control-label col-xs-12 col-sm-2">{:__('Check_in_date')}:</label>
  64. <div class="col-xs-12 col-sm-8">
  65. <input id="c-check_in_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[check_in_date]" type="text" value="{$row.check_in_date}">
  66. </div>
  67. </div>
  68. <div class="form-group">
  69. <label class="control-label col-xs-12 col-sm-2">{:__('Check_out_date')}:</label>
  70. <div class="col-xs-12 col-sm-8">
  71. <input id="c-check_out_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[check_out_date]" type="text" value="{$row.check_out_date}">
  72. </div>
  73. </div>
  74. <div class="form-group">
  75. <label class="control-label col-xs-12 col-sm-2">{:__('Count')}:</label>
  76. <div class="col-xs-12 col-sm-8">
  77. <input id="c-count" data-rule="required" class="form-control" name="row[count]" type="number" value="{$row.count|htmlentities}">
  78. </div>
  79. </div>
  80. <div class="form-group">
  81. <label class="control-label col-xs-12 col-sm-2">{:__('Total_price')}:</label>
  82. <div class="col-xs-12 col-sm-8">
  83. <input id="c-total_price" data-rule="required" class="form-control" step="0.01" name="row[total_price]" type="number" value="{$row.total_price|htmlentities}">
  84. </div>
  85. </div>
  86. <div class="form-group">
  87. <label class="control-label col-xs-12 col-sm-2">{:__('Supplier_name')}:</label>
  88. <div class="col-xs-12 col-sm-8">
  89. <input id="c-supplier_name" data-rule="required" class="form-control" name="row[supplier_name]" type="text" value="{$row.supplier_name|htmlentities}">
  90. </div>
  91. </div>
  92. <div class="form-group">
  93. <label class="control-label col-xs-12 col-sm-2">{:__('Total_cost')}:</label>
  94. <div class="col-xs-12 col-sm-8">
  95. <input id="c-total_cost" data-rule="required" class="form-control" step="0.01" name="row[total_cost]" type="number" value="{$row.total_cost|htmlentities}">
  96. </div>
  97. </div>
  98. <div class="form-group">
  99. <label class="control-label col-xs-12 col-sm-2">{:__('Profit')}:</label>
  100. <div class="col-xs-12 col-sm-8">
  101. <input id="c-profit" data-rule="required" class="form-control" step="0.01" name="row[profit]" type="number" value="{$row.profit|htmlentities}">
  102. </div>
  103. </div>
  104. <div class="form-group">
  105. <label class="control-label col-xs-12 col-sm-2">{:__('Receipt_status')}:</label>
  106. <div class="col-xs-12 col-sm-8">
  107. <input id="c-receipt_status" data-rule="required" class="form-control" name="row[receipt_status]" type="number" value="{$row.receipt_status|htmlentities}">
  108. </div>
  109. </div>
  110. <div class="form-group">
  111. <label class="control-label col-xs-12 col-sm-2">{:__('Receipt_id')}:</label>
  112. <div class="col-xs-12 col-sm-8">
  113. <input id="c-receipt_id" data-rule="required" data-source="receipt/index" class="form-control selectpage" name="row[receipt_id]" type="text" value="{$row.receipt_id|htmlentities}">
  114. </div>
  115. </div>
  116. <div class="form-group">
  117. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_status')}:</label>
  118. <div class="col-xs-12 col-sm-8">
  119. <input id="c-pay_status" data-rule="required" class="form-control" name="row[pay_status]" type="number" value="{$row.pay_status|htmlentities}">
  120. </div>
  121. </div>
  122. <div class="form-group">
  123. <label class="control-label col-xs-12 col-sm-2">{:__('Payment_id')}:</label>
  124. <div class="col-xs-12 col-sm-8">
  125. <input id="c-payment_id" data-rule="required" data-source="payment/index" class="form-control selectpage" name="row[payment_id]" type="text" value="{$row.payment_id|htmlentities}">
  126. </div>
  127. </div>
  128. <div class="form-group">
  129. <label class="control-label col-xs-12 col-sm-2">{:__('Purchase_user_id')}:</label>
  130. <div class="col-xs-12 col-sm-8">
  131. <input id="c-purchase_user_id" data-rule="required" data-source="purchase/user/index" class="form-control selectpage" name="row[purchase_user_id]" type="text" value="{$row.purchase_user_id|htmlentities}">
  132. </div>
  133. </div>
  134. <div class="form-group layer-footer">
  135. <label class="control-label col-xs-12 col-sm-2"></label>
  136. <div class="col-xs-12 col-sm-8">
  137. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  138. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  139. </div>
  140. </div>
  141. </form>