@extends('base.base')
@section('base')
<div class="main-panel">
    <div class="content-wrapper">
        <form method="post" class="form-ajax" action="{{ url()->current() }}">
            @csrf
            <div class="form-group">
                <label>ID</label>
                <input name="ID" class="form-control" value="{{ $info->ID ?? '' }}" readonly>
            </div>
            <div class="form-group">
                <label>充值金额 Recharge</label>
                <input name="Recharge" class="form-control" value="{{ $info->Recharge ?? '' }}">
            </div>
            <div class="form-group">
                <label>VIP 等级 VIP</label>
                <input name="VIP" class="form-control" value="{{ $info->VIP ?? '' }}">
            </div>
            <div class="form-group">
                <label>升级奖励 LevelUpBonus</label>
                <input name="LevelUpBonus" class="form-control" value="{{ $info->LevelUpBonus ?? '' }}">
            </div>
            <div class="form-group">
                <label>最小充值 MinRecharge</label>
                <input name="MinRecharge" class="form-control" value="{{ $info->MinRecharge ?? '' }}">
            </div>
            <div class="form-group">
                <label>提现限额 WithdrawLimit</label>
                <input name="WithdrawLimit" class="form-control" value="{{ $info->WithdrawLimit ?? '' }}">
            </div>
            <div class="form-group">
                <label>茶叶次数 DailyWithdraws</label>
                <input name="DailyWithdraws" class="form-control" value="{{ $info->DailyWithdraws ?? '' }}">
            </div>
            <div class="form-group">
                <label>提现费率 WithdrawFeeRate</label>
                <div class="input-group">
                    <input name="WithdrawFeeRate" class="form-control" value="{{ $info->WithdrawFeeRate ?? '' }}">
                    <div class="input-group-append"><span class="input-group-text">%</span></div>
                </div>
            </div>
            <div class="form-group">
                <label>Alpha (签到、救济金系数)</label>
                <input name="Alpha" class="form-control" value="{{ $info->Alpha ?? '' }}" step="0.01">
            </div>
            <div class="form-group">
                <label>客服类型 CustomServiceType</label>
                <select name="CustomServiceType" class="form-control">
                    <option value="1" {{ ($info->CustomServiceType==1) ? 'selected' : '' }}>普通客服</option>
                    <option value="2" {{ ($info->CustomServiceType==2) ? 'selected' : '' }}>一对一客服</option>
                </select>
            </div>
            <div class="form-group">
                <label>充值额外赠送 RechargeExtraSendRate</label>
                <div class="input-group">
                    <input name="RechargeExtraSendRate" class="form-control" value="{{ $info->RechargeExtraSendRate ?? '' }}">
                    <div class="input-group-append"><span class="input-group-text">%</span></div>
                </div>
            </div>
            <div class="form-group">
                <label>SuperballNum</label>
                <input name="SuperballNum" class="form-control" value="{{ $info->SuperballNum ?? '' }}">
            </div>
            <div class="form-group">
                <label>生日礼价值 BirthdayValue</label>
                <input name="BirthdayValue" class="form-control" value="{{ ($info->BirthdayValue ?? '')/100 }}">
            </div>
            <button type="submit" class="btn btn-primary">保存</button>
        </form>
    </div>
</div>
@endsection
