hotel_rule.blade.php 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <div class="form-group">
  2. <label class="col-xs-12 col-sm-3 col-md-2 control-label">平台提成比例</label>
  3. <div class="col-sm-6 col-xs-6">
  4. <div class='input-group'>
  5. <input onkeyup="value=value.replace(/[^\d.]/g,'')" type='text' name='widgets[hotel_cashier][shop_commission]' class="form-control discounts_value"
  6. value="{{ $hotel->hasOneCashier->hasOneCashierGoods->shop_commission?:0 }}"/>
  7. <div class='input-group-addon waytxt'>%</div>
  8. </div>
  9. </div>
  10. </div>
  11. <div class="form-group">
  12. <label class="col-xs-12 col-sm-3 col-md-2 control-label">结算期</label>
  13. <div class="col-sm-6 col-xs-6">
  14. <div class='input-group'>
  15. <input onkeyup="value=value.replace(/[^\d.]/g,'')" type='text' name='widgets[hotel_cashier][settlement_day]' class="form-control discounts_value"
  16. value="{{ $hotel->hasOneCashier->hasOneCashierGoods->settlement_day?:0 }}"/>
  17. <div class='input-group-addon waytxt'>天</div>
  18. </div>
  19. </div>
  20. </div>
  21. <!-- <input type='hidden' name='widgets[hotel_cashier][payment_types][wechatPay]' value='1' /> -->
  22. <!-- <input type='hidden' name='widgets[hotel_cashier][payment_types][alipay]' value='1' /> -->
  23. <!-- <input type='hidden' name='widgets[hotel_cashier][payment_types][balance]' value='1' /> -->
  24. <!-- <input type='hidden' name='widgets[hotel_cashier][payment_types][cashPay]' value='1'/> -->
  25. <div class="form-group">
  26. <label class="col-xs-12 col-sm-3 col-md-2 control-label">微信支付</label>
  27. <div class="col-sm-9 col-xs-12">
  28. <label class='radio-inline'>
  29. <input type='radio' name='widgets[hotel_cashier][payment_types][wechatPay]' value='1'
  30. @if($hotel->hasOneCashier->hasOneCashierGoods->payment_types["wechatPay"] == 1) checked @endif
  31. /> 开启
  32. </label>
  33. <label class='radio-inline'>
  34. <input type='radio' name='widgets[hotel_cashier][payment_types][wechatPay]' value='0'
  35. @if($hotel->hasOneCashier->hasOneCashierGoods->payment_types["wechatPay"] === '0' || $hotel->hasOneCashier->hasOneCashierGoods->payment_types["wechatPay"] === null) checked @endif
  36. /> 关闭
  37. </label>
  38. </div>
  39. </div>
  40. <div class="form-group">
  41. <label class="col-xs-12 col-sm-3 col-md-2 control-label">支付宝支付</label>
  42. <div class="col-sm-9 col-xs-12">
  43. <label class='radio-inline'>
  44. <input type='radio' name='widgets[hotel_cashier][payment_types][alipay]' value='1'
  45. @if($hotel->hasOneCashier->hasOneCashierGoods->payment_types["alipay"] == 1) checked @endif
  46. /> 开启
  47. </label>
  48. <label class='radio-inline'>
  49. <input type='radio' name='widgets[hotel_cashier][payment_types][alipay]' value='0'
  50. @if($hotel->hasOneCashier->hasOneCashierGoods->payment_types["alipay"] === '0' || $hotel->hasOneCashier->hasOneCashierGoods->payment_types["alipay"] === null) checked @endif
  51. /> 关闭
  52. </label>
  53. </div>
  54. </div>
  55. <div class="form-group">
  56. <label class="col-xs-12 col-sm-3 col-md-2 control-label">余额支付</label>
  57. <div class="col-sm-9 col-xs-12">
  58. <label class='radio-inline'>
  59. <input type='radio' name='widgets[hotel_cashier][payment_types][balance]' value='1'
  60. @if($hotel->hasOneCashier->hasOneCashierGoods->payment_types["balance"] == 1) checked @endif
  61. /> 开启
  62. </label>
  63. <label class='radio-inline'>
  64. <input type='radio' name='widgets[hotel_cashier][payment_types][balance]' value='0'
  65. @if($hotel->hasOneCashier->hasOneCashierGoods->payment_types["balance"] === '0' || $hotel->hasOneCashier->hasOneCashierGoods->payment_types["balance"] === null) checked @endif
  66. /> 关闭
  67. </label>
  68. </div>
  69. </div>
  70. <div class="form-group">
  71. <label class="col-xs-12 col-sm-3 col-md-2 control-label">到店支付</label>
  72. <div class="col-sm-9 col-xs-12">
  73. <label class='radio-inline'>
  74. <input type='radio' name='widgets[hotel_cashier][payment_types][cashPay]' value='1'
  75. @if($hotel->hasOneCashier->hasOneCashierGoods->payment_types["cashPay"] == 1) checked @endif
  76. /> 开启
  77. </label>
  78. <label class='radio-inline'>
  79. <input type='radio' name='widgets[hotel_cashier][payment_types][cashPay]' value='0'
  80. @if($hotel->hasOneCashier->hasOneCashierGoods->payment_types["cashPay"] === '0' || $hotel->hasOneCashier->hasOneCashierGoods->payment_types["cashPay"] === null) checked @endif
  81. /> 关闭
  82. </label>
  83. </div>
  84. </div>
  85. <div class="form-group">
  86. <label class="col-xs-12 col-sm-3 col-md-2 control-label">易宝支付</label>
  87. <div class="col-sm-9 col-xs-12">
  88. <label class='radio-inline'>
  89. <input type='radio' name='widgets[hotel_cashier][payment_types][yopPay]' value='1'
  90. @if($hotel->hasOneCashier->hasOneCashierGoods->payment_types['yopPay'] == 1) checked @endif
  91. /> 开启
  92. </label>
  93. <label class='radio-inline'>
  94. <input type='radio' name='widgets[hotel_cashier][payment_types][yopPay]' value='0'
  95. @if($hotel->hasOneCashier->hasOneCashierGoods->payment_types['yopPay'] === '0' || $hotel->hasOneCashier->hasOneCashierGoods->payment_types["yopPay"] === null) checked @endif
  96. /> 关闭
  97. </label>
  98. </div>
  99. </div>
  100. <div class="form-group">
  101. <label class="col-xs-12 col-sm-3 col-md-2 control-label">汇聚微信支付</label>
  102. <div class="col-sm-9 col-xs-12">
  103. <label class='radio-inline'>
  104. <input type='radio' name='widgets[hotel_cashier][payment_types][convergePayWechat]' value='1'
  105. @if($hotel->hasOneCashier->hasOneCashierGoods->payment_types['convergePayWechat'] == 1) checked @endif
  106. /> 开启
  107. </label>
  108. <label class='radio-inline'>
  109. <input type='radio' name='widgets[hotel_cashier][payment_types][convergePayWechat]' value='0'
  110. @if($hotel->hasOneCashier->hasOneCashierGoods->payment_types['convergePayWechat'] === '0' || $hotel->hasOneCashier->hasOneCashierGoods->payment_types["convergePayWechat"] === null) checked @endif
  111. /> 关闭
  112. </label>
  113. </div>
  114. </div>
  115. <div class="form-group">
  116. <label class="col-xs-12 col-sm-3 col-md-2 control-label">汇聚支付宝支付</label>
  117. <div class="col-sm-9 col-xs-12">
  118. <label class='radio-inline'>
  119. <input type='radio' name='widgets[hotel_cashier][payment_types][convergePayAlipay]' value='1'
  120. @if($hotel->hasOneCashier->hasOneCashierGoods->payment_types['convergePayAlipay'] == 1) checked @endif
  121. /> 开启
  122. </label>
  123. <label class='radio-inline'>
  124. <input type='radio' name='widgets[hotel_cashier][payment_types][convergePayAlipay]' value='0'
  125. @if($hotel->hasOneCashier->hasOneCashierGoods->payment_types['convergePayAlipay'] === '0' || $hotel->hasOneCashier->hasOneCashierGoods->payment_types["convergePayAlipay"] === null) checked @endif
  126. /> 关闭
  127. </label>
  128. </div>
  129. </div>
  130. <div class="form-group">
  131. <label class="col-xs-12 col-sm-3 col-md-2 control-label">汇聚快捷支付</label>
  132. <div class="col-sm-9 col-xs-12">
  133. <label class='radio-inline'>
  134. <input type='radio' name='widgets[hotel_cashier][payment_types][convergeQuickPay]' value='1'
  135. @if($hotel->hasOneCashier->hasOneCashierGoods->payment_types['convergeQuickPay'] == 1) checked @endif
  136. /> 开启
  137. </label>
  138. <label class='radio-inline'>
  139. <input type='radio' name='widgets[hotel_cashier][payment_types][convergeQuickPay]' value='0'
  140. @if($hotel->hasOneCashier->hasOneCashierGoods->payment_types['convergeQuickPay'] === '0' || $hotel->hasOneCashier->hasOneCashierGoods->payment_types["convergeQuickPay"] === null) checked @endif
  141. /> 关闭
  142. </label>
  143. </div>
  144. </div>