酒店预订平台
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.

add.html 3.6 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <form id="add-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">{:__('Hotel_id')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-hotel_id" data-rule="required" data-source="cf_hotel_info/getHotelList" class="form-control selectpage" name="row[hotel_id]" type="text" value="">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Room_id')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-room_id" data-rule="required" data-source="cf_room_info/getList" class="form-control selectpage" name="row[room_id]" type="text" value="">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Plan_name')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-plan_name" data-rule="required" class="form-control" name="row[plan_name]" type="text" value="">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('Breakfast_num')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <input id="c-breakfast_num" data-rule="required" class="form-control" name="row[breakfast_num]" type="number" value="0">
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('Book_end_day')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <input id="c-book_end_day" data-rule="required" class="form-control" name="row[book_end_day]" type="number" value="0">
  30. </div>
  31. </div>
  32. <div class="form-group">
  33. <label class="control-label col-xs-12 col-sm-2">{:__('Book_end_hour')}:</label>
  34. <div class="col-xs-12 col-sm-8">
  35. <input id="c-book_end_hour" data-rule="required" class="form-control" name="row[book_end_hour]" type="number">
  36. </div>
  37. </div>
  38. <div class="form-group">
  39. <label class="control-label col-xs-12 col-sm-2">{:__('Continuity_type')}:</label>
  40. <div class="col-xs-12 col-sm-8">
  41. {:Form::radios('row[continuity_type]', $continuity_type,0 , ['data-rule'=>'required'])}
  42. </div>
  43. </div>
  44. <div class="form-group">
  45. <label class="control-label col-xs-12 col-sm-2">{:__('Coutinuity_day')}:</label>
  46. <div class="col-xs-12 col-sm-8">
  47. <input id="c-coutinuity_day" data-rule="required" class="form-control" name="row[coutinuity_day]" type="number">
  48. </div>
  49. </div>
  50. <div class="form-group">
  51. <label class="control-label col-xs-12 col-sm-2">{:__('Plan_memo')}:</label>
  52. <div class="col-xs-12 col-sm-8">
  53. <input id="c-plan_memo" data-rule="required" class="form-control" name="row[plan_memo]" type="text" value="">
  54. </div>
  55. </div>
  56. <div class="form-group">
  57. <label class="control-label col-xs-12 col-sm-2">{:__('Charge_person')}:</label>
  58. <div class="col-xs-12 col-sm-8">
  59. <input id="c-purchase_user_id" data-rule="required" data-source="auth/admin/getList" class="form-control selectpage" name="row[purchase_user_id]" type="text" value="">
  60. </div>
  61. </div>
  62. <div class="form-group layer-footer">
  63. <label class="control-label col-xs-12 col-sm-2"></label>
  64. <div class="col-xs-12 col-sm-8">
  65. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  66. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  67. </div>
  68. </div>
  69. </form>