bztang-admin/plugins/team-dividend/views/admin/tpl/withdraw.blade.php

59 lines
2.6 KiB
PHP

@if(app('plugins')->isEnabled('love'))
<div class='panel-body'>
<div class="form-group" style="padding-top:20px;">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">
提现扣除{{ LOVE_NAME }}
</label>
<div class="col-sm-4 col-xs-6">
<label class="radio-inline">
<input type="radio"
name="setdata[withdraw_deduction_love]"
value="1"
@if ($set['withdraw_deduction_love'] == 1) checked="checked" @endif
/>
开启
</label>
<label class="radio-inline">
<input type="radio"
name="setdata[withdraw_deduction_love]"
value="0"
@if (empty($set['withdraw_deduction_love'])) checked="checked" @endif
/>
关闭
</label>
<span class='help-block'>收入提现扣除{{ LOVE_NAME }},比例时:扣除值 = 提现金额 * 比例</span>
</div>
</div>
<div class="form-group" style="padding-top:20px;">
<label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
<div class="col-sm-4 col-xs-6">
<label class="radio-inline">
<input type="radio"
name="setdata[withdraw_deduction_love_type]"
value="0"
@if (empty($set['withdraw_deduction_love_type'])) checked="checked" @endif
/>
比例
</label>
<label class="radio-inline">
<input type="radio"
name="setdata[withdraw_deduction_love_type]"
value="1"
@if ($set['withdraw_deduction_love_type'] == 1) checked="checked" @endif
/>
固定金额
</label>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
<div class="col-sm-6 col-xs-6">
<input type='text'
name='setdata[withdraw_deduction_love_ratio]'
class="form-control discounts_value"
value="{{ $set['withdraw_deduction_love_ratio'] }}"
/>
</div>
</div>
</div>
@endif